Mail Archives: djgpp/1997/02/11/06:32:59
On Mon, 10 Feb 1997 18:16:04 GMT, mert0407 AT sable DOT ox DOT ac DOT uk (George
Foot) wrote:
Argh, mistakes mistakes mistakes... I wasn't going to post the whole
program, then filled in the rest by hand. Corrections follow...
>Compile and run this:
>
>#include <stlib.h>
Above line should read: #include <stdlib.h>
also: #include <stdio.h>
>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);
>}
>
>Hope this helps,
>
>George Foot
Sorry about that... and please don't ask me why I read my own
postings! <g>
George
- Raw text -