[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Windows Build Killer: Macro ISDIRSEP
From: |
Derek Robert Price |
Subject: |
Re: Windows Build Killer: Macro ISDIRSEP |
Date: |
Tue, 11 May 2004 19:28:10 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040413 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Conrad T. Pino wrote:
> 313 #define ISDIRSEP(c) (FOLD_FN_CHAR(c) == '/')
>
>already exist but I'd appreciate feedback before committing
>to this as a potential fix.
>
>Question: Will the above implementation work for Windows?
No. m4/dos.m4 is defining a new ISSLASH macro in config.h, so I
updated the UNIX stuff to work with that. I had actually already
added ISSLASH to windows-NT/config.h.in but filesubr.c wasn't using
the new macro. I just updated windows-NT/filesubr.c to use ISSLASH
instead fo ISDIRSEP. Any remaining invocations of ISDIRSEP should be
updated likewise.
Derek
- --
*8^)
Email: derek@ximbiot.com
Get CVS support at <http://ximbiot.com>!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAoWGJLD1OTBfyMaQRAnlnAJwLG6DoPZ6VeH7e5yTJB/jPNJnULACfWD70
AYD/3ECM/sBy6H1w2r/Dmk4=
=aKuY
-----END PGP SIGNATURE-----