summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-05-30_POSIX_VERSION cleanupPaul Eggert
2005-05-30Include sys/param.h if it exists, not if _POSIX_VERSIONPaul Eggert
isn't defined. Don't include <sys/file.h>; no longer needed. (getegid, geteuid): Remove no-longer-necessary decls.
2005-05-30Don't bother mentioning _POSIX_VERSION in comment.Paul Eggert
2005-05-30(OPENOPTS, TEXT1T01, TEXTCNVT): Remove.Paul Eggert
(digest_file): Use O_BINARY-using expr instead of OPENOPTS.
2005-05-30(getpwnam, getgrnam): Remove decl.Paul Eggert
(getuid, getgid) [!defined _POSIX_VERSION]: Remove decls.
2005-05-30(getpwuid, getgrgid, getuid, getgid, geteuid, getegid)Paul Eggert
[!defined _POSIX_VERSION]: Remove decls.
2005-05-30(geteuid) [!defined _POSIX_VERSION]: Remove decl.Paul Eggert
2005-05-30(getgrnam, getgrgid) [!defined _POSIX_VERSION]:Paul Eggert
Remove decls.
2005-05-30(getgrnam) [!defined _POSIX_VERSION]: Remove decl.Paul Eggert
2005-05-30(getpwnam, getgrnam, getgrgid)Paul Eggert
[!defined _POSIX_VERSION]: Remove decls; not needed these days.
2005-05-30Include <limits.h> unconditionally, since otherPaul Eggert
files have been getting away with it for years (MORE/BSD 4.3 is extinct now).
2005-05-30(getpwuid, getpwnam, getgrgid, getgrnam)Paul Eggert
[!defined _POSIX_VERSION]: Remove decls; not needed these days.
2005-05-30(getuid, getgid, getuid, getegid)Paul Eggert
[!defined _POSIX_VERSION]: Remove decls; not needed these days.
2005-05-30(_POSIX_PATH_MAX) [!defined _POSIX_PATH_MAX]:Paul Eggert
Define to 256, not 255, as per modern POSIX.
2005-05-28dd seek=N now conforms to POSIX if the output isn't seekable.Paul Eggert
2005-05-28dd seek=N now conforms to POSIX if the output isn't seekable.Paul Eggert
2005-05-28(skip): Return the number of records that were notPaul Eggert
skipped due to encountering EOF. (dd_copy): If the file wasn't seekable and EOF was encountered, write zeros past EOF until the desired offset is reached.
2005-05-28* fts.m4 (gl_FUNC_FTS_CORE): Don't check for inttypes.h or stdint.h,Paul Eggert
and don't require gt_INTTYPES_PRI.
2005-05-28(gl_FUNC_FTS_CORE): Don't check for inttypes.h or stdint.h,Paul Eggert
and don't require gt_INTTYPES_PRI.
2005-05-28fts.c: Don't worry about debugging on pre-C99-comopatible hosts.Paul Eggert
2005-05-28Don't worry about debugging on pre-C99-comopatible hosts;Paul Eggert
the configuration hassle isn't worth it. Include inttypes.h and stdint.h unconditionally if FTS_DEBUG. (LONGEST_MODIFIER, PRIuMAX): Remove.
2005-05-27expr and test now correctly compare integers of unlimited size.Paul Eggert
2005-05-27Include inttostr.h, strnumcmp.h.Paul Eggert
(whitespace, digit, digit_value, integer_expected_error): Remove. (is_int): Remove; replaced by... (find_int): New function. (binary_operator): Don't let integers overflow in comparisons; return the correct answer instead. Simplify the code. (unary_operator): Convert the integer ourself, since find_int no longer does so.
2005-05-27Refactor so that others can use large-integerPaul Eggert
comparison functions. Include "strnumcmp.h". (NEGATION_SIGN, NUMERIC_ZERO, fraccompare): Remove; moved to strnumcmp. (decimal_point): Now int, to simplify converison overhead with new API. All uses changed. (thousands_sep): Now -1 if there isn't one, as per new API. All uses changed. (numcompare): Move contents to strnumcmp module, except for skipping blanks.
2005-05-27Include strnumcmp.h, xstrtol.h.Paul Eggert
(looks_like_integer): New function. (toarith): Use it. Also, use xstrtoimax rather than rolling our own diagnostics. (eval2): Don't look for trouble if !evaluate; this simplifies things. Compare numbers using string comparison, so that overflow is not possible.
2005-05-27Break integer-in-string comparison code out from src/sort.Paul Eggert
2005-05-27(gl_PREREQ): Require gl_STRINTCMP, gl_STRNUMCMP.Paul Eggert
2005-05-27Compare numeric strings.Paul Eggert
2005-05-27Break integer-in-string comparison code out from src/sort.Paul Eggert
2005-05-27(eq-6, gt-5, lt-5): New tests.Paul Eggert
2005-05-27(bigcmp): New test.Paul Eggert
2005-05-27expr and test now correctly compare integers of unlimited size.Paul Eggert
(Also, correct a comment that claimed that expr detects integer overflow; it does so only when converting from strings.)
2005-05-26Fix typo in comment.Paul Eggert
2005-05-26nohup now redirects a tty stdin to an unreadable fd instead of closing it.Paul Eggert
2005-05-26*** empty log message ***Jim Meyering
2005-05-26*** empty log message ***Jim Meyering
2005-05-26.Jim Meyering
2005-05-26*** empty log message ***Jim Meyering
2005-05-26(toarith): Fix a sign error introduced on 2005-01-14.Jim Meyering
2005-05-26Add tests using arithmetic on negative integers.Jim Meyering
2005-05-22(fd_safer) [_LGPL_PACKAGE]: New static function,Paul Eggert
so that unistd-safer.h (GPL'ed code) need not be included.
2005-05-21*** empty log message ***Jim Meyering
2005-05-21fix typo in a commentJim Meyering
2005-05-20Import chown fixes from gnulib.Paul Eggert
2005-05-20(gl_FUNC_CHOWN): Correct sense of test for honoring IDs of -1.Paul Eggert
2005-05-20(rpl_chown): Return -1 on failure.Paul Eggert
2005-05-20Regenerate.Paul Eggert
2005-05-20* config.guess: Sync from gnulib.Paul Eggert
2005-05-20Sync from gnulib.Paul Eggert
2005-05-20Split fts into LGPL'ed and GPL'ed parts.Paul Eggert