[Top][All Lists]

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

RE: Windows Build Killer: Macro ISDIRSEP

From: Conrad T. Pino
Subject: RE: Windows Build Killer: Macro ISDIRSEP
Date: Tue, 11 May 2004 16:56:06 -0700

Hi Derek,

> From: Derek Robert Price
> 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.

Windows fix confirmed.

Looks like OS/2 and "emx" are in trouble:

>grep -dn ISDIRSEP *.h *.c

File emx\config.h:
252     #define ISDIRSEP(c) (FOLD_FN_CHAR(c) == '/')

File os2\config.h:
313     #define ISDIRSEP(c) (FOLD_FN_CHAR(c) == '/')
517     #define ISABSOLUTE(s) (ISDIRSEP(s[0]) || FOLD_FN_CHAR(s[0]) >= 'a' && 
FOLD_FN_CHAR(s[0]) <= 'z' && s[1] == ':' &
& ISDIRSEP(s[2]))

File os2\filesubr.c:
756             if (ISDIRSEP (*scan))

> Derek

Many thanks.


reply via email to

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