From owner-freebsd-current@FreeBSD.ORG Sat Jul 14 16:28:11 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 339F416A401 for ; Sat, 14 Jul 2007 16:28:11 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 9E06713C4A6 for ; Sat, 14 Jul 2007 16:28:10 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from kobe.laptop (dialup14.ach.sch.gr [81.186.70.14]) (authenticated bits=128) by igloo.linux.gr (8.13.8/8.13.8/Debian-3) with ESMTP id l6EGRotZ000400 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 14 Jul 2007 19:28:01 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.1/8.14.1) with ESMTP id l6EGRhZQ002124; Sat, 14 Jul 2007 19:27:44 +0300 (EEST) (envelope-from keramida@freebsd.org) Received: (from keramida@localhost) by kobe.laptop (8.14.1/8.14.1/Submit) id l6E0u09c006812; Sat, 14 Jul 2007 03:56:00 +0300 (EEST) (envelope-from keramida@freebsd.org) Date: Sat, 14 Jul 2007 03:55:59 +0300 From: Giorgos Keramidas To: Christos Zoulas Message-ID: <20070714005559.GB6661@kobe.laptop> References: <20070712114328.F4608@carver.gumbysoft.com> <20070712185616.2BA2D56539@rebar.astron.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070712185616.2BA2D56539@rebar.astron.com> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (cached, score=-3.942, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.46, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@freebsd.org X-Spam-Status: No Cc: tcsh-bugs@mx.gw.com, current@freebsd.org Subject: Re: tcsh backtick hang info X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jul 2007 16:28:11 -0000 On 2007-07-12 14:56, Christos Zoulas wrote: > On Jul 12, 11:48am, dwhite@gumbysoft.com (Doug White) wrote: > -- Subject: Re: tcsh backtick hang info > > | Thanks for the good words, Christos! If you can confirm this will be the > | official patch then we can apply it to our vendor sources. If there are > | any other fixes for nasty bugs in 6.15.00 that you're hanging on to it'd > | be good to get those out and imported as well. > > You are welcome! > This will be the official patch, and yes I have another 9 bug fixes since > 6.15.00. In general, I don't make 6.15.XX generally available, but the > severity of some of those problems fixed is high enough to possibly justify > a 6.16.00 sooner than later. Here's the list of fixes: > > 10. kill `foo` got stuck because sigchld was disabled too soon (Mark Peek) > 9. Avoid null pointer dereference in proc cwd (Kurt Miller) > 8. eval "foreach a b c" exits (Anthony Menasse) > 7. Quoting was broken in substitutions (Joe Wells) > 6. QNX patches via pkgsrc > 5. cd - twice from a directory that contained a glob pattern, > expands the glob twice (Mark Santcroos) > 4. MidnightBsd support (Lucas Holt) > 3. Fix history substitution core-dump with no history entries > 2. Merge two character tables that are the same (Martin Kraemer) > 1. On ancient 7 bit locales, punctuation characters are used to > denote special characters such as umlaut, adiaresis, etc. > These characters return true for isalpha/isalnum. Ignore them > because they break parsing (Martin Kraemer) Hi Christos, Can we persuade you to include the following local patch I keep for autologout detection with /dev/pts/XXX ptys in FreeBSD? %%% Fix pty detection logic of tcsh autologout initialization. Noticed by: kris diff --git a/contrib/tcsh/sh.c b/contrib/tcsh/sh.c --- a/contrib/tcsh/sh.c +++ b/contrib/tcsh/sh.c @@ -457,7 +457,7 @@ main(int argc, char **argv) if (*cp) { /* only for login shells or root and we must have a tty */ if ((cp2 = Strrchr(cp, (Char) '/')) != NULL) { - cp = cp2 + 1; + cp2 = cp2 + 1; } else cp2 = cp; %%%