Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-03 | If PRIdMAX, PRIoMAX, PRIuMAX, and PRIxMAX are | Jim 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-02 | Assume locale.h exists. | Paul Eggert | |
(HAVE_SETLOCALE): Remove. | |||
2004-11-03 | Don'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 as | Paul 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-30 | Use "file system" rather than "filesystem" in comments. | Jim Meyering | |
2004-06-19 | (case_GETOPT_VERSION_CHAR): Switch back to using GNU_PACKAGE (from | Jim 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-09 | Include stat-macros.h, not file-type.h. | Jim Meyering | |
Move more definitions into stat-macros.h. | |||
2004-04-09 | Include file-type.h rather than hard-coding all | Jim 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-13 | Include contents of sys2.h. | Jim Meyering | |
2003-08-19 | Include 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-06 | Include <stdbool.h> unconditionally. | Jim Meyering | |
2003-06-02 | Always include <string.h>, since we assume C89. | Jim Meyering | |
Include <limits.h> without checking for HAVE_LIMITS_H. | |||
2003-04-04 | Include "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 to | Jim Meyering | |
reproduce HPUX-11 cat failure. | |||
2002-10-17 | Fix a problem that could make cat misbehave on systems which | Jim Meyering | |
give invalid (unreasonably large) values for stat.st_blksize. (ST_BLKSIZE): Ensure that the result is in [1..4MB]. | |||
2002-08-31 | Symlinks 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-20 | Change `defined(X)' syntax to `defined X' in cpp directives. | Jim Meyering | |
2002-06-15 | For 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 | |
2001-08-31 | * src/remove.c: Move true/false definitions and include from here... | Jim Meyering | |
* src/system.h: ...to here. | |||
2001-05-13 | (NODEV): Remove, undoing previous change. | Jim Meyering | |
2001-05-13 | (NODEV): New macro, if not already defined. | Jim Meyering | |
2000-04-19 | [__BEOS__]: Ignore O_BINARY and O_TEXT. | Jim Meyering | |
2000-03-12 | Merge 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-04 | copyright | Jim Meyering | |
2000-01-30 | (ST_NBLOCKS): Use st_size only for regular files and | Jim Meyering | |
for directories. From H. J. Lu. | |||
1999-12-12 | Move 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): Define | Jim Meyering | |
if not defined. This was necessary on a NeXT Turbostation running Mach 3.3. Reported by Nelson H. F. Beebe. | |||
1999-11-05 | Use HAVE_STRUCT_STAT_ST_BLOCKS, not deprecated HAVE_ST_BLOCKS. | Jim Meyering | |