delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/20/21:32:00

From: Vlad Pambucol <vlad AT linux1 DOT aut DOT utt DOT ro>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Long file names -how?
Date: Fri, 20 Mar 1998 21:18:44 -0500
Organization: University of Rostock
Lines: 35
Message-ID: <35132384.37D1276E@linux1.aut.utt.ro>
References: <koehlerEq4LrC DOT 89 AT netcom DOT com>
Reply-To: vlad DOT pambucol AT usa DOT net
NNTP-Posting-Host: sylvester.ustra.abb.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Edit djgpp.env and set LFN=y

Koehler wrote:

> Hi.
>
> How can one use long filenames with djgpp (i.e as under win95)?
> I've looked through the faq and seen some discussion here but don't
> see a path to doing this. The upshot of what I've read is that it
> can't be done in a general way, but *it can be done*...how?
>
> I've ported some code of mine from unix and all works great except
> that files with more than 8 char names (or 3 char exten) don't get
> handled by fopen() correctly. Luckily I've isolated this c lib call
> to only one function (which is then called by whatever other's
> need to do file I/O) so whatever needs to be "fixed" can be fixed
> in one place.
>
> Basically, I don't really care how generalizable, portable, or user
> friendly a solution to this problem is (I'm the only user for the
> forseeable future) so long as it's not such a complete hack that
> will jeopordize either my files or system.
>
> Thanks in advance for any help,
>     Ryan Koehler (koehler AT trpntech DOT com)
>
> p.s. If you think I'm just asking too much for this cool free
> compiler, please feel free to recommend a more costly :-) one
> that will work with plane old C under win95. I actually looked
> into this for a bit, but the C++ libs / GUI / macro / etc,etc,etc
> hype that accompanied what I found was too much for me to sift
> through and figure out what I would actually get!!!!!



- Raw text -


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