patch for win32.c on cygwin

Robby Dermody robbyd at p9i.com
Wed Dec 24 11:01:16 EST 2003


Compiling under cygwin (at least with my setup) uses platform/win32.c
instead of platform/unix.c.

While everything seems to work correctly with this file, the one thing that
isn't right (at least for running command-line applications using physfs
within a cygwin shell, which is what I'm doing) is that the dir seperator in
Cygwin is a UNIX-like one (/) instead of the win32 one (\).

This patch changes that. Been tested and it works (not that too much could
go wrong with a 4 line patch :)

Let me know if you need any more info,

Robby
-------------- next part --------------
A non-text attachment was scrubbed...
Name: win32.c.diff
Type: application/octet-stream
Size: 508 bytes
Desc: not available
URL: <http://icculus.org/pipermail/physfs/attachments/20031224/91bba673/attachment.obj>


More information about the physfs mailing list