summaryrefslogtreecommitdiff
path: root/src/system.h
AgeCommit message (Collapse)Author
2005-07-01Assume HAVE_UNISTD_H.Jim Meyering
2005-07-01Assume HAVE_FCNTL_H (i.e., include <fcntl.h>Jim Meyering
unconditionally, and don't include <sys/file.h>).
2005-06-30(VERIFY): Guard definition with #ifndef.Jim Meyering
(VERIFY_EXPR): Undef before defining.
2005-06-29Use one fewer helper macro.Jim Meyering
2005-06-29(VERIFY): Rewrite to use string-concatenationJim Meyering
and __LINE__ so as not to require a struct name parameter. (GL_CONCAT, GL_CONCAT2, GL_LINE_CONCAT): Define helper macros.
2005-06-10(VERIFY_W_TYPEOF): Add parentheses.Jim Meyering
2005-06-02Don't use "path" or "filename".Paul Eggert
2005-05-30Don't bother mentioning _POSIX_VERSION in comment.Paul Eggert
2005-05-14Update FSF postal mail address.Jim Meyering
2005-05-14Update FSF postal mail address.Jim Meyering
2005-04-09Readability nit:Jim Meyering
Change this: # define __attribute__(x) to this: # define __attribute__(x) /* empty */
2005-04-09(RETSIGTYPE): Remove; no longer needed. All uses replaced with void.Paul Eggert
2005-04-04(USAGE_BUILTIN_WARNING): remove trailing newlineJim Meyering
2005-04-04(USAGE_BUILTIN_WARNING): New macro.Jim Meyering
2005-03-29(ptr_align): Declare `ptr' parameter to be aJim Meyering
`const' pointer, since this function never writes through it.
2005-03-29Remove #if-0'd-out code.Jim Meyering
2005-03-28(GETOPT_HELP_OPTION_DECL): Use NULL, not `0'.Jim Meyering
(GETOPT_VERSION_OPTION_DECL): Likewise.
2005-03-25(DECIMAL_DIGIT_ACCUMULATE): Reverse the sense ofJim Meyering
the return value, and update callers:
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.