bug-gnulib
[Top][All Lists]
Advanced

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

Re: [Bug-gnulib] dos.m4 revisited


From: Derek Robert Price
Subject: Re: [Bug-gnulib] dos.m4 revisited
Date: Wed, 12 May 2004 09:33:37 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040413

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

Paul Eggert wrote:

>Derek Robert Price <address@hidden> writes:
>
>>both `/' and `\' are called "slashes" on most systems.  I would like
>>to suggest that the `ISSLASH' macro be renamed `ISDIRSEP' or the like.
>
>
>There's prececedent for that.  emacs uses IS_DIRECTORY_SEP.  GCC uses
>IS_DIR_SEPARATOR.  On the other hand, several programs use ISSLASH as
>well....


I just think ISDIRSEP would be clearer since a "slash" can have
meanings other than a path element separator in other contexts, though
I will grant there is probably rarely ambiguity in projects using GNULIB,

Regardless, it would increase readability for people not familar with
the code, so I will generate a patch if there is a consensus.

Derek

- --
                *8^)

Email: address@hidden

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

iD8DBQFAoiewLD1OTBfyMaQRAuJbAKC0a3PmfrW80hA5BVN0vIov4yRzswCguLWR
mC/ojWKc/Yu0r9vQl0JWcvI=
=6+GM
-----END PGP SIGNATURE-----





reply via email to

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