Date: Mon, 14 Apr 1997 12:27:47 +0300 (IDT) From: Eli Zaretskii To: Oberhumer Markus cc: djgpp-workers Subject: Re: ls patch In-Reply-To: <199704121442.RAA06499@is.elta.co.il> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.