delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/09/10/15:26:58

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Date: Fri, 10 Sep 2004 22:25:04 +0300
From: "Eli Zaretskii" <eliz AT gnu DOT org>
Sender: halo1 AT zahav DOT net DOT il
To: djgpp AT delorie DOT com
Message-ID: <01c4976c$Blat.v2.2.2$05fc4ee0@zahav.net.il>
X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 2.2.2
In-reply-to: <20040910165058.41127.qmail@web60707.mail.yahoo.com> (message
from William OConnell on Fri, 10 Sep 2004 09:50:58 -0700 (PDT))
Subject: Re: Long filenames / fopen / exe program / Windows 98
References: <20040910165058 DOT 41127 DOT qmail AT web60707 DOT mail DOT yahoo DOT com>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Date: Fri, 10 Sep 2004 09:50:58 -0700 (PDT)
> From: William OConnell <william_peter_oconnell AT yahoo DOT com>
> 
> I wrote a program in C++ using djgpp / Rhide.  This
> program uses the "fopen" statement to open a file for
> writing.  I supplied a long filename,
> "Field-Definition.txt".  This program worked fine when
> it ran under the Rhide program.  But when the compiled
> EXE program ran by itself, the filename was cut short
> to eight characters.  Is this a bug?  Why does this
> happen?  

Set LFN=y in the environment and then try again.

- Raw text -


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