Article View: comp.os.os2.programmer
Article #1787Re: gcc (emx version) and long filenames.
From: ochealth
Date: Sun, 08 Nov 1992 21:39
Date: Sun, 08 Nov 1992 21:39
42 lines
1961 bytes
1961 bytes
In article <1992Nov8.045519.17076@CSD-NewsHost.Stanford.EDU> loekken@Xenon.Stanford.EDU (Jack Viktor Loekken) writes:
:I am having trouble with gcc (emx version) and long filenames on
:HPFS partition.
:
[ source example deleted ]
:The program prints out :
:
: Unable to open <this.file.already.exists>
:
:even (as the filename implies) it does exist. Also, instead
:of creating the file 'this.file.should.be.created', it creates the
:file 'this.fil.sho.be.cre'. The filenames that did not contain periods
:were handled correctly.
Nope. Sorry, you are imagining this :-) This does not happen.
Are you using EMX version 0.8e (ie the latest?) I've also got the service
pack installed, but I doubt if that would change anything.
:
:The program was compiled with the command line :
:
:gcc -o test.exe test.c
:
:Then I tried the following compile commandline :
:
:gcc -o test.exe test.c /emx/lib/io/open.c /emx/lib/sys/seterrno.c -los2
:
:This time the program behaved correctly. Can anybody explain this ?
:I assume that the I/O functions resides in the dll's, but I haven't
:found out how to rebuild these. Anybody knows ?
Maybe you have an old version of emx.dll or emxio.dll.
:
:Jack
:
--
______________________________________________________________________________
jpm: ochealth@unixg.ubc.ca
Happily using OS/2 2.0 because MS Windows isNT ___
Insert VapourFeature ^^^
Technical Details
Message-ID:
<1dk1f8INN5dk@iskut.ucs.ubc.ca>Path:
arc1-ca.pugleaf.net!sparky!uunet!gumby!destroyer!cs.ubc.ca!unixg.ubc.ca!ochealthReferences:
<1992Nov8.045519.17076@CSD-NewsHost.Stanford.EDU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!gumby!destroyer!cs.ubc.ca!unixg.ubc.ca!ochealth From: ochealth@unixg.ubc.ca (ochealth) Newsgroups: comp.os.os2.programmer Subject: Re: gcc (emx version) and long filenames. Date: 8 Nov 1992 21:39:52 GMT Organization: University of British Columbia, Vancouver, B.C., Canada Lines: 42 Message-ID: <1dk1f8INN5dk@iskut.ucs.ubc.ca> References: <1992Nov8.045519.17076@CSD-NewsHost.Stanford.EDU> NNTP-Posting-Host: unixg.ubc.ca