delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/01/15:32:22

Xref: news2.mv.net comp.os.msdos.djgpp:5560
From: Mark McAdams 575-2734 MRKM <mcadams AT asd470 DOT dseg DOT ti DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Long filenames are not created by fopen
Date: Mon, 01 Jul 1996 12:58:02 -0500
Lines: 21
Message-ID: <31D811AA.41C67EA6@asd470.dseg.ti.com>
NNTP-Posting-Host: sl30.dseg.ti.com
Mime-Version: 1.0
CC: mcadams AT asd470 DOT dseg DOT ti DOT com, jesse AT lenny DOT dseg DOT ti DOT com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I am running v2.0 of DJGPP on Windows NT v3.51.  I am trying to
get my software to write files with names longer than 8 characters
(w/o extension).  Although it appears from the documentation that
this is supported, I cannot get it to work.  Regardless of swithches,
like the LFN switch in the environment, my filenames are always
truncated to 8 characters.  Is this a feature?   For example:

  strcpy(filename, "0123456789.poo")
  input_file = fopen(filename, "w");

will create a file called

01234567.poo

Is this correct functionality?

HELP

Regards,
Mark McAdams
mcadams AT asd470 DOT dseg DOT ti DOT com

- Raw text -


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