bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EMX on DOS


From: Derek Robert Price
Subject: Re: EMX on DOS
Date: Sun, 02 Nov 2003 21:16:35 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul Edwards wrote:

|"Paul Edwards" <address@hidden> wrote in message
news:address@hidden
|
|1. Should I rely on the HAVE_LONG_FILE_NAMES for
|the DOS port?


You can rely on configure to set it correctly.  If you are going to go
ahead with a DOS port, you might want to look into DJGPP
<http://www.delorie.com/djgpp>.  DJGPP is a 32-bit DOS portability
layer.  Much like Cygwin, I think, except I think more care was taken to
actually provide for DOS quirks like 8.3 filenames.  I've seen the
patches come across the Autoconf list for this.  Anyhow, if you hadn't
guessed, DJGPP comes with a Bash port to run configure scripts.

|2. In filesubr.c I was very surprised to see rename() being
|used, without any #ifdefing to say whether rename would
|overwrite an existing file.  The C standard leavs it
|ambiguous.  Any reason why we don't delete the target
|before rename?  I'm surprised this is the first system in this
|boat.  It was also necessary to make it writable.


filesubr.c is implemented for each platform, with the version in src
intended for those platforms which can run configure.  There is a
separate version in the windows-NT directory, for example.  If the
version in src doesn't have a switch for platforms which don't allow
renames over existing files, I would guess the issue hasn't been raised
previously or nobody noticed if it was.

Derek

- --
~                *8^)

Email: address@hidden

Get CVS support at <http://ximbiot.com>!
- --
You can't fool me, sonny!  It's turtles all the way down!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org

iD8DBQE/pbqCLD1OTBfyMaQRAmcHAKDY2SBkFeWOIFJGQ8lsMt++2r0wLgCfdwsX
12hdQVhdrZOaKmTH2DGLLzs=
=M/Dg
-----END PGP SIGNATURE-----






reply via email to

[Prev in Thread] Current Thread [Next in Thread]