Date: Tue, 11 Feb 1997 09:33:06 +0200 (IST) From: Eli Zaretskii To: George Foot cc: djgpp AT delorie DOT com Subject: Re: Detecting longfilename support.. In-Reply-To: <32ff64ab.14004877@news.ox.ac.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 10 Feb 1997, George Foot wrote: > int main(void) > { > int lfn=(toupper(getenv("LFN")[0])=='Y'); > > if (lfn) > printf("Long filenames available.\n"); > else > printf("Long filenames not available.\n"); > > return(lfn); > } This program will mislead you sometimes. Setting LFN=y is not enough to get long filenames, as I explained in my other message in this thread.