]> Zhao Yanbai Git Server - minix.git/commitdiff
small fixes for pkgsrc by Buccapatnam Tirumala, Gautam.
authorBen Gras <ben@minix3.org>
Wed, 30 Jun 2010 12:18:34 +0000 (12:18 +0000)
committerBen Gras <ben@minix3.org>
Wed, 30 Jun 2010 12:18:34 +0000 (12:18 +0000)
include/sys/stat.h
lib/libc/stdtime/localtime.c

index e67580b46609fd2a6c66ee88d3dace854d16568b..6402bbacf19cfaa975cdbbc8ee290dbca5631571 100644 (file)
@@ -68,6 +68,7 @@ struct stat {
 #define S_ISSOCK(m)     (((m) & S_IFMT) == S_IFSOCK)   /* is a socket */
 
 #define DEFFILEMODE     (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)
+#define ALLPERMS        (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO)
 
 /* Function Prototypes. */
 _PROTOTYPE( int chmod, (const char *_path, mode_t _mode)               );
index c059d0140a3fc460160e5658c349e68b68f0d469..465fc5f23394746096476c114a603d961a125085 100644 (file)
@@ -16,6 +16,9 @@ static char   elsieid[] = "@(#)localtime.c    7.99";
 
 /*LINTLIBRARY*/
 
+/* Gives us offtime, timegm and a few other functions */
+#define STD_INSPIRED
+
 #include "private.h"
 #include "tzfile.h"
 #include "fcntl.h"