www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/10/23:00:34

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: LFNs work except with dos_findfirst/next
Date: Sat, 10 Jan 1998 22:54:29 -0500
Organization: Two pounds of chaos and a pinch of salt.
Lines: 18
Message-ID: <34B84275.33F3@cs.com>
References: <698smk$ppc AT camel19 DOT mindspring DOT com>
Reply-To: fighteer AT cs DOT com
NNTP-Posting-Host: ppp232.cs.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Sam Barjoud wrote:
> 
> _USE_LFN reports 1, and fopen()/fwrite() can access and create files
> with lfns....but dos_findfirst and dos_findnext return truncated
> filenames. Not sure if this is the problem, but here's the way in
> which I invoke dos_findfirst:

I examined the source, and _dos_findfirst()/_dos_findnext() do not
appear to support long filenames.  Is there any reason why you can't use
findfirst()/findnext() instead?  They do support LFNs.

-- 
---------------------------------------------------------------------
|      John M. Aldrich       | "Sin lies only in hurting other      |
|       aka Fighteer I       | people unnecessarily.  All other     |
|   mailto:fighteer AT cs DOT com   | 'sins' are invented nonsense."       |
| http://www.cs.com/fighteer |                 - Lazarus Long       |
---------------------------------------------------------------------

- Raw text -


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