- Timestamp:
- Mar 2, 2009, 9:03:31 PM (16 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 970c8d2
- Parents:
- 572d0a6
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
patches/bash-4.0-branch_update-2.patch
r572d0a6 r7a39f29 1 1 Submitted By: Jim Gifford (jim at cross-lfs dot org) 2 Date: 0 1-08-20092 Date: 03-02-2009 3 3 Initial Package Version: 4.0 4 4 Origin: Upstream … … 9 9 diff -Naur bash-4.0.orig/arrayfunc.c bash-4.0/arrayfunc.c 10 10 --- bash-4.0.orig/arrayfunc.c 2009-01-04 11:32:21.000000000 -0800 11 +++ bash-4.0/arrayfunc.c 2009-0 2-27 08:59:33.307629837-080011 +++ bash-4.0/arrayfunc.c 2009-03-02 12:37:07.363274758 -0800 12 12 @@ -604,64 +604,7 @@ 13 13 } … … 78 78 diff -Naur bash-4.0.orig/builtins/declare.def bash-4.0/builtins/declare.def 79 79 --- bash-4.0.orig/builtins/declare.def 2009-01-04 11:32:22.000000000 -0800 80 +++ bash-4.0/builtins/declare.def 2009-0 2-27 08:59:13.626367370-080080 +++ bash-4.0/builtins/declare.def 2009-03-02 12:37:07.363274758 -0800 81 81 @@ -287,6 +287,12 @@ 82 82 name[offset - 1] = '\0'; … … 117 117 diff -Naur bash-4.0.orig/builtins/exit.def bash-4.0/builtins/exit.def 118 118 --- bash-4.0.orig/builtins/exit.def 2009-01-04 11:32:22.000000000 -0800 119 +++ bash-4.0/builtins/exit.def 2009-0 2-27 08:57:04.682105881-0800119 +++ bash-4.0/builtins/exit.def 2009-03-02 12:37:07.367275038 -0800 120 120 @@ -113,7 +113,7 @@ 121 121 for (i = stopmsg = 0; i < js.j_jobslots; i++) … … 127 127 128 128 if (stopmsg == JSTOPPED) 129 diff -Naur bash-4.0.orig/builtins/read.def bash-4.0/builtins/read.def 130 --- bash-4.0.orig/builtins/read.def 2009-01-15 20:11:21.000000000 -0800 131 +++ bash-4.0/builtins/read.def 2009-03-02 13:01:12.743891046 -0800 132 @@ -369,14 +369,14 @@ 133 code = setjmp (alrmbuf); 134 if (code) 135 { 136 -#if 0 137 + /* Tricky. The top of the unwind-protect stack is the free of 138 + input_string. We want to run all the rest and use input_string, 139 + so we have to remove it from the stack. */ 140 + remove_unwind_protect (); 141 run_unwind_frame ("read_builtin"); 142 - return (EXECUTION_FAILURE); 143 -#else 144 input_string[i] = '\0'; /* make sure it's terminated */ 145 - retval = 128+SIGALRM;; 146 + retval = 128+SIGALRM; 147 goto assign_vars; 148 -#endif 149 } 150 old_alrm = set_signal_handler (SIGALRM, sigalrm); 151 add_unwind_protect (reset_alarm, (char *)NULL); 129 152 diff -Naur bash-4.0.orig/parse.y bash-4.0/parse.y 130 153 --- bash-4.0.orig/parse.y 2009-01-08 05:29:12.000000000 -0800 131 +++ bash-4.0/parse.y 2009-0 2-27 08:59:51.884818830-0800154 +++ bash-4.0/parse.y 2009-03-02 12:37:07.367275038 -0800 132 155 @@ -1615,10 +1615,11 @@ 133 156 { … … 226 249 diff -Naur bash-4.0.orig/pcomplete.c bash-4.0/pcomplete.c 227 250 --- bash-4.0.orig/pcomplete.c 2009-02-01 14:12:31.000000000 -0800 228 +++ bash-4.0/pcomplete.c 2009-0 2-27 08:56:48.837092332-0800251 +++ bash-4.0/pcomplete.c 2009-03-02 12:37:07.367275038 -0800 229 252 @@ -1032,6 +1032,7 @@ 230 253 cmdlist = build_arg_list (funcname, text, lwords, cw); … … 237 260 diff -Naur bash-4.0.orig/subst.c bash-4.0/subst.c 238 261 --- bash-4.0.orig/subst.c 2009-01-28 11:34:12.000000000 -0800 239 +++ bash-4.0/subst.c 2009-0 2-27 08:59:33.307629837-0800262 +++ bash-4.0/subst.c 2009-03-02 12:37:07.371275038 -0800 240 263 @@ -222,6 +222,7 @@ 241 264 static int skip_double_quoted __P((char *, size_t, int));
Note:
See TracChangeset
for help on using the changeset viewer.