summaryrefslogtreecommitdiff
path: root/src/system.h
AgeCommit message (Collapse)Author
2006-07-11Assume <dirent.h> exists, since gnulib assumes this now as well.Paul Eggert
2006-07-09(_D_EXACT_NAMELEN): Renamed from NLENGTH, forPaul Eggert
convenience on GNU systems. All uses changed. Don't bother looking for any dirent.h substitute other than ndir.h. (D_INO): Remove unnecessary parentheses. (IN_CTYPE_DOMAIN, ISGRAPH, ISPRINT, ISALNUM, ISALPHA): (ISCNTRL, ISLOWER, ISPUNCT, ISSPACE, ISUPPER, ISXDIGIT): (ISDIGIT_LOCALE, TOLOWER, TOUPPER): Remove. All uses changed to ctype.h equivalents. (isblank): Renamed from ISBLANK. Check for HAVE_DECL_ISBLANK too. All uses changed.
2006-07-02Include <stdint.h> unconditionally, since wePaul Eggert
now assume the stdint module.
2006-06-28* src/system.h (CLOSEDIR): Remove. All uses changed to closedir.Paul Eggert
2006-04-12(sync) [!HAVE_SYNC]: New macro.Paul Eggert
2006-03-12(SAME_INODE): Remove definition.Jim Meyering
Include "same-inode.h", instead.
2006-03-06(O_NOLINKS): Define to 0 if not already defined.Paul Eggert
2006-02-26(NOT_AN_INODE_NUMBER, D_INO): Define (moved here from pwd.c).Jim Meyering
2006-02-07(!defined O_DIRECT): If O_DIRECTIO is defined (as it is on Tru64),Jim Meyering
define O_DIRECT to that. Patch From James Lemley.
2006-01-11(X2NREALLOC): Now that verify_true is no longer void,Jim Meyering
cast its result to void, to avoid gcc's warning that ``left-hand operand of comma expression has no effect''. (DECIMAL_DIGIT_ACCUMULATE, X2REALLOC): Likewise.
2006-01-10Sync from gnulib.Paul Eggert
2006-01-03(O_DIRECTORY) [!defined O_DIRECTORY]: Define.Jim Meyering
2005-12-07(O_NOATIME): Define to 0 if not already defined.Paul Eggert
2005-09-28* src/system.h (LONGEST_MODIFIER): Use ULONG_MAX_LT_ULLONG_MAXPaul Eggert
instead of ULLONG_MAX, as the latter doesn't work with GCC 2.7.2.1.
2005-09-23Don't include utime.h; not needed.Paul Eggert
(struct utimbuf) [!defined HAVE_STRUCT_UTIMBUF]: Remove; not needed.
2005-09-22(X2NREALLOC, X2REALLOC): Moved here fromPaul Eggert
../lib/xalloc.h, with args properly parenthesized, and using verify_expr rather than the old VERIFY_EXPR.
2005-08-23Remove unnecessary parens in `#if defined (SYMBOL)' expressions.Jim Meyering
2005-07-11(setmode, fileno): Remove; no longer needed, we think.Paul Eggert
(SET_MODE, SET_BINARY, SET_BINARY2): Remove. [defined __DJGPP__]: Don't include <io.h> or <sys/exceptn.h>.
2005-07-06remove stray `=' from commentJim Meyering
2005-07-05(DECIMAL_DIGIT_ACCUMULATE): Generate a hard errorPaul Eggert
(not just a warning) if GCC is used and the types don't match.
2005-07-05(VERIFY_W_TYPEOF): Remove; no longer needed.Paul Eggert
(DECIMAL_DIGIT_ACCUMULATE): Change last arg from T's maximum value to T itself. All callers changed. Check that T is unsigned, and that Accum is of type T. This fixes a bug in the unlikely case where SIZE_MAX <= INT_MAX, and it no longer requires typeof to do the proper validity checks.
2005-07-05(VERIFY_W_TYPEOF): Adjust to verify.h change.Paul Eggert
2005-07-04Include "verify.h".Jim Meyering
2005-07-04(verify): Rename from VERIFY_EXPR, to be lower case,Jim Meyering
like assert. Use sizeof, rather than equivalent ((...)0), for it's slightly simpler syntax. Suggestions from Paul Eggert. (verify_decl): Rename from VERIFY.
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.