summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-01-22(jm_MACROS): Require AC_FUNC_FSEEKO.Jim Meyering
2002-01-22.Jim Meyering
2002-01-22.Jim Meyering
2002-01-22*** empty log message ***Jim Meyering
2002-01-22Include xmemcoll.h, not memcoll.h.Jim Meyering
Use xmemcoll instead of memcoll. (die): Do not invoke cleanup; atexit does this now. (main): Use atexit to invoke cleanup on exit. Set xmemcoll_exit_failure to SORT_FAILURE.
2002-01-22Include xmemcoll.h, not memcoll.h.Jim Meyering
Use xmemcoll instead of memcoll.
2002-01-22*** empty log message ***Jim Meyering
2002-01-22(libfetish_a_SOURCES): Add them.Jim Meyering
2002-01-22*** empty log message ***Jim Meyering
2002-01-22(quotearg_n_style_mem): New function.Jim Meyering
2002-01-22(quotearg_buffer_restyled):Jim Meyering
Fix bug with quoting buffers containing NUL when backslashing escapes. This bug was exposed by the other changes in this patch. (quotearg_n_options): New arg ARGSIZE. All callers changed. (quoting_options_from_style): New function. (quotearg_n_style): Use it. (quotearg_n_style_mem): New function.
2002-01-22Include errno.h, and declare errno if not defined.Jim Meyering
(memcoll): Set errno to zero if there is no error.
2002-01-21*** empty log message ***Jim Meyering
2002-01-21*** empty log message ***Jim Meyering
2002-01-21(CMP_WITH_IGNORE): Don't assume that the differenceJim Meyering
between two size_t values can be stored in an int; this doesn't work, for example, on 64-bit Solaris.
2002-01-21(keycmp): Don't assume that the difference between two size_t values can beJim Meyering
stored in an int; this doesn't work, for example, on 64-bit Solaris. Also, fix the type of two locals to be size_t instead of int.
2002-01-21(compare_files): Don't assume that the differenceJim Meyering
between two size_t values can be stored in an int; this doesn't work, for example, on 64-bit Solaris.
2002-01-21*** empty log message ***Jim Meyering
2002-01-21(header-check): New rule.Jim Meyering
(local-check): Add header-check.
2002-01-21(strftime-check): New rule.Jim Meyering
(local-check): Convert this target to a list. Update uses. Mark them as .PHONY.
2002-01-21*** empty log message ***Jim Meyering
2002-01-21Don't include "xalloc.h", as system.h already does that via sys2.h.Jim Meyering
2002-01-21*** empty log message ***Jim Meyering
2002-01-21Don't include "xalloc.h", as system.h already does that via sys2.h.Jim Meyering
2002-01-21Don't include "xalloc.h", as system.h already does that via sys2.h.Jim Meyering
2002-01-21Don't include "xalloc.h", as system.h already does that via sys2.h.Jim Meyering
2002-01-21*** empty log message ***Jim Meyering
2002-01-21Don't include "xalloc.h", as system.h already does that via sys2.h.Jim Meyering
2002-01-21Don't include "xalloc.h", as system.h already does that via sys2.h.Jim Meyering
2002-01-20Avoid undefined behavior when strcoll fails,Jim Meyering
by resorting the directory with strcmp instead. Include <setjmp.h>. Include "quote.h". (compare_atime, rev_cmp_atime, compare_ctime, rev_cmp_ctime, compare_mtime, rev_cmp_mtime, compare_size, rev_comp_size, compare_name, rev_cmp_name, compare_extension, rev_cmp_extension, compare_version, rev_compare_version): Move before use, so that we can remove the forward declaration. Reimplement in terms of the new functions described below, using xstrcoll instead of strcoll. (failed_strcoll): New var. (xstrcoll): New function. (V): New type. (cmp_ctime, compstr_ctime, rev_str_ctime): New functions. (cmp_mtime, compstr_mtime, rev_str_mtime): Likewise. (cmp_atime, compstr_atime, rev_str_atime): Likewise. (cmp_size, compstr_size, rev_str_size): Likewise. (cmp_version): Likewise. (cmp_name, compstr_name, rev_str_name): Likewise. (cmp_extension, compstr_extension, rev_str_extension): Likewise. (sort_files): Use prototype for internal function var. If the strcoll-based comparison fails, fall back on a strcmp-based one.
2002-01-20*** empty log message ***Jim Meyering
2002-01-19Ensure that the two version numbers in configure.ac remain in sync.Jim Meyering
(local-check): Depend on ac-check. (ac_p_pkg, AC_INIT_PKG): Define. (ac_p_ver, AC_INIT_VER): Define. (ac-check): New rule.
2002-01-19.Jim Meyering
2002-01-19*** empty log message ***Jim Meyering
2002-01-19*** empty log message ***Jim Meyering
2002-01-18*** empty log message ***Jim Meyering
2002-01-18.Jim Meyering
2002-01-18.Jim Meyering
2002-01-18.Jim Meyering
2002-01-18*** empty log message ***Jim Meyering
2002-01-18*** empty log message ***Jim Meyering
2002-01-18(jm_MACROS): Use AC_FUNC_STRNLEN.Jim Meyering
Remove useless quotes: DF_PROG="df".
2002-01-18(main): Issue a warning for obsolete usage, unless POSIXLY_CORRECT.Jim Meyering
2002-01-18(parse_obsolescent_option): Issue a warning for obsolete usage,Jim Meyering
unless POSIXLY_CORRECT.
2002-01-18(main): Issue a warning for obsolete usage, unless POSIXLY_CORRECT.Jim Meyering
2002-01-18tweak copyright lineJim Meyering
2002-01-18*** empty log message ***Jim Meyering
2002-01-18Add these tests:Jim Meyering
tr '[==]' x tr '[::]' x they should fail, not get a failed assertion.
2002-01-18Fix tr so it no longer gets a failed assertion for [::] or [==].Jim Meyering
(xmemdup): Rename from `substr' and rewrite to take only pointer/length parameters. (build_spec_list): Update sole caller. Properly diagnose the invalid specs [::] and [==]. Pawel Prokop reported that `tr [::] _' elicits a failed assertion.
2002-01-18*** empty log message ***Jim Meyering