Commit Graph

  • 859ba730d5 coreutils 5.0 version Paul Eggert 2002-05-27 20:05:03 +00:00
  • d1c27c2308 Sync with fileutils Paul Eggert 2002-02-11 14:28:35 +00:00
  • 9ded0a0567 Sync with fileutils Paul Eggert 2002-02-11 14:28:09 +00:00
  • 4bfdfaa270 allow using unicode Paul Eggert 2002-01-26 06:04:19 +00:00
  • ba32aa1147 From textutils 2.1 Paul Eggert 2002-01-22 07:43:55 +00:00
  • bb5b309581 Sync with fileutils. Paul Eggert 2002-01-16 22:43:41 +00:00
  • f762709bb0 Sync with fileutils. Paul Eggert 2001-12-19 15:05:33 +00:00
  • 8225f274ff Add copyright notice. (AC_FUNC_STRERROR_R): Always do char* test, so that it gets cached. Merge changes from latest Autoconf CVS. Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p, and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since POSIX decided to standardize on the int flavor of strerror_r. new Paul Eggert 2001-10-20 18:10:52 +00:00
  • e439c9fe36 (jm_PREREQ_ERROR): Do not invoke AC_CHECK_FUNCS with strerror_r, as AC_FUNC_STRERROR_R does that. Check for strerror declaration. Paul Eggert 2001-10-20 18:10:52 +00:00
  • 88711e3972 (jm_AC_PREREQ_XSTRTOUMAX): Check for strtol and strtoimax, as those declarations are made even in the unsigned case. Paul Eggert 2001-09-28 17:53:12 +00:00
  • 06384f1def (jm_AC_PREREQ_XSTRTOIMAX): Check for strtoul and strtoumax, as those declarations are made even in the signed case. Paul Eggert 2001-09-28 17:53:12 +00:00
  • bab605d5bd (strtol): Do not declare if HAVE_DECL_STRTOL. (strtoul): Do not declare if HAVE_DECL_STRTOUL. (strtoimax, strtoumax): Do not declare if already defined as a macro. Paul Eggert 2001-09-28 06:54:20 +00:00
  • 9c93a32114 Initial revision Paul Eggert 2001-09-26 20:54:08 +00:00
  • 7f1bf2e09f just ignore them silently. Paul Eggert 2001-09-26 20:53:42 +00:00
  • 3847d0f51f 1.13.25 Paul Eggert 2001-09-26 20:31:11 +00:00
  • dd83d5dd9d (read_header): Don't keep around extended name and link info indefinitely; keep it only for the next file. This fixes a bug introduced in 1.13.24, and remove the need for some static variables. Set recent_long_name and recent_long_link to zero if there were no long links; this avoids a violation of ANSI C rules for pointers in delete.c. Paul Eggert 2001-09-26 20:15:52 +00:00
  • 1735867f56 new automake patch Paul Eggert 2001-09-26 20:07:51 +00:00
  • fb1c65e512 know -> known From: Jim Meyering <jim@meyering.net> Date: Wed, 26 Sep 2001 19:20:10 +0200 Paul Eggert 2001-09-26 18:46:35 +00:00
  • 1a9ace4d99 Include iconv.h before testing for EILSEQ. Paul Eggert 2001-09-25 22:52:27 +00:00
  • 1ad624bbbc (EILSEQ): Include <time.h> and <wchar.h> if <errno.h> does not define EILSEQ, because BSD/OS 4.1 defines EILSEQ in <wchar.h>, which requires <time.h>. Define a replacement EILSEQ to be ENOENT, not EINVAL, since callers may want to distinguish EINVAL and EILSEQ. Paul Eggert 2001-09-25 18:17:36 +00:00
  • 02a275c6ac (maybe_recoverable): Treat OVERWRITE_OLD_DIRS like DEFAULT_OLD_FILES. Paul Eggert 2001-09-24 18:58:52 +00:00
  • 61170ee840 Don't assume we're using the included libintl. Paul Eggert 2001-09-23 06:40:35 +00:00
  • f42a0e5af3 Version 1.13.24. Paul Eggert 2001-09-23 06:23:14 +00:00
  • e6e72bf7ed Allocate one more byte than the size would indicate, since we're null-terminating. Paul Eggert 2001-09-23 06:18:20 +00:00
  • 1b10ab140f (<libintl.h>): Do not include; no longer needed. (_): Remove; no longer needed. Paul Eggert 2001-09-23 05:37:04 +00:00
  • 9a15fcf491 (write_archive_buffer, close_archive): If an archive is a socket, treat it like a FIFO. Paul Eggert 2001-09-23 05:03:42 +00:00
  • e2b5f1e918 Put copyright notice into documentation. Paul Eggert 2001-09-22 00:47:09 +00:00
  • 4dbeac6c7f Initial revision Paul Eggert 2001-09-22 00:47:09 +00:00
  • 63db9071d2 Include print-copyr.h, not copysym.h. (main): Use print_copyright, not copyright_symbol. Paul Eggert 2001-09-22 00:47:09 +00:00
  • 5a5f4d06e7 Include print-copyr.h, not copysym.h. (decode_options): Use print_copyright, not copyright_symbol. (OVERWRITE_DIR_OPTION): New constant. (long_options, usage, decode_options): Add --overwrite-dir. Paul Eggert 2001-09-22 00:47:09 +00:00
  • ec63030958 (update_archive): Pass 0 to read_header. Paul Eggert 2001-09-22 00:47:09 +00:00
  • 0e041a7bfe (records_read, records_written): New vars. (write_archive_to_stdout): Now bool, not int. (open_archive, flush_write, flush_read): Keep records_read and records_written up to date. Paul Eggert 2001-09-22 00:47:09 +00:00
  • 85f651c8c6 (recent_long_name, recent_long_link, recent_long_name_blocks, recent_long_link_blocks): New vars. (read_and): Pass 0 to read_header. (read_header): New arg RAW_EXTENDED_HEADERS. Store away extended headers into new vars. Null-terminate incoming symbolic links. Paul Eggert 2001-09-22 00:47:09 +00:00
  • 6c9e824ce5 (extract_archive): When marking a directory to be updated after symlinks, stat all directories after it in the delayed-set-stat list too, since they will be checked after symlinks. Add support for --overwrite-dir. Paul Eggert 2001-09-22 00:47:09 +00:00
  • 95a4feb37b (EXTRA_DIST): Remove isc-posix.m4. Paul Eggert 2001-09-22 00:47:09 +00:00
  • 06e4c77310 (unicode_to_mb): Return int, not void. New arg for failure callback. (print_unicode_success, print_unicode_failure): New decls. (print_unicode_char): Return int, not void. Paul Eggert 2001-09-21 22:26:45 +00:00
  • a942967415 (EILSEQ, ENOTSUP): New macros, if not defined by errno.h. (<error.h>): Do not include. (unicode_to_mb): Return int, not void. New arg for failure callback. Invoke the failure callback instead of invoking 'error'. (print_unicode_success): Renamed from fprintf_callback. Now extern. Return -1 on failure, 0 on success. (print_unicode_failure): New function. (print_unicode_char): Return int. Adjust to changes to unicode_to_mb. Do not report error: instead, print an approximation. Paul Eggert 2001-09-21 22:26:45 +00:00
  • 92734c1511 Rewrite from scratch, as print-copyr.h. Paul Eggert 2001-09-21 22:19:09 +00:00
  • 4b5d60ef38 Rewrite from scratch, as print-copyr.c. Paul Eggert 2001-09-21 22:19:09 +00:00
  • 7a1b6cfa67 (extracting files): Mention --to-stdout. (Option Summary, Dealing with Old Files): New option --overwrite-dir. (Overwrite Old Files): Likewise. Paul Eggert 2001-09-21 22:19:09 +00:00
  • cc818a584f Add copyright notice. Paul Eggert 2001-09-21 21:25:50 +00:00
  • 45bf6a9089 Add copyright notice, autoconf 2.52 patch. Paul Eggert 2001-09-21 21:22:15 +00:00
  • 9957263ec4 From Jim Meyering (jm_AC_PREREQ_XSTRTOUMAX): Check for declaration of strtoumax old Paul Eggert 2001-09-20 18:01:32 +00:00
  • 6fae4f6655 From Jim Meyering (jm_AC_PREREQ_XSTRTOIMAX): Check for declaration of strtoimax. Paul Eggert 2001-09-20 18:01:32 +00:00
  • 1589ca47d0 From Jim Meyering. (strtoimax): Guard declaration with #if !HAVE_DECL_STRTOIMAX', rather than just #ifndef strtoimax'. The latter fails because some systems (at least rs6000-ibm-aix4.3.3.0) have their own, conflicting declaration of strtoimax in sys/inttypes.h. (strtoumax): Likewise, for completeness (it wasn't necessary). Paul Eggert 2001-09-20 18:01:31 +00:00
  • e9da8d1a80 Initial revision Paul Eggert 2001-09-20 17:08:35 +00:00
  • c80097bb1d Initial revision Paul Eggert 2001-09-17 21:44:53 +00:00
  • 356b01119e Include stddef.h, for size_t. Include langinfo.h if needed. Use locale_charset only if USE_INCLUDED_LIBINTL; if not, use nl_langinfo (CODESET) if available. Paul Eggert 2001-09-15 06:11:37 +00:00
  • 698e5f95bf Describe automake patch Paul Eggert 2001-09-15 06:10:14 +00:00
  • 8267e6ed02 Fix bug: statement before decl. Paul Eggert 2001-09-14 02:05:00 +00:00
  • 17a96facb7 1.13.23 Paul Eggert 2001-09-14 01:51:21 +00:00
  • 792f268988 Initial revision Paul Eggert 2001-09-14 00:27:39 +00:00
  • 135a24714f Include copysym.h. (main): Use copyright_symbol to translate copyright notice, instead of gettext. Paul Eggert 2001-09-14 00:27:39 +00:00
  • 8571998faa Include copysym.h. (decode_options): Use copyright_symbol to translate copyright notice, instead of gettext. Paul Eggert 2001-09-14 00:27:39 +00:00
  • 38322a564c (EXTRA_DIST): Add getcwd.m4; remove uintmax_t.m4. Paul Eggert 2001-09-14 00:27:39 +00:00
  • 95dda72cc6 (struct delayed_set_stat): New member 'after_symlinks'. (delay_set_stat): Initialize it to 0. (set_mode): New arg current_stat_info. Use it (if nonnull) to avoid taking an extra stat ourselves. All callers changed. (set_stat): Likewise. (apply_nonancestor_delayed_set_stat): New arg 'after_symlinks'. If false, stop when encountering a struct whose 'after_symlinks' member is true. Otherwise, go through all structures but check them more carefully. All callers changed. (extract_archive): When extracting a deferred symlink, if its parent directory's status needs fixing, then mark the directory as needing to be fixed after symlinks. (extract_finish): Fix status of ordinary directories, then apply delayed symlinks, then fix the status of directories that are ancestors of delayed symlinks. Paul Eggert 2001-09-12 06:46:23 +00:00
  • 172dc3e72b Remove rexec declaration; it ran afoul of prototypes on Crays. Paul Eggert 2001-09-12 06:37:02 +00:00
  • f596d1be2e (HAVE_LONG_LONG): Redefine to HAVE_UNSIGNED_LONG_LONG if unsigned. (strtoimax): Use sizeof (long), not sizeof strtol (ptr, endptr, base), to work around bug in IBM C compiler. Paul Eggert 2001-09-06 19:47:45 +00:00
  • 26d4bfa4b2 Fix typo in quoted strings. Paul Eggert 2001-09-03 07:27:00 +00:00
  • 2761c42ade Initial revision Paul Eggert 2001-09-03 07:22:27 +00:00
  • 871b0f0f7e serial 21 Paul Eggert 2001-09-03 04:17:04 +00:00
  • 0e79725f53 Fix typo in local var; from Jim Meyering. Paul Eggert 2001-09-03 04:17:04 +00:00
  • 9f95e73642 (xgetcwd): Reorganize to avoid some duplication. Use an initial, malloc'd, buffer of length 128 rather than a statically allocated one of length 1024. Paul Eggert 2001-08-31 11:36:54 +00:00
  • 9efbc4be3b (strtoimax): New decl. Paul Eggert 2001-08-31 01:36:06 +00:00
  • 34ba0c41f9 version 1.13.22. Paul Eggert 2001-08-29 21:43:51 +00:00
  • 421568c002 (name_gather, addname): Use offsetof when computing sizes for struct hack; this avoids wasted space in some cases. (name_gather): Use strcpy, not memcpy. for consistency with other code that does similar things. (read_name_from_file, name_next, name_gather, add_hierarchy_to_namelist): Avoid quadratic behavior when reallocating buffers. Check for buffer size overflow. (addname): Avoid unnecessary clearing of memory. Paul Eggert 2001-08-29 21:37:27 +00:00
  • eb5c8f4b8b (dump_file): Relativize link names before dumping. This fixes a bug reported by Jose Pedro Oliveira. (dump_file): Use offsetof when computing sizes for struct hack; this avoids wasted space in some cases. Paul Eggert 2001-08-29 21:37:27 +00:00
  • 4bb7c67e04 (delay_set_stat): Fix off-by-one error in file name size allocation that caused core dumps. From Jan.Djarv@mbox200.swipnet.se. (extract_archive): Use strcpy, not memcpy, for consistency with other code that does similar things. Paul Eggert 2001-08-29 21:37:27 +00:00
  • 68867c0103 (main): Use "Copyright %d" to simplify the translator's job in the future. Advise translator about circle-C. Paul Eggert 2001-08-29 06:55:23 +00:00
  • 8f207b89cf (decode_options): Use "Copyright %d" to simplify the translator's job in the future. Advise translator about circle-C. Paul Eggert 2001-08-29 06:55:23 +00:00
  • 509ab656f7 Initial revision Paul Eggert 2001-08-29 06:36:20 +00:00
  • 01c35d7225 Fix copyright notice. (UNSIGNED): Renamed from STRTOUXMAX_UNSIGNED. (verify): New macro. (INT): Renamed from uintmax_t. (strtoumax, strtoull, strtoul): Remove. (strtoimax, strtol, strtoll): New macros. (strtoimax): Renamed from strtoumax. Interchange signed with unsigned. Verify sizes at compile-time, not at run-time. Prefer strtol to strtoll if both work. (main): Remove. Paul Eggert 2001-08-29 06:36:20 +00:00
  • bdafbd14a4 (jm_AC_PREREQ_XSTRTOUMAX): Quote first arg of AC_DEFUN. Require jm_AC_TYPE_INTMAX_T and jm_AC_TYPE_LONG_LONG since they is needed to parse the include file. Simplify logic behind the args to AC_REPLACE. Paul Eggert 2001-08-29 06:36:20 +00:00
  • 363fc111de (jm_AC_PREREQ_XSTRTOIMAX): Require jm_AC_TYPE_UINTMAX_T and jm_AC_TYPE_UNSIGNED_LONG_LONG since they are needed to parse the include file. Do not require jm_AC_HEADER_INTTYPES_H; it's obsolete. Check for inttypes.h. Simplify logic behind the args to AC_REPLACE. Paul Eggert 2001-08-29 06:36:20 +00:00
  • cae5fa25ae (jm_AC_HEADER_INTTYPES_H): Remove; now done by autoconf. (jm_AC_TYPE_INTMAX_T, jm_AC_TYPE_UINTMAX_T): Replace with Use AC_CHECK_TYPE instead of merely looking for the header. Paul Eggert 2001-08-29 06:36:20 +00:00
  • 8ff1f155fe (EXTRA_DIST): Add codeset.m4, glibc21.m4, iconv.m4, inttypes.m4, longlong.m4, xstrtoimax.m4. Paul Eggert 2001-08-29 06:36:20 +00:00
  • 07c3d5fe32 ("pathmax.h"): Do not include; no longer needed. (<stdlib.h>, <unistd.h>): Include if available. ("xalloc.h"): Include. (xmalloc, xstrdup, free): Remove decls; no longer needed. (xgetcwd): Don't assume sizes fit in 'unsigned'. Check for overflow when path size gets too large. Simplify failure code. Paul Eggert 2001-08-29 06:36:20 +00:00
  • 6790685098 1.13.21 Paul Eggert 2001-08-29 06:31:47 +00:00
  • 195a92a819 (Free Software Needs Free Documentation): New appendix. fileds' -> fields' Paul Eggert 2001-08-29 06:31:47 +00:00
  • be4aa5f743 Initial revision Paul Eggert 2001-08-29 01:20:18 +00:00
  • bd57de6d97 Fix typo in copying permissions. Paul Eggert 2001-08-29 00:43:14 +00:00
  • 64af1bc9c7 Quote first arg. Use shorter comment. Paul Eggert 2001-08-28 22:42:11 +00:00
  • efc9c76cb7 (xstrtoimax): New decl. Paul Eggert 2001-08-28 22:28:02 +00:00
  • bec3001dcb Comment fix. Paul Eggert 2001-08-28 20:29:12 +00:00
  • 7fec439aff Update comment. Paul Eggert 2001-08-28 20:04:21 +00:00
  • dc7b579e9c Describe changes a bit more carefully. Put copyright notice at end. Paul Eggert 2001-08-27 18:17:25 +00:00
  • 3cb3f66c92 (out): Remove directory/subdirectory/file1, as the new semantics for --exclude exclude it. Paul Eggert 2001-08-27 17:32:44 +00:00
  • 17afd0438f (ANCHORED_OPTION, IGNORE_CASE_OPTION, NO_ANCHORED_OPTION, NO_IGNORE_CASE_OPTION, NO_WILDCARDS_OPTION, NO_WILDCARDS_MATCH_SLASH_OPTION, WILDCARDS_OPTION, WILDCARDS_MATCH_SLASH_OPTION): New enum values. Paul Eggert 2001-08-27 14:41:56 +00:00
  • 998ecf08c0 (base_name): Remove decl, as system.h now declares it. Paul Eggert 2001-08-27 14:35:06 +00:00
  • 4f07b06506 (collect_and_sort_names): If ignore_failed_read_option, only warn about stat errors. Paul Eggert 2001-08-27 14:34:24 +00:00
  • a52396de9b (from_header): Do not issue a diagnostic if TYPE is zero. However, check for error even for '-' or '+' case. Paul Eggert 2001-08-27 14:32:51 +00:00
  • a7cd57a91d (struct delayed_symlinks, extract_archive, apply_delayed_symlinks): Support hard links to symbolic links. Paul Eggert 2001-08-27 14:27:54 +00:00
  • 58e97f92d3 (new_volume): Stop if the script exits with an error. Paul Eggert 2001-08-27 14:14:17 +00:00
  • 52b27333b4 (jm_AC_PREREQ_XSTRTOUMAX): Remove jm_AC_HEADER_INTTYPES_H, as it is now subsumed by autoconf. Add inttypes.h. Paul Eggert 2001-08-27 14:13:22 +00:00
  • 112523174a Upgrade to autoconf 2.5x. Paul Eggert 2001-08-27 14:09:08 +00:00
  • a26ec5fe0a (EXTRA_DIST): Add check-decl.m4, mbrtowc.m4. Remove inttypes_h.m4, largefile.m4, mktime.m4. Paul Eggert 2001-08-27 14:06:01 +00:00
  • 13b9e5afc8 Add copyright notice. Paul Eggert 2001-08-27 14:05:15 +00:00
  • 255c8a9880 Include <string.h>; required for C99 since we use strlen. Paul Eggert 2001-08-27 00:41:28 +00:00
  • 4288103c2e Put leading '*' in direntry. Accommodate new gfdl sectioning. New option --recursion (the default) that is the inverse of --no-recursion. Paul Eggert 2001-08-27 00:02:27 +00:00
  • 927c0ccf13 More security problems fixes; new options for --exclude. Paul Eggert 2001-08-26 23:56:07 +00:00