summaryrefslogtreecommitdiff
path: root/src/system.h
AgeCommit message (Collapse)Author
2005-03-18comment tweakJim Meyering
2005-03-18Add comments for new macros.Jim Meyering
2005-03-17Make __typeof__-using code depend on HAVE_TYPEOF, not __GNUC__,Jim Meyering
since so many other C compilers also honor __typeof__.
2005-03-17spacing nitJim Meyering
2005-03-17Fix typo.Jim Meyering
2005-03-17(DECIMAL_DIGIT_ACCUMULATE): The use of __typeof__ must be conditional.Jim Meyering
2005-03-17(VERIFY, VERIFY_EXPR, DECIMAL_DIGIT_ACCUMULATE): New macros.Jim Meyering
2005-03-09Include intprops.h.Paul Eggert
(TYPE_SIGNED, TYPE_MINIMUM, TYPE_MAXIMUM, INT_STRLEN_BOUND): Remove; they are now defined in intprops.h.
2005-02-03Include "memrchr.h".Paul Eggert
(memrchr) [!HAVE_DECL_MEMRCHR]: Remove decl.
2005-01-24Use S_BLKSIZE value for ST_NBLOCKSIZE where available.Jim Meyering
2005-01-03* m4/jm-macros.m4 (gl_MACROS): Require gl_ULLONG_MAX.Paul Eggert
* m4/ullong_max.m4: New file. * src/system.h: Undo previous change; we now use Autoconf.
2005-01-03If PRIdMAX, PRIoMAX, PRIuMAX, and PRIxMAX areJim Meyering
not all defined and either ULONG_MAX or ULLONG_MAX is not defined, then fail at compile-time rather than let tools like od produce invalid results at run time.
2004-12-02Assume locale.h exists.Paul Eggert
(HAVE_SETLOCALE): Remove.
2004-11-03Don't #define and #undef getopt around <stdlib.h>,Paul Eggert
as this breaks the new regime that does "#define getopt rpl_getopt".
2004-08-08(O_BINARY) [!O_BINARY && defined O_BINARY]:Paul Eggert
Do not define, to avoid annoying compiler messages on QNX 6.3.
2004-08-04(PRIdMAX, PRIoMAX, PRIuMAX, PRIxMAX):Paul Eggert
Define to a concatenation of string literals, not to an expression; needed for concatenation contexts. (INTMAX_MAX, INTMAX_MIN): New macros.
2004-08-02(ptr_align): Use size_t; in practice, this is just asPaul Eggert
good as uintptr_t in checking for alignments, and has fewer configuration hassles.
2004-07-30(errno, CHAR_BIT): Remove decls;Paul Eggert
no longer needed now we assume C89 or better. Include <inttypes.h> before <stdint.h>, as it's the Autoconf-recommended pattern. (to_uchar): New inline function, moved here from tr.c. Use full names for int types, e.g. "long int" rather than "long".
2004-06-30Use "file system" rather than "filesystem" in comments.Jim Meyering
2004-06-19(case_GETOPT_VERSION_CHAR): Switch back to using GNU_PACKAGE (fromJim Meyering
PACKAGE) once again. This restores `GNU' to the parenthesized package name in --version output. Before, the first argument from AC_INIT, `GNU coreutils', would be propagated to the PACKAGE variable. Now, `GNU ' is trimmed. Reported by Richard Stallman.
2004-06-08(ENOTSUP): Remove.Jim Meyering
2004-04-18(readdir_ignoring_dot_and_dotdot): New inline function, from remove.c.Jim Meyering
2004-04-15(gcd, lcm, ptr_align): New functions, moved from od.c.Jim Meyering
2004-04-09Include stat-macros.h, not file-type.h.Jim Meyering
Move more definitions into stat-macros.h.
2004-04-09Include file-type.h rather than hard-coding allJim Meyering
of its macros definitions -- the list was slightly out of date.
2004-04-08(O_DIRECT, O_DSYNC, O_NDELAY, O_NOFOLLOW, O_RSYNC, O_SYNC):Jim Meyering
Define to 0 if not already defined.
2004-04-06(makedev) [mkdev && !makedev]: Define makedev to mkdev.Jim Meyering
For Interix.
2004-02-05(ST_TIME_CMP_NS, ST_TIME_CMP): Remove definitions.Jim Meyering
(ATIME_CMP, CTIME_CMP, MTIME_CMP, TIMESPEC_NS): Likewise. Now, those are all defined in timespec.h. Include timespec.h.
2004-02-02(TIMESPEC_NS): Define here, instead, now that stat.c also uses this macro.Jim Meyering
2004-01-22(initialize_exit_failure): New inline function.Jim Meyering
Include exitfail.h here, since we refer to exit_failure. All callers changed to not include exitfail.h. (EXIT_FAIL, EXIT_CANNOT_INVOKE, EXIT_ENOENT): New enum values.
2004-01-13Include contents of sys2.h.Jim Meyering
2003-08-19Include stdlib.h unconditionally,Jim Meyering
as we're now assuming that part of hosted C89.
2003-07-12 * src/sys2.h: Remove alloca-related block.Jim Meyering
* src/system.h: Include <alloca.h> here, instead.
2003-06-17(initialize_main): Define.Jim Meyering
2003-06-16(O_NDELAY, O_NONBLOCK, O_NOCTTY, EISDIR): New definitions.Jim Meyering
Moved here from touch.c, with one change: define EISDIR to -1, not 0.
2003-06-16(ENOSYS, ENOTSUP): Define to -1 if not defined.Jim Meyering
2003-06-06Include <stdbool.h> unconditionally.Jim Meyering
2003-06-02Always include <string.h>, since we assume C89.Jim Meyering
Include <limits.h> without checking for HAVE_LIMITS_H.
2003-04-04Include "localedir.h".Jim Meyering
2002-12-14[! HAVE_DECL_MEMRCHR]: Declare memrchr.Jim Meyering
This is necessary at least for Irix6.5 when using c89. Reported by Nelson Beebe.
2002-10-18(ST_BLKSIZE): Correct comment describing how toJim Meyering
reproduce HPUX-11 cat failure.
2002-10-17Fix a problem that could make cat misbehave on systems whichJim Meyering
give invalid (unreasonably large) values for stat.st_blksize. (ST_BLKSIZE): Ensure that the result is in [1..4MB].
2002-08-31Symlinks were always reported as using 0 blocks.Jim Meyering
(ST_NBLOCKS): Don't depend on file type. This reverts the change of 2000-01-30. Based on a report and patch from Neil Brown via Michael Stone.
2002-06-20Change `defined(X)' syntax to `defined X' in cpp directives.Jim Meyering
2002-06-15For GNU libc 2.2 and newer, ensure that <sys/types.h>Jim Meyering
has been included before this file.
2002-02-16(_POSIX2_VERSION, POSIX2_VERSION): Remove definitions.Jim Meyering
(OPTARG_POSIX, OBSOLETE_OPTION_WARNINGS): Likewise.
2002-02-02(OPTARG_POSIX, OBSOLETE_OPTION_WARNINGS): New macros.Jim Meyering
2002-01-16(_POSIX2_VERSION, POSIX2_VERSION): New macros.Jim Meyering
2001-11-27(SET_MODE) [O_BINARY]: Call setmode, not set_mode.Jim Meyering
2001-09-16(SET_MODE): Define.Jim Meyering