~ubuntu-branches/ubuntu/trusty/bash/trusty-security

« back to all changes in this revision

Viewing changes to debian/patches/bash42-042.diff

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2014-03-03 22:52:05 UTC
  • mfrom: (1.3.5) (2.2.6 experimental)
  • Revision ID: package-import@ubuntu.com-20140303225205-87ltrt5kspeq0g1b
Tags: 4.3-1ubuntu1
* Merge with Debian; remaining changes:
  - skel.bashrc:
    - Run lesspipe.
    - Enable ls aliases.
    - Set options in ll alias to -alF.
    - Define an alert alias.
    - Enabled colored grep aliases.
  - etc.bash.bashrc:
    - Add sudo hint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
                             BASH PATCH REPORT
2
 
                             =================
3
 
 
4
 
Bash-Release:   4.2
5
 
Patch-ID:       bash42-042
6
 
 
7
 
Bug-Reported-by:        Adam Pippin <adam@gp-inc.ca>
8
 
Bug-Reference-ID:       <CAPYbNHr6ucZFOoWsRdUJj6KP3Ju0j1bkESa_cmb7iU+kZwdVpg@mail.gmail.com>
9
 
Bug-Reference-URL:      http://lists.gnu.org/archive/html/bug-bash/2012-11/msg00087.html
10
 
 
11
 
Bug-Description:
12
 
 
13
 
Compilation failed after specifying the  `--enable-minimal-config' option to
14
 
configure (more specifically, specifying `--disable-alias').
15
 
 
16
 
Patch (apply with `patch -p0'):
17
 
 
18
 
Index: b/bash/parse.y
19
 
===================================================================
20
 
--- a/bash/parse.y
21
 
+++ b/bash/parse.y
22
 
@@ -2393,6 +2393,7 @@
23
 
           is the last character).  If it's not the last character, we need
24
 
           to consume the quoted newline and move to the next character in
25
 
           the expansion. */
26
 
+#if defined (ALIAS)
27
 
        if (expanding_alias () && shell_input_line[shell_input_line_index+1] == '\0')
28
 
          {
29
 
            uc = 0;
30
 
@@ -2403,7 +2404,8 @@
31
 
            shell_input_line_index++;   /* skip newline */
32
 
            goto next_alias_char;       /* and get next character */
33
 
          }
34
 
-       else        
35
 
+       else
36
 
+#endif 
37
 
          goto restart_read;
38
 
     }
39
 
 
40
 
Index: b/bash/patchlevel.h
41
 
===================================================================
42
 
--- a/bash/patchlevel.h
43
 
+++ b/bash/patchlevel.h
44
 
@@ -25,6 +25,6 @@
45
 
    regexp `^#define[   ]*PATCHLEVEL', since that's what support/mkversion.sh
46
 
    looks for to find the patch level (for the sccs version string). */
47
 
 
48
 
-#define PATCHLEVEL 41
49
 
+#define PATCHLEVEL 42
50
 
 
51
 
 #endif /* _PATCHLEVEL_H_ */