delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1997/04/14/05:48:18

Date: Mon, 14 Apr 1997 12:27:47 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Oberhumer Markus <k3040e4 AT c210 DOT edvz DOT uni-linz DOT ac DOT at>
cc: djgpp-workers <djgpp-workers AT delorie DOT com>
Subject: Re: ls patch
In-Reply-To: <199704121442.RAA06499@is.elta.co.il>
Message-ID: <Pine.SUN.3.91.970414122719.9938S-100000@is>
MIME-Version: 1.0

On Sat, 12 Apr 1997, Oberhumer Markus wrote:

> This patch fixes a problem in ls when displaying the files
> in a directory that is exactly 1 character long.

Thanks.  This problem was already reported earlier.  This is how that
fragment looks now:

    #ifdef  MSDOS
	  /* "d:" does NOT mean "d:/"  */
	  if (dirnamep <= dirname + 1
	      || dirname[1] != ':' || dirname[2] != '\0')
    #endif

I think this fixes the problem.

- Raw text -


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