summaryrefslogtreecommitdiff
path: root/src/system.h
AgeCommit message (Collapse)Author
2000-04-19[__BEOS__]: Ignore O_BINARY and O_TEXT.Jim Meyering
2000-03-12Merge from textutils.Jim Meyering
(O_BINARY, O_TEXT): Define if necessary. (SET_BINARY, SET_BINARY2): Define. (DEV_BSIZE): Define to BBSIZE if appropriate.
2000-03-04copyrightJim Meyering
2000-01-30(ST_NBLOCKS): Use st_size only for regular files andJim Meyering
for directories. From H. J. Lu.
1999-12-12Move 120+ lines of stat.h-related macros from system.h (not shared)Jim Meyering
to sys2.h, which is shared between fileutils, sh-utils, textutils. * src/system.h: Move them from here... * src/sys2.h: ... to here.
1999-12-12(S_IRUSR, S_IRGRP, S_IWGRP, S_IROTH, S_IWOTH): DefineJim Meyering
if not defined. This was necessary on a NeXT Turbostation running Mach 3.3. Reported by Nelson H. F. Beebe.
1999-11-05Use HAVE_STRUCT_STAT_ST_BLOCKS, not deprecated HAVE_ST_BLOCKS.Jim Meyering
1999-09-28Do s/#ifdef HAVE_/#if HAVE_/ -- solely for aesthetics.Jim Meyering
Do the same for other config.h macros like CLOSEDIR_VOID and MAJOR_*.
1999-05-08* src/system.h (CHAR_BIT, TYPE_SIGNED, TYPE_MINIMUM, TYPE_MAXIMUM,Jim Meyering
and all the *_MIN and *_MAX symbols): Remove definitions. * src/sys2.h: Put the definitions here instead (this file is shared between all three *utils packages, while system.h is not).
1999-04-26(S_ISUID, S_ISGID, S_ISVTX, S_IRWXU, S_IRWXG, S_IRWXO):Jim Meyering
Define if not defined. (CHMOD_MODE_BITS): New macro.
1999-04-04(S_IWUSR): Define if not already defined.Jim Meyering
1999-04-03(S_IWUSR): Define if not already defined.Jim Meyering
1999-02-03(S_ISDOOR): Define if missing.Jim Meyering
1999-01-29Use TIME_WITH_SYS_TIME-based #if test rather thanJim Meyering
TM_IN_SYS_TIME based one (for shred).
1998-08-30(ST_TIME_CMP_NS, ATIME_CMP, CTIME_CMP, MTIME_CMP): Use new ST_MTIM_NSEC macro.Jim Meyering
1998-08-30(CHAR_MIN, CHAR_MAX):Jim Meyering
Renamed from SCHAR_MIN, SCHAR_MAX, since these macros apply to char, not signed char.
1998-08-02(ST_TIME_CMP_NS, ST_TIME_CMP, ATIME_CMP, CTIME_CMP, MTIME_CMP): New macros.Jim Meyering
1998-03-31(TYPE_MAXIMUM): Cast result to `(t)' so this macro works with `unsigned char'.Jim Meyering
From Greg Wooledge. (SCHAR_MIN, SCHAR_MAX, SHRT_MIN, SHRT_MAX, LONG_MAX, ULONG_MAX): Define.
1998-01-24(TYPE_MINIMUM): Add extra outer cast to work aroundJim Meyering
bug in Cray C 5.0.3.0 when T == time_t.
1998-01-04copyrightJim Meyering
1997-12-14Remove lseek and memchr dcls.Jim Meyering
1997-11-30filter through cppiJim Meyering
1997-11-30(<limits.h>): Include if HAVE_LIMITS_H.Jim Meyering
(CHAR_BIT, TYPE_SIGNED, TYPE_MINIMUM, TYPE_MAXIMUM, INT_MAX, UINT_MAX): New macros. (ST_NBLOCKS): Now counts actual blocks, not 512-byte blocks. (ST_NBLOCKSIZE): New macro.
1997-11-24move big chunk of defs to sys2Jim Meyering
1997-11-12[!HAVE_MEMPCPY] (mempcpy): Define.Jim Meyering
1997-10-25Include xalloc.h.Jim Meyering
Remove dcls of xmalloc, xcalloc and xrealloc.
1997-10-23[!HAVE_DECLARATION_FREE]: Declare free.Jim Meyering
[!HAVE_DECLARATION_MALLOC]: Declare malloc. [!HAVE_DECLARATION_REALLOC]: Declare realloc. [!HAVE_DECLARATION_STPCPY]: Declare stpcpy. [!HAVE_DECLARATION_STRSTR]: Declare strstr.
1997-05-25(convert_blocks): Remove definition.Jim Meyering
Indent cpp directives.
1997-02-09update copyrights for 1997Jim Meyering
1997-02-04[__GNUC__]: Don't define alloca to __builtin_alloca.Jim Meyering
1997-02-03[__GNUC__]: Don't define alloca to __builtin_alloca.Jim Meyering
1996-12-18(ISDIGIT): Replace with smaller, faster editionJim Meyering
that yields nonzero only on ASCII digits. (ISDIGIT_LOCALE): New macro, with same meaning that ISDIGIT used to have. From Paul Eggert.
1996-12-03[!S_IXUGO] (S_IXUGO): Define it.Jim Meyering
1996-09-07Add comments re ctype IS* macros.Jim Meyering
1996-08-02(ST_NBLOCKS) [_CRAY]: Special case for Cray.Jim Meyering
From by Johan Danielsson.
1996-07-27(bindtextdomain) [!ENABLE_NLS]: Undefine to avoidJim Meyering
redefinition warnings on solaris. (textdomain) [!ENABLE_NLS]: Likewise.
1996-07-03[!EXIT_SUCCESS]: Define it.Jim Meyering
[!EXIT_FAILURE]: Define it.
1996-06-19(STREQ): New macro.Jim Meyering
1996-05-05[IN_CTYPE_DOMAIN]: Rename from ISASCII.Jim Meyering
1996-04-24update Copyright years for 1996Jim Meyering
1996-03-24Update FSF's address.Jim Meyering
1996-03-12[_]: Don't define this away.Jim Meyering
1996-03-12Add definitions and includes for NLS.Jim Meyering
1995-11-29[_]: Define it.Jim Meyering
1995-11-10[__P]: Define it.Jim Meyering
1995-10-06[!HAVE_UTIME_H]: Don't declare struct utimbuf here.Jim Meyering
[!HAVE_STRUCT_UTIMBUF]: Declare struct utimbuf here instead.
1995-05-27[!STDC_HEADERS && HAVE_MEMORY_H]: Include memory.h.Jim Meyering
Without this, SunOS doesn't get type for memchr. Reported by Kaveh Ghazi.
1995-02-11Remove index/rindex and bcmp/bcopy/bzero references.Jim Meyering
Separate errno declaration from STDC_HEADERS.
1994-12-10* [!HAVE_STRING_H]: Define strchr to index and strrchr toJim Meyering
rindex instead of the other way around. * Include <ctype.h> and define IS* macros.
1994-10-20.Jim Meyering