]> git.pld-linux.org Git - packages/bash.git/blob - bash30-015
- xterm title done PROPER way
[packages/bash.git] / bash30-015
1                              BASH PATCH REPORT
2                              =================
3
4 Bash-Release: 3.0
5 Patch-ID: bash30-015
6
7 Bug-Reported-by: opengeometry@yahoo.ca
8 Bug-Reference-ID: <200410202012.i9KKCTEB001860@node1.opengeometry.net>
9 Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2004-10/msg00297.html
10
11 Bug-Description:
12
13    Shell variable can start with number and can even be printed with
14     'declare', as in
15         1=aaa
16         1a=bbb
17         declare -p 1 1a
18
19     But, they can't be removed, as in
20         unset 1 1a              --> ...: not a valid identifier
21
22     Bash-2.05b correctly gives me error, however.
23
24 Patch:
25
26 *** ../bash-3.0-patched/general.c       Wed Apr 14 23:20:13 2004
27 --- general.c   Wed Oct 20 16:59:59 2004
28 ***************
29 *** 268,272 ****
30   
31   #if defined (ARRAY_VARS)
32 !   if ((legal_variable_starter (c) == 0) && (flags && c != '[')) /* ] */
33   #else
34     if (legal_variable_starter (c) == 0)
35 --- 268,272 ----
36   
37   #if defined (ARRAY_VARS)
38 !   if ((legal_variable_starter (c) == 0) && (flags == 0 || c != '[')) /* ] */
39   #else
40     if (legal_variable_starter (c) == 0)
41
42 *** ../bash-3.0/patchlevel.h    Wed Aug 22 08:05:39 2001
43 --- patchlevel.h        Thu Sep  2 15:04:32 2004
44 ***************
45 *** 26,30 ****
46      looks for to find the patch level (for the sccs version string). */
47   
48 ! #define PATCHLEVEL 14
49   
50   #endif /* _PATCHLEVEL_H_ */
51 --- 26,30 ----
52      looks for to find the patch level (for the sccs version string). */
53   
54 ! #define PATCHLEVEL 15
55   
56   #endif /* _PATCHLEVEL_H_ */
This page took 0.0542820000000001 seconds and 3 git commands to generate.