delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/16/03:10:18

Date: Sun, 16 Aug 1998 10:10:06 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Andris Pavenis <pavenis AT lanet DOT lv>
cc: Gerhard Gruber <sparhawk AT eunet DOT at>, djgpp AT delorie DOT com
Subject: Re: -fxref bug?
In-Reply-To: <B0000039659@stargate.astr.lu.lv>
Message-ID: <Pine.SUN.3.91.980816100801.6981F-100000@is>
MIME-Version: 1.0

On Fri, 14 Aug 1998, Andris Pavenis wrote:

> #define FILE_NAME_ABSOLUTE_P(NAME) \
>       (((NAME)[0] == '/') || ((NAME)[0] == '\\') || \
>       ((isalpha(NAME)[0]) && ((NAME)[1]==':')))
> 
> is even more better (we are excluding special symbols between 
> 'Z' and 'a')

But that's just it: they should NOT be excluded.  DOS supports up to 32 
(not 26) drives, and at least Novell Netware indeed allows you to define 
6 drives whose letters are between 'Z' and 'a'.  Leaving them out would 
introduce subtle bugs in very rare cases.

- Raw text -


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