Re: sys/stat.h on VMS

2008-03-03 Thread Bruno Haible
John E. Malmberg wrote: > > 2) What is the definition of S_ISUID, S_ISGID, S_IREAD, S_IRUSR, S_IRGRP, > > S_IROTH, > > S_IWRITE, S_IWUSR, S_IWGRP, S_IWOTH, S_IEXEC, S_IXUSR, S_IXGRP, S_IXOTH, > > S_IRWXU, > > S_IRWXG, S_IRWXO, S_IXUGO on your system? > > ** > SYS$COMM

Re: sys/stat.h on VMS

2008-03-03 Thread John E. Malmberg
Bruno Haible wrote: John E. Malmberg wrote: In lib/sys_stat.in : The VMS DECC compiler needs to test the undefined macros with !defined. What do you mean by this? There is a bug where in some cases it does not work, particularly if more than one undefined macro is present on an #if direct

Re: sys/stat.h on VMS

2008-03-03 Thread Bruno Haible
John E. Malmberg wrote: > In lib/sys_stat.in : > > The VMS DECC compiler needs to test the undefined macros with !defined. What do you mean by this? 1) What is the result of preprocessing (cc -E) code like this? === foo.c === #ifndef fooXYZZY int dummy1; #endif #if !fooXYZZY int