summaryrefslogtreecommitdiffstats
path: root/package/bash/bash30-013
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-10-18 21:04:48 +0000
committerMike Frysinger <vapier@gentoo.org>2004-10-18 21:04:48 +0000
commit4ae49294a46a50949dd0d3a7b69b2d7d026e9dec (patch)
treeea6530a51a2ba8213f8742d832bd880fd2ca921d /package/bash/bash30-013
parenta72e82f6dce4a01911a128fc5b8cd6b0828c2bc8 (diff)
downloadbuildroot-novena-4ae49294a46a50949dd0d3a7b69b2d7d026e9dec.tar.gz
buildroot-novena-4ae49294a46a50949dd0d3a7b69b2d7d026e9dec.zip
bash-3.0
Diffstat (limited to 'package/bash/bash30-013')
-rw-r--r--package/bash/bash30-01386
1 files changed, 86 insertions, 0 deletions
diff --git a/package/bash/bash30-013 b/package/bash/bash30-013
new file mode 100644
index 000000000..a29b404d6
--- /dev/null
+++ b/package/bash/bash30-013
@@ -0,0 +1,86 @@
+ BASH PATCH REPORT
+ =================
+
+Bash-Release: 3.0
+Patch-ID: bash30-013
+
+Bug-Reported-by: Len Lattanzi <llattanzi@apple.com>
+Bug-Reference-ID: <556CE1CE-E1AC-11D8-A2D9-00039383EC60@apple.com>
+Bug-Reference-URL:
+
+Bug-Description:
+
+vi-mode filename completion/glob expansion should understand and perform
+tilde expansion.
+
+Patch:
+
+*** ../bash-3.0/bashline.c Mon Jul 5 23:22:12 2004
+--- bashline.c Thu Sep 2 16:00:12 2004
+***************
+*** 2514,2518 ****
+ static int ind;
+ int glen;
+! char *ret;
+
+ if (state == 0)
+--- 2545,2549 ----
+ static int ind;
+ int glen;
+! char *ret, *ttext;
+
+ if (state == 0)
+***************
+*** 2524,2538 ****
+ FREE (globtext);
+
+ if (rl_explicit_arg)
+ {
+! globorig = savestring (text);
+! glen = strlen (text);
+ globtext = (char *)xmalloc (glen + 2);
+! strcpy (globtext, text);
+ globtext[glen] = '*';
+ globtext[glen+1] = '\0';
+ }
+ else
+! globtext = globorig = savestring (text);
+
+ matches = shell_glob_filename (globtext);
+--- 2555,2574 ----
+ FREE (globtext);
+
++ ttext = bash_tilde_expand (text, 0);
++
+ if (rl_explicit_arg)
+ {
+! globorig = savestring (ttext);
+! glen = strlen (ttext);
+ globtext = (char *)xmalloc (glen + 2);
+! strcpy (globtext, ttext);
+ globtext[glen] = '*';
+ globtext[glen+1] = '\0';
+ }
+ else
+! globtext = globorig = savestring (ttext);
+!
+! if (ttext != text)
+! free (ttext);
+
+ matches = shell_glob_filename (globtext);
+
+*** ../bash-3.0/patchlevel.h Wed Aug 22 08:05:39 2001
+--- patchlevel.h Thu Sep 2 15:04:32 2004
+***************
+*** 26,30 ****
+ looks for to find the patch level (for the sccs version string). */
+
+! #define PATCHLEVEL 12
+
+ #endif /* _PATCHLEVEL_H_ */
+--- 26,30 ----
+ looks for to find the patch level (for the sccs version string). */
+
+! #define PATCHLEVEL 13
+
+ #endif /* _PATCHLEVEL_H_ */