summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2000-01-22tack on the one from fileutils/libJim Meyering
2000-01-22.Jim Meyering
2000-01-22Remove kludgy `test -z $ac_...AC_CHECK_HEADERS(...)' code.Jim Meyering
Moved tests into their own function (_jm_DECL_HEADERS) in check-decl.m4.
2000-01-22(_jm_DECL_HEADERS): Define new function.Jim Meyering
(jm_CHECK_DECLARATIONS): Require it.
2000-01-22Revert to using #if HAVE_STDLIB_HJim Meyering
to guard inclusion of <stdlib.h>.
2000-01-22Guard inclusion of <stdlib.h> with `#if STDC_HEADERS',Jim Meyering
not `#if HAVE_STDLIB_H'. The former wasn't defined. Use #if rather than #ifdef. Add HAVE_DECL_STRTOUL and HAVE_DECL_STRTOULL. (jm_CHECK_DECLARATIONS): Add strtoul strtoull.
2000-01-22*** empty log message ***Jim Meyering
2000-01-22*** empty log message ***Jim Meyering
2000-01-22(seq --format): Mention that integer formats are accepted, too.Jim Meyering
2000-01-22*** empty log message ***Jim Meyering
2000-01-22*** empty log message ***Jim Meyering
2000-01-22*** empty log message ***Jim Meyering
2000-01-22Topologically sort the functions and remove fwd declarations.Jim Meyering
2000-01-22(enum Format_type): Declare.Jim Meyering
(format_type): New global to take place of intconv. (DO_printf): New macro. (main): Use it.
2000-01-22Add new tests for the new functionality.Jim Meyering
2000-01-22Add support for octal and hexadecimal output.Jim Meyering
(intconv): New variable. (usage): Update. (main): Call scan_arg instead of scan_double_arg. Call check_format before scan_arg. (scan_int_arg, scan_arg): New functions. (check_format): Add intconv argument. Accept %d, %u, %o, %x, %X. (print_numbers): If intconv is true, pass an int argument to printf.
2000-01-22.Jim Meyering
2000-01-22*** empty log message ***Jim Meyering
2000-01-22(ISDIGIT): Define.Jim Meyering
(strverscmp): Use ISDIGIT, not isdigit.
2000-01-22.Jim Meyering
2000-01-22(o-rep-1, o-rep-2): New tests.Jim Meyering
2000-01-22("xstrtol.h"): Include.Jim Meyering
(Filter): Rename from PFL. (non_neg_strtol): Remove function. (find_bracketed_repeat): Use xstrtoul instead of non_neg_strtol. (squeeze_filter, set_initialize, main): Use size_t and ssize_t in place of long and int in several decls. (read_and_delete, read_and_xlate): Likewise, and remove assertion.
2000-01-21*** empty log message ***Jim Meyering
2000-01-21Correct copying notice to use GPL, per author's request.Jim Meyering
(AUTHORS): Add djm.
2000-01-21Correct copying notice to use GPL, per author's request.Jim Meyering
2000-01-21*** empty log message ***Jim Meyering
2000-01-21*** empty log message ***Jim Meyering
2000-01-21(PFI): Return `long', not `int'.Jim Meyering
(PFL): Rename from PFI now that it returns long. (squeeze_filter): Declare as `long': i, nr, out_len.
2000-01-19Tweak sort performance.Jim Meyering
(hard_LC_CTYPE): Remove. (keylist): Renamed from keyhead. Now a pointer, not a mostly-unused struct. All uses changed. (findlines, keycompare, CMP_WITH_IGNORE, compare, checkfp, mergefps, sort): Tune and use a more consistent style for reallocation. (keycompare, main): Don't worry about LC_CTYPE; it's buggy with multibyte chars anyway. (compare): Invoke alloca (0) after each call to keycompare, not just the ones that return nonzero. This avoids a memory leak on architectures without builtin alloca that occurs sometimes when a file contains all duplicate lines.
2000-01-19*** empty log message ***Jim Meyering
2000-01-19(jm_FUNC_NANOSLEEP): Include <sys/time.h>, too.Jim Meyering
Use AC_HEADER_TIME. Volker Borchert reported that OpenBSD-2.3/sparc defines `struct timespec' in <sys/time.h>
2000-01-19*** empty log message ***Jim Meyering
2000-01-19*** empty log message ***Jim Meyering
2000-01-19Remove uses of changequote altogether.Jim Meyering
2000-01-19.Jim Meyering
2000-01-19.Jim Meyering
2000-01-19.Jim Meyering
2000-01-18(interrupt_handler, main):Jim Meyering
Don't use SA_INTERRUPT to decide whether to call sigaction, as POSIX.1 doesn't require SA_INTERRUPT and some systems (e.g. Solaris 7) don't define it. Use SA_NOCLDSTOP instead; it's been part of POSIX.1 since day 1 (in 1988).
2000-01-18*** empty log message ***Jim Meyering
2000-01-18(sighandler, main):Jim Meyering
Don't use SA_INTERRUPT to decide whether to call sigaction, as POSIX.1 doesn't require SA_INTERRUPT and some systems (e.g. Solaris 7) don't define it. Use SA_NOCLDSTOP instead; it's been part of POSIX.1 since day 1 (in 1988).
2000-01-18*** empty log message ***Jim Meyering
2000-01-18(interrupt_handler):Jim Meyering
Don't use SA_INTERRUPT to decide whether to call sigaction, as POSIX.1 doesn't require SA_INTERRUPT and some systems (e.g. Solaris 7) don't define it. Use SA_NOCLDSTOP instead; it's been part of POSIX.1 since day 1 (in 1988). (install_handler): Use SA_NOCLDSTOP, not _POSIX_VERSION, to decide whether to call sigaction; this fixes an old typo.
2000-01-18*** empty log message ***Jim Meyering
2000-01-18(nanosleep):Jim Meyering
Don't use SA_INTERRUPT to decide whether to call sigaction, as POSIX.1 doesn't require SA_INTERRUPT and some systems (e.g. Solaris 7) don't define it. Use SA_NOCLDSTOP instead; it's been part of POSIX.1 since day 1 (in 1988).
2000-01-17*** empty log message ***Jim Meyering
2000-01-17.Jim Meyering
2000-01-17*** empty log message ***Jim Meyering
2000-01-17fix typoJim Meyering
2000-01-17Revert this change (they're not the same):Jim Meyering
Use new AC_C_PROTOTYPES instead of AM_C_PROTOTYPES.
2000-01-17*** empty log message ***Jim Meyering