Mail Archives: djgpp-workers/2004/09/06/09:13:35
Tried to figure out source of problems running several configure scripts under
bash-2.0.5b (binary archive bsh205bb.zip from clio.rice.edu, also my own build
from bsh205bs.zip taken from the same place).
Tracked down this to a bug in dospath.c from bsh205bs.zip. A fix included
below.
I could upload source and binary archives if needed. Also one problem with
share/config.site is fixed (defaults PATH_SEPARATOR to ; when environment
variable is missing). Built and tested on WinXP Pro only.
Andris
--- bash-2.05b/dospath.c~1 2003-01-03 13:44:22.000000000 +0000
+++ bash-2.05b/dospath.c 2004-09-02 11:12:16.000000000 +0000
@@ -410,10 +410,8 @@ encode_drive_letter (char *buffer, const
if (path_separator == ':')
{
strcpy (buffer, "/dev/");
- buffer[5];
- buffer[6] = letter;
-// buffer[7] = '/';
- buffer[7] = '\0';
+ buffer[5] = letter;
+ buffer[6] = '\0';
}
else
{
- Raw text -