/usr/include/sys/stat.h does not define DEFFILEMODE

2008-03-11 Thread Jari Aalto
Debian Linux defines: /usr/include/sys/stat.h:# define DEFFILEMODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)/* 0666*/ But this is not in Cygwin's /usr/include/sys/stat.h What might be the equivalent? One package uses that value. Jari -- Welcome to FOSS revolution: we fix

RE: /usr/include/sys/stat.h does not define DEFFILEMODE

2008-03-11 Thread Dave Korn
Jari Aalto wrote on 11 March 2008 17:03: Debian Linux defines: /usr/include/sys/stat.h:# define DEFFILEMODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)/* 0666*/ But this is not in Cygwin's /usr/include/sys/stat.h POSIX doesn't specify it. I think it's a BSD-ism.