Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-30 | Include <limits.h> unconditionally, since other | Paul 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-28 | dd seek=N now conforms to POSIX if the output isn't seekable. | Paul Eggert | |
2005-05-28 | dd 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 not | Paul 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-28 | fts.c: Don't worry about debugging on pre-C99-comopatible hosts. | Paul Eggert | |
2005-05-28 | Don'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-27 | expr and test now correctly compare integers of unlimited size. | Paul Eggert | |
2005-05-27 | Include 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-27 | Refactor so that others can use large-integer | Paul 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-27 | Include 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-27 | Break 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-27 | Compare numeric strings. | Paul Eggert | |
2005-05-27 | Break 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-27 | expr 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-26 | Fix typo in comment. | Paul Eggert | |
2005-05-26 | nohup 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-26 | Add 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-21 | fix typo in a comment | Jim Meyering | |
2005-05-20 | Import 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-20 | Regenerate. | Paul Eggert | |
2005-05-20 | * config.guess: Sync from gnulib. | Paul Eggert | |
2005-05-20 | Sync from gnulib. | Paul Eggert | |
2005-05-20 | Split fts into LGPL'ed and GPL'ed parts. | Paul Eggert | |
2005-05-20 | Don't include "cycle-check.h" or "hash.h". | Paul Eggert | |
(setup_dir, free_dir): New functions. (enter_dir, leave_dir): Define trivial alternatives of _LGPL_PACKAGE. Move to fts-cycle.c if !_LGPL_PACKAGE. (HT_INITIAL_SIZE, ENTER_DIR): Remove. All uses removed. (LEAVE_DIR): Fix typo: pass Fts and Ent to leave_dir. (struct Active_dir, AD_compare, AD_hash, enter_dir, leave_dir): Move to fts-cycle.c. (fts_open): Use setup_dir. (fts_close): Use free_dir. (fts_read): Have just one copy of the ENTER_DIR code rather than three. This adds a label and some gotos, but the alternatives were messier. Check for memory allocation failure when entering a dir. (fts_stat) [_LGPL_PACKAGE]: Bring back glibc cycle detection code. | |||
2005-05-20 | (_LGPL_PACKAGE) [defined _LIBC]: New macro. | Paul Eggert | |
(FTS): New member fts_cycle, that is a union that contains the old active_dir_ht and cycle_state. All uses changed to mention fts_cycle.ht and fts_cycle.state. | |||
2005-05-20 | * fts.m4 (gl_FUNC_FTS_CORE): Renamed from gl_FUNC_FTS. | Paul Eggert | |
(gl_FUNC_FTS, gl_FUNC_FTS_LGPL): New macros. | |||
2005-05-20 | (gl_FUNC_FTS_CORE): Renamed from gl_FUNC_FTS. | Paul Eggert | |
(gl_FUNC_FTS, gl_FUNC_FTS_LGPL): New macros. | |||
2005-05-20 | New file, containing GPL'ed code migrated out of | Paul Eggert | |
fts.c, with the following changes: (setup_dir, free_dir): New functions. (enter_dir): Now returns bool. Return true if successful, false if memory exhausted. All callers changed. Do not bother partly cleaning up on memory allocation failure; that is free_dir's job. However, free ad if hash_insert fails, to avoid memory leak. (enter_dir, leave_dir): Accommodate change to FTS by inspecting fts->fts_options to see which union member to use. | |||
2005-05-20 | *** empty log message *** | Jim Meyering | |
2005-05-20 | (fts_open): Remove useless but otherwise harmless malloc call. | Jim Meyering | |
Spotted by Paul Eggert. | |||
2005-05-19 | *** empty log message *** | Jim Meyering | |