source:
patches/bash-4.1-branch_update-1.patch@
986e898d
Last change on this file since 986e898d was e9b21a8, checked in by , 14 years ago | |
---|---|
|
|
File size: 5.0 KB |
-
bashline.c
Submitted By: Joe Ciccone <jciccone@gmail.com> Date: 07-25-2010 Initial Package Version: 4.1 Origin: Upstream Upstream Status: From Upstream Description: Contains all upstream patches up to 4.1-007 diff -Naur bash-4.1.orig//bashline.c bash-4.1/bashline.c
old new 1680 1680 a single match (multiple matches that end up reducing the number of 1681 1681 characters in the common prefix are bad) will ever be returned on 1682 1682 regular completion. */ 1683 if (glob _pattern_p (hint))1683 if (globpat) 1684 1684 { 1685 1685 if (state == 0) 1686 1686 { -
builtins/printf.def
diff -Naur bash-4.1.orig//builtins/printf.def bash-4.1/builtins/printf.def
old new 117 117 else if (have_fieldwidth) \ 118 118 nw = vflag ? vbprintf (f, fieldwidth, func) : printf (f, fieldwidth, func); \ 119 119 else if (have_precision) \ 120 nw = vflag ? vbprintf (f, precision, func) : printf (f, fieldwidth, func); \120 nw = vflag ? vbprintf (f, precision, func) : printf (f, precision, func); \ 121 121 else \ 122 122 nw = vflag ? vbprintf (f, func) : printf (f, func); \ 123 123 tw += nw; \ … … 172 172 #endif 173 173 174 174 #if !HAVE_VSNPRINTF 175 extern int vsnprintf __P((char *, size_t, const char *, ...)) __attribute__((__format__ (printf, 3, 4)));175 extern int vsnprintf __P((char *, size_t, const char *, va_list)) __attribute__((__format__ (printf, 3, 0))); 176 176 #endif 177 177 178 178 static void printf_erange __P((char *)); -
builtins/read.def
diff -Naur bash-4.1.orig//builtins/read.def bash-4.1/builtins/read.def
old new 615 615 if (unbuffered_read == 0) 616 616 zsyncfd (fd); 617 617 618 interrupt_immediately--;619 terminate_immediately--;620 618 discard_unwind_frame ("read_builtin"); 621 619 622 620 retval = eof ? EXECUTION_FAILURE : EXECUTION_SUCCESS; 623 621 624 622 assign_vars: 625 623 624 interrupt_immediately--; 625 terminate_immediately--; 626 626 627 #if defined (ARRAY_VARS) 627 628 /* If -a was given, take the string read, break it into a list of words, 628 629 an assign them to `arrayname' in turn. */ -
lib/readline/complete.c
diff -Naur bash-4.1.orig//lib/readline/complete.c bash-4.1/lib/readline/complete.c
old new 2138 2138 All other entries except "." and ".." match. */ 2139 2139 if (filename_len == 0) 2140 2140 { 2141 if (_rl_match_hidden_files == 0 && HIDDEN_FILE ( entry->d_name))2141 if (_rl_match_hidden_files == 0 && HIDDEN_FILE (convfn)) 2142 2142 continue; 2143 2143 2144 2144 if (convfn[0] != '.' || … … 2219 2219 temp[dirlen++] = '/'; 2220 2220 } 2221 2221 2222 strcpy (temp + dirlen, entry->d_name);2222 strcpy (temp + dirlen, convfn); 2223 2223 } 2224 2224 else 2225 2225 temp = savestring (convfn); -
patchlevel.h
diff -Naur bash-4.1.orig//patchlevel.h bash-4.1/patchlevel.h
old new 25 25 regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh 26 26 looks for to find the patch level (for the sccs version string). */ 27 27 28 #define PATCHLEVEL 028 #define PATCHLEVEL 7 29 29 30 30 #endif /* _PATCHLEVEL_H_ */ -
print_cmd.c
diff -Naur bash-4.1.orig//print_cmd.c bash-4.1/print_cmd.c
old new 113 113 114 114 #define CHECK_XTRACE_FP xtrace_fp = (xtrace_fp ? xtrace_fp : stderr) 115 115 116 #define PRINT_DEFERRED_HEREDOCS(x) \ 117 do { \ 118 if (deferred_heredocs) \ 119 print_deferred_heredocs (x); \ 120 } while (0) 121 116 122 /* Non-zero means the stuff being printed is inside of a function def. */ 117 123 static int inside_function_def; 118 124 static int skip_this_indent; … … 560 566 FOR_COM *for_command; 561 567 { 562 568 print_for_command_head (for_command); 563 564 569 cprintf (";"); 565 570 newline ("do\n"); 571 566 572 indentation += indentation_amount; 567 573 make_command_string_internal (for_command->action); 574 PRINT_DEFERRED_HEREDOCS (""); 568 575 semicolon (); 569 576 indentation -= indentation_amount; 577 570 578 newline ("done"); 571 579 } 572 580 -
variables.c
diff -Naur bash-4.1.orig//variables.c bash-4.1/variables.c
old new 3808 3808 3809 3809 if (tempvar_p (var) && (posixly_correct || (var->attributes & att_propagate))) 3810 3810 { 3811 /* Make sure we have a hash table to store the variable in while it is 3812 being propagated down to the global variables table. Create one if 3813 we have to */ 3814 if ((vc_isfuncenv (shell_variables) || vc_istempenv (shell_variables)) && shell_variables->table == 0) 3815 shell_variables->table = hash_create (0); 3811 3816 /* XXX - should we set v->context here? */ 3812 3817 v = bind_variable_internal (var->name, value_cell (var), shell_variables->table, 0, 0); 3813 3818 if (shell_variables == global_variables)
Note:
See TracBrowser
for help on using the repository browser.