delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/01/02/10:39:30

From: scottk AT rimu DOT ig DOT utexas DOT edu (Scott Kempf)
Subject: patch to sys_errlist, fixes "rm -f y; tar tf y"
2 Jan 1997 10:39:30 -0800 :
Sender: daemon AT cygnus DOT com
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199701021634.KAA12022.cygnus.gnu-win32@rimu.ig.utexas.edu>
Original-To: gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019