summaryrefslogtreecommitdiff
path: root/src/sys2.h
AgeCommit message (Collapse)Author
2001-01-03(dcgettext): New macro.Jim Meyering
2000-12-23[HAVE_INTTYPES_H]: Include <inttypes.h>.Jim Meyering
2000-12-19(UINTMAX_MAX): New macro, taken from C99.Jim Meyering
2000-12-03(CHAR_BIT): Define.Jim Meyering
2000-12-03(OFF_T_MIN): Define.Jim Meyering
(OFF_T_MAX): Define.
2000-11-30Include <stdint.h> if HAVE_STDINT_H.Jim Meyering
(SIZE_MAX): Renamed from SIZE_T_MAX, as C99 uses SIZE_MAX. All uses changed.
2000-11-30(SIZE_T_MAX): Define.Jim Meyering
2000-11-19(GETOPT_HELP_CHAR, GETOPT_VERSION_CHAR): Now enumJim Meyering
constants rather than macros. Use values that cannot conflict with C characters or with -1, CHAR_MAX + 1, etc.
2000-11-13(ST_TIME_CMP_NS): Fix typo: ST_MTIM_NSEC shouldJim Meyering
be tested with #ifdef, not with #if.
2000-09-08(S_IRWXUGO): Define here, instead.Jim Meyering
2000-07-30(ISPRINT): Undef before defining to avoid warning.Jim Meyering
2000-07-23[!HAVE_DECL_GETPWUID]: Declare getpwuid.Jim Meyering
[!HAVE_DECL_GETGRGID]: Declare getgrgid. [!HAVE_DECL_GETUID]: Declare getuid.
2000-07-23(ASSIGN_STRDUPA): New macro (moved here from remove.c).Jim Meyering
2000-05-09(case_GETOPT_VERSION_CHAR): Don't call close_stdout.Jim Meyering
2000-05-03(!HAVE_DECL_STRNDUP): Declare strndup.Jim Meyering
2000-03-02(getlogin, ttyname, geteuid): Declare them here, if needed.Jim Meyering
2000-02-27Guard declaration of strtoull also with `&& HAVE_UNSIGNED_LONG_LONG'.Jim Meyering
2000-02-27Use `#if !HAVE_DECL...' instead of `#ifndef HAVE_DECL...'Jim Meyering
now that autoconf always defines the HAVE_DECL_ symbols.
2000-01-22[! HAVE_DECL_STRTOUL]: Declare strtoul.Jim Meyering
[! HAVE_DECL_STRTOULL]: Declare strtoull. Required for some AIX systems. Reported by Christian Krackowizer.
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-10-04(__attribute__): Wrap with #ifndef __attribute__.Jim Meyering
1999-10-04(__attribute__): Define to empty if GCC claims toJim Meyering
be before 2.8; this is needed for OPENStep 4.2 cc. Also, define to empty if strict ANSI.
1999-09-28Do s/#ifdef HAVE_/#if HAVE_/ -- solely for aesthetics.Jim Meyering
1999-09-19(__attribute__): Define.Jim Meyering
(ATTRIBUTE_NORETURN): Remove #else clause. (ATTRIBUTE_UNUSED): Define.
1999-08-22(ATTRIBUTE_NORETURN): Define.Jim Meyering
1999-08-22(IF_LINT): Define new macro.Jim Meyering
1999-07-30(PID_T_MAX): Define.Jim Meyering
1999-07-12(mempcpy): Define only if not already defined.Jim Meyering
Reported by Collin Rogowski.
1999-05-23white-space tweakJim Meyering
1999-05-23white-space tweakJim Meyering
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-05-03(TOLOWER): Define.Jim Meyering
(TOUPPER): Define.
1999-04-13* src/od.c (MIN, MAX): Remove definitions.Jim Meyering
* src/sys2.h (MIN, MAX): Define here instead.
1999-03-31Include "closeout.h" and "version-etc.h"Jim Meyering
1999-03-26(GETOPT_HELP_CHAR): Define.Jim Meyering
(GETOPT_VERSION_CHAR): Define. (GETOPT_HELP_OPTION_DECL): Define. (GETOPT_VERSION_OPTION_DECL): Define. (case_GETOPT_HELP_CHAR): Define. (case_GETOPT_VERSION_CHAR): Define.
1999-03-12(SETVBUF): Define new macro.Jim Meyering
1999-03-07[__DJGPP__]: Include <io.h> and <sys/exceptn.h>.Jim Meyering
1999-01-16Add prototype for base_name.Jim Meyering
1998-12-18(UID_T_MAX, GID_T_MAX): Define them here instead.Jim Meyering
1998-11-30(DOT_OR_DOTDOT): New definition (moved here from remove.c.).Jim Meyering
1998-07-25(SAME_INODE): Define it here instead.Jim Meyering
1998-07-08Remove FCLOSE_UNLOCKED block.Jim Meyering
1998-06-29revert back to using lower case _unlocked wrapper namesJim Meyering
1998-06-29add #undefs, alphabetizeJim Meyering
1998-06-28Add macro definitions for GNU libc unlocked wrappers.Jim Meyering
1997-12-25Declare stpcpy only if not defined as macro.Jim Meyering
1997-12-16s/__P/PARAMS/g.Jim Meyering
1997-12-14add memchr dclJim Meyering
1997-12-14s/HAVE_DECLARATION/HAVE_DECL_/gJim Meyering
1997-11-30(mempcpy): remove static inline functionJim Meyering