summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add copyright notice.newPaul Eggert2001-10-201-45/+38
| | | | | | | | (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.
* (jm_PREREQ_ERROR): Do not invoke AC_CHECK_FUNCS with strerror_r, asPaul Eggert2001-10-201-2/+3
| | | | | AC_FUNC_STRERROR_R does that. Check for strerror declaration.
* (jm_AC_PREREQ_XSTRTOUMAX): Check for strtol and strtoimax,Paul Eggert2001-09-281-2/+2
| | | | as those declarations are made even in the unsigned case.
* (jm_AC_PREREQ_XSTRTOIMAX): Check for strtoul and strtoumax,Paul Eggert2001-09-281-2/+2
| | | | as those declarations are made even in the signed case.
* (strtol): Do not declare if HAVE_DECL_STRTOL.Paul Eggert2001-09-281-4/+4
| | | | | (strtoul): Do not declare if HAVE_DECL_STRTOUL. (strtoimax, strtoumax): Do not declare if already defined as a macro.
* Initial revisionPaul Eggert2001-09-261-0/+3571
|
* just ignore them silently.Paul Eggert2001-09-261-6/+1
|
* 1.13.25Paul Eggert2001-09-261-0/+4
|
* (read_header): Don't keep around extended name and link infoPaul Eggert2001-09-261-13/+24
| | | | | | | | 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.
* new automake patchPaul Eggert2001-09-261-0/+34
|
* know -> knownPaul Eggert2001-09-261-1/+1
| | | | | From: Jim Meyering <jim@meyering.net> Date: Wed, 26 Sep 2001 19:20:10 +0200
* Include iconv.h before testing for EILSEQ.Paul Eggert2001-09-251-18/+5
|
* (EILSEQ): Include <time.h> and <wchar.h> if <errno.h> does not definePaul Eggert2001-09-251-1/+18
| | | | | | 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.
* (maybe_recoverable): Treat OVERWRITE_OLD_DIRS like DEFAULT_OLD_FILES.Paul Eggert2001-09-241-0/+1
|
* Don't assume we're using the included libintl.Paul Eggert2001-09-231-1/+15
|
* Version 1.13.24.Paul Eggert2001-09-231-0/+5
|
* Allocate one more byte than the size would indicate, since we'rePaul Eggert2001-09-231-1/+1
| | | | null-terminating.
* (<libintl.h>): Do not include; no longer needed.Paul Eggert2001-09-231-7/+0
| | | | (_): Remove; no longer needed.
* (write_archive_buffer, close_archive): If an archive is a socket,Paul Eggert2001-09-231-2/+4
| | | | treat it like a FIFO.
* Put copyright notice into documentation.Paul Eggert2001-09-221-4/+4
|
* Initial revisionPaul Eggert2001-09-221-0/+45
|
* Include print-copyr.h, not copysym.h.Paul Eggert2001-09-221-4/+2
| | | | (main): Use print_copyright, not copyright_symbol.
* Include print-copyr.h, not copysym.h.Paul Eggert2001-09-221-4/+9
| | | | | | (decode_options): Use print_copyright, not copyright_symbol. (OVERWRITE_DIR_OPTION): New constant. (long_options, usage, decode_options): Add --overwrite-dir.
* (update_archive): Pass 0 to read_header.Paul Eggert2001-09-221-2/+4
|
* (records_read, records_written): New vars.Paul Eggert2001-09-221-7/+20
| | | | | | (write_archive_to_stdout): Now bool, not int. (open_archive, flush_write, flush_read): Keep records_read and records_written up to date.
* (recent_long_name, recent_long_link, recent_long_name_blocks,Paul Eggert2001-09-221-25/+55
| | | | | | | 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.
* (extract_archive): When marking a directory to be updated afterPaul Eggert2001-09-221-8/+15
| | | | | | 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.
* (EXTRA_DIST): Remove isc-posix.m4.Paul Eggert2001-09-221-1/+0
|
* (unicode_to_mb): Return int, not void. New arg for failure callback.Paul Eggert2001-09-211-6/+37
| | | | | (print_unicode_success, print_unicode_failure): New decls. (print_unicode_char): Return int, not void.
* (EILSEQ, ENOTSUP): New macros, if not defined by errno.h.Paul Eggert2001-09-211-36/+60
| | | | | | | | | | | (<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.
* Rewrite from scratch, as print-copyr.h.Paul Eggert2001-09-211-1/+1
|
* Rewrite from scratch, as print-copyr.c.Paul Eggert2001-09-211-55/+22
|
* (extracting files): Mention --to-stdout.Paul Eggert2001-09-211-0/+16
| | | | | (Option Summary, Dealing with Old Files): New option --overwrite-dir. (Overwrite Old Files): Likewise.
* Add copyright notice.Paul Eggert2001-09-211-0/+11
|
* Add copyright notice, autoconf 2.52 patch.Paul Eggert2001-09-211-0/+96
|
* From Jim MeyeringoldPaul Eggert2001-09-201-1/+1
| | | | (jm_AC_PREREQ_XSTRTOUMAX): Check for declaration of strtoumax
* From Jim MeyeringPaul Eggert2001-09-201-1/+1
| | | | (jm_AC_PREREQ_XSTRTOIMAX): Check for declaration of strtoimax.
* From Jim Meyering.Paul Eggert2001-09-201-3/+3
| | | | | | | | (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).
* Initial revisionPaul Eggert2001-09-201-0/+5887
|
* Initial revisionPaul Eggert2001-09-171-0/+66
|
* Include stddef.h, for size_t.Paul Eggert2001-09-151-0/+12
| | | | | | Include langinfo.h if needed. Use locale_charset only if USE_INCLUDED_LIBINTL; if not, use nl_langinfo (CODESET) if available.
* Describe automake patchPaul Eggert2001-09-151-0/+109
|
* Fix bug: statement before decl.Paul Eggert2001-09-141-1/+2
|
* 1.13.23Paul Eggert2001-09-141-0/+4
|
* Initial revisionPaul Eggert2001-09-142-0/+82
|
* Include copysym.h.Paul Eggert2001-09-141-17/+9
| | | | | (main): Use copyright_symbol to translate copyright notice, instead of gettext.
* Include copysym.h.Paul Eggert2001-09-141-15/+6
| | | | | (decode_options): Use copyright_symbol to translate copyright notice, instead of gettext.
* (EXTRA_DIST): Add getcwd.m4; remove uintmax_t.m4.Paul Eggert2001-09-141-1/+1
|
* (struct delayed_set_stat): New member 'after_symlinks'.Paul Eggert2001-09-121-28/+101
| | | | | | | | | | | | | | | | | (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.
* Remove rexec declaration; it ran afoul of prototypes on Crays.Paul Eggert2001-09-121-2/+0
|