Mail Archives: cygwin/1997/01/02/10:39:30
Bash has a lot of trouble with file completion if the
path starts with "//". This is because bash normalizes
the file names. Here's a patch to improve completion
by keeping "//" at the start.
Scott
*** usersrc/src/bash/general.c.orig Mon Dec 30 21:20:49 1996
--- usersrc/src/bash/general.c Mon Dec 30 21:21:53 1996
***************
*** 607,613 ****
break;
/* Handle multiple `/'s in a row. */
! while (result[i] == '/')
i++;
#if !defined (apollo)
--- 607,613 ----
break;
/* Handle multiple `/'s in a row. */
! while ((i != 1) && (result[i] == '/'))
i++;
#if !defined (apollo)
----------------------------------
Scott Kempf (scottk AT ig DOT utexas DOT edu)
Running gnu-win32 beta 17.1
under Windows 95.
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -