| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
|
| |
AC_FUNC_STRERROR_R does that.
Check for strerror declaration.
|
|
|
|
| |
as those declarations are made even in the unsigned case.
|
|
|
|
| |
as those declarations are made even in the signed case.
|
|
|
|
|
| |
(strtoul): Do not declare if HAVE_DECL_STRTOUL.
(strtoimax, strtoumax): Do not declare if already defined as a macro.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
From: Jim Meyering <jim@meyering.net>
Date: Wed, 26 Sep 2001 19:20:10 +0200
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
| |
null-terminating.
|
|
|
|
| |
(_): Remove; no longer needed.
|
|
|
|
| |
treat it like a FIFO.
|
| |
|
| |
|
|
|
|
| |
(main): Use print_copyright, not copyright_symbol.
|
|
|
|
|
|
| |
(decode_options): Use print_copyright, not copyright_symbol.
(OVERWRITE_DIR_OPTION): New constant.
(long_options, usage, decode_options): Add --overwrite-dir.
|
| |
|
|
|
|
|
|
| |
(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_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.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
(print_unicode_success, print_unicode_failure): New decls.
(print_unicode_char): Return int, not void.
|
|
|
|
|
|
|
|
|
|
|
| |
(<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.
|
| |
|
| |
|
|
|
|
|
| |
(Option Summary, Dealing with Old Files): New option --overwrite-dir.
(Overwrite Old Files): Likewise.
|
| |
|
| |
|
|
|
|
| |
(jm_AC_PREREQ_XSTRTOUMAX): Check for declaration of strtoumax
|
|
|
|
| |
(jm_AC_PREREQ_XSTRTOIMAX): Check for declaration of strtoimax.
|
|
|
|
|
|
|
|
| |
(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).
|
| |
|
| |
|
|
|
|
|
|
| |
Include langinfo.h if needed.
Use locale_charset only if USE_INCLUDED_LIBINTL;
if not, use nl_langinfo (CODESET) if available.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
(main): Use copyright_symbol to translate copyright notice,
instead of gettext.
|
|
|
|
|
| |
(decode_options): Use copyright_symbol to translate copyright notice,
instead of gettext.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
| |
|