delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/11/02:38:58

Date: Tue, 11 Feb 1997 09:33:06 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: George Foot <mert0407 AT sable DOT ox DOT ac DOT uk>
cc: djgpp AT delorie DOT com
Subject: Re: Detecting longfilename support..
In-Reply-To: <32ff64ab.14004877@news.ox.ac.uk>
Message-ID: <Pine.SUN.3.91.970211093205.4172I-100000@is>
MIME-Version: 1.0

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.

- Raw text -


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