document patch source/reasons
authorMike Frysinger <vapier@gentoo.org>
Sun, 16 Oct 2005 02:39:23 +0000 (02:39 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sun, 16 Oct 2005 02:39:23 +0000 (02:39 +0000)
app-shells/bash/files/bash-3.0-afs.patch
app-shells/bash/files/bash-3.0-array-stripping.patch
app-shells/bash/files/bash-3.0-darwin-conn.patch
app-shells/bash/files/bash-3.0-etc-inputrc.patch
app-shells/bash/files/bash-3.0-invisible.patch
app-shells/bash/files/bash-3.0-jobs.patch
app-shells/bash/files/bash-3.0-local-array.patch
app-shells/bash/files/bash-3.0-manpage.patch
app-shells/bash/files/bash-3.0-posixtrap.patch
app-shells/bash/files/bash-3.0-pwd.patch

index c7429cfe2f631ed6500ed14ac97b19c0d837b9a7..f07371c39eb4f61bfbd7928b36bb805f75b11e5b 100644 (file)
@@ -1,3 +1,10 @@
+Ripped from Fedora
+
+- Fixed AFS support for output redirection, so that the correct errors
+  are reported for other filesystems (bug #155373).
+
+https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=155373
+
 --- bash-3.0/redir.c.afs       2005-04-20 09:16:15.000000000 +0100
 +++ bash-3.0/redir.c   2005-04-20 09:16:58.000000000 +0100
 @@ -596,7 +596,9 @@
index a53aa98a78982f0693afe6c5200085c8d5e25b67..8b2384c3657b8ab35806ea41eabe0c946756b355 100644 (file)
@@ -1,3 +1,7 @@
+Fix from Chet Ramey (bash maintainer) for array stripping
+
+http://bugs.gentoo.org/60127
+
 *** ../bash-3.0/subst.c Sun Jul  4 13:56:13 2004
 --- subst.c     Thu Aug 12 13:36:17 2004
 ***************
index ef21eebf20949112c08b3b74ad2501a586a92306..b6cab67f42884fe0a60f0288810757405dc75c54 100644 (file)
@@ -1,9 +1,10 @@
 Sune Foldager writes:
-On Darwin (Mac OS X), bash incorrectly assumed that it has been called over a network connection
-(such as ssh, rsh etc.), when stdin stems from the pipe() system call. This is because bash's heuristic
-code for determining if it's been started over a net connection is incorrect on Darwin kernels.
+On Darwin (Mac OS X), bash incorrectly assumed that it has been called over a 
+network connection (such as ssh, rsh etc.), when stdin stems from the pipe() 
+system call. This is because bash's heuristic code for determining if it's 
+been started over a net connection is incorrect on Darwin kernels.
 
-http://bugs.gentoo.org/show_bug.cgi?id=79124
+http://bugs.gentoo.org/79124
 
 --- /lib/sh/netconn.c
 +++ /lib/sh/netconn.c
index 4331bd1da609ed515307169fa3a23d03750498bd..204e7978d3c18cd6a8bbddec8d58e51493807f2b 100644 (file)
@@ -1,3 +1,8 @@
+Patch readline's bind.c so that /etc/inputrc is read as a last resort
+following ~/.inputrc.  This is better than putting INPUTRC in
+the environment because INPUTRC will override even after the
+user creates a ~/.inputrc
+
 --- bash-3.0/lib/readline/bind.c.agriffis      2004-03-03 22:39:32.000000000 -0500
 +++ bash-3.0/lib/readline/bind.c       2004-08-02 13:53:02.365731918 -0400
 @@ -781,6 +781,7 @@
index 3c8a7a5a56e389b2c6c2b92c32bfabcf4a4d5178..bfc5f9b23518a5a47518d6ab7021aedcc04c0ce4 100644 (file)
@@ -1,5 +1,11 @@
---- bash-3.0/lib/readline/display.c    2004-05-27 22:57:51.000000000 -0400
-+++ bash-3.0.agriffis/lib/readline/display.c   2004-08-02 17:43:02.000000000 -0400
+Fix the bug reported by Alexander Skwar:
+bash applies all invisible characters to the first line instead of the ones 
+that actually (dis)appear in that line.  I've also pushed this upstream.
+
+http://bugs.gentoo.org/36393
+
+--- bash-3.0/lib/readline/display.c
++++ bash-3.0/lib/readline/display.c
 @@ -258,23 +258,21 @@
  #endif
            {
index b5d1ed4c7768f41bd50eb3c313756dc46f35a66b..53c85443806b00617418f8cdfa1424e90325e3c1 100644 (file)
@@ -1,5 +1,11 @@
---- bash-3.0/tests/jobs4.sub.jobs      2004-05-06 14:02:41.000000000 +0100
-+++ bash-3.0/tests/jobs4.sub   2004-09-08 16:07:25.305385245 +0100
+Ripped from Fedora
+
+* Wed Sep  8 2004 Tim Waugh <twaugh@redhat.com> 3.0-13
+- Check for EINVAL from waitpid() and avoid WCONTINUED in that case.
+- Fixed jobs4 test.
+
+--- bash-3.0/tests/jobs4.sub
++++ bash-3.0/tests/jobs4.sub
 @@ -18,5 +18,5 @@
  
  wait
@@ -7,8 +13,8 @@
 -cat &
 +sleep 100 &
  kill -1 %% && echo i killed it || echo could not kill it
---- bash-3.0/jobs.c.jobs       2004-09-08 16:07:25.081427747 +0100
-+++ bash-3.0/jobs.c    2004-09-08 16:18:06.698604033 +0100
+--- bash-3.0/jobs.c
++++ bash-3.0/jobs.c
 @@ -2475,6 +2475,7 @@
    PROCESS *child;
    pid_t pid;
index 2aea13c9f24fe3e736563fcc554d9fae448925dc..82be7762ae1bcb3d9b23403b6eb94f73bd581a55 100644 (file)
@@ -1,3 +1,7 @@
+Fix from Chet Ramey (bash maintainer) to prevent segfault
+
+http://bugs.gentoo.org/58961
+
 *** ../bash-3.0/arrayfunc.c    Fri Dec 19 00:03:09 2003
 --- arrayfunc.c        Sun Aug  1 20:43:00 2004
 ***************
index 070160323c7bb0ff9741523519f0aae1bb22973c..08e3143e5422dd1ad335ab01866cabee354091d8 100644 (file)
@@ -1,5 +1,9 @@
---- bash-3.0/doc/bash.1.manpage        2004-11-30 09:33:54.727381784 +0000
-+++ bash-3.0/doc/bash.1        2004-11-30 09:34:06.799075585 +0000
+Ripped from Fedora
+
+fix obvious display bug
+
+--- bash-3.0/doc/bash.1
++++ bash-3.0/doc/bash.1
 @@ -3929,7 +3929,7 @@
  .B SIGHUP
  to all jobs when an interactive login shell exits.
index 0e05c49a5fb8c83612bb10b03d4ec0a076fe4a97..eaa4879dc43c44b286716236552a18f8bd53d68a 100644 (file)
@@ -1,3 +1,12 @@
+Revert trap behavior for the sake of autoconf-generated configure scripts.  
+The problem here is that bash -c 'trap 0' works, but sh -c 'trap 0' doesn't 
+work because the bash developers are trying to adhere to POSIX in that case.  
+Since all the configure scripts are #!/bin/sh, this breaks them... That's bad
+news and will need some time to fix, so it's easier to fix here for the 
+moment.
+
+http://bugs.gentoo.org/58703
+
 --- bash-3.0/builtins/trap.def.noposix 2004-07-28 22:38:38.000000000 -0400
 +++ bash-3.0/builtins/trap.def 2004-07-28 22:39:01.948314454 -0400
 @@ -122,12 +122,18 @@
index 09c62e64d33345eba21cb5d7ed9eab353ec111aa..77f0918fb4d8079258e50cc2370d4459d7b9c199 100644 (file)
@@ -1,3 +1,8 @@
+Ripped from Fedora
+
+* Tue Mar 15 2005 Tim Waugh <twaugh@redhat.com> 3.0-30
+- Fix PS1 expansion crash when PWD is unset (bg #151116).
+
 --- bash-3.0/parse.y.pwd       2005-03-15 14:22:36.000000000 +0000
 +++ bash-3.0/parse.y   2005-03-15 14:22:37.000000000 +0000
 @@ -4103,7 +4103,7 @@