Subject: bash file completion patch
From: [email-masked] (Scott Kempf)

2 Jan 1997 10:09:52 -0800
Sender: [email-masked]
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
Original-To: [email-masked]
Original-Sender: [email-masked]

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 ([email-masked])
Running gnu-win32 beta 17.1
under Windows 95.
-
For help on using this list, send a message to
"[email-masked]" with one line of text: "help".