From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,20fb003c2dd70ea9,start X-Google-Attributes: gid10d4db,public X-Google-ArrivalTime: 1993-11-05 14:05:17 PST Path: gmd.de!xlink.net!howland.reston.ans.net!pipex!sunic!news.funet.fi!klaava!klaava!not-for-mail From: chet@odin.ins.cwru.edu (Chet Ramey) Newsgroups: comp.os.linux.announce Subject: Bash-1.13.cwru patch 4 Followup-To: comp.os.linux.misc Date: 5 Nov 1993 23:06:06 +0200 Organization: Case Western Reserve University Sender: wirzeniu@klaava.Helsinki.FI Message-ID: <2bef7u$1iv@klaava.Helsinki.FI> NNTP-Posting-Host: klaava.helsinki.fi Keywords: Bash, patch I have just put patch 4 for bash-1.13.cwru in /pub/dist on slc2.ins.cwru.edu. The README.patch4 file is appended. This fixes a number of minor bugs, none fatal, some annoying. It is meant to be applied to bash-1.13.cwru patch level 3. As always, please send me mail if you have problems. =============================== README.patch4 ================================ This patch (bash-1.13.cwru.patch.4) fixes the following problems: 1. The readline vi-mode `c' command was moving point one character too far to the right after applying the motion command. [lib/readline/vi_mode.c] 2. A redundant check was removed when checking for mail, and the conditions for announcing `new mail' were fixed. [mailcheck.c] 3. A memory leak was fixed in bashline.c:test_for_directory(). [bashline.c] 4. A stack of pending redirections was implemented so that the shell can deal with multiple redirections on a single line. [parse.y, shell.c] 5. Memory leaks were fixed and dead code removed from subst.c. The leaks did not affect normal operation, only when substitution errors occurred was memory leaked. [subst.c] 6. The NeXT machine has a number of non-standard include directories which need to be checked. [support/mksysdefs] 7. AFS makes `stat' not work; `access' must be used instead. Hurray for non-unix file systems. [test.c] 8. Asynchronous subshells (`( xxx ) &') are not interactive shells any longer and must be marked as such. This keeps the job table from growing without bound when a loop is run inside of one. [execute_cmd.c] 9. Bash needs to catch SIGINT only if the shell is *currently* interactive, not if it was started interactively. [trap.c] 10. Readline's vi mode should map `\' to self-insert in insertion mode. [lib/readline/vi_keymap.c] 11. Workaround for non-job-control systems waiting for jobs inappropriately or reporting incorrect exit statuses. [nojobs.s, execute_cmd.c] 12. The code that runs user-specified subshells (`( xxx )') needs to catch a possible `return' if invoked inside a function and treat it like an exit. [execute_cmd.c] 13. There is now a better test for the standard input being a socket for BSD systems. [shell.c] 14. Some systems do not allow memory obtained via alloca() to be passed to other functions. [lib/readline/bind.c] 15. Fixed a bug that could cause $! to be set to a bad value. [builtins/fg_bg.def] 16. Readline now no longer adds an extra space before yanking an arg from a previous command. [lib/readline/readline.c] 17. Fixes were made to some machine descriptions (SunOS 5.x, Linux, AIX/PS2, drs6000), and a description of options available for SYSDEP_CFLAGS was added to machines.h. [machines.h] To apply, cd to the bash source directory and type `patch -p0 < patch-file'. -- "You can watch an actor absolutely sabotage a good script and then read reviews like 'Unfortunately, even the impressive talents of Cheech Marin could not salvage Anton Chekhov's trite and meandering script.'" Chet Ramey, Case Western Reserve University Internet: chet@po.CWRU.Edu -- Mail submissions for comp.os.linux.announce to: linux-announce@tc.cornell.edu