[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bash 2.05 programmable completion comment bug
From: |
Tim Mooney |
Subject: |
bash 2.05 programmable completion comment bug |
Date: |
Thu, 3 May 2001 10:25:21 -0500 (CDT) |
Configuration Information [Automatically generated, do not change]:
Machine: alphaev56
OS: osf5.1
Compiler: cc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='alphaev56'
-DCONF_OSTYPE='osf5.1' -DCONF_MACHTYPE='alphaev56-dec-osf5.1'
-DCONF_VENDOR='dec' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib
-I/local/gnu/include -std -O3 -tune host -arch host -Olimit 3000
-readonly_strings -portable
uname output: OSF1 dogbert V5.1 732 alpha
Machine Type: alphaev56-dec-osf5.1
Bash Version: 2.05
Patch Level: 0
Release Status: release
Description:
While testing one of Paul Eggert's patches that fixes a problem on
64 bit big-endian systems, the IRIX compiler (which defaults to warning
about a number of things) turned up a comment inside a comment that
appears on inspection to be a bug.
There are several other probably important warnings the IRIX compiler
presented, mostly in relation to casting from a pointer to a smaller
int (when compiling in 64 bit mode for IRIX64), but also in a couple
places where an unsigned int (RLIMTYP) is compared with 0.
The IRIX compiler also warns many times about variables that are
declared or set, but never used. Are you interested in having those
fixed up too?
Repeat-By:
I haven't tried to come up with a situation where the bug would be
reproduceable.
Fix:
--- bash-2.05/bashline.c.orig Tue Mar 6 12:36:07 2001
+++ bash-2.05/bashline.c Thu May 3 10:19:55 2001
@@ -895,7 +895,7 @@
if (foundcs)
{
/* If the user specified that the compspec returns filenames, make
- sure that readline knows it.
+ sure that readline knows it. */
if (foundcs & COPT_FILENAMES)
rl_filename_completion_desired = 1;
/* Turn what the programmable completion code returns into what
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bash 2.05 programmable completion comment bug,
Tim Mooney <=