#!/bin/sh # This is a shell archive (produced by GNU sharutils 4.2). # To extract the files from this archive, save it to some FILE, remove # everything before the `!/bin/sh' line above, then type `sh FILE'. # # Made on 1997-04-25 20:55 EDT by . # Source directory was `/export/home/raptor3/pinard/tar-1.12/raptor'. # # Existing files will *not* be overwritten unless `-c' is specified. # # This shar contains: # length mode name # ------ ---------- ------------------------------------------ # 8613 -rw-r--r-- tar-1.12/README # 11451 -rw-r--r-- tar-1.12/ABOUT-NLS # 732 -rw-r--r-- tar-1.12/AUTHORS # 85570 -rw-r--r-- tar-1.12/BACKLOG # 17996 -rw-r--r-- tar-1.12/COPYING # 27680 -rw-r--r-- tar-1.12/ChangeLog # 7721 -r--r--r-- tar-1.12/INSTALL # 1912 -rw-r--r-- tar-1.12/Makefile.am # 11210 -rw-r--r-- tar-1.12/Makefile.in # 6645 -rw-r--r-- tar-1.12/NEWS # 17803 -rw-r--r-- tar-1.12/THANKS # 816 -rw-r--r-- tar-1.12/TODO # 2593 -rw-r--r-- tar-1.12/acconfig.h # 13862 -rw-r--r-- tar-1.12/acinclude.m4 # 18976 -rw-r--r-- tar-1.12/aclocal.m4 # 9926 -rw-r--r-- tar-1.12/config.h.in # 147046 -rwxr-xr-x tar-1.12/configure # 6731 -rw-r--r-- tar-1.12/configure.in # 5585 -rwxr-xr-x tar-1.12/install-sh # 4639 -rwxr-xr-x tar-1.12/missing # 732 -rwxr-xr-x tar-1.12/mkinstalldirs # 10 -rw-r--r-- tar-1.12/stamp-h.in # 1040 -rw-r--r-- tar-1.12/AC-PATCHES # 9656 -rw-r--r-- tar-1.12/AM-PATCHES # 2545 -rw-r--r-- tar-1.12/BI-PATCHES # 5297 -rw-r--r-- tar-1.12/doc/ChangeLog # 2268 -rw-r--r-- tar-1.12/doc/Makefile.am # 9786 -rw-r--r-- tar-1.12/doc/Makefile.in # 2679 -rw-r--r-- tar-1.12/doc/mdate-sh # 63 -rw-r--r-- tar-1.12/doc/stamp-vti # 159650 -rw-r--r-- tar-1.12/doc/texinfo.tex # 63 -rw-r--r-- tar-1.12/doc/version.texi # 354244 -rw-r--r-- tar-1.12/doc/tar.texi # 1961 -rwxr-xr-x tar-1.12/doc/convtexi.pl # 18106 -rw-r--r-- tar-1.12/doc/getdate.texi # 9241 -rw-r--r-- tar-1.12/doc/header.texi # 5100 -rw-r--r-- tar-1.12/doc/tar.info # 49912 -rw-r--r-- tar-1.12/doc/tar.info-1 # 48116 -rw-r--r-- tar-1.12/doc/tar.info-2 # 46885 -rw-r--r-- tar-1.12/doc/tar.info-3 # 50645 -rw-r--r-- tar-1.12/doc/tar.info-4 # 46268 -rw-r--r-- tar-1.12/doc/tar.info-5 # 46875 -rw-r--r-- tar-1.12/doc/tar.info-6 # 46645 -rw-r--r-- tar-1.12/doc/tar.info-7 # 14742 -rw-r--r-- tar-1.12/doc/tar.info-8 # 5022 -rw-r--r-- tar-1.12/PORTS # 29642 -rw-r--r-- tar-1.12/rebox.el # 8095 -rw-r--r-- tar-1.12/lib/ChangeLog # 1600 -rw-r--r-- tar-1.12/lib/Makefile.am # 9289 -rw-r--r-- tar-1.12/lib/Makefile.in # 14234 -rw-r--r-- tar-1.12/lib/alloca.c # 1126 -r--r--r-- tar-1.12/lib/basename.c # 1860 -rw-r--r-- tar-1.12/lib/dirname.c # 4226 -rw-r--r-- tar-1.12/lib/execlp.c # 2026 -r--r--r-- tar-1.12/lib/fileblocks.c # 5702 -rw-r--r-- tar-1.12/lib/fnmatch.c # 1743 -rw-r--r-- tar-1.12/lib/ftruncate.c # 52519 -rw-r--r-- tar-1.12/lib/getdate.c # 38998 -rw-r--r-- tar-1.12/lib/gmalloc.c # 964 -r--r--r-- tar-1.12/lib/memset.c # 2759 -rw-r--r-- tar-1.12/lib/mkdir.c # 2857 -rw-r--r-- tar-1.12/lib/rename.c # 1943 -rw-r--r-- tar-1.12/lib/rmdir.c # 1255 -rw-r--r-- tar-1.12/lib/strstr.c # 2605 -r--r--r-- tar-1.12/lib/argmatch.c # 5993 -rw-r--r-- tar-1.12/lib/backupfile.c # 5258 -rw-r--r-- tar-1.12/lib/error.c # 24863 -rw-r--r-- tar-1.12/lib/getdate.y # 28711 -rw-r--r-- tar-1.12/lib/getopt.c # 4651 -rw-r--r-- tar-1.12/lib/getopt1.c # 1653 -rw-r--r-- tar-1.12/lib/getversion.c # 9394 -rw-r--r-- tar-1.12/lib/modechange.c # 3028 -rw-r--r-- tar-1.12/lib/msleep.c # 1908 -rw-r--r-- tar-1.12/lib/xgetcwd.c # 2697 -rw-r--r-- tar-1.12/lib/xmalloc.c # 1248 -rw-r--r-- tar-1.12/lib/xstrdup.c # 385 -rw-r--r-- tar-1.12/lib/argmatch.h # 1353 -rw-r--r-- tar-1.12/lib/backupfile.h # 2484 -rw-r--r-- tar-1.12/lib/error.h # 2370 -rw-r--r-- tar-1.12/lib/fnmatch.h # 4691 -rw-r--r-- tar-1.12/lib/getopt.h # 1290 -rw-r--r-- tar-1.12/lib/getdate.h # 626 -rw-r--r-- tar-1.12/lib/getpagesize.h # 1720 -rw-r--r-- tar-1.12/lib/pathmax.h # 2103 -rw-r--r-- tar-1.12/lib/modechange.h # 1112 -rw-r--r-- tar-1.12/lib/stpcpy.c # 30989 -rw-r--r-- tar-1.12/intl/ChangeLog # 6153 -rw-r--r-- tar-1.12/intl/Makefile.in # 2693 -rw-r--r-- tar-1.12/intl/linux-msg.sed # 2421 -rw-r--r-- tar-1.12/intl/po2tbl.sed.in # 2814 -rw-r--r-- tar-1.12/intl/xopen-msg.sed # 3169 -rw-r--r-- tar-1.12/intl/gettext.h # 1779 -rw-r--r-- tar-1.12/intl/gettextP.h # 1769 -rw-r--r-- tar-1.12/intl/hash-string.h # 5710 -rw-r--r-- tar-1.12/intl/libgettext.h # 1540 -rw-r--r-- tar-1.12/intl/loadinfo.h # 4605 -rw-r--r-- tar-1.12/intl/bindtextdom.c # 16082 -rw-r--r-- tar-1.12/intl/dcgettext.c # 1750 -rw-r--r-- tar-1.12/intl/dgettext.c # 1907 -rw-r--r-- tar-1.12/intl/gettext.c # 6031 -rw-r--r-- tar-1.12/intl/finddomain.c # 5655 -rw-r--r-- tar-1.12/intl/loadmsgcat.c # 8787 -rw-r--r-- tar-1.12/intl/localealias.c # 3036 -rw-r--r-- tar-1.12/intl/textdomain.c # 10210 -rw-r--r-- tar-1.12/intl/l10nflist.c # 4536 -rw-r--r-- tar-1.12/intl/explodename.c # 1646 -rw-r--r-- tar-1.12/intl/intl-compat.c # 41 -rw-r--r-- tar-1.12/intl/VERSION # 6240 -rw-r--r-- tar-1.12/intl/cat-compat.c # 148798 -rw-r--r-- tar-1.12/src/ChangeLog # 1636 -rw-r--r-- tar-1.12/src/Makefile.am # 14272 -rw-r--r-- tar-1.12/src/Makefile.in # 1529 -rw-r--r-- tar-1.12/src/ansi2knr.1 # 14687 -rw-r--r-- tar-1.12/src/ansi2knr.c # 9205 -rw-r--r-- tar-1.12/src/rmt.c # 4999 -rw-r--r-- tar-1.12/src/arith.c # 43814 -rw-r--r-- tar-1.12/src/buffer.c # 21838 -rw-r--r-- tar-1.12/src/compare.c # 38271 -rw-r--r-- tar-1.12/src/create.c # 8311 -rw-r--r-- tar-1.12/src/delete.c # 29179 -rw-r--r-- tar-1.12/src/extract.c # 18774 -rw-r--r-- tar-1.12/src/incremen.c # 23949 -rw-r--r-- tar-1.12/src/list.c # 3538 -rw-r--r-- tar-1.12/src/mangle.c # 12207 -rw-r--r-- tar-1.12/src/misc.c # 23224 -rw-r--r-- tar-1.12/src/names.c # 5723 -rw-r--r-- tar-1.12/src/open3.c # 17247 -rw-r--r-- tar-1.12/src/rtapelib.c # 34758 -rw-r--r-- tar-1.12/src/tar.c # 5599 -rw-r--r-- tar-1.12/src/update.c # 4265 -rw-r--r-- tar-1.12/src/arith.h # 13830 -rw-r--r-- tar-1.12/src/common.h # 3506 -rw-r--r-- tar-1.12/src/rmt.h # 11395 -rw-r--r-- tar-1.12/src/system.h # 8960 -rw-r--r-- tar-1.12/src/tar.h # 6878 -rw-r--r-- tar-1.12/scripts/ChangeLog # 869 -rw-r--r-- tar-1.12/scripts/Makefile.am # 5031 -rw-r--r-- tar-1.12/scripts/Makefile.in # 183 -rw-r--r-- tar-1.12/scripts/WARNING # 2678 -rw-r--r-- tar-1.12/scripts/backup-specs # 3238 -rwxr-xr-x tar-1.12/scripts/dump-remind # 6526 -rwxr-xr-x tar-1.12/scripts/level-0 # 6646 -rwxr-xr-x tar-1.12/scripts/level-1 # 1015 -rw-r--r-- tar-1.12/scripts/weekly.new # 3480 -rw-r--r-- tar-1.12/po/ChangeLog # 7095 -rw-r--r-- tar-1.12/po/Makefile.in.in # 341 -rw-r--r-- tar-1.12/po/POTFILES.in # 26396 -rw-r--r-- tar-1.12/po/tar.pot # 10 -rw-r--r-- tar-1.12/po/stamp-cat-id # 45654 -rw-r--r-- tar-1.12/po/de.po # 46126 -rw-r--r-- tar-1.12/po/fr.po # 42623 -rw-r--r-- tar-1.12/po/it.po # 36730 -rw-r--r-- tar-1.12/po/ko.po # 42882 -rw-r--r-- tar-1.12/po/nl.po # 41645 -rw-r--r-- tar-1.12/po/no.po # 44100 -rw-r--r-- tar-1.12/po/pl.po # 48065 -rw-r--r-- tar-1.12/po/pt.po # 41879 -rw-r--r-- tar-1.12/po/sl.po # 43166 -rw-r--r-- tar-1.12/po/sv.po # 31919 -rw-r--r-- tar-1.12/po/de.gmo # 37658 -rw-r--r-- tar-1.12/po/fr.gmo # 21277 -rw-r--r-- tar-1.12/po/it.gmo # 15561 -rw-r--r-- tar-1.12/po/ko.gmo # 22523 -rw-r--r-- tar-1.12/po/nl.gmo # 28050 -rw-r--r-- tar-1.12/po/no.gmo # 28128 -rw-r--r-- tar-1.12/po/pl.gmo # 19312 -rw-r--r-- tar-1.12/po/pt.gmo # 17576 -rw-r--r-- tar-1.12/po/sl.gmo # 27925 -rw-r--r-- tar-1.12/po/sv.gmo # 16628 -rw-r--r-- tar-1.12/po/cat-id-tbl.c # 4898 -rw-r--r-- tar-1.12/tests/ChangeLog # 1454 -rw-r--r-- tar-1.12/tests/Makefile.am # 8892 -rw-r--r-- tar-1.12/tests/Makefile.in # 233 -rwxr-xr-x tar-1.12/tests/preset.in # 4704 -rw-r--r-- tar-1.12/tests/genfile.c # 240 -rwxr-xr-x tar-1.12/tests/after # 230 -rwxr-xr-x tar-1.12/tests/before # 545 -rwxr-xr-x tar-1.12/tests/version.sh # 1223 -rwxr-xr-x tar-1.12/tests/ignfail.sh # 218 -rwxr-xr-x tar-1.12/tests/extrac01.sh # 227 -rwxr-xr-x tar-1.12/tests/extrac02.sh # 269 -rwxr-xr-x tar-1.12/tests/extrac03.sh # 203 -rwxr-xr-x tar-1.12/tests/old.sh # 713 -rwxr-xr-x tar-1.12/tests/volume.sh # 268 -rwxr-xr-x tar-1.12/tests/gzip.sh # 199 -rwxr-xr-x tar-1.12/tests/append.sh # 265 -rwxr-xr-x tar-1.12/tests/delete01.sh # 454 -rwxr-xr-x tar-1.12/tests/incremen.sh # 315 -rwxr-xr-x tar-1.12/tests/delete02.sh # save_IFS="${IFS}" IFS="${IFS}:" gettext_dir=FAILED locale_dir=FAILED first_param="$1" for dir in $PATH do if test "$gettext_dir" = FAILED && test -f $dir/gettext \ && ($dir/gettext --version >/dev/null 2>&1) then set `$dir/gettext --version 2>&1` if test "$3" = GNU then gettext_dir=$dir fi fi if test "$locale_dir" = FAILED && test -f $dir/shar \ && ($dir/shar --print-text-domain-dir >/dev/null 2>&1) then locale_dir=`$dir/shar --print-text-domain-dir` fi done IFS="$save_IFS" if test "$locale_dir" = FAILED || test "$gettext_dir" = FAILED then echo=echo else TEXTDOMAINDIR=$locale_dir export TEXTDOMAINDIR TEXTDOMAIN=sharutils export TEXTDOMAIN echo="$gettext_dir/gettext -s" fi touch -am 1231235999 $$.touch >/dev/null 2>&1 if test ! -f 1231235999 && test -f $$.touch; then shar_touch=touch else shar_touch=: echo $echo 'WARNING: not restoring timestamps. Consider getting and' $echo "installing GNU \`touch', distributed in GNU File Utilities..." echo fi rm -f 1231235999 $$.touch # if mkdir _sh03212; then $echo 'x -' 'creating lock directory' else $echo 'failed to create lock directory' exit 1 fi # ============= tar-1.12/README ============== if test ! -d 'tar-1.12'; then $echo 'x -' 'creating directory' 'tar-1.12' mkdir 'tar-1.12' fi if test -f 'tar-1.12/README' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/README' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/README' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/README' && Here is GNU `tar' 1.12. Please glance through *all* sections of this `README' file before starting configuration. Also make sure you read files `ABOUT-NLS' and `INSTALL' if you are not familiar with them already. X If you got the `tar' distribution in `shar' format, timestamps ought to be properly restored, do not ignore such complaints at `unshar' time. X GNU `tar' saves many files together into a single tape or disk archive, and can restore individual files from the archive. It includes multivolume support, the ability to archive sparse files, automatic archive compression/decompression, remote archives and special features that allow `tar' to be used for incremental and full backups. This distribution also includes `rmt', the remote tape server. The `mt' tape drive control program is in the GNU `cpio' distribution. X GNU `tar' is derived from John Gilmore's public domain `tar'. X See file `ABOUT-NLS' for how to customize this program to your language. See file `BACKLOG' for a summary of pending mail and articles. See file `COPYING' for copying conditions. See file `INSTALL' for compilation and installation instructions. See file `PORTS' for various ports of GNU tar to non-Unix systems. See file `NEWS' for a list of major changes in the current release. See file `THANKS' for a list of contributors. X Besides those configure options documented in files `INSTALL' and `ABOUT-NLS', a few extra options may be accepted after `./configure': X * `--with-included-malloc' or `--without-included-malloc' may override the automatic choice made by `configure' about using included GNU malloc. X * `--with-dmalloc' is a debugging option for looking at memory management problems, it prerequires Gray Watson's package, which is available as `ftp://ftp.letters.com/src/dmalloc/dmalloc.tar.gz'. X The default archive device is now `stdin' on read and `stdout' on write. The installer can still override this by presetting `DEFAULT_ARCHIVE' in the environment before configuring (the behavior of `-[0-7]' or `-[0-7]lmh' options in `tar' are then derived automatically). Similarly, `DEFAULT_BLOCKING' can be preset to something else than 20. X For comprehensive modifications to GNU tar, you might need tools beyond those used in simple installations. Fully install GNU m4 1.4 first, and only then, Autoconf 2.12 with officious patches held in `AC-PATCHES'. Install Perl, then Automake 1.1n with officious patches in `AM-PATCHES'. You might need Bison 1.25 with officious patches in `BI-PATCHES' (but yacc and byacc may be OK for you), and GNU tar itself. All are available on GNU archive sites, like in ftp://prep.ai.mit.edu/pub/gnu/, but Automake is still ftp://ftp.cygnus.com/pub/tromey/automake-1.1n.tar.gz. X Send bug reports to `tar-bugs@gnu.ai.mit.edu'. (Beware, old-timers: it is `@gnu', not `@prep'; and not `bug-gnu-utils' anymore.) A bug report is an adequate description of the problem: your input, what you expected, what you got, and why this is wrong. Diffs are welcome, but they only describe a solution, from which the problem might be uneasy to infer. If needed, submit actual data files with your report. Small data files are preferred. Big files may sometimes be necessary, but do not send them to the report address; rather take special arrangement with the maintainer. X Your feedback will help us to make a better and more portable package. Consider documentation errors as bugs, and report them as such. If you develop anything pertaining to `tar' or have suggestions, let us know and share your findings by writing at `tar-forum@iro.umontreal.ca'. X X.--------------------. | Installation hints | `--------------------' X Here are a few hints which might help installing `tar' on some systems. X * Static linking. X Some platform will, by default, prepare a smaller `tar' executable which depends on shared libraries. Since GNU `tar' may be used for system-level backups and disaster recovery, installers might prefer to force static linking, making a bigger `tar' executable maybe, but able to work standalone, in situations where shared libraries are not available. The way to achieve static linking varies between systems. Set LDFLAGS to a value from the table below, before configuration (see `INSTALL'). X X Platform Compiler LDFLAGS X X (any) Gnu C -static X AIX (vendor) "-bnso -bI:/lib/syscalls.exp" X HPUX (vendor) -Wl,-a,archive X IRIX (vendor) -non_shared X OSF (vendor) -non_shared X SCO 3.2v5 (vendor) -dn X Solaris (vendor) -Bstatic X SunOS (vendor) -Bstatic X * Failed `incremen.sh'. X In an NFS environment, lack of synchronisation between machine clocks might create difficulties to any tool comparing dates and file timestamps, like `tar' in incremental dumps. This has been a recurrent problem in GNU Makefiles for the last few years. We would like a general solution. X * BSD compatibility matters. X Set LIBS to `-lbsd' before configuration (see `INSTALL') if the linker complains about undefined `valloc' (AIX) or `bsd_ioctl' (Slackware). Also set CPPFLAGS to `-I/usr/include/bsd/sys' before configuration to solve dirent problems (NeXT), or to `-I/usr/include/bsd' if is not found (Slackware). X * `union wait' problems. X Configuration of `union wait' does not always take the best decision. If you have this problem, edit file `config.cache' after configuration, find the line about `tar_cv_header_union_wait', change `yes' by `no' or vice-versa, execute `./config.status', then launch `make'. X * `%lld' unsupported in `printf'. X GNU C has `long long', but the underneath C library might not support the `%lld' format. If you have this problem, edit file `config.cache' after configuration, find the line about `ac_cv_sizeof_long_long, change `8' by `0', execute `./config.status', then launch `make'. X * FreeBSD users -- `configure' fails. X It has been reported that `configure' does not run on FreeBSD 2.1.7, because of a buggy `sh'. It works using `bash', however. X * ISC users -- `S_*' symbols undefined. X On ISC 4.1mu, POSIX environment, set CFLAGS to `-posix' and CPPFLAGS to `-D_SYSV3' before configuration (see `INSTALL'). This will trigger the definition of a few `S_' prefixed symbols from . X * Ultrix users -- broken `make'. X It seems that Ultrix make does not correctly handle shell commands having logical connectives in them. Use `s5make' if you have it, try `PROG_ENV=SYSTEM_FIVE make' (works on Ultrix 4.4), or install GNU Make. X X.------------------. | Special topics. | `------------------' X Here are a few special matters about GNU `tar', not related to build matters. See previous section for such. X * File attributes. X About *security*, it is probable that future releases of `tar' will have some behaviour changed. There are many pending suggestions to choose from. Today, extracting an archive not being `root', `tar' will restore suid/sgid bits on files but owned by the extracting user. `root' automatically gets a lot of special priviledges, `-p' might later become required to get them. X GNU `tar' does not properly restore symlink attributes. Various systems implement flavours of symbolic links showing different behaviour and properties. We did not successfully sorted all these out yet. Currently, the `lchown' call will be used if available, but that's all. X * POSIX compliance. X GNU `tar' implements an early draft of the POSIX 1003.1 `ustar' standard which is different from the final standard. This will be progressively corrected over the incoming few years. Don't be mislead by the mere existence of the --posix option. Later releases will become able to read truly POSIX archives, and also to produce them under option. (Also, if you look at the internals, don't take the GNU extensions you see for granted, as they are planned to change.) GNU tar 2.0 will produce POSIX archives by default, but there is a long way before we get there. X * What's next? X The emphasis from 1.11.2 to 1.12 has been on solving the main portability, execution or usability bugs. This was accompanied all over with an internal cleanup in the sources, and the reassembly of a `tar' manual. X The `BACKLOG' file shows an approximative priorisation of the many pending problems and suggestions. Besides pending problems and all other matters listed above, the cleanup is planned to continue and extend to the general organisation of the code, preparing a long time in advance for a possible merge of the `cpio' and `tar' distributions, into some common `paxutils'. We also want to address some long-awaited performance issues (for example: double buffering) or enhancements (for example: per-file compression). SHAR_EOF $shar_touch -am 0425133397 'tar-1.12/README' && chmod 0644 'tar-1.12/README' || $echo 'restore of' 'tar-1.12/README' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/README:' 'MD5 check failed' 76312da7bd94187ecad8f97c8b73343d tar-1.12/README SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/README'`" test 8613 -eq "$shar_count" || $echo 'tar-1.12/README:' 'original size' '8613,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/ABOUT-NLS ============== if test -f 'tar-1.12/ABOUT-NLS' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/ABOUT-NLS' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/ABOUT-NLS' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/ABOUT-NLS' && Notes on the GNU Translation Project ************************************ X X GNU is going international! The GNU Translation Project is a way to get maintainers, translators, and users all together, so that GNU will gradually become able to speak many languages. A few packages already provide translations for their messages. X X If you found this `ABOUT-NLS' file inside a GNU distribution, you may assume that the distributed package does use GNU `gettext' internally, itself available at your nearest GNU archive site. But you do *not* need to install GNU `gettext' prior to configuring, installing or using this package with messages translated. X X Installers will find here some useful hints. These notes also explain how users should proceed for getting the programs to use the available translations. They tell how people wanting to contribute and work at translations should contact the appropriate team. X X When reporting bugs in the `intl/' directory or bugs which may be related to internationalization, you should tell about the version of `gettext' which is used. The information can be found in the `intl/VERSION' file, in internationalized packages. X One advise in advance ===================== X X If you want to exploit the full power of internationalization, you should configure it using X X ./configure --with-included-gettext X to force usage of internationalizing routines provided within this package, despite the existence of internationalizing capabilities in the operating system where this package is being installed. So far, no prior implementation provides as many useful features (such as locale alias or message inheritance). It is also not possible to offer this additional functionality on top of a `catgets' implementation. Future versions of GNU `gettext' will very likely convey even more functionality. So it might be a good idea to change to GNU `gettext' as soon as possible. X INSTALL Matters =============== X X Some GNU packages are "localizable" when properly installed; the programs they contain can be made to speak your own native language. Most such packages use GNU `gettext'. Other packages have their own ways to internationalization, predating GNU `gettext'. X X By default, this package will be installed to allow translation of messages. It will automatically detect whether the system provides usable `catgets' (if using this is selected by the installer) or `gettext' functions. If neither is available, the GNU `gettext' own library will be used. This library is wholly contained within this package, usually in the `intl/' subdirectory, so prior installation of the GNU `gettext' package is *not* required. Installers may use special options at configuration time for changing the default behaviour. The commands: X X ./configure --with-included-gettext X ./configure --with-catgets X ./configure --disable-nls X will respectively bypass any pre-existing `catgets' or `gettext' to use the internationalizing routines provided within this package, enable the use of the `catgets' functions (if found on the locale system), or else, *totally* disable translation of messages. X X When you already have GNU `gettext' installed on your system and run configure without an option for your new package, `configure' will probably detect the previously built and installed `libintl.a' file and will decide to use this. This might be not what is desirable. You should use the more recent version of the GNU `gettext' library. I.e. if the file `intl/VERSION' shows that the library which comes with this package is more recent, you should use X X ./configure --with-included-gettext X to prevent auto-detection. X X By default the configuration process will not test for the `catgets' function and therefore they will not be used. The reasons are already given above: the emulation on top of `catgets' cannot provide all the extensions provided by the GNU `gettext' library. If you nevertheless want to use the `catgets' functions use X X ./configure --with-catgets X to enable the test for `catgets' (this causes no harm if `catgets' is not available on your system). If you really select this option we would like to hear about the reasons because we cannot think of any good one ourself. X X Internationalized packages have usually many `po/LL.po' files, where LL gives an ISO 639 two-letter code identifying the language. Unless translations have been forbidden at `configure' time by using the `--disable-nls' switch, all available translations are installed together with the package. However, the environment variable `LINGUAS' may be set, prior to configuration, to limit the installed set. `LINGUAS' should then contain a space separated list of two-letter codes, stating which languages are allowed. X Using This Package ================== X X As a user, if your language has been installed for this package, you only have to set the `LANG' environment variable to the appropriate ISO 639 `LL' two-letter code prior to using the programs in the package. For example, let's suppose that you speak German. At the shell prompt, merely execute `setenv LANG de' (in `csh'), `export LANG; LANG=de' (in `sh') or `export LANG=de' (in `bash'). This can be done from your `.login' or `.profile' file, once and for all. X X An operating system might already offer message localization for many of its programs, while other programs (whether GNU or not) have been installed locally with the full capabilities of GNU `gettext'. Just using `gettext' extended syntax for `LANG' would break proper localization of already available operating system programs. In this case, users should set both `LANGUAGE' and `LANG' variables in their environment, as programs using GNU `gettext' give preference to `LANGUAGE'. For example, some Swedish users would rather read translations in German than English for when Swedish is not available. This is easily accomplished by setting `LANGUAGE' to `sv:de' while leaving `LANG' to `sv'. X Translating Teams ================= X X For the GNU Translation Project to be a success, we need interested people who like their own language and write it well, and who are also able to synergize with other translators speaking the same language. Each translation team has its own mailing list, courtesy of Linux International. You may reach your translation team at the address `LL@li.org', replacing LL by the two-letter ISO 639 code for your language. Language codes are *not* the same as the country codes given in ISO 3166. The following translation teams exist, as of April 1997: X X Chinese `zh', Czech `cs', Danish `da', Dutch `nl', English `en', X Esperanto `eo', Finnish `fi', French `fr', German `de', Hungarian X `hu', Irish `ga', Italian `it', Indonesian `id', Japanese `ja', X Korean `ko', Latin `la', Norwegian `no', Persian `fa', Polish X `pl', Portuguese `pt', Russian `ru', Slovenian `sl', Spanish `es', X Swedish `sv', and Turkish `tr'. X For example, you may reach the Chinese translation team by writing to `zh@li.org'. X X If you'd like to volunteer to *work* at translating messages, you should become a member of the translating team for your own language. The subscribing address is *not* the same as the list itself, it has `-request' appended. For example, speakers of Swedish can send a message to `sv-request@li.org', having this message body: X X subscribe X X Keep in mind that team members are expected to participate *actively* in translations, or at solving translational difficulties, rather than merely lurking around. If your team does not exist yet and you want to start one, or if you are unsure about what to do or how to get started, please write to `gnu-translation@gnu.ai.mit.edu' to reach the GNU coordinator for all translator teams. X X The English team is special. It works at improving and uniformizing the terminology used in GNU. Proven linguistic skill are praised more than programming skill, here. For the time being, please avoid subscribing to the English team unless explicitly invited to do so. X Available Packages ================== X X Languages are not equally supported in all GNU packages. The following matrix shows the current state of GNU internationalization, as of April 1997. The matrix shows, in regard of each package, for which languages PO files have been submitted to translation coordination. X X Ready PO files cs da de en es fi fr it ja ko nl no pl pt sl sv X .-------------------------------------------------. X bash | [] [] [] | 3 X bison | [] [] [] | 3 X clisp | [] [] [] | 3 X cpio | [] [] [] [] [] | 5 X diffutils | [] [] [] [] | 4 X enscript | [] [] [] [] [] [] | 6 X fileutils | [] [] [] [] [] [] [] [] [] | 9 X findutils | [] [] [] [] [] [] [] | 7 X flex | [] [] [] [] | 4 X gcal | [] [] [] [] | 4 X gettext | [] [] [] [] [] [] [] [] [] [] | 11 X grep | [] [] [] [] [] [] [] [] [] | 9 X hello | [] [] [] [] [] [] [] [] [] [] | 10 X id-utils | [] [] | 2 X indent | [] [] [] | 3 X libc | [] [] [] [] [] [] [] | 7 X m4 | [] [] [] [] [] | 5 X make | [] [] [] [] [] [] | 6 X music | [] [] | 2 X ptx | [] [] [] [] [] [] [] [] | 8 X recode | [] [] [] [] [] [] [] [] [] | 9 X sh-utils | [] [] [] [] [] [] | 6 X sharutils | [] [] [] [] [] | 5 X tar | [] [] [] [] [] [] [] [] [] [] | 10 X texinfo | [] | 1 X textutils | [] [] [] [] [] [] | 6 X wdiff | [] [] [] [] [] [] [] [] | 8 X `-------------------------------------------------' X 16 languages cs da de en es fi fr it ja ko nl no pl pt sl sv X 27 packages 1 2 23 1 16 1 26 1 1 11 20 7 16 7 7 16 156 X X Some counters in the preceding matrix are higher than the number of visible blocks let us expect. This is because a few extra PO files are used for implementing regional variants of languages, or language dialects. X X For a PO file in the matrix above to be effective, the package to which it applies should also have been internationalized and distributed as such by its maintainer. There might be an observable lag between the mere existence a PO file and its wide availability in a GNU distribution. X X If April 1997 seems to be old, you may fetch a more recent copy of this `ABOUT-NLS' file on most GNU archive sites. X SHAR_EOF $shar_touch -am 0419101797 'tar-1.12/ABOUT-NLS' && chmod 0644 'tar-1.12/ABOUT-NLS' || $echo 'restore of' 'tar-1.12/ABOUT-NLS' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/ABOUT-NLS:' 'MD5 check failed' 624e7c745a5caa54aa2cffffcdfe4f75 tar-1.12/ABOUT-NLS SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/ABOUT-NLS'`" test 11451 -eq "$shar_count" || $echo 'tar-1.12/ABOUT-NLS:' 'original size' '11451,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/AUTHORS ============== if test -f 'tar-1.12/AUTHORS' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/AUTHORS' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/AUTHORS' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/AUTHORS' && Authors of GNU tar. X The following contributions warranted legal paper exchanges with the Free Software Foundation. Also see files ChangeLog and THANKS. X TAR Jay Fenlason Assigns his changes. X TAR Richard E Salz 1993-03-11 Disclaims changes to getdate.y. X TAR MANUAL (?) Amy Gorin (US 1963) 1995-01-10 Assigns the Tar Manual. X TAR Francois Pinard Canada 1949 1996-02-01 Assigns past and future changes. X TAR Melissa Weisshaus US 1966 1997-04-09 Assigns changes to the manual and future changes. melissa@gnu.ai.mit.edu X TAR Thomas Michael Innis Bushnell US 1967 1997-04-09 Assigns changes. thomas@gnu.ai.mit.edu X TAR Thomas Michael Innis Bushnell US 1967 1997-04-09 Assigns changes to manual. thomas@gnu.ai.mit.edu SHAR_EOF $shar_touch -am 0418153297 'tar-1.12/AUTHORS' && chmod 0644 'tar-1.12/AUTHORS' || $echo 'restore of' 'tar-1.12/AUTHORS' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/AUTHORS:' 'MD5 check failed' ce4d3aaf246049b3c48382c69d234b84 tar-1.12/AUTHORS SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/AUTHORS'`" test 732 -eq "$shar_count" || $echo 'tar-1.12/AUTHORS:' 'original size' '732,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/BACKLOG ============== if test -f 'tar-1.12/BACKLOG' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/BACKLOG' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/BACKLOG' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/BACKLOG M(R!3=6UM87)Y(&]F('!E;F1I;F<@96UA:6P@9F]R($=.52!T87(@,2XQ,BX* M(R!,87-T('5P9&%T960@;VX@,3DY-RTP-"TR-2X*"B,@5&AI2!E M>'!E8W0*(R!S;VUE(&9E961B86-K(&9R;VT@;64N("!5;G1I;"!T:&5N+"!P M;&5A7,@<')A8W1I M8V%L+"!N;W(@9F%I2P@=&\@=VET:&AO;&0@ M80HC(')E;&5AG5D;SH@4F5;,ETZ(%EO=7(@5]S=')I;F<@86YD"C$P+B`Q M.3DU+3`V+3$Y(%)O8F5R="!,:7!E.B!293H@4&%T8V@@=&\@9VYU('1A<@HQ M,2X@,3DY-2TP-RTP-2!3=&5F86X@0F]H;3H@4F4Z($)U9R!I;B!T87(M,2XQ M,2XX"C$R+B`Q.3DU+3`Y+3(P($IO97)G96X@2&%E9V&5L($AA8F5R;6%N;CH@0G5G M(&EN(&=N=2UT87(@,2TQ,2X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,B!+ M+B!"97)R>3H@4F4Z(&YE>'0@;6]N=&@*(#@N(#$Y.38M,#(M,C`@2V%R;"!" M97)R>3H@9&%T92`M+69I;&4]"B`Y+B`Q.3DV+3`R+3(X($II;2!-97EE&-L=61E"B`Q M+B`Q.3DW+3`S+3(W($9R86[G;VES(%!I;F%R9#H@4F4Z($1O8W5M96YT871I M;VX@;VX@9VYU('1A<@H@,BX@,3DY-RTP,RTR-R!5;')I8V@@5VEN9&PZ($1O M8W5M96YT871I;VX@;VX@9VYU('1A<@H*'1E;G-I;VX*,3$N M(#$Y.#@M,#,M,34@2F]H;B!':6QM;W)E.B!293H@=&%R(&5X=&5N2!E>&-A=F%T:6]N"C0S+B`Q.3DV+3$Q+3(R M($9R86[G;VES(%!I;F%R9#H@4F4Z($=.52!T87(@,2XQ,2XQ-"!P3H@0V]M<&EL92!E"YC M(&EN('1A7-I8W,N=6)C+F-A.B!'3E4@=&%R(#$N,3$N,CH@&%N9')E($]L:79A.B!293H@1TY5(%1A&%N9&5R(%8N($QU:WEA;F]V.B!293H@02!F96%T M=7)E('1O(&%D9`H*&D*(#0N(#$Y.33H@4F4Z(%5N9&5S:7)A8FQE(&)E:&%V:6]R(&]F('1A M<@H@,RX@,3DY-RTP-"TQ,"!"0H*2!3=6)S>7-T96TZ(%)E M='5R;F5D(&UA:6PZ(%5S97(@=6YK;F]W;@H@-BX@,3DY-RTP-"TR,"!-86EL M($1E;&EV97)Y(%-U8G-Y2!3=6)S>7-T96TZ(%)E='5R;F5D(&UA:6PZ(%5S97(@=6YK M;F]W;@H@.2X@,3DY-RTP-"TR,R!-86EL($1E;&EV97)Y(%-U8G-Y2!3=6)S>7-T96TZ(%)E='5R;F5D(&UA M:6PZ($AO&5S"B!T ` end SHAR_EOF $shar_touch -am 0425202197 'tar-1.12/BACKLOG' && chmod 0644 'tar-1.12/BACKLOG' || $echo 'restore of' 'tar-1.12/BACKLOG' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/BACKLOG:' 'MD5 check failed' 0548a1b38f507adaffdda6e2613ad445 tar-1.12/BACKLOG SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/BACKLOG'`" test 85570 -eq "$shar_count" || $echo 'tar-1.12/BACKLOG:' 'original size' '85570,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/COPYING ============== if test -f 'tar-1.12/COPYING' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/COPYING' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/COPYING' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/COPYING' && X GNU GENERAL PUBLIC LICENSE X Version 2, June 1991 X X Copyright (C) 1989, 1991 Free Software Foundation, Inc. X 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. X Everyone is permitted to copy and distribute verbatim copies X of this license document, but changing it is not allowed. X X Preamble X X The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. X X When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. X X To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. X X For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. X X We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. X X Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. X X Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. X X The precise terms and conditions for copying, distribution and modification follow. X X GNU GENERAL PUBLIC LICENSE X TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION X X 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". X Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. X X 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. X You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. X X 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: X X a) You must cause the modified files to carry prominent notices X stating that you changed the files and the date of any change. X X b) You must cause any work that you distribute or publish, that in X whole or in part contains or is derived from the Program or any X part thereof, to be licensed as a whole at no charge to all third X parties under the terms of this License. X X c) If the modified program normally reads commands interactively X when run, you must cause it, when started running for such X interactive use in the most ordinary way, to print or display an X announcement including an appropriate copyright notice and a X notice that there is no warranty (or else, saying that you provide X a warranty) and that users may redistribute the program under X these conditions, and telling the user how to view a copy of this X License. (Exception: if the Program itself is interactive but X does not normally print such an announcement, your work based on X the Program is not required to print an announcement.) X These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. X Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. X In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. X X 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: X X a) Accompany it with the complete corresponding machine-readable X source code, which must be distributed under the terms of Sections X 1 and 2 above on a medium customarily used for software interchange; or, X X b) Accompany it with a written offer, valid for at least three X years, to give any third party, for a charge no more than your X cost of physically performing source distribution, a complete X machine-readable copy of the corresponding source code, to be X distributed under the terms of Sections 1 and 2 above on a medium X customarily used for software interchange; or, X X c) Accompany it with the information you received as to the offer X to distribute corresponding source code. (This alternative is X allowed only for noncommercial distribution and only if you X received the program in object code or executable form with such X an offer, in accord with Subsection b above.) X The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. X If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. X X 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. X X 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. X X 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. X X 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. X If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. X It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. X This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. X X 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. X X 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. X Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. X X 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. X X NO WARRANTY X X 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. X X 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. X X END OF TERMS AND CONDITIONS X X Appendix: How to Apply These Terms to Your New Programs X X If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. X X To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. X X X Copyright (C) 19yy X X This program is free software; you can redistribute it and/or modify X it under the terms of the GNU General Public License as published by X the Free Software Foundation; either version 2 of the License, or X (at your option) any later version. X X This program is distributed in the hope that it will be useful, X but WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the X GNU General Public License for more details. X X You should have received a copy of the GNU General Public License X along with this program; if not, write to the Free Software Foundation, X Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. X Also add information on how to contact you by electronic and paper mail. X If the program is interactive, make it output a short notice like this when it starts in an interactive mode: X X Gnomovision version 69, Copyright (C) 19yy name of author X Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. X This is free software, and you are welcome to redistribute it X under certain conditions; type `show c' for details. X The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. X You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: X X Yoyodyne, Inc., hereby disclaims all copyright interest in the program X `Gnomovision' (which makes passes at compilers) written by James Hacker. X X , 1 April 1989 X Ty Coon, President of Vice X This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. SHAR_EOF $shar_touch -am 0324134996 'tar-1.12/COPYING' && chmod 0644 'tar-1.12/COPYING' || $echo 'restore of' 'tar-1.12/COPYING' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/COPYING:' 'MD5 check failed' 7783169b4be06b54e86730eb01bc3a31 tar-1.12/COPYING SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/COPYING'`" test 17996 -eq "$shar_count" || $echo 'tar-1.12/COPYING:' 'original size' '17996,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/ChangeLog ============== if test -f 'tar-1.12/ChangeLog' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/ChangeLog' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/ChangeLog' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/ChangeLog M,3DY-RTP-"TR-2`@1G)A;N=O:7,@4&EN87)D("`\<&EN87)D0&ER;RYU;6]N M=')E86PN8V$^"@H)*B!296QE87-E(#$N,3(N"@H)*B!C;VYF:6=U7=O6YA;64@=VAI;&4*"6-H96-K:6YG M(&9O7,@;F\@=V]R:VEN9R!C;W!Y('=A2X*"5)E<&]R=&5D M(&)Y($)R=6YO($AA:6)L92P@0G)Y86YT($9U:FEM;W1O+"!*;VAN($1A=FED M($%N9VQI;BP*"4MA=F5H(%(N($=H87II+"!,875R96YT($-A:6QL870M5F%L M;&5T+"!386MA:2!+:7EO=&%K82!A;F0*"5-A;G1I86=O(%9I;&$@1&]N8V5L M+@H*,3DY-RTP-"TQ,2`@1G)A;N=O:7,@4&EN87)D("`\<&EN87)D0&ER;RYU M;6]N=')E86PN8V$^"@H)*B!C;VYF:6=U6UO M2!A9&0@+6QN2!!2!38VAW:6UM97(L($UA6%N="!&=6II;6]T;RP@17)I8VL@0G)A;F1EFDL($MU"]F9"YH+@H)4F5P;W)T960@8GD@36%R='D@3&5I2!R96UO M=F4@82!<(&EN($%#7T]55%!55"!F;W(@875T;VUA:V4N"@HQ.3DV+3`R+3`S M("!&0H)8VAE8VMI;F<@9F]R('5N:6]N('=A:70@:7,@2!!;&%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-E2!*;VYA=&AA;B!)+B!+86UE;G,N"@H)*B!-86ME9FEL M92YI;B`H9&ES=&-L96%N+6QO8V%L*3H@1&5L971E(&-O;F9I9RYC86-H92X* M"5)E<&]R=&5D(&)Y(%1H;VUA2X*"C$Y.30M,#@M,#$@($9R86[G M;VES(%!I;F%R9"`@/'!I;F%R9$!I2YH/BX*"C$Y.30M,#2!D96-I9&EN9R!$159)0T5?4%)%1DE8 M(&%N9"!$14Y325197TQ%5%1%4B!F'0L($%U=&]C M;VYF"@EN;W<@=7-E2!!;&%N($UO9')A+"!"=7)K:&%R M9"!0;&%C:&4L($5D=V%R9"!796QB;W5R;F4L"@E(96YR:6L@0F%K;6%N+"!* M969F&ES="X*"2H@86-C;VYF M:62!D969I;F5D(&)O=&@@:6X@(G!O7,O:6\O=')I;V-T;"YH M/BP@;F5E9&5D(&9O<@H)9&5F:6YI;F<@7TE/5R!A;F0@7TE/4B!O;B!T:&4@ M5&5K=')O;FEX(%A$.#@N"@E297!O2!+879E:"!2+B!':&%Z:2X* M"C$Y.30M,#2!I;B!T97-T<&%D+F,L"@EA8F]U="!A(&YE961E9"!P861D M:6YG(&9I96QD(&EN('1H92!T87(@:&5A9&5R('-T7-T96US(&9O7-T96TN"@E297!O2!-86YF7,O=&EM96(N:#XL(&9O2!F;W(@:70L('-O(&AE&5Y(%9O=F5N:V\L($)E;B!!+B!-97-A;F1EG)A(%!E:7-A8V@L($AU9V@@4V5C:V5R+5=A;&MEB!$+B!+;&EN9VAO;'HL"@E.96EL($IE2!R97!L86-E9"P@;'5R:VEN9R!A="!T:&4@<')E=FEO=7,@ M;VYE+@H)070@=&AE('-A;64@=&EM92P@2P*"4IO:&X@3"X@0VAM:65L97=S:VDL($MA60N"@H) M*B!C;VYF:6=UF5D(&)Y M(&UO=FEN9R!E;G1R:65S(')E;&%T960@=&\*"7-C&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/ChangeLog:' 'MD5 check failed' 8e68cb5d2539af74c5d3021f7b193446 tar-1.12/ChangeLog SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/ChangeLog'`" test 27680 -eq "$shar_count" || $echo 'tar-1.12/ChangeLog:' 'original size' '27680,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/INSTALL ============== if test -f 'tar-1.12/INSTALL' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/INSTALL' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/INSTALL' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/INSTALL' && Basic Installation ================== X X These are generic installation instructions. X X The `configure' shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses those values to create a `Makefile' in each directory of the package. It may also create one or more `.h' files containing system-dependent definitions. Finally, it creates a shell script `config.status' that you can run in the future to recreate the current configuration, a file `config.cache' that saves the results of its tests to speed up reconfiguring, and a file `config.log' containing compiler output (useful mainly for debugging `configure'). X X If you need to do unusual things to compile the package, please try to figure out how `configure' could check whether to do them, and mail diffs or instructions to the address given in the `README' so they can be considered for the next release. If at some point `config.cache' contains results you don't want to keep, you may remove or edit it. X X The file `configure.in' is used to create `configure' by a program called `autoconf'. You only need `configure.in' if you want to change it or regenerate `configure' using a newer version of `autoconf'. X The simplest way to compile this package is: X X 1. `cd' to the directory containing the package's source code and type X `./configure' to configure the package for your system. If you're X using `csh' on an old version of System V, you might need to type X `sh ./configure' instead to prevent `csh' from trying to execute X `configure' itself. X X Running `configure' takes awhile. While running, it prints some X messages telling which features it is checking for. X X 2. Type `make' to compile the package. X X 3. Optionally, type `make check' to run any self-tests that come with X the package. X X 4. Type `make install' to install the programs and any data files and X documentation. X X 5. You can remove the program binaries and object files from the X source code directory by typing `make clean'. To also remove the X files that `configure' created (so you can compile the package for X a different kind of computer), type `make distclean'. There is X also a `make maintainer-clean' target, but that is intended mainly X for the package's developers. If you use it, you may have to get X all sorts of other programs in order to regenerate files that came X with the distribution. X Compilers and Options ===================== X X Some systems require unusual options for compilation or linking that the `configure' script does not know about. You can give `configure' initial values for variables by setting them in the environment. Using a Bourne-compatible shell, you can do that on the command line like this: X CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure X Or on systems that have the `env' program, you can do it like this: X env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure X Compiling For Multiple Architectures ==================================== X X You can compile the package for more than one kind of computer at the same time, by placing the object files for each architecture in their own directory. To do this, you must use a version of `make' that supports the `VPATH' variable, such as GNU `make'. `cd' to the directory where you want the object files and executables to go and run the `configure' script. `configure' automatically checks for the source code in the directory that `configure' is in and in `..'. X X If you have to use a `make' that does not supports the `VPATH' variable, you have to compile the package for one architecture at a time in the source code directory. After you have installed the package for one architecture, use `make distclean' before reconfiguring for another architecture. X Installation Names ================== X X By default, `make install' will install the package's files in `/usr/local/bin', `/usr/local/man', etc. You can specify an installation prefix other than `/usr/local' by giving `configure' the option `--prefix=PATH'. X X You can specify separate installation prefixes for architecture-specific files and architecture-independent files. If you give `configure' the option `--exec-prefix=PATH', the package will use PATH as the prefix for installing programs and libraries. Documentation and other data files will still use the regular prefix. X X In addition, if you use an unusual directory layout you can give options like `--bindir=PATH' to specify different values for particular kinds of files. Run `configure --help' for a list of the directories you can set and what kinds of files go in them. X X If the package supports it, you can cause programs to be installed with an extra prefix or suffix on their names by giving `configure' the option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. X Optional Features ================= X X Some packages pay attention to `--enable-FEATURE' options to `configure', where FEATURE indicates an optional part of the package. They may also pay attention to `--with-PACKAGE' options, where PACKAGE is something like `gnu-as' or `x' (for the X Window System). The `README' should mention any `--enable-' and `--with-' options that the package recognizes. X X For packages that use the X Window System, `configure' can usually find the X include and library files automatically, but if it doesn't, you can use the `configure' options `--x-includes=DIR' and `--x-libraries=DIR' to specify their locations. X Specifying the System Type ========================== X X There may be some features `configure' can not figure out automatically, but needs to determine by the type of host the package will run on. Usually `configure' can figure that out, but if it prints a message saying it can not guess the host type, give it the `--host=TYPE' option. TYPE can either be a short name for the system type, such as `sun4', or a canonical name with three fields: X CPU-COMPANY-SYSTEM X See the file `config.sub' for the possible values of each field. If `config.sub' isn't included in this package, then this package doesn't need to know the host type. X X If you are building compiler tools for cross-compiling, you can also use the `--target=TYPE' option to select the type of system they will produce code for and the `--build=TYPE' option to select the type of system on which you are compiling the package. X Sharing Defaults ================ X X If you want to set default values for `configure' scripts to share, you can create a site shell script called `config.site' that gives default values for variables like `CC', `cache_file', and `prefix'. `configure' looks for `PREFIX/share/config.site' if it exists, then `PREFIX/etc/config.site' if it exists. Or, you can set the `CONFIG_SITE' environment variable to the location of the site script. A warning: not all `configure' scripts look for a site script. X Operation Controls ================== X X `configure' recognizes the following options to control how it operates. X `--cache-file=FILE' X Use and save the results of the tests in FILE instead of X `./config.cache'. Set FILE to `/dev/null' to disable caching, for X debugging `configure'. X `--help' X Print a summary of the options to `configure', and exit. X `--quiet' `--silent' `-q' X Do not print messages saying which checks are being made. X `--srcdir=DIR' X Look for the package's source code in directory DIR. Usually X `configure' can determine that directory automatically. X `--version' X Print the version of Autoconf used to generate the `configure' X script, and exit. X `configure' also accepts some other, not widely useful, options. X SHAR_EOF $shar_touch -am 1117150195 'tar-1.12/INSTALL' && chmod 0444 'tar-1.12/INSTALL' || $echo 'restore of' 'tar-1.12/INSTALL' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/INSTALL:' 'MD5 check failed' 29344ac65ace9c9223d96056bd1fa33c tar-1.12/INSTALL SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/INSTALL'`" test 7721 -eq "$shar_count" || $echo 'tar-1.12/INSTALL:' 'original size' '7721,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/Makefile.am ============== if test -f 'tar-1.12/Makefile.am' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/Makefile.am' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/Makefile.am' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/Makefile.am' && # Main Makefile for GNU tar. # Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc. X # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. X # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. X # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. X AUTOMAKE_OPTIONS = gnits dist-shar X BABYL = rmail/* admin/*/RMAIL EXTRA_DIST = AC-PATCHES AM-PATCHES BI-PATCHES PORTS rebox.el SUBDIRS = doc lib intl src scripts po tests X all-local: $(CONFIG_HEADER) X id: ID X ID: X cd lib && $(MAKE) $@ X cd src && $(MAKE) $@ X dist-zoo: $(DISTFILES) X rm -rf $(distdir) X mkdir $(distdir) X distdir=`cd $(distdir) && pwd` \ X && cd $(srcdir) \ X && automake --include-deps --output-dir=$$distdir X @for file in $(DISTFILES); do \ X test -f $(distdir)/$$file \ X || cp -p $(srcdir)/$$file $(distdir)/$$file; \ X done X for subdir in $(SUBDIRS); do \ X test -d $(distdir)/$$subdir \ X || mkdir $(distdir)/$$subdir \ X || exit 1; \ X chmod 777 $(distdir)/$$subdir; \ X (cd $$subdir && $(MAKE) dist) || exit 1; \ X done X @sublist="$(DIST_SUBDIRS)"; \ X for dir in $$sublist; do \ X echo copying directory $$dir; \ X tar -chf - $$dir | (cd $(distdir) && tar -xBpf -); \ X done X chmod -R a+r $(distdir) X find $(distdir) -type f | xargs dosfn # find $(distdir) -type f | xargs recode :ibmpc X mv $(distdir) $(PACKAGE) X find $(PACKAGE) -type f | zoo ahIq $(PACKAGE).zoo X rm -rf $(PACKAGE) SHAR_EOF $shar_touch -am 0424015397 'tar-1.12/Makefile.am' && chmod 0644 'tar-1.12/Makefile.am' || $echo 'restore of' 'tar-1.12/Makefile.am' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/Makefile.am:' 'MD5 check failed' 5920ebeb458d52afff9e4121bf5fa326 tar-1.12/Makefile.am SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/Makefile.am'`" test 1912 -eq "$shar_count" || $echo 'tar-1.12/Makefile.am:' 'original size' '1912,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/Makefile.in ============== if test -f 'tar-1.12/Makefile.in' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/Makefile.in' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/Makefile.in' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/Makefile.in' && # Makefile.in generated automatically by automake 1.1n from Makefile.am X # Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. X # Main Makefile for GNU tar. # Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc. X # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. X # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. X # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. X X SHELL = /bin/sh X srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ X bindir = @bindir@ sbindir = @sbindir@ libexecdir = @libexecdir@ datadir = @datadir@ sysconfdir = @sysconfdir@ sharedstatedir = @sharedstatedir@ localstatedir = @localstatedir@ libdir = @libdir@ infodir = @infodir@ mandir = @mandir@ includedir = @includedir@ oldincludedir = /usr/include X pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ X top_builddir = . X ACLOCAL = @ACLOCAL@ AUTOCONF = @AUTOCONF@ AUTOMAKE = @AUTOMAKE@ AUTOHEADER = @AUTOHEADER@ X INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ transform = @program_transform_name@ X NORMAL_INSTALL = true PRE_INSTALL = true POST_INSTALL = true NORMAL_UNINSTALL = true PRE_UNINSTALL = true POST_UNINSTALL = true ACLOCAL = @ACLOCAL@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ DATADIRNAME = @DATADIRNAME@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ GENCAT = @GENCAT@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GT_NO = @GT_NO@ GT_YES = @GT_YES@ INSTOBJEXT = @INSTOBJEXT@ INTLDEPS = @INTLDEPS@ INTLLIBS = @INTLLIBS@ INTLOBJS = @INTLOBJS@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ PACKAGE = @PACKAGE@ POFILES = @POFILES@ POSUB = @POSUB@ RANLIB = @RANLIB@ RMT = @RMT@ U = @U@ USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ YACC = @YACC@ X AUTOMAKE_OPTIONS = gnits dist-shar X BABYL = rmail/* admin/*/RMAIL EXTRA_DIST = AC-PATCHES AM-PATCHES BI-PATCHES PORTS rebox.el SUBDIRS = doc lib intl src scripts po tests ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 CONFIG_HEADER_IN = config.h.in CONFIG_HEADER_FULL = config.h mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = DIST_COMMON = README ABOUT-NLS AUTHORS BACKLOG COPYING ChangeLog \ INSTALL Makefile.am Makefile.in NEWS THANKS TODO acconfig.h \ acinclude.m4 aclocal.m4 config.h.in configure configure.in install-sh \ missing mkinstalldirs stamp-h.in X X DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) X TAR = tar GZIP = --best default: all X X.SUFFIXES: $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) X cd $(top_srcdir) && $(AUTOMAKE) --gnits Makefile X Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) X cd $(top_builddir) \ X && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status X $(srcdir)/aclocal.m4: configure.in acinclude.m4 X cd $(srcdir) && $(ACLOCAL) X config.status: configure X $(SHELL) ./config.status --recheck $(srcdir)/configure: configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) X cd $(srcdir) && $(AUTOCONF) X $(CONFIG_HEADER): stamp-h stamp-h: $(CONFIG_HEADER_IN) $(top_builddir)/config.status X cd $(top_builddir) \ X && CONFIG_FILES= CONFIG_HEADERS=$(CONFIG_HEADER_FULL) \ X $(SHELL) ./config.status X @echo timestamp > stamp-h $(srcdir)/$(CONFIG_HEADER_IN): stamp-h.in $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h X cd $(top_srcdir) && $(AUTOHEADER) X echo timestamp > $(srcdir)/stamp-h.in X mostlyclean-hdr: X clean-hdr: X distclean-hdr: X rm -f $(CONFIG_HEADER) X maintainer-clean-hdr: X # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. X @SET_MAKE@ X all-recursive install-data-recursive install-exec-recursive \ installdirs-recursive install-recursive uninstall-recursive \ check-recursive installcheck-recursive info-recursive dvi-recursive \ mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: X @for subdir in $(SUBDIRS); do \ X target=`echo $@ | sed s/-recursive//`; \ X echo "Making $$target in $$subdir"; \ X (cd $$subdir && $(MAKE) $$target) \ X || case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; \ X done && test -z "$$fail" tags-recursive: X list='$(SUBDIRS)'; for subdir in $$list; do \ X (cd $$subdir && $(MAKE) tags); \ X done X tags: TAGS X TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) X tags=; \ X here=`pwd`; \ X list='$(SUBDIRS)'; for subdir in $$list; do \ X test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ X done; \ X test -z "$(ETAGS_ARGS)config.h.in$(SOURCES)$(HEADERS)$$tags" \ X || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $(SOURCES) $(HEADERS) -o $$here/TAGS) X mostlyclean-tags: X clean-tags: X distclean-tags: X rm -f TAGS ID X maintainer-clean-tags: X distdir = $(PACKAGE)-$(VERSION) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist X rm -rf $(distdir) X GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz --mode=a+r X mkdir $(distdir)/=build X mkdir $(distdir)/=inst X dc_install_base=`cd $(distdir)/=inst && pwd`; \ X cd $(distdir)/=build \ X && ../configure --with-included-gettext --srcdir=.. --prefix=$$dc_install_base \ X && $(MAKE) \ X && $(MAKE) dvi \ X && $(MAKE) check \ X && $(MAKE) install \ X && $(MAKE) installcheck \ X && $(MAKE) dist X rm -rf $(distdir) X @echo "========================"; \ X echo "$(distdir).tar.gz is ready for distribution"; \ X echo "========================" dist: distdir X -chmod -R a+r $(distdir) X GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz --mode=a+r $(distdir) X rm -rf $(distdir) dist-shar: distdir X -chmod -R a+r $(distdir) X rm -rf $(distdir) dist-all: distdir X -chmod -R a+r $(distdir) X GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz --mode=a+r $(distdir) X rm -rf $(distdir) distdir: $(DISTFILES) X @if sed 15q $(srcdir)/NEWS | fgrep -e "$(VERSION)" > /dev/null; then :; else \ X echo "NEWS not updated; not releasing" 1>&2; \ X exit 1; \ X fi X rm -rf $(distdir) X mkdir $(distdir) X -chmod 755 $(distdir) X @for file in $(DISTFILES); do \ X d=$(srcdir); \ X test -f $(distdir)/$$file \ X || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ X || cp -p $$d/$$file $(distdir)/$$file; \ X done X for subdir in $(SUBDIRS); do \ X test -d $(distdir)/$$subdir \ X || mkdir $(distdir)/$$subdir \ X || exit 1; \ X chmod 755 $(distdir)/$$subdir; \ X (cd $$subdir && $(MAKE) distdir=../$(distdir)/$$subdir distdir) \ X || exit 1; \ X done info: info-recursive dvi: dvi-recursive check: all-am X $(MAKE) check-recursive installcheck: installcheck-recursive all-recursive-am: $(CONFIG_HEADER) X $(MAKE) all-recursive X all-am: Makefile config.h all-local X install-exec: install-exec-recursive X @$(NORMAL_INSTALL) X install-data: install-data-recursive X @$(NORMAL_INSTALL) X install: install-recursive X @: X uninstall: uninstall-recursive X all: all-recursive-am all-am X install-strip: X $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install installdirs: installdirs-recursive X X mostlyclean-generic: X test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) X clean-generic: X test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) X distclean-generic: X rm -f Makefile $(DISTCLEANFILES) X rm -f config.cache config.log stamp-h X test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) X maintainer-clean-generic: X test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) X test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) mostlyclean-am: mostlyclean-hdr mostlyclean-tags mostlyclean-generic X clean-am: clean-hdr clean-tags clean-generic mostlyclean-am X distclean-am: distclean-hdr distclean-tags distclean-generic clean-am X maintainer-clean-am: maintainer-clean-hdr maintainer-clean-tags \ X maintainer-clean-generic distclean-am X mostlyclean: mostlyclean-recursive mostlyclean-am X clean: clean-recursive clean-am X distclean: distclean-recursive distclean-am X rm -f config.status X maintainer-clean: maintainer-clean-recursive maintainer-clean-am X @echo "This command is intended for maintainers to use;" X @echo "it deletes files that may require special tools to rebuild." X rm -f config.status X X.PHONY: default mostlyclean-hdr distclean-hdr clean-hdr \ maintainer-clean-hdr install-data-recursive uninstall-data-recursive \ install-exec-recursive uninstall-exec-recursive installdirs-recursive \ uninstalldirs-recursive all-recursive check-recursive \ installcheck-recursive info-recursive dvi-recursive \ mostlyclean-recursive distclean-recursive clean-recursive \ maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ distclean-tags clean-tags maintainer-clean-tags distdir info dvi \ installcheck all-recursive-am all-am install-exec install-data install \ uninstall all installdirs mostlyclean-generic distclean-generic \ clean-generic maintainer-clean-generic clean mostlyclean distclean \ maintainer-clean X X all-local: $(CONFIG_HEADER) X id: ID X ID: X cd lib && $(MAKE) $@ X cd src && $(MAKE) $@ X dist-zoo: $(DISTFILES) X rm -rf $(distdir) X mkdir $(distdir) X distdir=`cd $(distdir) && pwd` \ X && cd $(srcdir) \ X && automake --include-deps --output-dir=$$distdir X @for file in $(DISTFILES); do \ X test -f $(distdir)/$$file \ X || cp -p $(srcdir)/$$file $(distdir)/$$file; \ X done X for subdir in $(SUBDIRS); do \ X test -d $(distdir)/$$subdir \ X || mkdir $(distdir)/$$subdir \ X || exit 1; \ X chmod 777 $(distdir)/$$subdir; \ X (cd $$subdir && $(MAKE) dist) || exit 1; \ X done X @sublist="$(DIST_SUBDIRS)"; \ X for dir in $$sublist; do \ X echo copying directory $$dir; \ X tar -chf - $$dir | (cd $(distdir) && tar -xBpf -); \ X done X chmod -R a+r $(distdir) X find $(distdir) -type f | xargs dosfn # find $(distdir) -type f | xargs recode :ibmpc X mv $(distdir) $(PACKAGE) X find $(PACKAGE) -type f | zoo ahIq $(PACKAGE).zoo X rm -rf $(PACKAGE) X # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. X.NOEXPORT: SHAR_EOF $shar_touch -am 0425202197 'tar-1.12/Makefile.in' && chmod 0644 'tar-1.12/Makefile.in' || $echo 'restore of' 'tar-1.12/Makefile.in' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/Makefile.in:' 'MD5 check failed' dd9aed9d03fcfb8568d21c60e9792635 tar-1.12/Makefile.in SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/Makefile.in'`" test 11210 -eq "$shar_count" || $echo 'tar-1.12/Makefile.in:' 'original size' '11210,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/NEWS ============== if test -f 'tar-1.12/NEWS' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/NEWS' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/NEWS' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/NEWS M1TY5('1A'1R86-T:6]N"BH@36%K92!A(&)E='1E2!A='1R:6)U=&5S+@HJ($%U=&]M M871I8V%L;'D@871T96UP="!D96QE=&EN9R!E>&ES=&EN9R!F:6QE6UL:6YK M6UB;VQI8R!L:6YKF4@*"UB M*2!T;R`M+6)L;V-K:6YG+69A8W1OF4@ M9F]R(&EN=')O9'5C:6YG(&$@71E2X**B!296YA;64@;W!T:6]N("TM;6]D:69I8V%T:6]N+71I M;64@=&\@+2UT;W5C:"X*"DUA;GD@8G5G2!497AI M;F9O(&UA;G5A;"X**B!4:&4@9&5V:6-E(&1E9F%U;'1S('1O('-T9&EN+W-T M9&]U="P@=6YL97-S(&]V97)R:61D96X@8GD@=&AE(&EN6EE;&0@8F5T=&5R('!OFEP("AA;&EAFEP(&EN2!O=VYE2!P M2!B92!R96UO=F5D+@H**B!.97<@;W!T:6]N("TM M;G5L;"!C875S97,@9FEL96YA;65S(')E860@8GD@+50@=&\@8F4*;G5L;"UT M97)M:6YA=&5D+"!A;F0@8V%U2!F:6QE('=I=&@@80I@.B<@ M:7,@:6YT97)P2!D=6UP M("(N(B!W:&5N('EO=2!D;VXG="!T96QL(&ET"G=H870@=&\@9'5M<"X*"BH@ M5VAE;B!E>'1R86-T:6YG(&1I2!R97-T;W)E0IP2X* M"BH@*W9O;'5M92!I&ET('-T M871U2!&96YL87-O;BP@,3DY,"TQ M,"X*5F5R2!*87D@1F5N;&%S;VXN"@HJ(%-E >92!#:&%N9V5,;V<@9F]R(&UO&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/NEWS:' 'MD5 check failed' 8465ab66f2f355e72d4982b41b026269 tar-1.12/NEWS SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/NEWS'`" test 6645 -eq "$shar_count" || $echo 'tar-1.12/NEWS:' 'original size' '6645,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/THANKS ============== if test -f 'tar-1.12/THANKS' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/THANKS' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/THANKS' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/THANKS M1TY5('1A2!B M965N('=R:71T96X@8GD@1W)A:&%M(%1O9&0N("!-86YY('!E;W!L90IF=7)T M:&5R(&-O;G1R:6)U=&5D('1O($=.52!T87(@8GD@&%N9&5R M($1U<'5Y"0ED=7!U>4!S;6%R=',N8V]M"D%L97AA;F1E&%N9&5R(%8N($QU:WEA;F]V"6QA M=D!L;VYG+GEA6%H:6Q`2!!+B!#:&5R;F]V"6%C:&5`87-T0D)86YD M>4!R9&PN8V\N=6L*06YT;VYI;R!*;W-E($-O=71I;FAO"6%J8T!D:2YU;6EN M:&\N<'0*07)I96P@1F%I9V]N"0EA&5L($)O;&1T"0EB;VQD=$!M871H+G5C2YC;VT*0F5N M($$N($UE4!H M9W,N6=A87)D($)A M:0D)8F%I0&EE2!!+B!3;6ET:`EB87-M:71H0'!R;VUE=&AE=7,N M8VAE;2YU;6XN961U"D)R96YD86X@2V5H;V4)"6)R96YD86Y`8WEG;G5S+F-O M;0I"6=N=7,N8V]M"D)R=6-E($5V86YS M"0EB9&5`"YO>BYA=0I"6-R;V9T0&=N=2YA:2YM:70N961U"D-H:7`@4V%L>F5N8F5R M9PD)=&-T(6-H:7`*0VAR:7,@07)T:'5R"0ECBYD90I#:')IGDN;F5T"D1A;FEE;"!(86=EFEE"61J;4!U=6YE="YU=2YN970* M1&%V:60@2F]H;G-O;@D)1&%V:60N5RY*;VANGIO=3$N;6ES65R0'!A=&-H8F%Y+F-O;0I$879I9"!, M96US;VX)"6QE;7-O;D!U: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@96YT0D) <96YT4!Z:7!P>2YB97)N&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/THANKS:' 'MD5 check failed' b04b17afa31fb7062a5dad76c5fda776 tar-1.12/THANKS SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/THANKS'`" test 17803 -eq "$shar_count" || $echo 'tar-1.12/THANKS:' 'original size' '17803,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/TODO ============== if test -f 'tar-1.12/TODO' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/TODO' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/TODO' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/TODO' && * TODO file for GNU tar -*- outline -*- X Tell if you feel like volunteering for any of these ideas, listed more or less in decreasing order of priority. Some TODO items are implicit from received email. See file BACKLOG. Significant contributions require written assignments and disclaimers. X X.* create.c: diagnostics missing when `goto badfile'. X.* compare.c: confusion between stderr and stdlis, WARN and ERROR. X.* --ignore-failed-read might have been defeated. X.* Better clean sources for list.c, extract.c, create.c and buffer.c. X.* revise all NAMSIZ references, too often related to short buffers. X.* current_link_name, current_file_name not always quoted when printed. X.* Take over script maintenance, implement a `restore' script. X.* Make a debugging feature out of all `#if 0'. SHAR_EOF $shar_touch -am 0417011597 'tar-1.12/TODO' && chmod 0644 'tar-1.12/TODO' || $echo 'restore of' 'tar-1.12/TODO' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/TODO:' 'MD5 check failed' b8b6014b5edc3240ae430d3f064e25da tar-1.12/TODO SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/TODO'`" test 816 -eq "$shar_count" || $echo 'tar-1.12/TODO:' 'original size' '816,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/acconfig.h ============== if test -f 'tar-1.12/acconfig.h' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/acconfig.h' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/acconfig.h' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/acconfig.h M+RH@4W!E8VEA;"!D969I;FET:6]N2!M87D@8F4@ M:6YD:6-A=&5D(&)Y(%ML;6A=(&%T(&5N9"!O9B!D979I8V4N("`J+PHC=6YD M968@1$5.4TE465],151415(*"B\J($1E9FEN92!T;R!A('-T"!O9B!T:&4@9&5F875L="!D979I8V4L('=I=&AO=70@ M=&AE"B`@('!A6EN9R!T:&4@=6YI="!A;F0@9&5N2X@ M("HO"B-U;F1E9B!$159)0T5?4%)%1DE8"@HO*B!$969I;F4@=&\@,2!I9B!Y M;W4@;&%C:R!A(#,M87)G=6UE;G0@=F5R6]U(&AA=F4@8V%T9V5T6]U(&AA=F4@=&AE('9A;&QO8R!F=6YC=&EO;BX@ M("HO"B-U;F1E9B!(059%7U9!3$Q/0PH*+RH@1&5F:6YE('1O(#$@:68@2!F=6YC=&EO;B!I7!E+B`@*B\*(W5N9&5F($U424]?0TA%0TM?1DE%3$0*"B\J($1E9FEN92!T M;R!T:&4@;F%M92!O9B!T:&4@9&ES=')I8G5T:6]N+B`@*B\*(W5N9&5F(%!! M0TM!1T4*"B\J($1E9FEN92!T;R`Q(&EF($%.4TD@9G5N8W1I;VX@<')O=&]T M>7!E2!C M;VYT86EN:6YG('-YBX@("HO"B-U;F1E9B!7251(7T1-04Q,3T,*"B\J($1E9FEN92!T M;R`Q(&EF($=.52!R96=E>"!S:&]U;&0@8F4@=7-E9"!I;G-T96%D(&]F($=. <52!R>"X@("HO"B-U;F1E9B!7251(7U)%1T58"G-E ` end SHAR_EOF $shar_touch -am 0410103797 'tar-1.12/acconfig.h' && chmod 0644 'tar-1.12/acconfig.h' || $echo 'restore of' 'tar-1.12/acconfig.h' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/acconfig.h:' 'MD5 check failed' 568ef98113190b90ce106ff1e41ba46e tar-1.12/acconfig.h SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/acconfig.h'`" test 2593 -eq "$shar_count" || $echo 'tar-1.12/acconfig.h:' 'original size' '2593,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/acinclude.m4 ============== if test -f 'tar-1.12/acinclude.m4' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/acinclude.m4' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/acinclude.m4' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/acinclude.m4' && ## ----------------------------------------- ## ## Find how to suppress newlines with echo. ## ## ----------------------------------------- ## X # Once this macro is called, you may output with no echo in a Makefile or # script using: echo @ECHO_N@ "STRING_TO_OUTPUT@ECHO_C@". X AC_DEFUN(fp_PROG_ECHO, [AC_MSG_CHECKING(how to suppress newlines using echo) AC_CACHE_VAL(fp_cv_prog_echo_nonl, [if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then X if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then X fp_cv_prog_echo_nonl=no X else X fp_cv_prog_echo_nonl=option X fi else X fp_cv_prog_echo_nonl=escape fi ]) AC_MSG_RESULT($fp_cv_prog_echo_nonl) case $fp_cv_prog_echo_nonl in X no) ECHO_N= ECHO_C= ;; X option) ECHO_N=-n ECHO_C= ;; X escape) ECHO_N= ECHO_C='\c' ;; esac AC_SUBST(ECHO_N)dnl AC_SUBST(ECHO_C)dnl ]) X ## ------------------------------------------- ## ## Check if --with-included-malloc was given. ## ## From Franc,ois Pinard ## ## ------------------------------------------- ## X # In 1992, Michael Bushnell (now Thomas Bushnell ) # devised a test for avoiding HP/UX malloc and using GNU malloc instead. # Bruno Haible recycled this # test for CLISP Common LISP and extended it to cover broken mallocs from # Sun and SGI. I () reworked it a little so # it is independent of config.guess, and overridable by the installer. X # On IRIX 5.2, libc malloc is broken, but the -lmalloc one was usable. # So in my packages, I once unconditionally used -lmalloc if it existed. # This does not do anymore, because the -lmalloc malloc is broken on # Solaris 2.4 to 2.5.1 (alignment is 4 bytes instead of 8 bytes, as # reported by John Wells ). X # Bruno also notes: "HP-UX has two different malloc() implementations. # Both are broken. When used with CLISP, the one in the default libc.a # leads to a SIGSEGV, the one in libmalloc.a leads to a SIGBUS. The SunOS # 4.1.1 malloc() breaks when used by CLISP's generational GC. The IRIX # 5.2 malloc() breaks when used by CLISP's generational GC." X # If the installer does not give a preference, we use the included GNU # malloc if we have the slightest doubt that malloc could be broken, this # includes cross compilation, and *all* HP/UX, SunOS or IRIX systems. # It is crude indeed, but I just do not have enough information for truly # benchmarking malloc in all cases, but want safe packages nevertheless. X AC_DEFUN(fp_WITH_INCLUDED_MALLOC, [AC_MSG_CHECKING(if included GNU malloc is wanted) AC_ARG_WITH(included-malloc, [ --with-included-malloc use the GNU malloc which is included here], , [if test $cross_compiling = yes; then X withval=yes else X case `uname -s 2> /dev/null` in X HP-UX | SunOS | IRIX* ) withval=yes ;; X *) withval=no ;; X esac fi]) test "$withval" = yes && LIBOBJS="$LIBOBJS gmalloc.o" AC_MSG_RESULT($withval) ]) X ## -------------------- ## ## Macros from Ulrich. ## ## -------------------- ## X # Search path for a program which passes the given test. # Ulrich Drepper , 1996. X # serial 1 X dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) AC_DEFUN(AM_PATH_PROG_WITH_TEST, [# Extract the first word of "$2", so it can be a program name with args. set dummy $2; ac_word=[$]2 AC_MSG_CHECKING([for $ac_word]) AC_CACHE_VAL(ac_cv_path_$1, [case "[$]$1" in X /*) X ac_cv_path_$1="[$]$1" # Let the user override the test with a path. X ;; X *) X IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" X for ac_dir in ifelse([$5], , $PATH, [$5]); do X test -z "$ac_dir" && ac_dir=. X if test -f $ac_dir/$ac_word; then X if [$3]; then X ac_cv_path_$1="$ac_dir/$ac_word" X break X fi X fi X done X IFS="$ac_save_ifs" dnl If no 4th arg is given, leave the cache variable unset, dnl so AC_PATH_PROGS will keep looking. ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" ])dnl X ;; esac])dnl $1="$ac_cv_path_$1" if test -n "[$]$1"; then X AC_MSG_RESULT([$]$1) else X AC_MSG_RESULT(no) fi AC_SUBST($1)dnl ]) X # Check whether LC_MESSAGES is available in . # Ulrich Drepper , 1995. X # serial 1 X AC_DEFUN(AM_LC_MESSAGES, X [if test $ac_cv_header_locale_h = yes; then X AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES, X [AC_TRY_LINK([#include ], [return LC_MESSAGES], X am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)]) X if test $am_cv_val_LC_MESSAGES = yes; then X AC_DEFINE(HAVE_LC_MESSAGES) X fi X fi]) X # Macro to add for using GNU gettext. # Ulrich Drepper , 1995. X # serial 1 X AC_DEFUN(AM_WITH_NLS, X [AC_MSG_CHECKING([whether NLS is requested]) X dnl Default is enabled NLS X AC_ARG_ENABLE(nls, X [ --disable-nls do not use Native Language Support], X USE_NLS=$enableval, USE_NLS=yes) X AC_MSG_RESULT($USE_NLS) X AC_SUBST(USE_NLS) X X USE_INCLUDED_LIBINTL=no X X dnl If we use NLS figure out what method X if test "$USE_NLS" = "yes"; then X AC_DEFINE(ENABLE_NLS) X AC_MSG_CHECKING([whether included gettext is requested]) X AC_ARG_WITH(included-gettext, X [ --with-included-gettext use the GNU gettext library included here], X nls_cv_force_use_gnu_gettext=$withval, X nls_cv_force_use_gnu_gettext=no) X AC_MSG_RESULT($nls_cv_force_use_gnu_gettext) X X nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" X if test "$nls_cv_force_use_gnu_gettext" != "yes"; then X dnl User does not insist on using GNU NLS library. Figure out what X dnl to use. If gettext or catgets are available (in this order) we X dnl use this. Else we have to fall back to GNU NLS library. X dnl catgets is only used if permitted by option --with-catgets. X nls_cv_header_intl= X nls_cv_header_libgt= X CATOBJEXT=NONE X X AC_CHECK_HEADER(libintl.h, X [AC_CACHE_CHECK([for gettext in libc], gt_cv_func_gettext_libc, X [AC_TRY_LINK([#include ], [return (int) gettext ("")], X gt_cv_func_gettext_libc=yes, gt_cv_func_gettext_libc=no)]) X X if test "$gt_cv_func_gettext_libc" != "yes"; then X AC_CHECK_LIB(intl, bindtextdomain, X [AC_CACHE_CHECK([for gettext in libintl], X gt_cv_func_gettext_libintl, X [AC_TRY_LINK([], [return (int) gettext ("")], X gt_cv_func_gettext_libintl=yes, X gt_cv_func_gettext_libintl=no)])]) X fi X X if test "$gt_cv_func_gettext_libc" = "yes" \ X || test "$gt_cv_func_gettext_libintl" = "yes"; then X AC_DEFINE(HAVE_GETTEXT) X AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, X [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl X if test "$MSGFMT" != "no"; then X AC_CHECK_FUNCS(dcgettext) X AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) X AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, X [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) X AC_TRY_LINK(, [extern int _nl_msg_cat_cntr; X return _nl_msg_cat_cntr], X [CATOBJEXT=.gmo X DATADIRNAME=share], X [CATOBJEXT=.mo X DATADIRNAME=lib]) X INSTOBJEXT=.mo X fi X fi X ]) X X if test "$CATOBJEXT" = "NONE"; then X AC_MSG_CHECKING([whether catgets can be used]) X AC_ARG_WITH(catgets, X [ --with-catgets use catgets functions if available], X nls_cv_use_catgets=$withval, nls_cv_use_catgets=no) X AC_MSG_RESULT($nls_cv_use_catgets) X X if test "$nls_cv_use_catgets" = "yes"; then X dnl No gettext in C library. Try catgets next. X AC_CHECK_LIB(i, main) X AC_CHECK_FUNC(catgets, X [AC_DEFINE(HAVE_CATGETS) X INTLOBJS="\$(CATOBJS)" X AC_PATH_PROG(GENCAT, gencat, no)dnl X if test "$GENCAT" != "no"; then X AC_PATH_PROG(GMSGFMT, gmsgfmt, no) X if test "$GMSGFMT" = "no"; then X AM_PATH_PROG_WITH_TEST(GMSGFMT, msgfmt, X [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no) X fi X AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, X [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) X USE_INCLUDED_LIBINTL=yes X CATOBJEXT=.cat X INSTOBJEXT=.cat X DATADIRNAME=lib X INTLDEPS="../intl/libintl.a" X INTLLIBS=$INTLDEPS X LIBS=`echo $LIBS | sed -e 's/-lintl//'` X nls_cv_header_intl=intl/libintl.h X nls_cv_header_libgt=intl/libgettext.h X fi]) X fi X fi X X if test "$CATOBJEXT" = "NONE"; then X dnl Neither gettext nor catgets in included in the C library. X dnl Fall back on GNU gettext library. X nls_cv_use_gnu_gettext=yes X fi X fi X X if test "$nls_cv_use_gnu_gettext" = "yes"; then X dnl Mark actions used to generate GNU NLS library. X INTLOBJS="\$(GETTOBJS)" X AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, X [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], msgfmt) X AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) X AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, X [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) X AC_SUBST(MSGFMT) X USE_INCLUDED_LIBINTL=yes X CATOBJEXT=.gmo X INSTOBJEXT=.mo X DATADIRNAME=share X INTLDEPS="../intl/libintl.a" X INTLLIBS=$INTLDEPS X LIBS=`echo $LIBS | sed -e 's/-lintl//'` X nls_cv_header_intl=intl/libintl.h X nls_cv_header_libgt=intl/libgettext.h X fi X X dnl Test whether we really found GNU xgettext. X if test "$XGETTEXT" != ":"; then X dnl If it is no GNU xgettext we define it as : so that the X dnl Makefiles still can work. X if $XGETTEXT --omit-header /dev/null 2> /dev/null; then X : ; X else X AC_MSG_RESULT( X [found xgettext programs is not GNU xgettext; ignore it]) X XGETTEXT=":" X fi X fi X X # We need to process the po/ directory. X POSUB=po X else X DATADIRNAME=share X nls_cv_header_intl=intl/libintl.h X nls_cv_header_libgt=intl/libgettext.h X fi X X # If this is used in GNU gettext we have to set USE_NLS to `yes' X # because some of the sources are only built for this goal. X if test "$PACKAGE" = gettext; then X USE_NLS=yes X USE_INCLUDED_LIBINTL=yes X fi X X dnl These rules are solely for the distribution goal. While doing this X dnl we only have to keep exactly one list of the available catalogs X dnl in configure.in. X for lang in $ALL_LINGUAS; do X GMOFILES="$GMOFILES $lang.gmo" X POFILES="$POFILES $lang.po" X done X X dnl Make all variables we use known to autoconf. X AC_SUBST(USE_INCLUDED_LIBINTL) X AC_SUBST(CATALOGS) X AC_SUBST(CATOBJEXT) X AC_SUBST(DATADIRNAME) X AC_SUBST(GMOFILES) X AC_SUBST(INSTOBJEXT) X AC_SUBST(INTLDEPS) X AC_SUBST(INTLLIBS) X AC_SUBST(INTLOBJS) X AC_SUBST(POFILES) X AC_SUBST(POSUB) X ]) X AC_DEFUN(AM_GNU_GETTEXT, X [AC_REQUIRE([AC_PROG_MAKE_SET])dnl X AC_REQUIRE([AC_PROG_CC])dnl X AC_REQUIRE([AC_ISC_POSIX])dnl X AC_REQUIRE([AC_PROG_RANLIB])dnl X AC_REQUIRE([AC_HEADER_STDC])dnl X AC_REQUIRE([AC_C_CONST])dnl X AC_REQUIRE([AC_C_INLINE])dnl X AC_REQUIRE([AC_TYPE_OFF_T])dnl X AC_REQUIRE([AC_TYPE_SIZE_T])dnl X AC_REQUIRE([AC_FUNC_ALLOCA])dnl X AC_REQUIRE([AC_FUNC_MMAP])dnl X X AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h string.h \ unistd.h values.h]) X AC_CHECK_FUNCS([getcwd munmap putenv setenv setlocale strchr strcasecmp \ __argz_count __argz_stringify __argz_next]) X X if test "${ac_cv_func_stpcpy+set}" != "set"; then X AC_CHECK_FUNCS(stpcpy) X fi X if test "${ac_cv_func_stpcpy}" = "yes"; then X AC_DEFINE(HAVE_STPCPY) X fi X X AM_LC_MESSAGES X AM_WITH_NLS X X if test "x$CATOBJEXT" != "x"; then X if test "x$ALL_LINGUAS" = "x"; then X LINGUAS= X else X AC_MSG_CHECKING(for catalogs to be installed) X NEW_LINGUAS= X for lang in ${LINGUAS=$ALL_LINGUAS}; do X case "$ALL_LINGUAS" in X *$lang*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;; X esac X done X LINGUAS=$NEW_LINGUAS X AC_MSG_RESULT($LINGUAS) X fi X X dnl Construct list of names of catalog files to be constructed. X if test -n "$LINGUAS"; then X for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done X fi X fi X X dnl Determine which catalog format we have (if any is needed) X dnl For now we know about two different formats: X dnl Linux libc-5 and the normal X/Open format X test -d intl || mkdir intl X if test "$CATOBJEXT" = ".cat"; then X AC_CHECK_HEADER(linux/version.h, msgformat=linux, msgformat=xopen) X X dnl Transform the SED scripts while copying because some dumb SEDs X dnl cannot handle comments. X sed -e '/^#/d' $srcdir/intl/$msgformat-msg.sed > intl/po2msg.sed X fi X dnl po2tbl.sed is always needed. X sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \ X $srcdir/intl/po2tbl.sed.in > intl/po2tbl.sed X X dnl In the intl/Makefile.in we have a special dependency which makes X dnl only sense for gettext. We comment this out for non-gettext X dnl packages. X if test "$PACKAGE" = "gettext"; then X GT_NO="#NO#" X GT_YES= X else X GT_NO= X GT_YES="#YES#" X fi X AC_SUBST(GT_NO) X AC_SUBST(GT_YES) X X dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly X dnl find the mkinstalldirs script in another subdir but ($top_srcdir). X dnl Try to locate is. X MKINSTALLDIRS= X if test $ac_aux_dir; then X MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" X fi X if test -z $MKINSTALLDIRS; then X MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" X fi X AC_SUBST(MKINSTALLDIRS) X X dnl Generate list of files to be processed by xgettext which will X dnl be included in po/Makefile. X test -d po || mkdir po X if test "x$srcdir" != "x."; then X if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then X posrcprefix="$srcdir/" X else X posrcprefix="../$srcdir/" X fi X else X posrcprefix="../" X fi X sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ X < $srcdir/po/POTFILES.in > po/POTFILES X ]) SHAR_EOF $shar_touch -am 0419151797 'tar-1.12/acinclude.m4' && chmod 0644 'tar-1.12/acinclude.m4' || $echo 'restore of' 'tar-1.12/acinclude.m4' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/acinclude.m4:' 'MD5 check failed' 3123467f6f3e0f219c5f5cf15d97693c tar-1.12/acinclude.m4 SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/acinclude.m4'`" test 13862 -eq "$shar_count" || $echo 'tar-1.12/acinclude.m4:' 'original size' '13862,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/aclocal.m4 ============== if test -f 'tar-1.12/aclocal.m4' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/aclocal.m4' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/aclocal.m4' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/aclocal.m4' && dnl aclocal.m4 generated automatically by aclocal 1.1n X X # Once this macro is called, you may output with no echo in a Makefile or # script using: echo @ECHO_N@ "STRING_TO_OUTPUT@ECHO_C@". X AC_DEFUN(fp_PROG_ECHO, [AC_MSG_CHECKING(how to suppress newlines using echo) AC_CACHE_VAL(fp_cv_prog_echo_nonl, [if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then X if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then X fp_cv_prog_echo_nonl=no X else X fp_cv_prog_echo_nonl=option X fi else X fp_cv_prog_echo_nonl=escape fi ]) AC_MSG_RESULT($fp_cv_prog_echo_nonl) case $fp_cv_prog_echo_nonl in X no) ECHO_N= ECHO_C= ;; X option) ECHO_N=-n ECHO_C= ;; X escape) ECHO_N= ECHO_C='\c' ;; esac AC_SUBST(ECHO_N)dnl AC_SUBST(ECHO_C)dnl ]) X X # In 1992, Michael Bushnell (now Thomas Bushnell ) # devised a test for avoiding HP/UX malloc and using GNU malloc instead. # Bruno Haible recycled this # test for CLISP Common LISP and extended it to cover broken mallocs from # Sun and SGI. I () reworked it a little so # it is independent of config.guess, and overridable by the installer. X # On IRIX 5.2, libc malloc is broken, but the -lmalloc one was usable. # So in my packages, I once unconditionally used -lmalloc if it existed. # This does not do anymore, because the -lmalloc malloc is broken on # Solaris 2.4 to 2.5.1 (alignment is 4 bytes instead of 8 bytes, as # reported by John Wells ). X # Bruno also notes: "HP-UX has two different malloc() implementations. # Both are broken. When used with CLISP, the one in the default libc.a # leads to a SIGSEGV, the one in libmalloc.a leads to a SIGBUS. The SunOS # 4.1.1 malloc() breaks when used by CLISP's generational GC. The IRIX # 5.2 malloc() breaks when used by CLISP's generational GC." X # If the installer does not give a preference, we use the included GNU # malloc if we have the slightest doubt that malloc could be broken, this # includes cross compilation, and *all* HP/UX, SunOS or IRIX systems. # It is crude indeed, but I just do not have enough information for truly # benchmarking malloc in all cases, but want safe packages nevertheless. X AC_DEFUN(fp_WITH_INCLUDED_MALLOC, [AC_MSG_CHECKING(if included GNU malloc is wanted) AC_ARG_WITH(included-malloc, [ --with-included-malloc use the GNU malloc which is included here], , [if test $cross_compiling = yes; then X withval=yes else X case `uname -s 2> /dev/null` in X HP-UX | SunOS | IRIX* ) withval=yes ;; X *) withval=no ;; X esac fi]) test "$withval" = yes && LIBOBJS="$LIBOBJS gmalloc.o" AC_MSG_RESULT($withval) ]) X X # Search path for a program which passes the given test. # Ulrich Drepper , 1996. X # serial 1 X dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) AC_DEFUN(AM_PATH_PROG_WITH_TEST, [# Extract the first word of "$2", so it can be a program name with args. set dummy $2; ac_word=[$]2 AC_MSG_CHECKING([for $ac_word]) AC_CACHE_VAL(ac_cv_path_$1, [case "[$]$1" in X /*) X ac_cv_path_$1="[$]$1" # Let the user override the test with a path. X ;; X *) X IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" X for ac_dir in ifelse([$5], , $PATH, [$5]); do X test -z "$ac_dir" && ac_dir=. X if test -f $ac_dir/$ac_word; then X if [$3]; then X ac_cv_path_$1="$ac_dir/$ac_word" X break X fi X fi X done X IFS="$ac_save_ifs" dnl If no 4th arg is given, leave the cache variable unset, dnl so AC_PATH_PROGS will keep looking. ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" ])dnl X ;; esac])dnl $1="$ac_cv_path_$1" if test -n "[$]$1"; then X AC_MSG_RESULT([$]$1) else X AC_MSG_RESULT(no) fi AC_SUBST($1)dnl ]) X # Check whether LC_MESSAGES is available in . # Ulrich Drepper , 1995. X # serial 1 X AC_DEFUN(AM_LC_MESSAGES, X [if test $ac_cv_header_locale_h = yes; then X AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES, X [AC_TRY_LINK([#include ], [return LC_MESSAGES], X am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)]) X if test $am_cv_val_LC_MESSAGES = yes; then X AC_DEFINE(HAVE_LC_MESSAGES) X fi X fi]) X # Macro to add for using GNU gettext. # Ulrich Drepper , 1995. X # serial 1 X AC_DEFUN(AM_WITH_NLS, X [AC_MSG_CHECKING([whether NLS is requested]) X dnl Default is enabled NLS X AC_ARG_ENABLE(nls, X [ --disable-nls do not use Native Language Support], X USE_NLS=$enableval, USE_NLS=yes) X AC_MSG_RESULT($USE_NLS) X AC_SUBST(USE_NLS) X X USE_INCLUDED_LIBINTL=no X X dnl If we use NLS figure out what method X if test "$USE_NLS" = "yes"; then X AC_DEFINE(ENABLE_NLS) X AC_MSG_CHECKING([whether included gettext is requested]) X AC_ARG_WITH(included-gettext, X [ --with-included-gettext use the GNU gettext library included here], X nls_cv_force_use_gnu_gettext=$withval, X nls_cv_force_use_gnu_gettext=no) X AC_MSG_RESULT($nls_cv_force_use_gnu_gettext) X X nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" X if test "$nls_cv_force_use_gnu_gettext" != "yes"; then X dnl User does not insist on using GNU NLS library. Figure out what X dnl to use. If gettext or catgets are available (in this order) we X dnl use this. Else we have to fall back to GNU NLS library. X dnl catgets is only used if permitted by option --with-catgets. X nls_cv_header_intl= X nls_cv_header_libgt= X CATOBJEXT=NONE X X AC_CHECK_HEADER(libintl.h, X [AC_CACHE_CHECK([for gettext in libc], gt_cv_func_gettext_libc, X [AC_TRY_LINK([#include ], [return (int) gettext ("")], X gt_cv_func_gettext_libc=yes, gt_cv_func_gettext_libc=no)]) X X if test "$gt_cv_func_gettext_libc" != "yes"; then X AC_CHECK_LIB(intl, bindtextdomain, X [AC_CACHE_CHECK([for gettext in libintl], X gt_cv_func_gettext_libintl, X [AC_TRY_LINK([], [return (int) gettext ("")], X gt_cv_func_gettext_libintl=yes, X gt_cv_func_gettext_libintl=no)])]) X fi X X if test "$gt_cv_func_gettext_libc" = "yes" \ X || test "$gt_cv_func_gettext_libintl" = "yes"; then X AC_DEFINE(HAVE_GETTEXT) X AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, X [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl X if test "$MSGFMT" != "no"; then X AC_CHECK_FUNCS(dcgettext) X AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) X AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, X [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) X AC_TRY_LINK(, [extern int _nl_msg_cat_cntr; X return _nl_msg_cat_cntr], X [CATOBJEXT=.gmo X DATADIRNAME=share], X [CATOBJEXT=.mo X DATADIRNAME=lib]) X INSTOBJEXT=.mo X fi X fi X ]) X X if test "$CATOBJEXT" = "NONE"; then X AC_MSG_CHECKING([whether catgets can be used]) X AC_ARG_WITH(catgets, X [ --with-catgets use catgets functions if available], X nls_cv_use_catgets=$withval, nls_cv_use_catgets=no) X AC_MSG_RESULT($nls_cv_use_catgets) X X if test "$nls_cv_use_catgets" = "yes"; then X dnl No gettext in C library. Try catgets next. X AC_CHECK_LIB(i, main) X AC_CHECK_FUNC(catgets, X [AC_DEFINE(HAVE_CATGETS) X INTLOBJS="\$(CATOBJS)" X AC_PATH_PROG(GENCAT, gencat, no)dnl X if test "$GENCAT" != "no"; then X AC_PATH_PROG(GMSGFMT, gmsgfmt, no) X if test "$GMSGFMT" = "no"; then X AM_PATH_PROG_WITH_TEST(GMSGFMT, msgfmt, X [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no) X fi X AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, X [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) X USE_INCLUDED_LIBINTL=yes X CATOBJEXT=.cat X INSTOBJEXT=.cat X DATADIRNAME=lib X INTLDEPS="../intl/libintl.a" X INTLLIBS=$INTLDEPS X LIBS=`echo $LIBS | sed -e 's/-lintl//'` X nls_cv_header_intl=intl/libintl.h X nls_cv_header_libgt=intl/libgettext.h X fi]) X fi X fi X X if test "$CATOBJEXT" = "NONE"; then X dnl Neither gettext nor catgets in included in the C library. X dnl Fall back on GNU gettext library. X nls_cv_use_gnu_gettext=yes X fi X fi X X if test "$nls_cv_use_gnu_gettext" = "yes"; then X dnl Mark actions used to generate GNU NLS library. X INTLOBJS="\$(GETTOBJS)" X AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, X [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], msgfmt) X AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) X AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, X [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) X AC_SUBST(MSGFMT) X USE_INCLUDED_LIBINTL=yes X CATOBJEXT=.gmo X INSTOBJEXT=.mo X DATADIRNAME=share X INTLDEPS="../intl/libintl.a" X INTLLIBS=$INTLDEPS X LIBS=`echo $LIBS | sed -e 's/-lintl//'` X nls_cv_header_intl=intl/libintl.h X nls_cv_header_libgt=intl/libgettext.h X fi X X dnl Test whether we really found GNU xgettext. X if test "$XGETTEXT" != ":"; then X dnl If it is no GNU xgettext we define it as : so that the X dnl Makefiles still can work. X if $XGETTEXT --omit-header /dev/null 2> /dev/null; then X : ; X else X AC_MSG_RESULT( X [found xgettext programs is not GNU xgettext; ignore it]) X XGETTEXT=":" X fi X fi X X # We need to process the po/ directory. X POSUB=po X else X DATADIRNAME=share X nls_cv_header_intl=intl/libintl.h X nls_cv_header_libgt=intl/libgettext.h X fi X X # If this is used in GNU gettext we have to set USE_NLS to `yes' X # because some of the sources are only built for this goal. X if test "$PACKAGE" = gettext; then X USE_NLS=yes X USE_INCLUDED_LIBINTL=yes X fi X X dnl These rules are solely for the distribution goal. While doing this X dnl we only have to keep exactly one list of the available catalogs X dnl in configure.in. X for lang in $ALL_LINGUAS; do X GMOFILES="$GMOFILES $lang.gmo" X POFILES="$POFILES $lang.po" X done X X dnl Make all variables we use known to autoconf. X AC_SUBST(USE_INCLUDED_LIBINTL) X AC_SUBST(CATALOGS) X AC_SUBST(CATOBJEXT) X AC_SUBST(DATADIRNAME) X AC_SUBST(GMOFILES) X AC_SUBST(INSTOBJEXT) X AC_SUBST(INTLDEPS) X AC_SUBST(INTLLIBS) X AC_SUBST(INTLOBJS) X AC_SUBST(POFILES) X AC_SUBST(POSUB) X ]) X AC_DEFUN(AM_GNU_GETTEXT, X [AC_REQUIRE([AC_PROG_MAKE_SET])dnl X AC_REQUIRE([AC_PROG_CC])dnl X AC_REQUIRE([AC_ISC_POSIX])dnl X AC_REQUIRE([AC_PROG_RANLIB])dnl X AC_REQUIRE([AC_HEADER_STDC])dnl X AC_REQUIRE([AC_C_CONST])dnl X AC_REQUIRE([AC_C_INLINE])dnl X AC_REQUIRE([AC_TYPE_OFF_T])dnl X AC_REQUIRE([AC_TYPE_SIZE_T])dnl X AC_REQUIRE([AC_FUNC_ALLOCA])dnl X AC_REQUIRE([AC_FUNC_MMAP])dnl X X AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h string.h \ unistd.h values.h]) X AC_CHECK_FUNCS([getcwd munmap putenv setenv setlocale strchr strcasecmp \ __argz_count __argz_stringify __argz_next]) X X if test "${ac_cv_func_stpcpy+set}" != "set"; then X AC_CHECK_FUNCS(stpcpy) X fi X if test "${ac_cv_func_stpcpy}" = "yes"; then X AC_DEFINE(HAVE_STPCPY) X fi X X AM_LC_MESSAGES X AM_WITH_NLS X X if test "x$CATOBJEXT" != "x"; then X if test "x$ALL_LINGUAS" = "x"; then X LINGUAS= X else X AC_MSG_CHECKING(for catalogs to be installed) X NEW_LINGUAS= X for lang in ${LINGUAS=$ALL_LINGUAS}; do X case "$ALL_LINGUAS" in X *$lang*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;; X esac X done X LINGUAS=$NEW_LINGUAS X AC_MSG_RESULT($LINGUAS) X fi X X dnl Construct list of names of catalog files to be constructed. X if test -n "$LINGUAS"; then X for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done X fi X fi X X dnl Determine which catalog format we have (if any is needed) X dnl For now we know about two different formats: X dnl Linux libc-5 and the normal X/Open format X test -d intl || mkdir intl X if test "$CATOBJEXT" = ".cat"; then X AC_CHECK_HEADER(linux/version.h, msgformat=linux, msgformat=xopen) X X dnl Transform the SED scripts while copying because some dumb SEDs X dnl cannot handle comments. X sed -e '/^#/d' $srcdir/intl/$msgformat-msg.sed > intl/po2msg.sed X fi X dnl po2tbl.sed is always needed. X sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \ X $srcdir/intl/po2tbl.sed.in > intl/po2tbl.sed X X dnl In the intl/Makefile.in we have a special dependency which makes X dnl only sense for gettext. We comment this out for non-gettext X dnl packages. X if test "$PACKAGE" = "gettext"; then X GT_NO="#NO#" X GT_YES= X else X GT_NO= X GT_YES="#YES#" X fi X AC_SUBST(GT_NO) X AC_SUBST(GT_YES) X X dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly X dnl find the mkinstalldirs script in another subdir but ($top_srcdir). X dnl Try to locate is. X MKINSTALLDIRS= X if test $ac_aux_dir; then X MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" X fi X if test -z $MKINSTALLDIRS; then X MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" X fi X AC_SUBST(MKINSTALLDIRS) X X dnl Generate list of files to be processed by xgettext which will X dnl be included in po/Makefile. X test -d po || mkdir po X if test "x$srcdir" != "x."; then X if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then X posrcprefix="$srcdir/" X else X posrcprefix="../$srcdir/" X fi X else X posrcprefix="../" X fi X sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ X < $srcdir/po/POTFILES.in > po/POTFILES X ]) X # Like AC_CONFIG_HEADER, but automatically create stamp file. X AC_DEFUN(AM_CONFIG_HEADER, [AC_PREREQ([2.12]) AC_CONFIG_HEADER([$1]) dnl When config.status generates a header, we must update the stamp-h file. dnl This file resides in the same directory as the config header dnl that is generated. We must strip everything past the first ":", dnl and everything past the last "/". AC_OUTPUT_COMMANDS(changequote(<<,>>)dnl test -z "<<$>>CONFIG_HEADERS" || echo timestamp > patsubst(<<$1>>, <<^\([^:]*/\)?.*>>, <<\1>>)stamp-h<<>>dnl changequote([,]))]) X # Do all the work for Automake. This macro actually does too much -- # some checks are only needed if your package does certain things. # But this isn't really a big deal. X # serial 1 X dnl Usage: dnl AM_INIT_AUTOMAKE(package,version, [no-define]) X AC_DEFUN(AM_INIT_AUTOMAKE, [AC_REQUIRE([AM_PROG_INSTALL]) PACKAGE=[$1] AC_SUBST(PACKAGE) VERSION=[$2] AC_SUBST(VERSION) ifelse([$3],, AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE") AC_DEFINE_UNQUOTED(VERSION, "$VERSION")) AM_SANITY_CHECK AC_ARG_PROGRAM dnl FIXME This is truly gross. missing_dir=`cd $ac_aux_dir && pwd` AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir) AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir) AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir) AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir) AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir) AC_PROG_MAKE_SET]) X X # serial 1 X AC_DEFUN(AM_PROG_INSTALL, [AC_REQUIRE([AC_PROG_INSTALL]) test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' AC_SUBST(INSTALL_SCRIPT)dnl ]) X # # Check to make sure that the build environment is sane. # X AC_DEFUN(AM_SANITY_CHECK, [AC_MSG_CHECKING([whether build environment is sane]) # Just in case sleep 1 echo timestamp > conftestfile # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( X set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` X if test "$@" = "X"; then X # -L didn't work. X set X `ls -t $srcdir/configure conftestfile` X fi X test "[$]2" = conftestfile X ) then X # Ok. X : else X AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi rm -f conftest* AC_MSG_RESULT(yes)]) X dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY) dnl The program must properly implement --version. AC_DEFUN(AM_MISSING_PROG, [AC_MSG_CHECKING(for working $2) # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. if ($2 --version) > /dev/null 2>&1; then X $1=$2 X AC_MSG_RESULT(found) else X $1="$3/missing $2" X AC_MSG_RESULT(missing) fi AC_SUBST($1)]) X X # serial 1 X AC_DEFUN(AM_C_PROTOTYPES, [AC_REQUIRE([AM_PROG_CC_STDC]) AC_MSG_CHECKING([for function prototypes]) if test "$am_cv_prog_cc_stdc" != no; then X AC_MSG_RESULT(yes) X AC_DEFINE(PROTOTYPES) X U= ANSI2KNR= else X AC_MSG_RESULT(no) X U=_ ANSI2KNR=./ansi2knr X # Ensure some checks needed by ansi2knr itself. X AC_HEADER_STDC X AC_CHECK_HEADERS(string.h) fi AC_SUBST(U)dnl AC_SUBST(ANSI2KNR)dnl ]) X X # serial 1 X # @defmac AC_PROG_CC_STDC # @maindex PROG_CC_STDC # @ovindex CC # If the C compiler in not in ANSI C mode by default, try to add an option # to output variable @code{CC} to make it so. This macro tries various # options that select ANSI C on some system or another. It considers the # compiler to be in ANSI C mode if it defines @code{__STDC__} to 1 and # handles function prototypes correctly. # # If you use this macro, you should check after calling it whether the C # compiler has been set to accept ANSI C; if not, the shell variable # @code{am_cv_prog_cc_stdc} is set to @samp{no}. If you wrote your source # code in ANSI C, you can make an un-ANSIfied copy of it by using the # program @code{ansi2knr}, which comes with Ghostscript. # @end defmac X AC_DEFUN(AM_PROG_CC_STDC, [AC_REQUIRE([AC_PROG_CC]) AC_BEFORE([$0], [AC_C_INLINE]) AC_BEFORE([$0], [AC_C_CONST]) AC_MSG_CHECKING(for ${CC-cc} option to accept ANSI C) AC_CACHE_VAL(am_cv_prog_cc_stdc, [am_cv_prog_cc_stdc=no ac_save_CC="$CC" # Don't try gcc -ansi; that turns off useful extensions and # breaks some systems' header files. # AIX -qlanglvl=ansi # Ultrix and OSF/1 -std1 # HP-UX -Aa -D_HPUX_SOURCE # SVR4 -Xc -D__EXTENSIONS__ for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do X CC="$ac_save_CC $ac_arg" X AC_TRY_COMPILE( [#if !defined(__STDC__) || __STDC__ != 1 choke me #endif /* DYNIX/ptx V4.1.3 can't compile sys/stat.h with -Xc -D__EXTENSIONS__. */ #ifdef _SEQUENT_ # include # include #endif ], [ int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);};], [am_cv_prog_cc_stdc="$ac_arg"; break]) done CC="$ac_save_CC" ]) AC_MSG_RESULT($am_cv_prog_cc_stdc) case "x$am_cv_prog_cc_stdc" in X x|xno) ;; X *) CC="$CC $am_cv_prog_cc_stdc" ;; esac ]) X X # serial 1 X AC_DEFUN(AM_WITH_DMALLOC, [AC_MSG_CHECKING(if malloc debugging is wanted) AC_ARG_WITH(dmalloc, [ --with-dmalloc use dmalloc, as in X ftp://ftp.letters.com/src/dmalloc/dmalloc.tar.gz], [if test "$withval" = yes; then X AC_MSG_RESULT(yes) X AC_DEFINE(WITH_DMALLOC) X LIBS="$LIBS -ldmalloc" X LDFLAGS="$LDFLAGS -g" else X AC_MSG_RESULT(no) fi], [AC_MSG_RESULT(no)]) ]) X SHAR_EOF $shar_touch -am 0425160397 'tar-1.12/aclocal.m4' && chmod 0644 'tar-1.12/aclocal.m4' || $echo 'restore of' 'tar-1.12/aclocal.m4' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/aclocal.m4:' 'MD5 check failed' 4524a6fec47d0a4f9338436a0b477b54 tar-1.12/aclocal.m4 SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/aclocal.m4'`" test 18976 -eq "$shar_count" || $echo 'tar-1.12/aclocal.m4:' 'original size' '18976,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/config.h.in ============== if test -f 'tar-1.12/config.h.in' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/config.h.in' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/config.h.in' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/config.h.in' && /* config.h.in. Generated automatically from configure.in by autoheader. */ X /* Define if on AIX 3. X System headers sometimes define this. X We just want to avoid a redefinition error message. */ #ifndef _ALL_SOURCE #undef _ALL_SOURCE #endif X /* Define if using alloca.c. */ #undef C_ALLOCA X /* Define to empty if the keyword does not work. */ #undef const X /* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems. X This function is required for alloca.c support on those systems. */ #undef CRAY_STACKSEG_END X /* Define to `int' if doesn't define. */ #undef gid_t X /* Define if you have alloca, as a function or macro. */ #undef HAVE_ALLOCA X /* Define if you have and it should be used (not on Ultrix). */ #undef HAVE_ALLOCA_H X /* Define if you don't have vprintf but do have _doprnt. */ #undef HAVE_DOPRNT X /* Define if your system has a working fnmatch function. */ #undef HAVE_FNMATCH X /* Define if you have a working `mmap' system call. */ #undef HAVE_MMAP X /* Define if your struct stat has st_blksize. */ #undef HAVE_ST_BLKSIZE X /* Define if your struct stat has st_blocks. */ #undef HAVE_ST_BLOCKS X /* Define if you have the vprintf function. */ #undef HAVE_VPRINTF X /* Define as __inline if that's what the C compiler calls it. */ #undef inline X /* Define if major, minor, and makedev are declared in . */ #undef MAJOR_IN_MKDEV X /* Define if major, minor, and makedev are declared in . */ #undef MAJOR_IN_SYSMACROS X /* Define if on MINIX. */ #undef _MINIX X /* Define to `long' if doesn't define. */ #undef off_t X /* Define if the system does not provide POSIX.1 features except X with this defined. */ #undef _POSIX_1_SOURCE X /* Define if you need to in order for stat and other things to work. */ #undef _POSIX_SOURCE X /* Define as the return type of signal handlers (int or void). */ #undef RETSIGTYPE X /* Define to `unsigned' if doesn't define. */ #undef size_t X /* If using the C implementation of alloca, define if you know the X direction of stack growth for your system; otherwise it will be X automatically deduced at run-time. X STACK_DIRECTION > 0 => grows toward higher addresses X STACK_DIRECTION < 0 => grows toward lower addresses X STACK_DIRECTION = 0 => direction of growth unknown X */ #undef STACK_DIRECTION X /* Define if the `S_IS*' macros in do not work properly. */ #undef STAT_MACROS_BROKEN X /* Define if you have the ANSI C header files. */ #undef STDC_HEADERS X /* Define if you can safely include both and . */ #undef TIME_WITH_SYS_TIME X /* Define to `int' if doesn't define. */ #undef uid_t X /* This is unconditionally defined for setting a GNU environment. */ #undef _GNU_SOURCE X /* Define to a string giving the full name of the default archive file. */ #undef DEFAULT_ARCHIVE X /* Define to a number giving the default blocking size for archives. */ #undef DEFAULT_BLOCKING X /* Define to 1 if density may be indicated by [lmh] at end of device. */ #undef DENSITY_LETTER X /* Define to a string giving the prefix of the default device, without the X part specifying the unit and density. */ #undef DEVICE_PREFIX X /* Define to 1 if you lack a 3-argument version of open, and want to X emulate it with system calls you do have. */ #undef EMUL_OPEN3 X /* Define to 1 if NLS is requested. */ #undef ENABLE_NLS X /* Define as 1 if you have catgets and don't want to use GNU gettext. */ #undef HAVE_CATGETS X /* Define to 1 if you have getgrgid(3). */ #undef HAVE_GETGRGID X /* Define to 1 if you have getpwuid(3). */ #undef HAVE_GETPWUID X /* Define as 1 if you have gettext and don't want to use GNU gettext. */ #undef HAVE_GETTEXT X /* Define if your locale.h file contains LC_MESSAGES. */ #undef HAVE_LC_MESSAGES X /* Define to 1 if mknod function is available. */ #undef HAVE_MKNOD X /* Define to 1 if stpcpy function is available. */ #undef HAVE_STPCPY X /* Define if `union wait' is the type of the first arg to wait functions. */ #undef HAVE_UNION_WAIT X /* Define to 1 if utime.h exists and declares struct utimbuf. */ #undef HAVE_UTIME_H X /* Define to mt_model (v.g., for DG/UX), else to mt_type. */ #undef MTIO_CHECK_FIELD X /* Define to the name of the distribution. */ #undef PACKAGE X /* Define to 1 if ANSI function prototypes are usable. */ #undef PROTOTYPES X /* Define to the full path of your rsh, if any. */ #undef REMOTE_SHELL X /* Define to the version of the distribution. */ #undef VERSION X /* Define to 1 for better use of the debugging malloc library. See X site ftp.antaire.com in antaire/src, file dmalloc/dmalloc.tar.gz. */ #undef WITH_DMALLOC X /* The number of bytes in a long long. */ #undef SIZEOF_LONG_LONG X /* The number of bytes in a unsigned long. */ #undef SIZEOF_UNSIGNED_LONG X /* Define if you have the __argz_count function. */ #undef HAVE___ARGZ_COUNT X /* Define if you have the __argz_next function. */ #undef HAVE___ARGZ_NEXT X /* Define if you have the __argz_stringify function. */ #undef HAVE___ARGZ_STRINGIFY X /* Define if you have the basename function. */ #undef HAVE_BASENAME X /* Define if you have the dcgettext function. */ #undef HAVE_DCGETTEXT X /* Define if you have the dirname function. */ #undef HAVE_DIRNAME X /* Define if you have the execlp function. */ #undef HAVE_EXECLP X /* Define if you have the fsync function. */ #undef HAVE_FSYNC X /* Define if you have the ftime function. */ #undef HAVE_FTIME X /* Define if you have the ftruncate function. */ #undef HAVE_FTRUNCATE X /* Define if you have the getcwd function. */ #undef HAVE_GETCWD X /* Define if you have the getpagesize function. */ #undef HAVE_GETPAGESIZE X /* Define if you have the isascii function. */ #undef HAVE_ISASCII X /* Define if you have the lchown function. */ #undef HAVE_LCHOWN X /* Define if you have the memset function. */ #undef HAVE_MEMSET X /* Define if you have the mkdir function. */ #undef HAVE_MKDIR X /* Define if you have the mkfifo function. */ #undef HAVE_MKFIFO X /* Define if you have the munmap function. */ #undef HAVE_MUNMAP X /* Define if you have the nap function. */ #undef HAVE_NAP X /* Define if you have the napms function. */ #undef HAVE_NAPMS X /* Define if you have the poll function. */ #undef HAVE_POLL X /* Define if you have the putenv function. */ #undef HAVE_PUTENV X /* Define if you have the rename function. */ #undef HAVE_RENAME X /* Define if you have the rmdir function. */ #undef HAVE_RMDIR X /* Define if you have the select function. */ #undef HAVE_SELECT X /* Define if you have the setenv function. */ #undef HAVE_SETENV X /* Define if you have the setlocale function. */ #undef HAVE_SETLOCALE X /* Define if you have the stpcpy function. */ #undef HAVE_STPCPY X /* Define if you have the strcasecmp function. */ #undef HAVE_STRCASECMP X /* Define if you have the strchr function. */ #undef HAVE_STRCHR X /* Define if you have the strerror function. */ #undef HAVE_STRERROR X /* Define if you have the strstr function. */ #undef HAVE_STRSTR X /* Define if you have the usleep function. */ #undef HAVE_USLEEP X /* Define if you have the header file. */ #undef HAVE_ARGZ_H X /* Define if you have the header file. */ #undef HAVE_DIRENT_H X /* Define if you have the header file. */ #undef HAVE_FCNTL_H X /* Define if you have the header file. */ #undef HAVE_LIMITS_H X /* Define if you have the header file. */ #undef HAVE_LINUX_FD_H X /* Define if you have the header file. */ #undef HAVE_LOCALE_H X /* Define if you have the header file. */ #undef HAVE_MALLOC_H X /* Define if you have the header file. */ #undef HAVE_MEMORY_H X /* Define if you have the header file. */ #undef HAVE_NDIR_H X /* Define if you have the header file. */ #undef HAVE_NET_ERRNO_H X /* Define if you have the header file. */ #undef HAVE_NETDB_H X /* Define if you have the header file. */ #undef HAVE_NL_TYPES_H X /* Define if you have the header file. */ #undef HAVE_POLL_H X /* Define if you have the header file. */ #undef HAVE_SGTTY_H X /* Define if you have the header file. */ #undef HAVE_STRING_H X /* Define if you have the header file. */ #undef HAVE_STROPTS_H X /* Define if you have the header file. */ #undef HAVE_SYS_BUF_H X /* Define if you have the header file. */ #undef HAVE_SYS_DEVICE_H X /* Define if you have the header file. */ #undef HAVE_SYS_DIR_H X /* Define if you have the header file. */ #undef HAVE_SYS_GENTAPE_H X /* Define if you have the header file. */ #undef HAVE_SYS_INET_H X /* Define if you have the header file. */ #undef HAVE_SYS_IO_TRIOCTL_H X /* Define if you have the header file. */ #undef HAVE_SYS_IOCCOM_H X /* Define if you have the header file. */ #undef HAVE_SYS_MTIO_H X /* Define if you have the header file. */ #undef HAVE_SYS_NDIR_H X /* Define if you have the header file. */ #undef HAVE_SYS_PARAM_H X /* Define if you have the header file. */ #undef HAVE_SYS_TAPE_H X /* Define if you have the header file. */ #undef HAVE_SYS_TIME_H X /* Define if you have the header file. */ #undef HAVE_SYS_TIMEB_H X /* Define if you have the header file. */ #undef HAVE_SYS_TPRINTF_H X /* Define if you have the header file. */ #undef HAVE_SYS_WAIT_H X /* Define if you have the header file. */ #undef HAVE_UNISTD_H X /* Define if you have the header file. */ #undef HAVE_VALUES_H X /* Define if you have the i library (-li). */ #undef HAVE_LIBI X /* Define if you have the nsl library (-lnsl). */ #undef HAVE_LIBNSL X /* Define if you have the socket library (-lsocket). */ #undef HAVE_LIBSOCKET SHAR_EOF $shar_touch -am 0419121297 'tar-1.12/config.h.in' && chmod 0644 'tar-1.12/config.h.in' || $echo 'restore of' 'tar-1.12/config.h.in' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/config.h.in:' 'MD5 check failed' 6d738f3411770bf673dfb0d40548f53d tar-1.12/config.h.in SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/config.h.in'`" test 9926 -eq "$shar_count" || $echo 'tar-1.12/config.h.in:' 'original size' '9926,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/configure ============== if test -f 'tar-1.12/configure' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/configure' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/configure' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/configure' && #! /bin/sh X # Guess values for system-dependent variables and create Makefiles. # Generated automatically using autoconf version 2.12 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. # # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. X # Defaults: ac_help= ac_default_prefix=/usr/local # Any additions from configure.in: ac_help="$ac_help X --with-included-malloc use the GNU malloc which is included here" ac_help="$ac_help X --with-dmalloc use dmalloc, as in X ftp://ftp.letters.com/src/dmalloc/dmalloc.tar.gz" ac_help="$ac_help X --disable-nls do not use Native Language Support" ac_help="$ac_help X --with-included-gettext use the GNU gettext library included here" ac_help="$ac_help X --with-catgets use catgets functions if available" X # Initialize some variables set by options. # The variables have the same names as the options, with # dashes changed to underlines. build=NONE cache_file=./config.cache exec_prefix=NONE host=NONE no_create= nonopt=NONE no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= target=NONE verbose= x_includes=NONE x_libraries=NONE bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datadir='${prefix}/share' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' libdir='${exec_prefix}/lib' includedir='${prefix}/include' oldincludedir='/usr/include' infodir='${prefix}/info' mandir='${prefix}/man' X # Initialize some other variables. subdirs= MFLAGS= MAKEFLAGS= # Maximum number of lines to put in a shell here document. ac_max_here_lines=12 X ac_prev= for ac_option do X X # If the previous option needs an argument, assign it. X if test -n "$ac_prev"; then X eval "$ac_prev=\$ac_option" X ac_prev= X continue X fi X X case "$ac_option" in X -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; X *) ac_optarg= ;; X esac X X # Accept the important Cygnus configure options, so we can diagnose typos. X X case "$ac_option" in X X -bindir | --bindir | --bindi | --bind | --bin | --bi) X ac_prev=bindir ;; X -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) X bindir="$ac_optarg" ;; X X -build | --build | --buil | --bui | --bu) X ac_prev=build ;; X -build=* | --build=* | --buil=* | --bui=* | --bu=*) X build="$ac_optarg" ;; X X -cache-file | --cache-file | --cache-fil | --cache-fi \ X | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) X ac_prev=cache_file ;; X -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ X | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) X cache_file="$ac_optarg" ;; X X -datadir | --datadir | --datadi | --datad | --data | --dat | --da) X ac_prev=datadir ;; X -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ X | --da=*) X datadir="$ac_optarg" ;; X X -disable-* | --disable-*) X ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` X # Reject names that are not valid shell variable names. X if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then X { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } X fi X ac_feature=`echo $ac_feature| sed 's/-/_/g'` X eval "enable_${ac_feature}=no" ;; X X -enable-* | --enable-*) X ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` X # Reject names that are not valid shell variable names. X if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then X { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } X fi X ac_feature=`echo $ac_feature| sed 's/-/_/g'` X case "$ac_option" in X *=*) ;; X *) ac_optarg=yes ;; X esac X eval "enable_${ac_feature}='$ac_optarg'" ;; X X -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ X | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ X | --exec | --exe | --ex) X ac_prev=exec_prefix ;; X -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ X | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ X | --exec=* | --exe=* | --ex=*) X exec_prefix="$ac_optarg" ;; X X -gas | --gas | --ga | --g) X # Obsolete; use --with-gas. X with_gas=yes ;; X X -help | --help | --hel | --he) X # Omit some internal or obsolete options to make the list less imposing. X # This message is too long to be a string in the A/UX 3.1 sh. X cat << EOF Usage: configure [options] [host] Options: [defaults in brackets after descriptions] Configuration: X --cache-file=FILE cache test results in FILE X --help print this message X --no-create do not create output files X --quiet, --silent do not print \`checking...' messages X --version print the version of autoconf that created configure Directory and file names: X --prefix=PREFIX install architecture-independent files in PREFIX X [$ac_default_prefix] X --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX X [same as prefix] X --bindir=DIR user executables in DIR [EPREFIX/bin] X --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] X --libexecdir=DIR program executables in DIR [EPREFIX/libexec] X --datadir=DIR read-only architecture-independent data in DIR X [PREFIX/share] X --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] X --sharedstatedir=DIR modifiable architecture-independent data in DIR X [PREFIX/com] X --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] X --libdir=DIR object code libraries in DIR [EPREFIX/lib] X --includedir=DIR C header files in DIR [PREFIX/include] X --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] X --infodir=DIR info documentation in DIR [PREFIX/info] X --mandir=DIR man documentation in DIR [PREFIX/man] X --srcdir=DIR find the sources in DIR [configure dir or ..] X --program-prefix=PREFIX prepend PREFIX to installed program names X --program-suffix=SUFFIX append SUFFIX to installed program names X --program-transform-name=PROGRAM X run sed PROGRAM on installed program names EOF X cat << EOF Host type: X --build=BUILD configure for building on BUILD [BUILD=HOST] X --host=HOST configure for HOST [guessed] X --target=TARGET configure for TARGET [TARGET=HOST] Features and packages: X --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) X --enable-FEATURE[=ARG] include FEATURE [ARG=yes] X --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] X --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) X --x-includes=DIR X include files are in DIR X --x-libraries=DIR X library files are in DIR EOF X if test -n "$ac_help"; then X echo "--enable and --with options recognized:$ac_help" X fi X exit 0 ;; X X -host | --host | --hos | --ho) X ac_prev=host ;; X -host=* | --host=* | --hos=* | --ho=*) X host="$ac_optarg" ;; X X -includedir | --includedir | --includedi | --included | --include \ X | --includ | --inclu | --incl | --inc) X ac_prev=includedir ;; X -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ X | --includ=* | --inclu=* | --incl=* | --inc=*) X includedir="$ac_optarg" ;; X X -infodir | --infodir | --infodi | --infod | --info | --inf) X ac_prev=infodir ;; X -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) X infodir="$ac_optarg" ;; X X -libdir | --libdir | --libdi | --libd) X ac_prev=libdir ;; X -libdir=* | --libdir=* | --libdi=* | --libd=*) X libdir="$ac_optarg" ;; X X -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ X | --libexe | --libex | --libe) X ac_prev=libexecdir ;; X -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ X | --libexe=* | --libex=* | --libe=*) X libexecdir="$ac_optarg" ;; X X -localstatedir | --localstatedir | --localstatedi | --localstated \ X | --localstate | --localstat | --localsta | --localst \ X | --locals | --local | --loca | --loc | --lo) X ac_prev=localstatedir ;; X -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ X | --localstate=* | --localstat=* | --localsta=* | --localst=* \ X | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) X localstatedir="$ac_optarg" ;; X X -mandir | --mandir | --mandi | --mand | --man | --ma | --m) X ac_prev=mandir ;; X -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) X mandir="$ac_optarg" ;; X X -nfp | --nfp | --nf) X # Obsolete; use --without-fp. X with_fp=no ;; X X -no-create | --no-create | --no-creat | --no-crea | --no-cre \ X | --no-cr | --no-c) X no_create=yes ;; X X -no-recursion | --no-recursion | --no-recursio | --no-recursi \ X | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) X no_recursion=yes ;; X X -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ X | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ X | --oldin | --oldi | --old | --ol | --o) X ac_prev=oldincludedir ;; X -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ X | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ X | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) X oldincludedir="$ac_optarg" ;; X X -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) X ac_prev=prefix ;; X -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) X prefix="$ac_optarg" ;; X X -program-prefix | --program-prefix | --program-prefi | --program-pref \ X | --program-pre | --program-pr | --program-p) X ac_prev=program_prefix ;; X -program-prefix=* | --program-prefix=* | --program-prefi=* \ X | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) X program_prefix="$ac_optarg" ;; X X -program-suffix | --program-suffix | --program-suffi | --program-suff \ X | --program-suf | --program-su | --program-s) X ac_prev=program_suffix ;; X -program-suffix=* | --program-suffix=* | --program-suffi=* \ X | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) X program_suffix="$ac_optarg" ;; X X -program-transform-name | --program-transform-name \ X | --program-transform-nam | --program-transform-na \ X | --program-transform-n | --program-transform- \ X | --program-transform | --program-transfor \ X | --program-transfo | --program-transf \ X | --program-trans | --program-tran \ X | --progr-tra | --program-tr | --program-t) X ac_prev=program_transform_name ;; X -program-transform-name=* | --program-transform-name=* \ X | --program-transform-nam=* | --program-transform-na=* \ X | --program-transform-n=* | --program-transform-=* \ X | --program-transform=* | --program-transfor=* \ X | --program-transfo=* | --program-transf=* \ X | --program-trans=* | --program-tran=* \ X | --progr-tra=* | --program-tr=* | --program-t=*) X program_transform_name="$ac_optarg" ;; X X -q | -quiet | --quiet | --quie | --qui | --qu | --q \ X | -silent | --silent | --silen | --sile | --sil) X silent=yes ;; X X -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) X ac_prev=sbindir ;; X -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ X | --sbi=* | --sb=*) X sbindir="$ac_optarg" ;; X X -sharedstatedir | --sharedstatedir | --sharedstatedi \ X | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ X | --sharedst | --shareds | --shared | --share | --shar \ X | --sha | --sh) X ac_prev=sharedstatedir ;; X -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ X | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ X | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ X | --sha=* | --sh=*) X sharedstatedir="$ac_optarg" ;; X X -site | --site | --sit) X ac_prev=site ;; X -site=* | --site=* | --sit=*) X site="$ac_optarg" ;; X X -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) X ac_prev=srcdir ;; X -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) X srcdir="$ac_optarg" ;; X X -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ X | --syscon | --sysco | --sysc | --sys | --sy) X ac_prev=sysconfdir ;; X -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ X | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) X sysconfdir="$ac_optarg" ;; X X -target | --target | --targe | --targ | --tar | --ta | --t) X ac_prev=target ;; X -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) X target="$ac_optarg" ;; X X -v | -verbose | --verbose | --verbos | --verbo | --verb) X verbose=yes ;; X X -version | --version | --versio | --versi | --vers) X echo "configure generated by autoconf version 2.12" X exit 0 ;; X X -with-* | --with-*) X ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` X # Reject names that are not valid shell variable names. X if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then X { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } X fi X ac_package=`echo $ac_package| sed 's/-/_/g'` X case "$ac_option" in X *=*) ;; X *) ac_optarg=yes ;; X esac X eval "with_${ac_package}='$ac_optarg'" ;; X X -without-* | --without-*) X ac_package=`echo $ac_option|sed -e 's/-*without-//'` X # Reject names that are not valid shell variable names. X if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then X { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } X fi X ac_package=`echo $ac_package| sed 's/-/_/g'` X eval "with_${ac_package}=no" ;; X X --x) X # Obsolete; use --with-x. X with_x=yes ;; X X -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ X | --x-incl | --x-inc | --x-in | --x-i) X ac_prev=x_includes ;; X -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ X | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) X x_includes="$ac_optarg" ;; X X -x-libraries | --x-libraries | --x-librarie | --x-librari \ X | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) X ac_prev=x_libraries ;; X -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ X | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) X x_libraries="$ac_optarg" ;; X X -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } X ;; X X *) X if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then X echo "configure: warning: $ac_option: invalid host type" 1>&2 X fi X if test "x$nonopt" != xNONE; then X { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } X fi X nonopt="$ac_option" X ;; X X esac done X if test -n "$ac_prev"; then X { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } fi X trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 X # File descriptor usage: # 0 standard input # 1 file creation # 2 errors and warnings # 3 some systems may open it to /dev/tty # 4 used on the Kubota Titan # 6 checking for... messages and results # 5 compiler messages saved in config.log if test "$silent" = yes; then X exec 6>/dev/null else X exec 6>&1 fi exec 5>./config.log X echo "\ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. " 1>&5 X # Strip out --no-create and --no-recursion so they do not pile up. # Also quote any args containing shell metacharacters. ac_configure_args= for ac_arg do X case "$ac_arg" in X -no-create | --no-create | --no-creat | --no-crea | --no-cre \ X | --no-cr | --no-c) ;; X -no-recursion | --no-recursion | --no-recursio | --no-recursi \ X | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; X *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) X ac_configure_args="$ac_configure_args '$ac_arg'" ;; X *) ac_configure_args="$ac_configure_args $ac_arg" ;; X esac done X # NLS nuisances. # Only set these to C if already set. These must not be set unconditionally # because not all systems understand e.g. LANG=C (notably SCO). # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! # Non-C LC_CTYPE values break the ctype check. if test "${LANG+set}" = set; then LANG=C; export LANG; fi if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi X # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -rf conftest* confdefs.h # AIX cpp loses on an empty file, so make sure it contains at least a newline. echo > confdefs.h X # A filename unique to this package, relative to the directory that # configure is in, which we can look for to find out if srcdir is correct. ac_unique_file=src/tar.c X # Find the source files, if location was not specified. if test -z "$srcdir"; then X ac_srcdir_defaulted=yes X # Try the directory containing this script, then its parent. X ac_prog=$0 X ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` X test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. X srcdir=$ac_confdir X if test ! -r $srcdir/$ac_unique_file; then X srcdir=.. X fi else X ac_srcdir_defaulted=no fi if test ! -r $srcdir/$ac_unique_file; then X if test "$ac_srcdir_defaulted" = yes; then X { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } X else X { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } X fi fi srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` X # Prefer explicitly selected file to automatically selected ones. if test -z "$CONFIG_SITE"; then X if test "x$prefix" != xNONE; then X CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" X else X CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" X fi fi for ac_site_file in $CONFIG_SITE; do X if test -r "$ac_site_file"; then X echo "loading site script $ac_site_file" X . "$ac_site_file" X fi done X if test -r "$cache_file"; then X echo "loading cache $cache_file" X . $cache_file else X echo "creating cache $cache_file" X > $cache_file fi X ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross X if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then X # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. X if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then X ac_n= ac_c=' ' ac_t=' ' X else X ac_n=-n ac_c= ac_t= X fi else X ac_n= ac_c='\c' ac_t= fi X X X X X X ac_aux_dir= for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do X if test -f $ac_dir/install-sh; then X ac_aux_dir=$ac_dir X ac_install_sh="$ac_aux_dir/install-sh -c" X break X elif test -f $ac_dir/install.sh; then X ac_aux_dir=$ac_dir X ac_install_sh="$ac_aux_dir/install.sh -c" X break X fi done if test -z "$ac_aux_dir"; then X { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } fi ac_config_guess=$ac_aux_dir/config.guess ac_config_sub=$ac_aux_dir/config.sub ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. X # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # ./install, which can be erroneously created by make from ./install.sh. echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 echo "configure:567: checking for a BSD compatible install" >&5 if test -z "$INSTALL"; then if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" X for ac_dir in $PATH; do X # Account for people who put trailing slashes in PATH elements. X case "$ac_dir/" in X /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; X *) X # OSF1 and SCO ODT 3.0 have their own names for install. X for ac_prog in ginstall installbsd scoinst install; do X if test -f $ac_dir/$ac_prog; then X if test $ac_prog = install && X grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then X # AIX install. It has an incompatible calling convention. X # OSF/1 installbsd also uses dspmsg, but is usable. X : X else X if test $ac_prog = installbsd && X grep src/bos $ac_dir/$ac_prog >/dev/null 2>&1; then X # AIX installbsd doesn't work without option "-g". X : X else X ac_cv_path_install="$ac_dir/$ac_prog -c" X break 2 X fi X fi X fi X done X ;; X esac X done X IFS="$ac_save_IFS" X fi X if test "${ac_cv_path_install+set}" = set; then X INSTALL="$ac_cv_path_install" X else X # As a last resort, use the slow shell script. We don't cache a X # path for INSTALL within a source directory, because that will X # break other packages using the cache if that directory is X # removed, or if the path is relative. X INSTALL="$ac_install_sh" X fi fi echo "$ac_t""$INSTALL" 1>&6 X # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' X test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' X X test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' X X PACKAGE=tar X VERSION=1.12 X cat >> confdefs.h <> confdefs.h <&6 echo "configure:639: checking whether build environment is sane" >&5 # Just in case sleep 1 echo timestamp > conftestfile # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( X set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` X if test "" = "X"; then X # -L didn't work. X set X `ls -t $srcdir/configure conftestfile` X fi X test "$2" = conftestfile X ) then X # Ok. X : else X { echo "configure: error: newly created file is older than distributed files! Check your system clock" 1>&2; exit 1; } fi rm -f conftest* echo "$ac_t""yes" 1>&6 if test "$program_transform_name" = s,x,x,; then X program_transform_name= else X # Double any \ or $. echo might interpret backslashes. X cat <<\EOF_SED > conftestsed s,\\,\\\\,g; s,\$,$$,g EOF_SED X program_transform_name="`echo $program_transform_name|sed -f conftestsed`" X rm -f conftestsed fi test "$program_prefix" != NONE && X program_transform_name="s,^,${program_prefix},; $program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && X program_transform_name="s,\$\$,${program_suffix},; $program_transform_name" X # sed with no file args requires a program. test "$program_transform_name" = "" && program_transform_name="s,x,x," X missing_dir=`cd $ac_aux_dir && pwd` echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 echo "configure:686: checking for working aclocal" >&5 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. if (aclocal --version) > /dev/null 2>&1; then X ACLOCAL=aclocal X echo "$ac_t""found" 1>&6 else X ACLOCAL="$missing_dir/missing aclocal" X echo "$ac_t""missing" 1>&6 fi X echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 echo "configure:698: checking for working autoconf" >&5 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. if (autoconf --version) > /dev/null 2>&1; then X AUTOCONF=autoconf X echo "$ac_t""found" 1>&6 else X AUTOCONF="$missing_dir/missing autoconf" X echo "$ac_t""missing" 1>&6 fi X echo $ac_n "checking for working automake""... $ac_c" 1>&6 echo "configure:710: checking for working automake" >&5 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. if (automake --version) > /dev/null 2>&1; then X AUTOMAKE=automake X echo "$ac_t""found" 1>&6 else X AUTOMAKE="$missing_dir/missing automake" X echo "$ac_t""missing" 1>&6 fi X echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 echo "configure:722: checking for working autoheader" >&5 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. if (autoheader --version) > /dev/null 2>&1; then X AUTOHEADER=autoheader X echo "$ac_t""found" 1>&6 else X AUTOHEADER="$missing_dir/missing autoheader" X echo "$ac_t""missing" 1>&6 fi X echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 echo "configure:734: checking for working makeinfo" >&5 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. if (makeinfo --version) > /dev/null 2>&1; then X MAKEINFO=makeinfo X echo "$ac_t""found" 1>&6 else X MAKEINFO="$missing_dir/missing makeinfo" X echo "$ac_t""missing" 1>&6 fi X echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 echo "configure:746: checking whether ${MAKE-make} sets \${MAKE}" >&5 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftestmake <<\EOF all: X @echo 'ac_maketemp="${MAKE}"' EOF # GNU make sometimes prints "make[1]: Entering...", which would confuse us. eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` if test -n "$ac_maketemp"; then X eval ac_cv_prog_make_${ac_make}_set=yes else X eval ac_cv_prog_make_${ac_make}_set=no fi rm -f conftestmake fi if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then X echo "$ac_t""yes" 1>&6 X SET_MAKE= else X echo "$ac_t""no" 1>&6 X SET_MAKE="MAKE=${MAKE-make}" fi X cat >> confdefs.h <<\EOF #define _GNU_SOURCE 1 EOF X ALL_LINGUAS="de fr it ko nl no pl pt sl sv" X echo $ac_n "checking how to suppress newlines using echo""... $ac_c" 1>&6 echo "configure:779: checking how to suppress newlines using echo" >&5 if eval "test \"`echo '$''{'fp_cv_prog_echo_nonl'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then X if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then X fp_cv_prog_echo_nonl=no X else X fp_cv_prog_echo_nonl=option X fi else X fp_cv_prog_echo_nonl=escape fi X fi X echo "$ac_t""$fp_cv_prog_echo_nonl" 1>&6 case $fp_cv_prog_echo_nonl in X no) ECHO_N= ECHO_C= ;; X option) ECHO_N=-n ECHO_C= ;; X escape) ECHO_N= ECHO_C='\c' ;; esac X test $fp_cv_prog_echo_nonl = no \ X && echo 2>&1 "WARNING: \`echo' not powerful enough for \`make check'" # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:807: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X if test -n "$CC"; then X ac_cv_prog_CC="$CC" # Let the user override the test. else X IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" X for ac_dir in $PATH; do X test -z "$ac_dir" && ac_dir=. X if test -f $ac_dir/$ac_word; then X ac_cv_prog_CC="gcc" X break X fi X done X IFS="$ac_save_ifs" fi fi CC="$ac_cv_prog_CC" if test -n "$CC"; then X echo "$ac_t""$CC" 1>&6 else X echo "$ac_t""no" 1>&6 fi X if test -z "$CC"; then X # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:836: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X if test -n "$CC"; then X ac_cv_prog_CC="$CC" # Let the user override the test. else X IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" X ac_prog_rejected=no X for ac_dir in $PATH; do X test -z "$ac_dir" && ac_dir=. X if test -f $ac_dir/$ac_word; then X if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then X ac_prog_rejected=yes X continue X fi X ac_cv_prog_CC="cc" X break X fi X done X IFS="$ac_save_ifs" if test $ac_prog_rejected = yes; then X # We found a bogon in the path, so make sure we never use it. X set dummy $ac_cv_prog_CC X shift X if test $# -gt 0; then X # We chose a different compiler from the bogus one. X # However, it has the same basename, so the bogon will be chosen X # first if we set CC to just the basename; use the full file name. X shift X set dummy "$ac_dir/$ac_word" "$@" X shift X ac_cv_prog_CC="$@" X fi fi fi fi CC="$ac_cv_prog_CC" if test -n "$CC"; then X echo "$ac_t""$CC" 1>&6 else X echo "$ac_t""no" 1>&6 fi X X test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } fi X echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 echo "configure:884: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 X ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross X cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then X ac_cv_prog_cc_works=yes X # If we can't run a trivial program, we are probably using a cross compiler. X if (./conftest; exit) 2>/dev/null; then X ac_cv_prog_cc_cross=no X else X ac_cv_prog_cc_cross=yes X fi else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X ac_cv_prog_cc_works=no fi rm -fr conftest* X echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 if test $ac_cv_prog_cc_works = no; then X { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 echo "configure:918: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 cross_compiling=$ac_cv_prog_cc_cross X echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 echo "configure:923: checking whether we are using GNU C" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.c <&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then X ac_cv_prog_gcc=yes else X ac_cv_prog_gcc=no fi fi X echo "$ac_t""$ac_cv_prog_gcc" 1>&6 X if test $ac_cv_prog_gcc = yes; then X GCC=yes X ac_test_CFLAGS="${CFLAGS+set}" X ac_save_CFLAGS="$CFLAGS" X CFLAGS= X echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 echo "configure:947: checking whether ${CC-cc} accepts -g" >&5 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X echo 'void f(){}' > conftest.c if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then X ac_cv_prog_cc_g=yes else X ac_cv_prog_cc_g=no fi rm -f conftest* X fi X echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 X if test "$ac_test_CFLAGS" = set; then X CFLAGS="$ac_save_CFLAGS" X elif test $ac_cv_prog_cc_g = yes; then X CFLAGS="-g -O2" X else X CFLAGS="-O2" X fi else X GCC= X test "${CFLAGS+set}" = set || CFLAGS="-g" fi X echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 echo "configure:975: checking how to run the C preprocessor" >&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then X CPP= fi if test -z "$CPP"; then if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X # This must be in double quotes, not single quotes, because CPP may get X # substituted into the Makefile and "${CC-cc}" will confuse make. X CPP="${CC-cc} -E" X # On the NeXT, cc -E runs the code through the compiler's parser, X # not just through cpp. X cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:996: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then X : else X echo "$ac_err" >&5 X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X CPP="${CC-cc} -E -traditional-cpp" X cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:1013: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then X : else X echo "$ac_err" >&5 X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X CPP=/lib/cpp fi rm -f conftest* fi rm -f conftest* X ac_cv_prog_CPP="$CPP" fi X CPP="$ac_cv_prog_CPP" else X ac_cv_prog_CPP="$CPP" fi echo "$ac_t""$CPP" 1>&6 X if test $ac_cv_prog_gcc = yes; then X echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 echo "configure:1037: checking whether ${CC-cc} needs -traditional" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X ac_pattern="Autoconf.*'x'" X cat > conftest.$ac_ext < Autoconf TIOCGETP EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | X egrep "$ac_pattern" >/dev/null 2>&1; then X rm -rf conftest* X ac_cv_prog_gcc_traditional=yes else X rm -rf conftest* X ac_cv_prog_gcc_traditional=no fi rm -f conftest* X X X if test $ac_cv_prog_gcc_traditional = no; then X cat > conftest.$ac_ext < Autoconf TCGETA EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | X egrep "$ac_pattern" >/dev/null 2>&1; then X rm -rf conftest* X ac_cv_prog_gcc_traditional=yes fi rm -f conftest* X X fi fi X echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6 X if test $ac_cv_prog_gcc_traditional = yes; then X CC="$CC -traditional" X fi fi X echo $ac_n "checking for AIX""... $ac_c" 1>&6 echo "configure:1083: checking for AIX" >&5 cat > conftest.$ac_ext <&5 | X egrep "yes" >/dev/null 2>&1; then X rm -rf conftest* X echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF #define _ALL_SOURCE 1 EOF X else X rm -rf conftest* X echo "$ac_t""no" 1>&6 fi rm -f conftest* X X ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6 echo "configure:1108: checking for minix/config.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:1118: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then X rm -rf conftest* X eval "ac_cv_header_$ac_safe=yes" else X echo "$ac_err" >&5 X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X eval "ac_cv_header_$ac_safe=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then X echo "$ac_t""yes" 1>&6 X MINIX=yes else X echo "$ac_t""no" 1>&6 MINIX= fi X if test "$MINIX" = yes; then X cat >> confdefs.h <<\EOF #define _POSIX_SOURCE 1 EOF X X cat >> confdefs.h <<\EOF #define _POSIX_1_SOURCE 2 EOF X X cat >> confdefs.h <<\EOF #define _MINIX 1 EOF X fi X # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:1158: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X if test -n "$RANLIB"; then X ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else X IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" X for ac_dir in $PATH; do X test -z "$ac_dir" && ac_dir=. X if test -f $ac_dir/$ac_word; then X ac_cv_prog_RANLIB="ranlib" X break X fi X done X IFS="$ac_save_ifs" X test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" fi fi RANLIB="$ac_cv_prog_RANLIB" if test -n "$RANLIB"; then X echo "$ac_t""$RANLIB" 1>&6 else X echo "$ac_t""no" 1>&6 fi X for ac_prog in 'bison -y' byacc do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:1189: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X if test -n "$YACC"; then X ac_cv_prog_YACC="$YACC" # Let the user override the test. else X IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" X for ac_dir in $PATH; do X test -z "$ac_dir" && ac_dir=. X if test -f $ac_dir/$ac_word; then X ac_cv_prog_YACC="$ac_prog" X break X fi X done X IFS="$ac_save_ifs" fi fi YACC="$ac_cv_prog_YACC" if test -n "$YACC"; then X echo "$ac_t""$YACC" 1>&6 else X echo "$ac_t""no" 1>&6 fi X test -n "$YACC" && break done test -n "$YACC" || YACC="yacc" X X echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 echo "configure:1220: checking for POSIXized ISC" >&5 if test -d /etc/conf/kconfig.d && X grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 then X echo "$ac_t""yes" 1>&6 X ISC=yes # If later tests want to check for ISC. X cat >> confdefs.h <<\EOF #define _POSIX_SOURCE 1 EOF X X if test "$GCC" = yes; then X CC="$CC -posix" X else X CC="$CC -Xp" X fi else X echo "$ac_t""no" 1>&6 X ISC= fi X X X X echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6 echo "configure:1244: checking for ${CC-cc} option to accept ANSI C" >&5 if eval "test \"`echo '$''{'am_cv_prog_cc_stdc'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X am_cv_prog_cc_stdc=no ac_save_CC="$CC" # Don't try gcc -ansi; that turns off useful extensions and # breaks some systems' header files. # AIX -qlanglvl=ansi # Ultrix and OSF/1 -std1 # HP-UX -Aa -D_HPUX_SOURCE # SVR4 -Xc -D__EXTENSIONS__ for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do X CC="$ac_save_CC $ac_arg" X cat > conftest.$ac_ext < # include #endif X int main() { X int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; ; return 0; } EOF if { (eval echo configure:1278: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then X rm -rf conftest* X am_cv_prog_cc_stdc="$ac_arg"; break else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 fi rm -f conftest* done CC="$ac_save_CC" X fi X echo "$ac_t""$am_cv_prog_cc_stdc" 1>&6 case "x$am_cv_prog_cc_stdc" in X x|xno) ;; X *) CC="$CC $am_cv_prog_cc_stdc" ;; esac X X echo $ac_n "checking for function prototypes""... $ac_c" 1>&6 echo "configure:1299: checking for function prototypes" >&5 if test "$am_cv_prog_cc_stdc" != no; then X echo "$ac_t""yes" 1>&6 X cat >> confdefs.h <<\EOF #define PROTOTYPES 1 EOF X X U= ANSI2KNR= else X echo "$ac_t""no" 1>&6 X U=_ ANSI2KNR=./ansi2knr X # Ensure some checks needed by ansi2knr itself. X echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 echo "configure:1312: checking for ANSI C header files" >&5 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < #include #include #include EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:1325: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then X rm -rf conftest* X ac_cv_header_stdc=yes else X echo "$ac_err" >&5 X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X ac_cv_header_stdc=no fi rm -f conftest* X if test $ac_cv_header_stdc = yes; then X # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat > conftest.$ac_ext < EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | X egrep "memchr" >/dev/null 2>&1; then X : else X rm -rf conftest* X ac_cv_header_stdc=no fi rm -f conftest* X fi X if test $ac_cv_header_stdc = yes; then X # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat > conftest.$ac_ext < EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | X egrep "free" >/dev/null 2>&1; then X : else X rm -rf conftest* X ac_cv_header_stdc=no fi rm -f conftest* X fi X if test $ac_cv_header_stdc = yes; then X # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then X : else X cat > conftest.$ac_ext < #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); exit (0); } X EOF if { (eval echo configure:1392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then X : else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -fr conftest* X ac_cv_header_stdc=no fi rm -fr conftest* fi X fi fi X echo "$ac_t""$ac_cv_header_stdc" 1>&6 if test $ac_cv_header_stdc = yes; then X cat >> confdefs.h <<\EOF #define STDC_HEADERS 1 EOF X fi X X for ac_hdr in string.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:1419: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:1429: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then X rm -rf conftest* X eval "ac_cv_header_$ac_safe=yes" else X echo "$ac_err" >&5 X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X eval "ac_cv_header_$ac_safe=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then X echo "$ac_t""yes" 1>&6 X ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` X cat >> confdefs.h <&6 fi done X fi X echo $ac_n "checking for working const""... $ac_c" 1>&6 echo "configure:1458: checking for working const" >&5 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext <j = 5; } { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ X const int foo = 10; } X ; return 0; } EOF if { (eval echo configure:1512: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then X rm -rf conftest* X ac_cv_c_const=yes else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X ac_cv_c_const=no fi rm -f conftest* fi X echo "$ac_t""$ac_cv_c_const" 1>&6 if test $ac_cv_c_const = no; then X cat >> confdefs.h <<\EOF #define const EOF X fi X echo $ac_n "checking for inline""... $ac_c" 1>&6 echo "configure:1533: checking for inline" >&5 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X ac_cv_c_inline=no for ac_kw in inline __inline__ __inline; do X cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then X rm -rf conftest* X ac_cv_c_inline=$ac_kw; break else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 fi rm -f conftest* done X fi X echo "$ac_t""$ac_cv_c_inline" 1>&6 case "$ac_cv_c_inline" in X inline | yes) ;; X no) cat >> confdefs.h <<\EOF #define inline EOF X ;; X *) cat >> confdefs.h <&6 echo "configure:1573: checking size of unsigned long" >&5 if eval "test \"`echo '$''{'ac_cv_sizeof_unsigned_long'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X if test "$cross_compiling" = yes; then X ac_cv_sizeof_unsigned_long=4 else X cat > conftest.$ac_ext < main() { X FILE *f=fopen("conftestval", "w"); X if (!f) exit(1); X fprintf(f, "%d\n", sizeof(unsigned long)); X exit(0); } EOF if { (eval echo configure:1592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then X ac_cv_sizeof_unsigned_long=`cat conftestval` else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -fr conftest* X ac_cv_sizeof_unsigned_long=0 fi rm -fr conftest* fi X fi echo "$ac_t""$ac_cv_sizeof_unsigned_long" 1>&6 cat >> confdefs.h <&6 echo "configure:1612: checking size of long long" >&5 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X if test "$cross_compiling" = yes; then X ac_cv_sizeof_long_long=0 else X cat > conftest.$ac_ext < main() { X FILE *f=fopen("conftestval", "w"); X if (!f) exit(1); X fprintf(f, "%d\n", sizeof(long long)); X exit(0); } EOF if { (eval echo configure:1631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then X ac_cv_sizeof_long_long=`cat conftestval` else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -fr conftest* X ac_cv_sizeof_long_long=0 fi rm -fr conftest* fi X fi echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6 cat >> confdefs.h <&6 echo "configure:1659: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:1669: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then X rm -rf conftest* X eval "ac_cv_header_$ac_safe=yes" else X echo "$ac_err" >&5 X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X eval "ac_cv_header_$ac_safe=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then X echo "$ac_t""yes" 1>&6 X ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` X cat >> confdefs.h <&6 fi done X X # It seems that that many machines where seems to be # broken just require something like -D_XXX_SOURCE, where XXX might # be POSIX, POSIX_C, ALL, HPUX or whatever, depending on the machine. X echo $ac_n "checking for utime.h""... $ac_c" 1>&6 echo "configure:1701: checking for utime.h" >&5 if eval "test \"`echo '$''{'tar_cv_header_utime_h'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < #include int main() { struct utimbuf foo ; return 0; } EOF if { (eval echo configure:1715: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then X rm -rf conftest* X tar_cv_header_utime_h=yes else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X tar_cv_header_utime_h=no fi rm -f conftest* fi X echo "$ac_t""$tar_cv_header_utime_h" 1>&6 test $tar_cv_header_utime_h = yes && cat >> confdefs.h <<\EOF #define HAVE_UTIME_H 1 EOF X X if test $ac_cv_header_sys_mtio_h = yes; then X echo $ac_n "checking for remote tape header files""... $ac_c" 1>&6 echo "configure:1735: checking for remote tape header files" >&5 if eval "test \"`echo '$''{'tar_cv_header_rmt'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < #endif #include EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:1749: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then X rm -rf conftest* X tar_cv_header_rmt=yes else X echo "$ac_err" >&5 X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X tar_cv_header_rmt=no fi rm -f conftest* fi X echo "$ac_t""$tar_cv_header_rmt" 1>&6 X test $tar_cv_header_rmt = yes && RMT=rmt X fi X echo $ac_n "checking for getgrgid declaration""... $ac_c" 1>&6 echo "configure:1770: checking for getgrgid declaration" >&5 if eval "test \"`echo '$''{'tar_cv_header_getgrgid'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | X egrep "getgrgid" >/dev/null 2>&1; then X rm -rf conftest* X tar_cv_header_getgrgid=yes else X rm -rf conftest* X tar_cv_header_getgrgid=no fi rm -f conftest* X fi X echo "$ac_t""$tar_cv_header_getgrgid" 1>&6 test $tar_cv_header_getgrgid = yes && cat >> confdefs.h <<\EOF #define HAVE_GETGRGID 1 EOF X X echo $ac_n "checking for getpwuid declaration""... $ac_c" 1>&6 echo "configure:1798: checking for getpwuid declaration" >&5 if eval "test \"`echo '$''{'tar_cv_header_getpwuid'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | X egrep "getpwuid" >/dev/null 2>&1; then X rm -rf conftest* X tar_cv_header_getpwuid=yes else X rm -rf conftest* X tar_cv_header_getpwuid=no fi rm -f conftest* X fi X echo "$ac_t""$tar_cv_header_getpwuid" 1>&6 test $tar_cv_header_getpwuid = yes && cat >> confdefs.h <<\EOF #define HAVE_GETPWUID 1 EOF X X echo $ac_n "checking which ioctl field to test for reversed bytes""... $ac_c" 1>&6 echo "configure:1826: checking which ioctl field to test for reversed bytes" >&5 if eval "test \"`echo '$''{'tar_cv_header_mtio_check_field'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | X egrep "mt_model" >/dev/null 2>&1; then X rm -rf conftest* X tar_cv_header_mtio_check_field=mt_model else X rm -rf conftest* X tar_cv_header_mtio_check_field=mt_type fi rm -f conftest* X fi X echo "$ac_t""$tar_cv_header_mtio_check_field" 1>&6 cat >> confdefs.h <&6 echo "configure:1858: checking for $ac_hdr that defines DIR" >&5 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < #include <$ac_hdr> int main() { DIR *dirp = 0; ; return 0; } EOF if { (eval echo configure:1871: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then X rm -rf conftest* X eval "ac_cv_header_dirent_$ac_safe=yes" else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X eval "ac_cv_header_dirent_$ac_safe=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then X echo "$ac_t""yes" 1>&6 X ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` X cat >> confdefs.h <&6 fi done # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. if test $ac_header_dirent = dirent.h; then echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 echo "configure:1896: checking for opendir in -ldir" >&5 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X ac_save_LIBS="$LIBS" LIBS="-ldir $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then X rm -rf conftest* X eval "ac_cv_lib_$ac_lib_var=yes" else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* LIBS="$ac_save_LIBS" X fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then X echo "$ac_t""yes" 1>&6 X LIBS="$LIBS -ldir" else X echo "$ac_t""no" 1>&6 fi X else echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 echo "configure:1937: checking for opendir in -lx" >&5 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X ac_save_LIBS="$LIBS" LIBS="-lx $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then X rm -rf conftest* X eval "ac_cv_lib_$ac_lib_var=yes" else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* LIBS="$ac_save_LIBS" X fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then X echo "$ac_t""yes" 1>&6 X LIBS="$LIBS -lx" else X echo "$ac_t""no" 1>&6 fi X fi X echo $ac_n "checking whether sys/types.h defines makedev""... $ac_c" 1>&6 echo "configure:1979: checking whether sys/types.h defines makedev" >&5 if eval "test \"`echo '$''{'ac_cv_header_sys_types_h_makedev'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < int main() { return makedev(0, 0); ; return 0; } EOF if { (eval echo configure:1991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then X rm -rf conftest* X ac_cv_header_sys_types_h_makedev=yes else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X ac_cv_header_sys_types_h_makedev=no fi rm -f conftest* X fi X echo "$ac_t""$ac_cv_header_sys_types_h_makedev" 1>&6 X if test $ac_cv_header_sys_types_h_makedev = no; then ac_safe=`echo "sys/mkdev.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for sys/mkdev.h""... $ac_c" 1>&6 echo "configure:2009: checking for sys/mkdev.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:2019: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then X rm -rf conftest* X eval "ac_cv_header_$ac_safe=yes" else X echo "$ac_err" >&5 X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X eval "ac_cv_header_$ac_safe=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then X echo "$ac_t""yes" 1>&6 X cat >> confdefs.h <<\EOF #define MAJOR_IN_MKDEV 1 EOF X else X echo "$ac_t""no" 1>&6 fi X X X if test $ac_cv_header_sys_mkdev_h = no; then ac_safe=`echo "sys/sysmacros.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for sys/sysmacros.h""... $ac_c" 1>&6 echo "configure:2047: checking for sys/sysmacros.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:2057: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then X rm -rf conftest* X eval "ac_cv_header_$ac_safe=yes" else X echo "$ac_err" >&5 X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X eval "ac_cv_header_$ac_safe=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then X echo "$ac_t""yes" 1>&6 X cat >> confdefs.h <<\EOF #define MAJOR_IN_SYSMACROS 1 EOF X else X echo "$ac_t""no" 1>&6 fi X X fi fi X echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&6 echo "configure:2085: checking whether stat file-mode macros are broken" >&5 if eval "test \"`echo '$''{'ac_cv_header_stat_broken'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < #include X #if defined(S_ISBLK) && defined(S_IFDIR) # if S_ISBLK (S_IFDIR) You lose. # endif #endif X #if defined(S_ISBLK) && defined(S_IFCHR) # if S_ISBLK (S_IFCHR) You lose. # endif #endif X #if defined(S_ISLNK) && defined(S_IFREG) # if S_ISLNK (S_IFREG) You lose. # endif #endif X #if defined(S_ISSOCK) && defined(S_IFREG) # if S_ISSOCK (S_IFREG) You lose. # endif #endif X EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | X egrep "You lose" >/dev/null 2>&1; then X rm -rf conftest* X ac_cv_header_stat_broken=yes else X rm -rf conftest* X ac_cv_header_stat_broken=no fi rm -f conftest* X fi X echo "$ac_t""$ac_cv_header_stat_broken" 1>&6 if test $ac_cv_header_stat_broken = yes; then X cat >> confdefs.h <<\EOF #define STAT_MACROS_BROKEN 1 EOF X fi X echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 echo "configure:2141: checking for ANSI C header files" >&5 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < #include #include #include EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:2154: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then X rm -rf conftest* X ac_cv_header_stdc=yes else X echo "$ac_err" >&5 X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X ac_cv_header_stdc=no fi rm -f conftest* X if test $ac_cv_header_stdc = yes; then X # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat > conftest.$ac_ext < EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | X egrep "memchr" >/dev/null 2>&1; then X : else X rm -rf conftest* X ac_cv_header_stdc=no fi rm -f conftest* X fi X if test $ac_cv_header_stdc = yes; then X # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat > conftest.$ac_ext < EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | X egrep "free" >/dev/null 2>&1; then X : else X rm -rf conftest* X ac_cv_header_stdc=no fi rm -f conftest* X fi X if test $ac_cv_header_stdc = yes; then X # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then X : else X cat > conftest.$ac_ext < #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); exit (0); } X EOF if { (eval echo configure:2221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then X : else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -fr conftest* X ac_cv_header_stdc=no fi rm -fr conftest* fi X fi fi X echo "$ac_t""$ac_cv_header_stdc" 1>&6 if test $ac_cv_header_stdc = yes; then X cat >> confdefs.h <<\EOF #define STDC_HEADERS 1 EOF X fi X echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 echo "configure:2245: checking whether time.h and sys/time.h may both be included" >&5 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < #include #include int main() { struct tm *tp; ; return 0; } EOF if { (eval echo configure:2259: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then X rm -rf conftest* X ac_cv_header_time=yes else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X ac_cv_header_time=no fi rm -f conftest* fi X echo "$ac_t""$ac_cv_header_time" 1>&6 if test $ac_cv_header_time = yes; then X cat >> confdefs.h <<\EOF #define TIME_WITH_SYS_TIME 1 EOF X fi X echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6 echo "configure:2280: checking for st_blksize in struct stat" >&5 if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < #include int main() { struct stat s; s.st_blksize; ; return 0; } EOF if { (eval echo configure:2293: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then X rm -rf conftest* X ac_cv_struct_st_blksize=yes else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X ac_cv_struct_st_blksize=no fi rm -f conftest* fi X echo "$ac_t""$ac_cv_struct_st_blksize" 1>&6 if test $ac_cv_struct_st_blksize = yes; then X cat >> confdefs.h <<\EOF #define HAVE_ST_BLKSIZE 1 EOF X fi X echo $ac_n "checking for st_blocks in struct stat""... $ac_c" 1>&6 echo "configure:2314: checking for st_blocks in struct stat" >&5 if eval "test \"`echo '$''{'ac_cv_struct_st_blocks'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < #include int main() { struct stat s; s.st_blocks; ; return 0; } EOF if { (eval echo configure:2327: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then X rm -rf conftest* X ac_cv_struct_st_blocks=yes else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X ac_cv_struct_st_blocks=no fi rm -f conftest* fi X echo "$ac_t""$ac_cv_struct_st_blocks" 1>&6 if test $ac_cv_struct_st_blocks = yes; then X cat >> confdefs.h <<\EOF #define HAVE_ST_BLOCKS 1 EOF X else X LIBOBJS="$LIBOBJS fileblocks.o" fi X echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 echo "configure:2350: checking return type of signal handlers" >&5 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < #include #ifdef signal #undef signal #endif #ifdef __cplusplus extern "C" void (*signal (int, void (*)(int)))(int); #else void (*signal ()) (); #endif X int main() { int i; ; return 0; } EOF if { (eval echo configure:2372: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then X rm -rf conftest* X ac_cv_type_signal=void else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X ac_cv_type_signal=int fi rm -f conftest* fi X echo "$ac_t""$ac_cv_type_signal" 1>&6 cat >> confdefs.h <&6 echo "configure:2391: checking for size_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < #if STDC_HEADERS #include #include #endif EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | X egrep "size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then X rm -rf conftest* X ac_cv_type_size_t=yes else X rm -rf conftest* X ac_cv_type_size_t=no fi rm -f conftest* X fi echo "$ac_t""$ac_cv_type_size_t" 1>&6 if test $ac_cv_type_size_t = no; then X cat >> confdefs.h <<\EOF #define size_t unsigned EOF X fi X echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 echo "configure:2424: checking for uid_t in sys/types.h" >&5 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | X egrep "uid_t" >/dev/null 2>&1; then X rm -rf conftest* X ac_cv_type_uid_t=yes else X rm -rf conftest* X ac_cv_type_uid_t=no fi rm -f conftest* X fi X echo "$ac_t""$ac_cv_type_uid_t" 1>&6 if test $ac_cv_type_uid_t = no; then X cat >> confdefs.h <<\EOF #define uid_t int EOF X X cat >> confdefs.h <<\EOF #define gid_t int EOF X fi X X for ac_func in fsync ftime getcwd isascii lchown mkfifo nap napms poll \ select strerror strstr usleep do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:2462: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 X builtin and then its argument prototype would still apply. */ char $ac_func(); X int main() { X /* The GNU C library defines this for functions which it implements X to always fail with ENOSYS. Some functions are actually named X something starting with __ and the normal name is an alias. */ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else $ac_func(); #endif X ; return 0; } EOF if { (eval echo configure:2490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then X rm -rf conftest* X eval "ac_cv_func_$ac_func=yes" else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X eval "ac_cv_func_$ac_func=no" fi rm -f conftest* fi X if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then X echo "$ac_t""yes" 1>&6 X ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` X cat >> confdefs.h <&6 fi done X X echo $ac_n "checking for mknod""... $ac_c" 1>&6 echo "configure:2516: checking for mknod" >&5 if eval "test \"`echo '$''{'tar_cv_func_mknod'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < #include int main() { mknod (0, 0, 0) ; return 0; } EOF if { (eval echo configure:2530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then X rm -rf conftest* X tar_cv_func_mknod=yes else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X tar_cv_func_mknod=no fi rm -f conftest* fi X echo "$ac_t""$tar_cv_func_mknod" 1>&6 test $tar_cv_func_mknod = yes && cat >> confdefs.h <<\EOF #define HAVE_MKNOD 1 EOF X X # Whenever both -lsocket and -lnsl are needed, it seems to be always the # case that gethostbyname requires -lnsl. So, check -lnsl first, for it # to be in LIBS before the setsockopt checks are performed. *However*, # on SINIX-N 5.43, this is false, and gethostent seems to be a better # candidate. So, let's use it below instead of gethostbyname, and see. X echo $ac_n "checking for gethostent""... $ac_c" 1>&6 echo "configure:2555: checking for gethostent" >&5 if eval "test \"`echo '$''{'ac_cv_func_gethostent'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 X builtin and then its argument prototype would still apply. */ char gethostent(); X int main() { X /* The GNU C library defines this for functions which it implements X to always fail with ENOSYS. Some functions are actually named X something starting with __ and the normal name is an alias. */ #if defined (__stub_gethostent) || defined (__stub___gethostent) choke me #else gethostent(); #endif X ; return 0; } EOF if { (eval echo configure:2583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then X rm -rf conftest* X eval "ac_cv_func_gethostent=yes" else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X eval "ac_cv_func_gethostent=no" fi rm -f conftest* fi X if eval "test \"`echo '$ac_cv_func_'gethostent`\" = yes"; then X echo "$ac_t""yes" 1>&6 X : else X echo "$ac_t""no" 1>&6 fi X if test $ac_cv_func_gethostent = no; then X echo $ac_n "checking for gethostent in -lnsl""... $ac_c" 1>&6 echo "configure:2604: checking for gethostent in -lnsl" >&5 ac_lib_var=`echo nsl'_'gethostent | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X ac_save_LIBS="$LIBS" LIBS="-lnsl $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then X rm -rf conftest* X eval "ac_cv_lib_$ac_lib_var=yes" else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* LIBS="$ac_save_LIBS" X fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then X echo "$ac_t""yes" 1>&6 X ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \ X -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` X cat >> confdefs.h <&6 fi X fi echo $ac_n "checking for setsockopt""... $ac_c" 1>&6 echo "configure:2652: checking for setsockopt" >&5 if eval "test \"`echo '$''{'ac_cv_func_setsockopt'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 X builtin and then its argument prototype would still apply. */ char setsockopt(); X int main() { X /* The GNU C library defines this for functions which it implements X to always fail with ENOSYS. Some functions are actually named X something starting with __ and the normal name is an alias. */ #if defined (__stub_setsockopt) || defined (__stub___setsockopt) choke me #else setsockopt(); #endif X ; return 0; } EOF if { (eval echo configure:2680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then X rm -rf conftest* X eval "ac_cv_func_setsockopt=yes" else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X eval "ac_cv_func_setsockopt=no" fi rm -f conftest* fi X if eval "test \"`echo '$ac_cv_func_'setsockopt`\" = yes"; then X echo "$ac_t""yes" 1>&6 X : else X echo "$ac_t""no" 1>&6 fi X if test $ac_cv_func_setsockopt = no; then X echo $ac_n "checking for setsockopt in -lsocket""... $ac_c" 1>&6 echo "configure:2701: checking for setsockopt in -lsocket" >&5 ac_lib_var=`echo socket'_'setsockopt | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X ac_save_LIBS="$LIBS" LIBS="-lsocket $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then X rm -rf conftest* X eval "ac_cv_lib_$ac_lib_var=yes" else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* LIBS="$ac_save_LIBS" X fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then X echo "$ac_t""yes" 1>&6 X ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \ X -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` X cat >> confdefs.h <&6 fi X fi X # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works # for constant arguments. Useless! echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 echo "configure:2752: checking for working alloca.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < int main() { char *p = alloca(2 * sizeof(int)); ; return 0; } EOF if { (eval echo configure:2764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then X rm -rf conftest* X ac_cv_header_alloca_h=yes else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X ac_cv_header_alloca_h=no fi rm -f conftest* fi X echo "$ac_t""$ac_cv_header_alloca_h" 1>&6 if test $ac_cv_header_alloca_h = yes; then X cat >> confdefs.h <<\EOF #define HAVE_ALLOCA_H 1 EOF X fi X echo $ac_n "checking for alloca""... $ac_c" 1>&6 echo "configure:2785: checking for alloca" >&5 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < # else # ifdef _AIX X #pragma alloca # else # ifndef alloca /* predefined by HP cc +Olibcalls */ char *alloca (); # endif # endif # endif #endif X int main() { char *p = (char *) alloca(1); ; return 0; } EOF if { (eval echo configure:2813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then X rm -rf conftest* X ac_cv_func_alloca_works=yes else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X ac_cv_func_alloca_works=no fi rm -f conftest* fi X echo "$ac_t""$ac_cv_func_alloca_works" 1>&6 if test $ac_cv_func_alloca_works = yes; then X cat >> confdefs.h <<\EOF #define HAVE_ALLOCA 1 EOF X fi X if test $ac_cv_func_alloca_works = no; then X # The SVR3 libPW and SVR4 libucb both contain incompatible functions X # that cause trouble. Some versions do not even contain alloca or X # contain a buggy version. If you still want to use their alloca, X # use ar to extract alloca.o from them instead of compiling alloca.c. X ALLOCA=alloca.o X cat >> confdefs.h <<\EOF #define C_ALLOCA 1 EOF X X echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 echo "configure:2845: checking whether alloca needs Cray hooks" >&5 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext <&5 | X egrep "webecray" >/dev/null 2>&1; then X rm -rf conftest* X ac_cv_os_cray=yes else X rm -rf conftest* X ac_cv_os_cray=no fi rm -f conftest* X fi X echo "$ac_t""$ac_cv_os_cray" 1>&6 if test $ac_cv_os_cray = yes; then for ac_func in _getb67 GETB67 getb67; do X echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:2875: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 X builtin and then its argument prototype would still apply. */ char $ac_func(); X int main() { X /* The GNU C library defines this for functions which it implements X to always fail with ENOSYS. Some functions are actually named X something starting with __ and the normal name is an alias. */ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else $ac_func(); #endif X ; return 0; } EOF if { (eval echo configure:2903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then X rm -rf conftest* X eval "ac_cv_func_$ac_func=yes" else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X eval "ac_cv_func_$ac_func=no" fi rm -f conftest* fi X if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then X echo "$ac_t""yes" 1>&6 X cat >> confdefs.h <&6 fi X done fi X echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 echo "configure:2930: checking stack direction for C alloca" >&5 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X if test "$cross_compiling" = yes; then X ac_cv_c_stack_direction=0 else X cat > conftest.$ac_ext < addr) ? 1 : -1; } main () { X exit (find_stack_direction() < 0); } EOF if { (eval echo configure:2957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then X ac_cv_c_stack_direction=1 else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -fr conftest* X ac_cv_c_stack_direction=-1 fi rm -fr conftest* fi X fi X echo "$ac_t""$ac_cv_c_stack_direction" 1>&6 cat >> confdefs.h <&6 echo "configure:2979: checking for working fnmatch" >&5 if eval "test \"`echo '$''{'ac_cv_func_fnmatch_works'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X # Some versions of Solaris or SCO have a broken fnmatch function. # So we run a test program. If we are cross-compiling, take no chance. # Thanks to John Oleynick and Franc,ois Pinard for this test. if test "$cross_compiling" = yes; then X ac_cv_func_fnmatch_works=no else X cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then X ac_cv_func_fnmatch_works=yes else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -fr conftest* X ac_cv_func_fnmatch_works=no fi rm -fr conftest* fi X fi X echo "$ac_t""$ac_cv_func_fnmatch_works" 1>&6 if test $ac_cv_func_fnmatch_works = yes; then X cat >> confdefs.h <<\EOF #define HAVE_FNMATCH 1 EOF X fi X test $ac_cv_func_fnmatch_works = yes || LIBOBJS="$LIBOBJS fnmatch.o" echo $ac_n "checking for vprintf""... $ac_c" 1>&6 echo "configure:3018: checking for vprintf" >&5 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 X builtin and then its argument prototype would still apply. */ char vprintf(); X int main() { X /* The GNU C library defines this for functions which it implements X to always fail with ENOSYS. Some functions are actually named X something starting with __ and the normal name is an alias. */ #if defined (__stub_vprintf) || defined (__stub___vprintf) choke me #else vprintf(); #endif X ; return 0; } EOF if { (eval echo configure:3046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then X rm -rf conftest* X eval "ac_cv_func_vprintf=yes" else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X eval "ac_cv_func_vprintf=no" fi rm -f conftest* fi X if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then X echo "$ac_t""yes" 1>&6 X cat >> confdefs.h <<\EOF #define HAVE_VPRINTF 1 EOF X else X echo "$ac_t""no" 1>&6 fi X if test "$ac_cv_func_vprintf" != yes; then echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 echo "configure:3070: checking for _doprnt" >&5 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 X builtin and then its argument prototype would still apply. */ char _doprnt(); X int main() { X /* The GNU C library defines this for functions which it implements X to always fail with ENOSYS. Some functions are actually named X something starting with __ and the normal name is an alias. */ #if defined (__stub__doprnt) || defined (__stub____doprnt) choke me #else _doprnt(); #endif X ; return 0; } EOF if { (eval echo configure:3098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then X rm -rf conftest* X eval "ac_cv_func__doprnt=yes" else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X eval "ac_cv_func__doprnt=no" fi rm -f conftest* fi X if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then X echo "$ac_t""yes" 1>&6 X cat >> confdefs.h <<\EOF #define HAVE_DOPRNT 1 EOF X else X echo "$ac_t""no" 1>&6 fi X fi X for ac_func in basename dirname execlp ftruncate memset mkdir rename rmdir do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:3125: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 X builtin and then its argument prototype would still apply. */ char $ac_func(); X int main() { X /* The GNU C library defines this for functions which it implements X to always fail with ENOSYS. Some functions are actually named X something starting with __ and the normal name is an alias. */ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else $ac_func(); #endif X ; return 0; } EOF if { (eval echo configure:3153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then X rm -rf conftest* X eval "ac_cv_func_$ac_func=yes" else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X eval "ac_cv_func_$ac_func=no" fi rm -f conftest* fi X if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then X echo "$ac_t""yes" 1>&6 X ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` X cat >> confdefs.h <&6 LIBOBJS="$LIBOBJS ${ac_func}.o" fi done X X test "$ac_cv_func_strstr" = yes || LIBOBJS="$LIBOBJS strstr.o" X # The 3-argument open happens to go along with the O_* defines, which # are easier to check for. X echo $ac_n "checking for 3-argument open""... $ac_c" 1>&6 echo "configure:3185: checking for 3-argument open" >&5 if eval "test \"`echo '$''{'tar_cv_func_open3'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < #else # include #endif int main() { int x = O_RDONLY ; return 0; } EOF if { (eval echo configure:3202: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then X rm -rf conftest* X tar_cv_func_open3=yes else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X tar_cv_func_open3=no fi rm -f conftest* fi X echo "$ac_t""$tar_cv_func_open3" 1>&6 if test $tar_cv_func_open3 = no; then X cat >> confdefs.h <<\EOF #define EMUL_OPEN3 1 EOF X fi X # `union wait' is preferrably avoided. We merely assume below # that if `int pid;' fails, `union wait pid;' would have worked. # Directly trying `union wait pid;' is seeking for trouble, as # some POSIX systems are offering compatibility hacks generating # ugly diagnostics. Also, on some systems, WEXITSTATUS exists, # but fails when called on `union wait' variables. X echo $ac_n "checking for union wait""... $ac_c" 1>&6 echo "configure:3230: checking for union wait" >&5 if eval "test \"`echo '$''{'tar_cv_header_union_wait'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < #if HAVE_SYS_WAIT_H # include #endif int main() { int status; int pid; pid = wait (&status); ; return 0; } EOF if { (eval echo configure:3246: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then X rm -rf conftest* X tar_cv_header_union_wait=no else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X tar_cv_header_union_wait=yes fi rm -f conftest* fi X echo "$ac_t""$tar_cv_header_union_wait" 1>&6 test $tar_cv_header_union_wait = yes && cat >> confdefs.h <<\EOF #define HAVE_UNION_WAIT 1 EOF X X echo $ac_n "checking for remote shell""... $ac_c" 1>&6 echo "configure:3265: checking for remote shell" >&5 if eval "test \"`echo '$''{'tar_cv_path_RSH'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X if test -n "$RSH"; then X tar_cv_path_RSH=$RSH X else X tar_cv_path_RSH=no X for ac_file in /usr/ucb/rsh /usr/bin/remsh /usr/bin/rsh /usr/bsd/rsh \ X /usr/bin/nsh /usr/bin/rcmd X do X if test -f $ac_file; then X tar_cv_path_RSH=$ac_file X break X fi X done X fi fi X echo "$ac_t""$tar_cv_path_RSH" 1>&6 if test $tar_cv_path_RSH = no; then X for ac_hdr in netdb.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:3290: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:3300: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then X rm -rf conftest* X eval "ac_cv_header_$ac_safe=yes" else X echo "$ac_err" >&5 X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X eval "ac_cv_header_$ac_safe=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then X echo "$ac_t""yes" 1>&6 X ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` X cat >> confdefs.h <&6 fi done X else X cat >> confdefs.h <&6 echo "configure:3334: checking for default archive" >&5 X if test -z "$DEFAULT_ARCHIVE"; then X DEFAULT_ARCHIVE=- else X if test -z "`ls $DEFAULT_ARCHIVE 2>/dev/null`"; then X echo "configure: warning: DEFAULT_ARCHIVE \`$DEFAULT_ARCHIVE' not found on this system" 1>&2 X fi X # FIXME: Look for DEFTAPE in . X # FIXME: Let DEVICE_PREFIX be configured from the environment. X # FIXME: Rearrange, here. X case $DEFAULT_ARCHIVE in X *[0-7][lmh]) X device_prefix=`echo $DEFAULT_ARCHIVE | sed 's/[0-7][lmh]$//'` X cat >> confdefs.h <> confdefs.h <<\EOF #define DENSITY_LETTER 1 EOF X X ;; X *[0-7]) X device_prefix=`echo $DEFAULT_ARCHIVE | sed 's/[0-7]$//'` X cat >> confdefs.h <> confdefs.h <&6 X echo $ac_n "checking for default blocking""... $ac_c" 1>&6 echo "configure:3373: checking for default blocking" >&5 DEFAULT_BLOCKING=${DEFAULT_BLOCKING-20} cat >> confdefs.h <&6 X echo $ac_n "checking if included GNU malloc is wanted""... $ac_c" 1>&6 echo "configure:3382: checking if included GNU malloc is wanted" >&5 # Check whether --with-included-malloc or --without-included-malloc was given. if test "${with_included_malloc+set}" = set; then X withval="$with_included_malloc" X : else X if test $cross_compiling = yes; then X withval=yes else X case `uname -s 2> /dev/null` in X HP-UX | SunOS | IRIX* ) withval=yes ;; X *) withval=no ;; X esac fi fi X test "$withval" = yes && LIBOBJS="$LIBOBJS gmalloc.o" echo "$ac_t""$withval" 1>&6 X echo $ac_n "checking if malloc debugging is wanted""... $ac_c" 1>&6 echo "configure:3402: checking if malloc debugging is wanted" >&5 # Check whether --with-dmalloc or --without-dmalloc was given. if test "${with_dmalloc+set}" = set; then X withval="$with_dmalloc" X if test "$withval" = yes; then X echo "$ac_t""yes" 1>&6 X cat >> confdefs.h <<\EOF #define WITH_DMALLOC 1 EOF X X LIBS="$LIBS -ldmalloc" X LDFLAGS="$LDFLAGS -g" else X echo "$ac_t""no" 1>&6 fi else X echo "$ac_t""no" 1>&6 fi X X X echo $ac_n "checking for off_t""... $ac_c" 1>&6 echo "configure:3424: checking for off_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < #if STDC_HEADERS #include #include #endif EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | X egrep "off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then X rm -rf conftest* X ac_cv_type_off_t=yes else X rm -rf conftest* X ac_cv_type_off_t=no fi rm -f conftest* X fi echo "$ac_t""$ac_cv_type_off_t" 1>&6 if test $ac_cv_type_off_t = no; then X cat >> confdefs.h <<\EOF #define off_t long EOF X fi X for ac_hdr in unistd.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:3460: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:3470: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then X rm -rf conftest* X eval "ac_cv_header_$ac_safe=yes" else X echo "$ac_err" >&5 X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X eval "ac_cv_header_$ac_safe=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then X echo "$ac_t""yes" 1>&6 X ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` X cat >> confdefs.h <&6 fi done X for ac_func in getpagesize do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:3499: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 X builtin and then its argument prototype would still apply. */ char $ac_func(); X int main() { X /* The GNU C library defines this for functions which it implements X to always fail with ENOSYS. Some functions are actually named X something starting with __ and the normal name is an alias. */ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else $ac_func(); #endif X ; return 0; } EOF if { (eval echo configure:3527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then X rm -rf conftest* X eval "ac_cv_func_$ac_func=yes" else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X eval "ac_cv_func_$ac_func=no" fi rm -f conftest* fi X if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then X echo "$ac_t""yes" 1>&6 X ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` X cat >> confdefs.h <&6 fi done X echo $ac_n "checking for working mmap""... $ac_c" 1>&6 echo "configure:3552: checking for working mmap" >&5 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X if test "$cross_compiling" = yes; then X ac_cv_func_mmap_fixed_mapped=no else X cat > conftest.$ac_ext < #include #include X /* This mess was copied from the GNU getpagesize.h. */ #ifndef HAVE_GETPAGESIZE # ifdef HAVE_UNISTD_H # include # endif X /* Assume that all systems that can run configure have sys/param.h. */ # ifndef HAVE_SYS_PARAM_H # define HAVE_SYS_PARAM_H 1 # endif X # ifdef _SC_PAGESIZE # define getpagesize() sysconf(_SC_PAGESIZE) # else /* no _SC_PAGESIZE */ # ifdef HAVE_SYS_PARAM_H # include # ifdef EXEC_PAGESIZE # define getpagesize() EXEC_PAGESIZE # else /* no EXEC_PAGESIZE */ # ifdef NBPG # define getpagesize() NBPG * CLSIZE # ifndef CLSIZE # define CLSIZE 1 # endif /* no CLSIZE */ # else /* no NBPG */ # ifdef NBPC # define getpagesize() NBPC # else /* no NBPC */ # ifdef PAGESIZE # define getpagesize() PAGESIZE # endif /* PAGESIZE */ # endif /* no NBPC */ # endif /* no NBPG */ # endif /* no EXEC_PAGESIZE */ # else /* no HAVE_SYS_PARAM_H */ # define getpagesize() 8192 /* punt totally */ # endif /* no HAVE_SYS_PARAM_H */ # endif /* no _SC_PAGESIZE */ X #endif /* no HAVE_GETPAGESIZE */ X #ifdef __cplusplus extern "C" { void *malloc(unsigned); } #else char *malloc(); #endif X int main() { X char *data, *data2, *data3; X int i, pagesize; X int fd; X X pagesize = getpagesize(); X X /* X * First, make a file with some known garbage in it. X */ X data = malloc(pagesize); X if (!data) X exit(1); X for (i = 0; i < pagesize; ++i) X *(data + i) = rand(); X umask(0); X fd = creat("conftestmmap", 0600); X if (fd < 0) X exit(1); X if (write(fd, data, pagesize) != pagesize) X exit(1); X close(fd); X X /* X * Next, try to mmap the file at a fixed address which X * already has something else allocated at it. If we can, X * also make sure that we see the same garbage. X */ X fd = open("conftestmmap", O_RDWR); X if (fd < 0) X exit(1); X data2 = malloc(2 * pagesize); X if (!data2) X exit(1); X data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1); X if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE, X MAP_PRIVATE | MAP_FIXED, fd, 0L)) X exit(1); X for (i = 0; i < pagesize; ++i) X if (*(data + i) != *(data2 + i)) X exit(1); X X /* X * Finally, make sure that changes to the mapped area X * do not percolate back to the file as seen by read(). X * (This is a bug on some variants of i386 svr4.0.) X */ X for (i = 0; i < pagesize; ++i) X *(data2 + i) = *(data2 + i) + 1; X data3 = malloc(pagesize); X if (!data3) X exit(1); X if (read(fd, data3, pagesize) != pagesize) X exit(1); X for (i = 0; i < pagesize; ++i) X if (*(data + i) != *(data3 + i)) X exit(1); X close(fd); X unlink("conftestmmap"); X exit(0); } X EOF if { (eval echo configure:3700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then X ac_cv_func_mmap_fixed_mapped=yes else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -fr conftest* X ac_cv_func_mmap_fixed_mapped=no fi rm -fr conftest* fi X fi X echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6 if test $ac_cv_func_mmap_fixed_mapped = yes; then X cat >> confdefs.h <<\EOF #define HAVE_MMAP 1 EOF X fi X X X for ac_hdr in argz.h limits.h locale.h nl_types.h malloc.h string.h \ unistd.h values.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:3728: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:3738: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then X rm -rf conftest* X eval "ac_cv_header_$ac_safe=yes" else X echo "$ac_err" >&5 X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X eval "ac_cv_header_$ac_safe=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then X echo "$ac_t""yes" 1>&6 X ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` X cat >> confdefs.h <&6 fi done X X for ac_func in getcwd munmap putenv setenv setlocale strchr strcasecmp \ __argz_count __argz_stringify __argz_next do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:3768: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 X builtin and then its argument prototype would still apply. */ char $ac_func(); X int main() { X /* The GNU C library defines this for functions which it implements X to always fail with ENOSYS. Some functions are actually named X something starting with __ and the normal name is an alias. */ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else $ac_func(); #endif X ; return 0; } EOF if { (eval echo configure:3796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then X rm -rf conftest* X eval "ac_cv_func_$ac_func=yes" else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X eval "ac_cv_func_$ac_func=no" fi rm -f conftest* fi X if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then X echo "$ac_t""yes" 1>&6 X ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` X cat >> confdefs.h <&6 fi done X X X if test "${ac_cv_func_stpcpy+set}" != "set"; then X for ac_func in stpcpy do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:3825: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 X builtin and then its argument prototype would still apply. */ char $ac_func(); X int main() { X /* The GNU C library defines this for functions which it implements X to always fail with ENOSYS. Some functions are actually named X something starting with __ and the normal name is an alias. */ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else $ac_func(); #endif X ; return 0; } EOF if { (eval echo configure:3853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then X rm -rf conftest* X eval "ac_cv_func_$ac_func=yes" else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X eval "ac_cv_func_$ac_func=no" fi rm -f conftest* fi X if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then X echo "$ac_t""yes" 1>&6 X ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` X cat >> confdefs.h <&6 fi done X X fi X if test "${ac_cv_func_stpcpy}" = "yes"; then X cat >> confdefs.h <<\EOF #define HAVE_STPCPY 1 EOF X X fi X X if test $ac_cv_header_locale_h = yes; then X echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6 echo "configure:3887: checking for LC_MESSAGES" >&5 if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < int main() { return LC_MESSAGES ; return 0; } EOF if { (eval echo configure:3899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then X rm -rf conftest* X am_cv_val_LC_MESSAGES=yes else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X am_cv_val_LC_MESSAGES=no fi rm -f conftest* fi X echo "$ac_t""$am_cv_val_LC_MESSAGES" 1>&6 X if test $am_cv_val_LC_MESSAGES = yes; then X cat >> confdefs.h <<\EOF #define HAVE_LC_MESSAGES 1 EOF X X fi X fi X echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6 echo "configure:3920: checking whether NLS is requested" >&5 X # Check whether --enable-nls or --disable-nls was given. if test "${enable_nls+set}" = set; then X enableval="$enable_nls" X USE_NLS=$enableval else X USE_NLS=yes fi X X echo "$ac_t""$USE_NLS" 1>&6 X X X USE_INCLUDED_LIBINTL=no X X if test "$USE_NLS" = "yes"; then X cat >> confdefs.h <<\EOF #define ENABLE_NLS 1 EOF X X echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6 echo "configure:3940: checking whether included gettext is requested" >&5 X # Check whether --with-included-gettext or --without-included-gettext was given. if test "${with_included_gettext+set}" = set; then X withval="$with_included_gettext" X nls_cv_force_use_gnu_gettext=$withval else X nls_cv_force_use_gnu_gettext=no fi X X echo "$ac_t""$nls_cv_force_use_gnu_gettext" 1>&6 X X nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" X if test "$nls_cv_force_use_gnu_gettext" != "yes"; then X nls_cv_header_intl= X nls_cv_header_libgt= X CATOBJEXT=NONE X X ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for libintl.h""... $ac_c" 1>&6 echo "configure:3959: checking for libintl.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:3969: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then X rm -rf conftest* X eval "ac_cv_header_$ac_safe=yes" else X echo "$ac_err" >&5 X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X eval "ac_cv_header_$ac_safe=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then X echo "$ac_t""yes" 1>&6 X echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6 echo "configure:3986: checking for gettext in libc" >&5 if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < int main() { return (int) gettext ("") ; return 0; } EOF if { (eval echo configure:3998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then X rm -rf conftest* X gt_cv_func_gettext_libc=yes else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X gt_cv_func_gettext_libc=no fi rm -f conftest* fi X echo "$ac_t""$gt_cv_func_gettext_libc" 1>&6 X X if test "$gt_cv_func_gettext_libc" != "yes"; then X echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6 echo "configure:4014: checking for bindtextdomain in -lintl" >&5 ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X ac_save_LIBS="$LIBS" LIBS="-lintl $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then X rm -rf conftest* X eval "ac_cv_lib_$ac_lib_var=yes" else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* LIBS="$ac_save_LIBS" X fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then X echo "$ac_t""yes" 1>&6 X echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6 echo "configure:4049: checking for gettext in libintl" >&5 if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then X rm -rf conftest* X gt_cv_func_gettext_libintl=yes else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X gt_cv_func_gettext_libintl=no fi rm -f conftest* fi X echo "$ac_t""$gt_cv_func_gettext_libintl" 1>&6 else X echo "$ac_t""no" 1>&6 fi X X fi X X if test "$gt_cv_func_gettext_libc" = "yes" \ X || test "$gt_cv_func_gettext_libintl" = "yes"; then X cat >> confdefs.h <<\EOF #define HAVE_GETTEXT 1 EOF X X # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:4089: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X case "$MSGFMT" in X /*) X ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. X ;; X *) X IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" X for ac_dir in $PATH; do X test -z "$ac_dir" && ac_dir=. X if test -f $ac_dir/$ac_word; then X if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then X ac_cv_path_MSGFMT="$ac_dir/$ac_word" X break X fi X fi X done X IFS="$ac_save_ifs" X test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" X ;; esac fi MSGFMT="$ac_cv_path_MSGFMT" if test -n "$MSGFMT"; then X echo "$ac_t""$MSGFMT" 1>&6 else X echo "$ac_t""no" 1>&6 fi X if test "$MSGFMT" != "no"; then X for ac_func in dcgettext do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:4123: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 X builtin and then its argument prototype would still apply. */ char $ac_func(); X int main() { X /* The GNU C library defines this for functions which it implements X to always fail with ENOSYS. Some functions are actually named X something starting with __ and the normal name is an alias. */ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else $ac_func(); #endif X ; return 0; } EOF if { (eval echo configure:4151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then X rm -rf conftest* X eval "ac_cv_func_$ac_func=yes" else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X eval "ac_cv_func_$ac_func=no" fi rm -f conftest* fi X if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then X echo "$ac_t""yes" 1>&6 X ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` X cat >> confdefs.h <&6 fi done X X # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:4178: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X case "$GMSGFMT" in X /*) X ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. X ;; X *) X IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" X for ac_dir in $PATH; do X test -z "$ac_dir" && ac_dir=. X if test -f $ac_dir/$ac_word; then X ac_cv_path_GMSGFMT="$ac_dir/$ac_word" X break X fi X done X IFS="$ac_save_ifs" X test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" X ;; esac fi GMSGFMT="$ac_cv_path_GMSGFMT" if test -n "$GMSGFMT"; then X echo "$ac_t""$GMSGFMT" 1>&6 else X echo "$ac_t""no" 1>&6 fi X X # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:4210: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X case "$XGETTEXT" in X /*) X ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. X ;; X *) X IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" X for ac_dir in $PATH; do X test -z "$ac_dir" && ac_dir=. X if test -f $ac_dir/$ac_word; then X if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then X ac_cv_path_XGETTEXT="$ac_dir/$ac_word" X break X fi X fi X done X IFS="$ac_save_ifs" X test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" X ;; esac fi XXGETTEXT="$ac_cv_path_XGETTEXT" if test -n "$XGETTEXT"; then X echo "$ac_t""$XGETTEXT" 1>&6 else X echo "$ac_t""no" 1>&6 fi X X cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then X rm -rf conftest* X CATOBJEXT=.gmo X DATADIRNAME=share else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X CATOBJEXT=.mo X DATADIRNAME=lib fi rm -f conftest* X INSTOBJEXT=.mo X fi X fi X else X echo "$ac_t""no" 1>&6 fi X X X if test "$CATOBJEXT" = "NONE"; then X echo $ac_n "checking whether catgets can be used""... $ac_c" 1>&6 echo "configure:4273: checking whether catgets can be used" >&5 X # Check whether --with-catgets or --without-catgets was given. if test "${with_catgets+set}" = set; then X withval="$with_catgets" X nls_cv_use_catgets=$withval else X nls_cv_use_catgets=no fi X X echo "$ac_t""$nls_cv_use_catgets" 1>&6 X X if test "$nls_cv_use_catgets" = "yes"; then X echo $ac_n "checking for main in -li""... $ac_c" 1>&6 echo "configure:4286: checking for main in -li" >&5 ac_lib_var=`echo i'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X ac_save_LIBS="$LIBS" LIBS="-li $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then X rm -rf conftest* X eval "ac_cv_lib_$ac_lib_var=yes" else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* LIBS="$ac_save_LIBS" X fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then X echo "$ac_t""yes" 1>&6 X ac_tr_lib=HAVE_LIB`echo i | sed -e 's/[^a-zA-Z0-9_]/_/g' \ X -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` X cat >> confdefs.h <&6 fi X X echo $ac_n "checking for catgets""... $ac_c" 1>&6 echo "configure:4329: checking for catgets" >&5 if eval "test \"`echo '$''{'ac_cv_func_catgets'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 X builtin and then its argument prototype would still apply. */ char catgets(); X int main() { X /* The GNU C library defines this for functions which it implements X to always fail with ENOSYS. Some functions are actually named X something starting with __ and the normal name is an alias. */ #if defined (__stub_catgets) || defined (__stub___catgets) choke me #else catgets(); #endif X ; return 0; } EOF if { (eval echo configure:4357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then X rm -rf conftest* X eval "ac_cv_func_catgets=yes" else X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X eval "ac_cv_func_catgets=no" fi rm -f conftest* fi X if eval "test \"`echo '$ac_cv_func_'catgets`\" = yes"; then X echo "$ac_t""yes" 1>&6 X cat >> confdefs.h <<\EOF #define HAVE_CATGETS 1 EOF X X INTLOBJS="\$(CATOBJS)" X # Extract the first word of "gencat", so it can be a program name with args. set dummy gencat; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:4379: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_GENCAT'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X case "$GENCAT" in X /*) X ac_cv_path_GENCAT="$GENCAT" # Let the user override the test with a path. X ;; X *) X IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" X for ac_dir in $PATH; do X test -z "$ac_dir" && ac_dir=. X if test -f $ac_dir/$ac_word; then X ac_cv_path_GENCAT="$ac_dir/$ac_word" X break X fi X done X IFS="$ac_save_ifs" X test -z "$ac_cv_path_GENCAT" && ac_cv_path_GENCAT="no" X ;; esac fi GENCAT="$ac_cv_path_GENCAT" if test -n "$GENCAT"; then X echo "$ac_t""$GENCAT" 1>&6 else X echo "$ac_t""no" 1>&6 fi X if test "$GENCAT" != "no"; then X # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:4411: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X case "$GMSGFMT" in X /*) X ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. X ;; X *) X IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" X for ac_dir in $PATH; do X test -z "$ac_dir" && ac_dir=. X if test -f $ac_dir/$ac_word; then X ac_cv_path_GMSGFMT="$ac_dir/$ac_word" X break X fi X done X IFS="$ac_save_ifs" X test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="no" X ;; esac fi GMSGFMT="$ac_cv_path_GMSGFMT" if test -n "$GMSGFMT"; then X echo "$ac_t""$GMSGFMT" 1>&6 else X echo "$ac_t""no" 1>&6 fi X X if test "$GMSGFMT" = "no"; then X # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:4444: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X case "$GMSGFMT" in X /*) X ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. X ;; X *) X IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" X for ac_dir in $PATH; do X test -z "$ac_dir" && ac_dir=. X if test -f $ac_dir/$ac_word; then X if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then X ac_cv_path_GMSGFMT="$ac_dir/$ac_word" X break X fi X fi X done X IFS="$ac_save_ifs" X test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="no" X ;; esac fi GMSGFMT="$ac_cv_path_GMSGFMT" if test -n "$GMSGFMT"; then X echo "$ac_t""$GMSGFMT" 1>&6 else X echo "$ac_t""no" 1>&6 fi X X fi X # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:4479: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X case "$XGETTEXT" in X /*) X ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. X ;; X *) X IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" X for ac_dir in $PATH; do X test -z "$ac_dir" && ac_dir=. X if test -f $ac_dir/$ac_word; then X if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then X ac_cv_path_XGETTEXT="$ac_dir/$ac_word" X break X fi X fi X done X IFS="$ac_save_ifs" X test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" X ;; esac fi XXGETTEXT="$ac_cv_path_XGETTEXT" if test -n "$XGETTEXT"; then X echo "$ac_t""$XGETTEXT" 1>&6 else X echo "$ac_t""no" 1>&6 fi X X USE_INCLUDED_LIBINTL=yes X CATOBJEXT=.cat X INSTOBJEXT=.cat X DATADIRNAME=lib X INTLDEPS="../intl/libintl.a" X INTLLIBS=$INTLDEPS X LIBS=`echo $LIBS | sed -e 's/-lintl//'` X nls_cv_header_intl=intl/libintl.h X nls_cv_header_libgt=intl/libgettext.h X fi else X echo "$ac_t""no" 1>&6 fi X X fi X fi X X if test "$CATOBJEXT" = "NONE"; then X nls_cv_use_gnu_gettext=yes X fi X fi X X if test "$nls_cv_use_gnu_gettext" = "yes"; then X INTLOBJS="\$(GETTOBJS)" X # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:4537: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X case "$MSGFMT" in X /*) X ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. X ;; X *) X IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" X for ac_dir in $PATH; do X test -z "$ac_dir" && ac_dir=. X if test -f $ac_dir/$ac_word; then X if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then X ac_cv_path_MSGFMT="$ac_dir/$ac_word" X break X fi X fi X done X IFS="$ac_save_ifs" X test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="msgfmt" X ;; esac fi MSGFMT="$ac_cv_path_MSGFMT" if test -n "$MSGFMT"; then X echo "$ac_t""$MSGFMT" 1>&6 else X echo "$ac_t""no" 1>&6 fi X X # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:4571: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X case "$GMSGFMT" in X /*) X ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. X ;; X *) X IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" X for ac_dir in $PATH; do X test -z "$ac_dir" && ac_dir=. X if test -f $ac_dir/$ac_word; then X ac_cv_path_GMSGFMT="$ac_dir/$ac_word" X break X fi X done X IFS="$ac_save_ifs" X test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" X ;; esac fi GMSGFMT="$ac_cv_path_GMSGFMT" if test -n "$GMSGFMT"; then X echo "$ac_t""$GMSGFMT" 1>&6 else X echo "$ac_t""no" 1>&6 fi X X # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:4603: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X case "$XGETTEXT" in X /*) X ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. X ;; X *) X IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" X for ac_dir in $PATH; do X test -z "$ac_dir" && ac_dir=. X if test -f $ac_dir/$ac_word; then X if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then X ac_cv_path_XGETTEXT="$ac_dir/$ac_word" X break X fi X fi X done X IFS="$ac_save_ifs" X test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" X ;; esac fi XXGETTEXT="$ac_cv_path_XGETTEXT" if test -n "$XGETTEXT"; then X echo "$ac_t""$XGETTEXT" 1>&6 else X echo "$ac_t""no" 1>&6 fi X X X USE_INCLUDED_LIBINTL=yes X CATOBJEXT=.gmo X INSTOBJEXT=.mo X DATADIRNAME=share X INTLDEPS="../intl/libintl.a" X INTLLIBS=$INTLDEPS X LIBS=`echo $LIBS | sed -e 's/-lintl//'` X nls_cv_header_intl=intl/libintl.h X nls_cv_header_libgt=intl/libgettext.h X fi X X if test "$XGETTEXT" != ":"; then X if $XGETTEXT --omit-header /dev/null 2> /dev/null; then X : ; X else X echo "$ac_t""found xgettext programs is not GNU xgettext; ignore it" 1>&6 X XGETTEXT=":" X fi X fi X X # We need to process the po/ directory. X POSUB=po X else X DATADIRNAME=share X nls_cv_header_intl=intl/libintl.h X nls_cv_header_libgt=intl/libgettext.h X fi X X # If this is used in GNU gettext we have to set USE_NLS to `yes' X # because some of the sources are only built for this goal. X if test "$PACKAGE" = gettext; then X USE_NLS=yes X USE_INCLUDED_LIBINTL=yes X fi X X for lang in $ALL_LINGUAS; do X GMOFILES="$GMOFILES $lang.gmo" X POFILES="$POFILES $lang.po" X done X X X X X X X X X X X X X X X if test "x$CATOBJEXT" != "x"; then X if test "x$ALL_LINGUAS" = "x"; then X LINGUAS= X else X echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6 echo "configure:4693: checking for catalogs to be installed" >&5 X NEW_LINGUAS= X for lang in ${LINGUAS=$ALL_LINGUAS}; do X case "$ALL_LINGUAS" in X *$lang*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;; X esac X done X LINGUAS=$NEW_LINGUAS X echo "$ac_t""$LINGUAS" 1>&6 X fi X X if test -n "$LINGUAS"; then X for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done X fi X fi X X test -d intl || mkdir intl X if test "$CATOBJEXT" = ".cat"; then X ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6 echo "configure:4713: checking for linux/version.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 else X cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:4723: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then X rm -rf conftest* X eval "ac_cv_header_$ac_safe=yes" else X echo "$ac_err" >&5 X echo "configure: failed program was:" >&5 X cat conftest.$ac_ext >&5 X rm -rf conftest* X eval "ac_cv_header_$ac_safe=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then X echo "$ac_t""yes" 1>&6 X msgformat=linux else X echo "$ac_t""no" 1>&6 msgformat=xopen fi X X X sed -e '/^#/d' $srcdir/intl/$msgformat-msg.sed > intl/po2msg.sed X fi X sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \ X $srcdir/intl/po2tbl.sed.in > intl/po2tbl.sed X X if test "$PACKAGE" = "gettext"; then X GT_NO="#NO#" X GT_YES= X else X GT_NO= X GT_YES="#YES#" X fi X X X X MKINSTALLDIRS= X if test $ac_aux_dir; then X MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" X fi X if test -z $MKINSTALLDIRS; then X MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" X fi X X X test -d po || mkdir po X if test "x$srcdir" != "x."; then X if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then X posrcprefix="$srcdir/" X else X posrcprefix="../$srcdir/" X fi X else X posrcprefix="../" X fi X sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ X < $srcdir/po/POTFILES.in > po/POTFILES X X X trap '' 1 2 15 cat > confcache <<\EOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs. It is not useful on other systems. # If it contains results you don't want to keep, you may remove or edit it. # # By default, configure uses ./config.cache as the cache file, # creating it if it does not exist already. You can give configure # the --cache-file=FILE option to use a different cache file; that is # what configure does when it calls configure scripts in # subdirectories, so they share the cache. # Giving --cache-file=/dev/null disables caching, for debugging configure. # config.status only pays attention to the cache file if you give it the # --recheck option to rerun configure. # EOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, don't put newlines in cache variables' values. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. (set) 2>&1 | X case `(ac_space=' '; set) 2>&1 | grep ac_space` in X *ac_space=\ *) X # `set' does not quote correctly, so add quotes (double-quote substitution X # turns \\\\ into \\, and sed turns \\ into \). X sed -n \ X -e "s/'/'\\\\''/g" \ X -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" X ;; X *) X # `set' quotes correctly as required by POSIX, so do not add quotes. X sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' X ;; X esac >> confcache if cmp -s $cache_file confcache; then X : else X if test -w $cache_file; then X echo "updating cache $cache_file" X cat confcache > $cache_file X else X echo "not updating unwritable cache $cache_file" X fi fi rm -f confcache X trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 X test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' X # Any assignment to VPATH causes Sun make to only execute # the first set of double-colon rules, so remove it if not needed. # If there is a colon in the path, we need to keep it. if test "x$srcdir" = x.; then X ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' fi X trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 X DEFS=-DHAVE_CONFIG_H X # Without the "./", some shells look in PATH for config.status. : ${CONFIG_STATUS=./config.status} X echo creating $CONFIG_STATUS rm -f $CONFIG_STATUS cat > $CONFIG_STATUS </dev/null | sed 1q`: # # $0 $ac_configure_args # # Compiler output produced by configure, useful for debugging # configure, is in ./config.log if it exists. X ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" for ac_option do X case "\$ac_option" in X -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) X echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" X exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; X -version | --version | --versio | --versi | --vers | --ver | --ve | --v) X echo "$CONFIG_STATUS generated by autoconf version 2.12" X exit 0 ;; X -help | --help | --hel | --he | --h) X echo "\$ac_cs_usage"; exit 0 ;; X *) echo "\$ac_cs_usage"; exit 1 ;; X esac done X ac_given_srcdir=$srcdir ac_given_INSTALL="$INSTALL" X trap 'rm -fr `echo "Makefile doc/Makefile intl/Makefile lib/Makefile po/Makefile.in \ scripts/Makefile src/Makefile tests/Makefile tests/preset config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 EOF cat >> $CONFIG_STATUS < conftest.subs <<\\CEOF $ac_vpsub $extrasub s%@CFLAGS@%$CFLAGS%g s%@CPPFLAGS@%$CPPFLAGS%g s%@CXXFLAGS@%$CXXFLAGS%g s%@DEFS@%$DEFS%g s%@LDFLAGS@%$LDFLAGS%g s%@LIBS@%$LIBS%g s%@exec_prefix@%$exec_prefix%g s%@prefix@%$prefix%g s%@program_transform_name@%$program_transform_name%g s%@bindir@%$bindir%g s%@sbindir@%$sbindir%g s%@libexecdir@%$libexecdir%g s%@datadir@%$datadir%g s%@sysconfdir@%$sysconfdir%g s%@sharedstatedir@%$sharedstatedir%g s%@localstatedir@%$localstatedir%g s%@libdir@%$libdir%g s%@includedir@%$includedir%g s%@oldincludedir@%$oldincludedir%g s%@infodir@%$infodir%g s%@mandir@%$mandir%g s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g s%@INSTALL_DATA@%$INSTALL_DATA%g s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g s%@PACKAGE@%$PACKAGE%g s%@VERSION@%$VERSION%g s%@ACLOCAL@%$ACLOCAL%g s%@AUTOCONF@%$AUTOCONF%g s%@AUTOMAKE@%$AUTOMAKE%g s%@AUTOHEADER@%$AUTOHEADER%g s%@MAKEINFO@%$MAKEINFO%g s%@SET_MAKE@%$SET_MAKE%g s%@ECHO_N@%$ECHO_N%g s%@ECHO_C@%$ECHO_C%g s%@CC@%$CC%g s%@CPP@%$CPP%g s%@RANLIB@%$RANLIB%g s%@YACC@%$YACC%g s%@U@%$U%g s%@ANSI2KNR@%$ANSI2KNR%g s%@RMT@%$RMT%g s%@LIBOBJS@%$LIBOBJS%g s%@ALLOCA@%$ALLOCA%g s%@USE_NLS@%$USE_NLS%g s%@MSGFMT@%$MSGFMT%g s%@GMSGFMT@%$GMSGFMT%g s%@XGETTEXT@%$XGETTEXT%g s%@GENCAT@%$GENCAT%g s%@USE_INCLUDED_LIBINTL@%$USE_INCLUDED_LIBINTL%g s%@CATALOGS@%$CATALOGS%g s%@CATOBJEXT@%$CATOBJEXT%g s%@DATADIRNAME@%$DATADIRNAME%g s%@GMOFILES@%$GMOFILES%g s%@INSTOBJEXT@%$INSTOBJEXT%g s%@INTLDEPS@%$INTLDEPS%g s%@INTLLIBS@%$INTLLIBS%g s%@INTLOBJS@%$INTLOBJS%g s%@POFILES@%$POFILES%g s%@POSUB@%$POSUB%g s%@GT_NO@%$GT_NO%g s%@GT_YES@%$GT_YES%g s%@MKINSTALLDIRS@%$MKINSTALLDIRS%g X CEOF EOF X cat >> $CONFIG_STATUS <<\EOF X # Split the substitutions into bite-sized pieces for seds with # small command number limits, like on Digital OSF/1 and HP-UX. ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. ac_file=1 # Number of current file. ac_beg=1 # First line for current file. ac_end=$ac_max_sed_cmds # Line after last line for current file. ac_more_lines=: ac_sed_cmds="" while $ac_more_lines; do X if test $ac_beg -gt 1; then X sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file X else X sed "${ac_end}q" conftest.subs > conftest.s$ac_file X fi X if test ! -s conftest.s$ac_file; then X ac_more_lines=false X rm -f conftest.s$ac_file X else X if test -z "$ac_sed_cmds"; then X ac_sed_cmds="sed -f conftest.s$ac_file" X else X ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" X fi X ac_file=`expr $ac_file + 1` X ac_beg=$ac_end X ac_end=`expr $ac_end + $ac_max_sed_cmds` X fi done if test -z "$ac_sed_cmds"; then X ac_sed_cmds=cat fi EOF X cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then X # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". X case "$ac_file" in X *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` X ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; X *) ac_file_in="${ac_file}.in" ;; X esac X X # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. X X # Remove last slash and all that follows it. Not all systems have dirname. X ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` X if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then X # The file is in a subdirectory. X test ! -d "$ac_dir" && mkdir "$ac_dir" X ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" X # A "../" for each directory in $ac_dir_suffix. X ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` X else X ac_dir_suffix= ac_dots= X fi X X case "$ac_given_srcdir" in X .) srcdir=. X if test -z "$ac_dots"; then top_srcdir=. X else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; X /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; X *) # Relative path. X srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" X top_srcdir="$ac_dots$ac_given_srcdir" ;; X esac X X case "$ac_given_INSTALL" in X [/$]*) INSTALL="$ac_given_INSTALL" ;; X *) INSTALL="$ac_dots$ac_given_INSTALL" ;; X esac X X echo creating "$ac_file" X rm -f "$ac_file" X configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." X case "$ac_file" in X *Makefile*) ac_comsub="1i\\ # $configure_input" ;; X *) ac_comsub= ;; X esac X X ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` X sed -e "$ac_comsub s%@configure_input@%$configure_input%g s%@srcdir@%$srcdir%g s%@top_srcdir@%$top_srcdir%g s%@INSTALL@%$INSTALL%g " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file fi; done rm -f conftest.s* X # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where # NAME is the cpp macro being defined and VALUE is the value it is being given. # # ac_d sets the value in "#define NAME VALUE" lines. ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)' ac_dB='\([ ][ ]*\)[^ ]*%\1#\2' ac_dC='\3' ac_dD='%g' # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE". ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' ac_uB='\([ ]\)%\1#\2define\3' ac_uC=' ' ac_uD='\4%g' # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE". ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' ac_eB='$%\1#\2define\3' ac_eC=' ' ac_eD='%g' X if test "${CONFIG_HEADERS+set}" != set; then EOF cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF fi for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then X # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". X case "$ac_file" in X *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` X ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; X *) ac_file_in="${ac_file}.in" ;; X esac X X echo creating $ac_file X X rm -f conftest.frag conftest.in conftest.out X ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` X cat $ac_file_inputs > conftest.in X EOF X # Transform confdefs.h into a sed script conftest.vals that substitutes # the proper values into config.h.in to produce config.h. And first: # Protect against being on the right side of a sed subst in config.status. # Protect against being in an unquoted here document in config.status. rm -f conftest.vals cat > conftest.hdr <<\EOF s/[\\&%]/\\&/g s%[\\$`]%\\&%g s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp s%ac_d%ac_u%gp s%ac_u%ac_e%gp EOF sed -n -f conftest.hdr confdefs.h > conftest.vals rm -f conftest.hdr X # This sed command replaces #undef with comments. This is necessary, for # example, in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. cat >> conftest.vals <<\EOF s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */% EOF X # Break up conftest.vals because some shells have a limit on # the size of here documents, and old seds have small limits too. X rm -f conftest.tail while : do X ac_lines=`grep -c . conftest.vals` X # grep -c gives empty output for an empty file on some AIX systems. X if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi X # Write a limited-size here document to conftest.frag. X echo ' cat > conftest.frag <> $CONFIG_STATUS X sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS X echo 'CEOF X sed -f conftest.frag conftest.in > conftest.out X rm -f conftest.in X mv conftest.out conftest.in ' >> $CONFIG_STATUS X sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail X rm -f conftest.vals X mv conftest.tail conftest.vals done rm -f conftest.vals X cat >> $CONFIG_STATUS <<\EOF X rm -f conftest.frag conftest.h X echo "/* $ac_file. Generated automatically by configure. */" > conftest.h X cat conftest.in >> conftest.h X rm -f conftest.in X if cmp -s $ac_file conftest.h 2>/dev/null; then X echo "$ac_file is unchanged" X rm -f conftest.h X else X # Remove last slash and all that follows it. Not all systems have dirname. X ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` X if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then X # The file is in a subdirectory. X test ! -d "$ac_dir" && mkdir "$ac_dir" X fi X rm -f $ac_file X mv conftest.h $ac_file X fi fi; done X EOF X cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF srcdir=$ac_given_srcdir while test -n "$ac_sources"; do X set $ac_dests; ac_dest=$1; shift; ac_dests=$* X set $ac_sources; ac_source=$1; shift; ac_sources=$* X X echo "linking $srcdir/$ac_source to $ac_dest" X X if test ! -r $srcdir/$ac_source; then X { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; } X fi X rm -f $ac_dest X X # Make relative symlinks. X # Remove last slash and all that follows it. Not all systems have dirname. X ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'` X if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then X # The dest file is in a subdirectory. X test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir" X ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`" X # A "../" for each directory in $ac_dest_dir_suffix. X ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'` X else X ac_dest_dir_suffix= ac_dots= X fi X X case "$srcdir" in X [/$]*) ac_rel_source="$srcdir/$ac_source" ;; X *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;; X esac X X # Make a symlink if possible; otherwise try a hard link. X if ln -s $ac_rel_source $ac_dest 2>/dev/null || X ln $srcdir/$ac_source $ac_dest; then : X else X { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; } X fi done EOF cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile Xexit 0 EOF chmod +x $CONFIG_STATUS rm -fr confdefs* $ac_clean_files test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 X SHAR_EOF $shar_touch -am 0425160397 'tar-1.12/configure' && chmod 0755 'tar-1.12/configure' || $echo 'restore of' 'tar-1.12/configure' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/configure:' 'MD5 check failed' 05298b14b6a27fba895f2dccbb8e135f tar-1.12/configure SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/configure'`" test 147046 -eq "$shar_count" || $echo 'tar-1.12/configure:' 'original size' '147046,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/configure.in ============== if test -f 'tar-1.12/configure.in' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/configure.in' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/configure.in' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/configure.in' && # Configure template for GNU tar. # Copyright (C) 1991, 1994, 1995, 1996, 1997 Free Software Foundation, Inc. # Process this file with autoconf to produce a configure script. X AC_INIT(src/tar.c) AM_CONFIG_HEADER(config.h) AC_PREREQ(2.12) AM_INIT_AUTOMAKE(tar, 1.12) AC_DEFINE(_GNU_SOURCE) ALL_LINGUAS="de fr it ko nl no pl pt sl sv" X fp_PROG_ECHO test $fp_cv_prog_echo_nonl = no \ X && echo 2>&1 "WARNING: \`echo' not powerful enough for \`make check'" AC_PROG_CC AC_PROG_GCC_TRADITIONAL AC_AIX AC_MINIX AC_PROG_RANLIB AC_PROG_YACC X AC_ISC_POSIX AM_C_PROTOTYPES AC_C_CONST AC_C_INLINE AC_CHECK_SIZEOF(unsigned long, 4) AC_CHECK_SIZEOF(long long, 0) X AC_CHECK_HEADERS(fcntl.h limits.h linux/fd.h memory.h net/errno.h poll.h \ sgtty.h string.h stropts.h \ sys/buf.h sys/device.h sys/gentape.h sys/inet.h sys/io/trioctl.h sys/ioccom.h \ sys/mtio.h sys/param.h sys/tprintf.h sys/tape.h sys/time.h sys/timeb.h \ sys/wait.h unistd.h) X # It seems that that many machines where seems to be # broken just require something like -D_XXX_SOURCE, where XXX might # be POSIX, POSIX_C, ALL, HPUX or whatever, depending on the machine. X AC_CACHE_CHECK(for utime.h, tar_cv_header_utime_h, X [AC_TRY_COMPILE([ #include #include ], [struct utimbuf foo], X tar_cv_header_utime_h=yes, tar_cv_header_utime_h=no)]) test $tar_cv_header_utime_h = yes && AC_DEFINE(HAVE_UTIME_H) X if test $ac_cv_header_sys_mtio_h = yes; then X AC_CACHE_CHECK(for remote tape header files, tar_cv_header_rmt, X [AC_TRY_CPP([ #if HAVE_SGTTY_H # include #endif #include ], X tar_cv_header_rmt=yes, tar_cv_header_rmt=no)]) X test $tar_cv_header_rmt = yes && RMT=rmt X AC_SUBST(RMT) fi X AC_CACHE_CHECK(for getgrgid declaration, tar_cv_header_getgrgid, X [AC_EGREP_HEADER(getgrgid, grp.h, X tar_cv_header_getgrgid=yes, tar_cv_header_getgrgid=no)]) test $tar_cv_header_getgrgid = yes && AC_DEFINE(HAVE_GETGRGID) X AC_CACHE_CHECK(for getpwuid declaration, tar_cv_header_getpwuid, X [AC_EGREP_HEADER(getpwuid, pwd.h, X tar_cv_header_getpwuid=yes, tar_cv_header_getpwuid=no)]) test $tar_cv_header_getpwuid = yes && AC_DEFINE(HAVE_GETPWUID) X AC_CACHE_CHECK(which ioctl field to test for reversed bytes, X tar_cv_header_mtio_check_field, X [AC_EGREP_HEADER(mt_model, sys/mtio.h, X tar_cv_header_mtio_check_field=mt_model, X tar_cv_header_mtio_check_field=mt_type)]) AC_DEFINE_UNQUOTED(MTIO_CHECK_FIELD, $tar_cv_header_mtio_check_field) X AC_HEADER_DIRENT AC_HEADER_MAJOR AC_HEADER_STAT AC_HEADER_STDC AC_HEADER_TIME AC_STRUCT_ST_BLKSIZE AC_STRUCT_ST_BLOCKS AC_TYPE_SIGNAL AC_TYPE_SIZE_T AC_TYPE_UID_T X AC_CHECK_FUNCS(fsync ftime getcwd isascii lchown mkfifo nap napms poll \ select strerror strstr usleep) X AC_CACHE_CHECK(for mknod, tar_cv_func_mknod, X [AC_TRY_LINK([ #include #include ], X [mknod (0, 0, 0)], X tar_cv_func_mknod=yes, tar_cv_func_mknod=no)]) test $tar_cv_func_mknod = yes && AC_DEFINE(HAVE_MKNOD) X # Whenever both -lsocket and -lnsl are needed, it seems to be always the # case that gethostbyname requires -lnsl. So, check -lnsl first, for it # to be in LIBS before the setsockopt checks are performed. *However*, # on SINIX-N 5.43, this is false, and gethostent seems to be a better # candidate. So, let's use it below instead of gethostbyname, and see. X AC_CHECK_FUNC(gethostent) if test $ac_cv_func_gethostent = no; then X AC_CHECK_LIB(nsl, gethostent) fi AC_CHECK_FUNC(setsockopt) if test $ac_cv_func_setsockopt = no; then X AC_CHECK_LIB(socket, setsockopt) fi X AC_FUNC_ALLOCA AC_FUNC_FNMATCH test $ac_cv_func_fnmatch_works = yes || LIBOBJS="$LIBOBJS fnmatch.o" AC_FUNC_VPRINTF AC_REPLACE_FUNCS(basename dirname execlp ftruncate memset mkdir rename rmdir) test "$ac_cv_func_strstr" = yes || LIBOBJS="$LIBOBJS strstr.o" X # The 3-argument open happens to go along with the O_* defines, which # are easier to check for. X AC_CACHE_CHECK(for 3-argument open, tar_cv_func_open3, X [AC_TRY_COMPILE([ #if HAVE_FCNTL_H # include #else # include #endif], X [int x = O_RDONLY], X tar_cv_func_open3=yes, tar_cv_func_open3=no)]) if test $tar_cv_func_open3 = no; then X AC_DEFINE(EMUL_OPEN3) fi X # `union wait' is preferrably avoided. We merely assume below # that if `int pid;' fails, `union wait pid;' would have worked. # Directly trying `union wait pid;' is seeking for trouble, as # some POSIX systems are offering compatibility hacks generating # ugly diagnostics. Also, on some systems, WEXITSTATUS exists, # but fails when called on `union wait' variables. X AC_CACHE_CHECK(for union wait, tar_cv_header_union_wait, X [AC_TRY_COMPILE([ #include #if HAVE_SYS_WAIT_H # include #endif], X [int status; int pid; pid = wait (&status);], X tar_cv_header_union_wait=no, tar_cv_header_union_wait=yes)]) test $tar_cv_header_union_wait = yes && AC_DEFINE(HAVE_UNION_WAIT) X AC_CACHE_CHECK(for remote shell, tar_cv_path_RSH, X [if test -n "$RSH"; then X tar_cv_path_RSH=$RSH X else X tar_cv_path_RSH=no X for ac_file in /usr/ucb/rsh /usr/bin/remsh /usr/bin/rsh /usr/bsd/rsh \ X /usr/bin/nsh /usr/bin/rcmd X do X if test -f $ac_file; then X tar_cv_path_RSH=$ac_file X break X fi X done X fi]) if test $tar_cv_path_RSH = no; then X AC_CHECK_HEADERS(netdb.h) else X AC_DEFINE_UNQUOTED(REMOTE_SHELL, "$tar_cv_path_RSH") fi X AC_MSG_CHECKING(for default archive) X if test -z "$DEFAULT_ARCHIVE"; then X DEFAULT_ARCHIVE=- else X if test -z "`ls $DEFAULT_ARCHIVE 2>/dev/null`"; then X AC_MSG_WARN(DEFAULT_ARCHIVE \`$DEFAULT_ARCHIVE' not found on this system) X fi X # FIXME: Look for DEFTAPE in . X # FIXME: Let DEVICE_PREFIX be configured from the environment. X # FIXME: Rearrange, here. X case $DEFAULT_ARCHIVE in changequote(, )dnl X *[0-7][lmh]) X device_prefix=`echo $DEFAULT_ARCHIVE | sed 's/[0-7][lmh]$//'` changequote([, ])dnl X AC_DEFINE_UNQUOTED(DEVICE_PREFIX, "$device_prefix") X AC_DEFINE(DENSITY_LETTER) X ;; changequote(, )dnl X *[0-7]) X device_prefix=`echo $DEFAULT_ARCHIVE | sed 's/[0-7]$//'` changequote([, ])dnl X AC_DEFINE_UNQUOTED(DEVICE_PREFIX, "$device_prefix") X ;; X esac fi AC_DEFINE_UNQUOTED(DEFAULT_ARCHIVE, "$DEFAULT_ARCHIVE") AC_MSG_RESULT($DEFAULT_ARCHIVE) X AC_MSG_CHECKING(for default blocking) DEFAULT_BLOCKING=${DEFAULT_BLOCKING-20} AC_DEFINE_UNQUOTED(DEFAULT_BLOCKING, $DEFAULT_BLOCKING) AC_MSG_RESULT($DEFAULT_BLOCKING) X fp_WITH_INCLUDED_MALLOC AM_WITH_DMALLOC X AM_GNU_GETTEXT AC_LINK_FILES($nls_cv_header_libgt, $nls_cv_header_intl) X AC_OUTPUT([Makefile doc/Makefile intl/Makefile lib/Makefile po/Makefile.in \ scripts/Makefile src/Makefile tests/Makefile tests/preset], [sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile]) SHAR_EOF $shar_touch -am 0425160297 'tar-1.12/configure.in' && chmod 0644 'tar-1.12/configure.in' || $echo 'restore of' 'tar-1.12/configure.in' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/configure.in:' 'MD5 check failed' dde23f23a774380ca2b7e30ef34fa749 tar-1.12/configure.in SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/configure.in'`" test 6731 -eq "$shar_count" || $echo 'tar-1.12/configure.in:' 'original size' '6731,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/install-sh ============== if test -f 'tar-1.12/install-sh' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/install-sh' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/install-sh' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/install-sh' && #! /bin/sh # # install - install a program, script, or datafile # This comes from X11R5 (mit/util/scripts/install.sh). # # Copyright 1991 by the Massachusetts Institute of Technology # # Permission to use, copy, modify, distribute, and sell this software and its # documentation for any purpose is hereby granted without fee, provided that # the above copyright notice appear in all copies and that both that # copyright notice and this permission notice appear in supporting # documentation, and that the name of M.I.T. not be used in advertising or # publicity pertaining to distribution of the software without specific, # written prior permission. M.I.T. makes no representations about the # suitability of this software for any purpose. It is provided "as is" # without express or implied warranty. # # Calling this script install-sh is preferred over install.sh, to prevent # `make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written # from scratch. It can only install one file at a time, a restriction # shared with many OS's install programs. X X # set DOITPROG to echo to test this script X # Don't use :- since 4.3BSD and earlier shells don't like it. doit="${DOITPROG-}" X X # put in absolute paths if you don't have them in your path; or use env. vars. X mvprog="${MVPROG-mv}" cpprog="${CPPROG-cp}" chmodprog="${CHMODPROG-chmod}" chownprog="${CHOWNPROG-chown}" chgrpprog="${CHGRPPROG-chgrp}" stripprog="${STRIPPROG-strip}" rmprog="${RMPROG-rm}" mkdirprog="${MKDIRPROG-mkdir}" X transformbasename="" transform_arg="" instcmd="$mvprog" chmodcmd="$chmodprog 0755" chowncmd="" chgrpcmd="" stripcmd="" rmcmd="$rmprog -f" mvcmd="$mvprog" src="" dst="" dir_arg="" X while [ x"$1" != x ]; do X case $1 in X -c) instcmd="$cpprog" X shift X continue;; X X -d) dir_arg=true X shift X continue;; X X -m) chmodcmd="$chmodprog $2" X shift X shift X continue;; X X -o) chowncmd="$chownprog $2" X shift X shift X continue;; X X -g) chgrpcmd="$chgrpprog $2" X shift X shift X continue;; X X -s) stripcmd="$stripprog" X shift X continue;; X X -t=*) transformarg=`echo $1 | sed 's/-t=//'` X shift X continue;; X X -b=*) transformbasename=`echo $1 | sed 's/-b=//'` X shift X continue;; X X *) if [ x"$src" = x ] X then X src=$1 X else X # this colon is to work around a 386BSD /bin/sh bug X : X dst=$1 X fi X shift X continue;; X esac done X if [ x"$src" = x ] then X echo "install: no input file specified" X exit 1 else X true fi X if [ x"$dir_arg" != x ]; then X dst=$src X src="" X X if [ -d $dst ]; then X instcmd=: X else X instcmd=mkdir X fi else X # Waiting for this to be detected by the "$instcmd $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. X X if [ -f $src -o -d $src ] X then X true X else X echo "install: $src does not exist" X exit 1 X fi X X if [ x"$dst" = x ] X then X echo "install: no destination specified" X exit 1 X else X true X fi X # If destination is a directory, append the input filename; if your system # does not like double slashes in filenames, you may need to add some logic X X if [ -d $dst ] X then X dst="$dst"/`basename $src` X else X true X fi fi X ## this sed command emulates the dirname command dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` X # Make sure that the destination directory exists. # this part is taken from Noah Friedman's mkinstalldirs script X # Skip lots of stat calls in the usual case. if [ ! -d "$dstdir" ]; then defaultIFS=' ' IFS="${IFS-${defaultIFS}}" X oIFS="${IFS}" # Some sh's can't handle IFS=/ for some reason. IFS='%' set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'` IFS="${oIFS}" X pathcomp='' X while [ $# -ne 0 ] ; do X pathcomp="${pathcomp}${1}" X shift X X if [ ! -d "${pathcomp}" ] ; X then X $mkdirprog "${pathcomp}" X else X true X fi X X pathcomp="${pathcomp}/" done fi X if [ x"$dir_arg" != x ] then X $doit $instcmd $dst && X X if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi && X if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi && X if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi && X if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi else X # If we're going to rename the final executable, determine the name now. X X if [ x"$transformarg" = x ] X then X dstfile=`basename $dst` X else X dstfile=`basename $dst $transformbasename | X sed $transformarg`$transformbasename X fi X # don't allow the sed command to completely eliminate the filename X X if [ x"$dstfile" = x ] X then X dstfile=`basename $dst` X else X true X fi X # Make a temp file name in the proper directory. X X dsttmp=$dstdir/#inst.$$# X # Move or copy the file name to the temp name X X $doit $instcmd $src $dsttmp && X X trap "rm -f ${dsttmp}" 0 && X # and set any options; do chmod last to preserve setuid bits X # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $instcmd $src $dsttmp" command. X X if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi && X if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi && X if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi && X if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi && X # Now rename the file to the real destination. X X $doit $rmcmd -f $dstdir/$dstfile && X $doit $mvcmd $dsttmp $dstdir/$dstfile X fi && X X Xexit 0 SHAR_EOF $shar_touch -am 0211123097 'tar-1.12/install-sh' && chmod 0755 'tar-1.12/install-sh' || $echo 'restore of' 'tar-1.12/install-sh' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/install-sh:' 'MD5 check failed' ca4c8e08be31723608758c97c4001862 tar-1.12/install-sh SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/install-sh'`" test 5585 -eq "$shar_count" || $echo 'tar-1.12/install-sh:' 'original size' '5585,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/missing ============== if test -f 'tar-1.12/missing' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/missing' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/missing' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/missing' && #! /bin/sh # Common stub for a few missing GNU programs while installing. # Copyright (C) 1996, 1997 Free Software Foundation, Inc. # Franc,ois Pinard , 1996. X # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. X # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. X # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. X if test $# -eq 0; then X echo 1>&2 "Try \`$0 --help' for more information" X exit 1 fi X case "$1" in X X -h|--h|--he|--hel|--help) X echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... X Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an error status if there is no known handling for PROGRAM. X Options: X -h, --help display this help and exit X -v, --version output version information and exit X Supported PROGRAM values: X aclocal touch file \`aclocal.m4' X autoconf touch file \`configure' X autoheader touch file \`config.h.in' X automake touch all \`Makefile.in' files X bison touch file \`y.tab.c' X makeinfo touch the output file X yacc touch file \`y.tab.c'" X ;; X X -v|--v|--ve|--ver|--vers|--versi|--versio|--version) X echo "missing - GNU libit 0.0" X ;; X X -*) X echo 1>&2 "$0: Unknown \`$1' option" X echo 1>&2 "Try \`$0 --help' for more information" X exit 1 X ;; X X aclocal) X echo 1>&2 "\ WARNING: \`$1' is missing on your system. It should be needed only if X you modified \`acinclude.m4' or \`configure.in'. You might want X to install the \`Automake' and \`Perl' packages. Grab them from X any GNU archive site." X touch aclocal.m4 X ;; X X autoconf) X echo 1>&2 "\ WARNING: \`$1' is missing on your system. It should be needed only if X you modified \`configure.in'. You might want to install the X \`Autoconf' and \`GNU m4' packages. Grab them from any GNU X archive site." X touch configure X ;; X X autoheader) X echo 1>&2 "\ WARNING: \`$1' is missing on your system. It should be needed only if X you modified \`acconfig.h' or \`configure.in'. You might want X to install the \`Autoconf' and \`GNU m4' packages. Grab them X from any GNU archive site." X touch config.h.in X ;; X X automake) X echo 1>&2 "\ WARNING: \`$1' is missing on your system. It should be needed only if X you modified \`Makefile.am', \`acinclude.m4' or \`configure.in'. X You might want to install the \`Automake' and \`Perl' packages. X Grab them from any GNU archive site." X find . -type f -name Makefile.am -print \ X | sed 's/^\(.*\).am$/touch \1.in/' \ X | sh X ;; X X bison|yacc) X echo 1>&2 "\ WARNING: \`$1' is missing on your system. It should be needed only if X your modified any \`.y' file. For being effective, your X modifications might require the \`Bison' package. Grab it from X any GNU archive site." X touch y.tab.c X ;; X X makeinfo) X echo 1>&2 "\ WARNING: \`$1' is missing on your system. It should be needed only if X you modified a \`.texi' or \`.texinfo' file, or any other file X indirectly affecting the aspect of the manual. The spurious X call might also be the consequence of using a buggy \`make' (AIX, X DU, IRIX). You might want to install the \`Texinfo' package or X the \`GNU make' package. Grab either from any GNU archive site." X file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` X if test -z "$file"; then X file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` X file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file` X fi X touch $file X ;; X X *) X echo 1>&2 "\ WARNING: \`$1' is needed, and you do not seem to have it handy on your X system. You might have modified some files without having the X proper tools for further handling them. Check the \`README' file, X it often tells you about the needed prerequirements for installing X this package. You may also peek at any GNU archive site, in case X some other package would contain this missing \`$1' program." X exit 1 X ;; esac X Xexit 0 SHAR_EOF $shar_touch -am 0227090797 'tar-1.12/missing' && chmod 0755 'tar-1.12/missing' || $echo 'restore of' 'tar-1.12/missing' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/missing:' 'MD5 check failed' 842bcf962f2dd487f2bdcb2d3558b03c tar-1.12/missing SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/missing'`" test 4639 -eq "$shar_count" || $echo 'tar-1.12/missing:' 'original size' '4639,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/mkinstalldirs ============== if test -f 'tar-1.12/mkinstalldirs' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/mkinstalldirs' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/mkinstalldirs' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/mkinstalldirs' && #! /bin/sh # mkinstalldirs --- make directory hierarchy # Author: Noah Friedman # Created: 1993-05-16 # Public domain X # $Id: mkinstalldirs,v 1.10 1996/05/03 07:37:52 friedman Exp $ X errstatus=0 X for file do X set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` X shift X X pathcomp= X for d X do X pathcomp="$pathcomp$d" X case "$pathcomp" in X -* ) pathcomp=./$pathcomp ;; X esac X X if test ! -d "$pathcomp"; then X echo "mkdir $pathcomp" 1>&2 X X mkdir "$pathcomp" || lasterr=$? X X if test ! -d "$pathcomp"; then X errstatus=$lasterr X fi X fi X X pathcomp="$pathcomp/" X done done X exit $errstatus X # mkinstalldirs ends here SHAR_EOF $shar_touch -am 0507131696 'tar-1.12/mkinstalldirs' && chmod 0755 'tar-1.12/mkinstalldirs' || $echo 'restore of' 'tar-1.12/mkinstalldirs' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/mkinstalldirs:' 'MD5 check failed' da4020e592851ae9d775611ec3cd426d tar-1.12/mkinstalldirs SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/mkinstalldirs'`" test 732 -eq "$shar_count" || $echo 'tar-1.12/mkinstalldirs:' 'original size' '732,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/stamp-h.in ============== if test -f 'tar-1.12/stamp-h.in' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/stamp-h.in' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/stamp-h.in' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/stamp-h.in' && timestamp SHAR_EOF $shar_touch -am 0425160497 'tar-1.12/stamp-h.in' && chmod 0644 'tar-1.12/stamp-h.in' || $echo 'restore of' 'tar-1.12/stamp-h.in' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/stamp-h.in:' 'MD5 check failed' 1ded054093de910d9786c62bc4fe8cc6 tar-1.12/stamp-h.in SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/stamp-h.in'`" test 10 -eq "$shar_count" || $echo 'tar-1.12/stamp-h.in:' 'original size' '10,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/AC-PATCHES ============== if test -f 'tar-1.12/AC-PATCHES' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/AC-PATCHES' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/AC-PATCHES' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/AC-PATCHES' && --- autoconf-2.12-ref/acgeneral.m4 Tue Nov 26 13:09:42 1996 +++ autoconf-2.12/acgeneral.m4 Wed Apr 16 22:16:40 1997 @@ -1063,7 +1063,7 @@ X # and sets the high bit in the cache file unless we assign to the vars. X changequote(, )dnl X (set) 2>&1 | - case `(ac_space=' '; set) 2>&1` in + case `(ac_space=' '; set) 2>&1 | grep ac_space` in X *ac_space=\ *) X # `set' does not quote correctly, so add quotes (double-quote substitution X # turns \\\\ into \\, and sed turns \\ into \). --- autoconf-2.12-ref/acspecific.m4 Wed Nov 20 00:10:49 1996 +++ autoconf-2.12/acspecific.m4 Sat Apr 19 15:33:08 1997 @@ -451,8 +451,14 @@ X # OSF/1 installbsd also uses dspmsg, but is usable. X : X else - ac_cv_path_install="$ac_dir/$ac_prog -c" - break 2 + if test $ac_prog = installbsd && + grep src/bos $ac_dir/$ac_prog >/dev/null 2>&1; then + # AIX installbsd doesn't work without option "-g". + : + else + ac_cv_path_install="$ac_dir/$ac_prog -c" + break 2 + fi X fi X fi X done SHAR_EOF $shar_touch -am 0419153597 'tar-1.12/AC-PATCHES' && chmod 0644 'tar-1.12/AC-PATCHES' || $echo 'restore of' 'tar-1.12/AC-PATCHES' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/AC-PATCHES:' 'MD5 check failed' 8007e0422e6e220e72d51efca51663b9 tar-1.12/AC-PATCHES SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/AC-PATCHES'`" test 1040 -eq "$shar_count" || $echo 'tar-1.12/AC-PATCHES:' 'original size' '1040,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/AM-PATCHES ============== if test -f 'tar-1.12/AM-PATCHES' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/AM-PATCHES' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/AM-PATCHES' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/AM-PATCHES' && --- automake-1.1n-ref/automake.in Thu Apr 3 21:09:32 1997 +++ automake-1.1n/automake.in Wed Apr 23 07:17:43 1997 @@ -51,6 +51,7 @@ X $AM_PACKAGE_VERSION_PATTERN = "^\\s*\\[?([^]\\s]+)\\]?\\s*\$"; X # Note that there is no AC_PATH_TOOL. But we don't really care. X $AC_CHECK_PATTERN = "AC_(CHECK|PATH)_(PROG|PROGS|TOOL)\\(\\[?(\\w+)"; +$AM_MISSING_PATTERN = "AM_MISSING_PROG\\(\\[?(\\w+)"; X # Just check for alphanumeric in AC_SUBST. If you do AC_SUBST(5), X # then too bad. X $AC_SUBST_PATTERN = "AC_SUBST\\(\\[?(\\w+)"; @@ -885,12 +886,15 @@ X # X # Handle some ansi2knr cleanup. X # - if (defined $options{'ansi2knr'} && keys %de_ansi_objects) + if (defined $options{'ansi2knr'} && keys %de_ansi_bases) X { - # Make all ._o files depend on ansi2knr. Use a sneaky little - # hack to make it print nicely. - &pretty_print_rule ('', '', (sort keys %de_ansi_objects, - ':', '$(ANSI2KNR)')); + $output_rules .= "\n"; + foreach $base (sort keys %de_ansi_bases) + { + $output_rules .= $base . '._c: ' . $base . '.c $(ANSI2KNR)' + . "\n\t" . '$(ANSI2KNR) $(srcdir)/' . $base . '.c > ' + . $base . '.tmp && mv ' . $base . '.tmp $@' . "\n"; + } X } X X # @@ -930,7 +934,7 @@ X if ($use_interlock) X { X $output_rules .= '$(SHELL) $(INTERLOCK) =yacclockdir $(YLWRAP)' - . ' "$(YACC)" y.tab.c $*' . $c_suffix + . ' "$(YACC)" y.tab.c $*' . $c_suffix X . ' y.tab.h $*.h -- $(YFLAGS) $<'; X } X else @@ -953,9 +957,9 @@ X &define_configure_variable ('LEX_OUTPUT_ROOT'); X &define_configure_variable ('LEXLIB'); X $output_rules .= "$lex_suffix$c_suffix:\n\t"; - + X if ($use_interlock) - { + { X # is the $@ correct here? If so, why not use it in the X # interlock build rule for yacc above? X $output_rules .= '$(SHELL) $(INTERLOCK) =lexlockdir $(YLWRAP)' @@ -1038,7 +1042,7 @@ X # distribution. If the extension is the regular '.y' or X # '.l', we assume C compilation, and the generated file X # has exension .c. Otherwise, we compile with C++, and - # make the following association: (yy -> cc, y++ -> c++, + # make the following association: (yy -> cc, y++ -> c++, X # yxx -> cxx), similarly for .ll, etc. X if (/^(.*)\.(y|yy|y\+\+|yxx)$/) X { @@ -1080,17 +1084,16 @@ X { X # .s is assembly. Just rewrite it. FIXME: not finished. X } - elsif (s/\.[cly]$/._o/) + elsif (s/\.[cly]$//) X { X # .c is C. .l is lex. .y is yacc. X - # Note: first we rewrite (eg) foo.c to foo._o and push - # the file onto the list of objects that require - # ansi2knr. Then we rewrite ._o to $obj; $obj can be - # simply `.o' if deansification is not really - # required. - $de_ansi_objects{$_} = 1; - s/\._o$/$obj/; + # Note: first we rewrite (eg) foo.c to foo and push the file + # onto the list of source bases that require ansi2knr. Then + # we suffix $obj; $obj can be simply `.o' if deansification + # is not really required. + $de_ansi_bases{$_} = 1; + s/$/$obj/; X $seen_c_source = -1 unless $seen_c_source; X } X else @@ -1906,7 +1909,7 @@ X # Find these programs wherever they may lie. Yes, this has X # intimate knowledge of the structure of the texinfo distribution. X &define_program_variable ('MAKEINFO', 'build', 'texinfo/makeinfo', - '@MAKEINFO@'); + 'makeinfo', '@MAKEINFO@'); X &define_program_variable ('TEXI2DVI', 'src', 'texinfo/util', X 'texi2dvi'); X @@ -2330,7 +2333,7 @@ X # tarfile. X distcheck: dist X rm -rf $(distdir) - GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz + GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz --mode=a+r X mkdir $(distdir)/=build X mkdir $(distdir)/=inst X dc_install_base=`cd $(distdir)/=inst && pwd`; \\' @@ -3792,6 +3795,10 @@ X { X $configure_vars{$3} = 1; X } + if (/$AM_MISSING_PATTERN/o) + { + $configure_vars{$1} = 1; + } X X # Explicitly avoid ANSI2KNR -- we AC_SUBST that in protos.m4, X # but later define it elsewhere. This is pretty hacky. We @@ -4154,9 +4161,16 @@ X # be found. (runtest is in srcdir!) X # * SUBDIR Subdir of top-level dir X # * PROGRAM Name of program +# * OVERRIDE If specified, the name of the program to use when not in +# Cygnus mode. Defaults to PROGRAM. X sub define_program_variable X { - local ($var, $whatdir, $subdir, $program) = @_; + local ($var, $whatdir, $subdir, $program, $override) = @_; + + if (! $override) + { + $override = $program; + } X X if ($cygnus_mode) X { @@ -4168,7 +4182,7 @@ X } X else X { - &define_variable ($var, $program); + &define_variable ($var, $override); X } X } X @@ -4469,14 +4483,13 @@ X # Ignore return result from chmod, because it might give an error X # if we chmod a symlink. X $dist_header = "\t" . '-chmod -R a+r $(distdir)' . "\n"; - $dist{'tarZ'} = ("\t" - . '$(TAR) chf - $(distdir) | compress -c > $(distdir).tar.Z' - . "\n"); - $dist{'shar'} = ("\t" - . 'shar $(distdir) | gzip > $(distdir).shar.gz' - . "\n"); + $dist{'tarZ'} = "\t" . '$(TAR) chf - $(distdir) --mode=a+r' + . ' | compress -c > $(distdir).tar.Z' . "\n"; + $dist{'shar'} = "\t" . 'shar $(distdir) | gzip > $(distdir).shar.gz' . "\n"; X $dist{'zip'} = "\t" . 'zip -rq $(distdir).zip $(distdir)' . "\n"; - $dist{'dist'} = "\t" . 'GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)' . "\n"; + $dist{'dist'} = "\t" + . 'GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz --mode=a+r $(distdir)' + . "\n"; X $dist_trailer = "\t" . 'rm -rf $(distdir)' . "\n"; X } X @@ -4592,9 +4605,9 @@ X # This is a list of all targets to run during "make dist". X @dist_targets = (); X - # Keys in this hash are the names of ._o files which must depend + # Keys in this hash are the base names of ._c files which must depend X # on ansi2knr. Ugh. - %de_ansi_objects = (); + %de_ansi_bases = (); X } X X --- automake-1.1n-ref/compile-kr.am Tue Dec 3 20:54:39 1996 +++ automake-1.1n/compile-kr.am Tue Apr 22 13:55:21 1997 @@ -15,8 +15,6 @@ X ## along with this program; if not, write to the Free Software X ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA X ## 02111-1307, USA. -.c._c: - $(ANSI2KNR) $< > $*.tmp && mv $*.tmp $@ X X ._c._o: X @echo "$(COMPILE) -c $<" @@ -27,15 +25,3 @@ X @echo "$(LIBTOOL) --mode=compile $(COMPILE) -c $<" X @rm -f _$*.c X @ln $< _$*.c && $(LIBTOOL) --mode=compile $(COMPILE) -c _$*.c && mv _$*.lo $@ && rm _$*.c - -.c._o: - $(ANSI2KNR) $< > $*.tmp && mv $*.tmp $*._c - @echo "$(COMPILE) -c $*._c" - @rm -f _$*.c - @ln $*._c _$*.c && $(COMPILE) -c _$*.c && mv _$*.o $@ && rm _$*.c - -.c.l_o: - $(ANSI2KNR) $< > $*.tmp && mv $*.tmp $*._c - @echo "$(LIBTOOL) --mode=compile $(COMPILE) -c $*._c" - @rm -f _$*.c - @ln $*._c _$*.c && $(LIBTOOL) --mode=compile $(COMPILE) -c _$*.c && mv _$*.lo $@ && rm _$*.c --- automake-1.1n-ref/mdate-sh Wed Apr 2 02:22:28 1997 +++ automake-1.1n/mdate-sh Sat Apr 12 18:35:23 1997 @@ -1,7 +1,7 @@ X #!/bin/sh -# mdate-sh - get modification time of a file and pretty-print it -# Copyright (C) 1995 Free Software Foundation, Inc. -# Written by Ulrich Drepper , June 1995 +# Get modification time of a file or directory and pretty-print it. +# Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. +# written by Ulrich Drepper , June 1995 X # X # This program is free software; you can redistribute it and/or modify X # it under the terms of the GNU General Public License as published by @@ -14,8 +14,8 @@ X # GNU General Public License for more details. X # X # You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# along with this program; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. X X # Prevent date giving response in another language. X LANG=C @@ -26,13 +26,14 @@ X export LC_TIME X X # Get the extended ls output of the file or directory. +# On HPUX /bin/sh, "set" interprets "-rw-r--r--" as options, so the "x" below. X if ls -L /dev/null 1>/dev/null 2>&1; then - set - `ls -L -l -d $1` + set - x`ls -L -l -d $1` X else - set - `ls -l -d $1` + set - x`ls -l -d $1` X fi -# The month is at least the fourth argument. -# (3 shifts here, the next inside the loop) +# The month is at least the fourth argument +# (3 shifts here, the next inside the loop). X shift X shift X shift diff -ur automake-1.1n-ref/mkinstalldirs automake-1.1n/mkinstalldirs --- automake-1.1n-ref/mkinstalldirs Fri Apr 5 02:26:24 1996 +++ automake-1.1n/mkinstalldirs Tue May 7 13:16:48 1996 @@ -2,17 +2,20 @@ X # mkinstalldirs --- make directory hierarchy X # Author: Noah Friedman X # Created: 1993-05-16 -# Last modified: 1994-03-25 X # Public domain X +# $Id: mkinstalldirs,v 1.10 1996/05/03 07:37:52 friedman Exp $ + X errstatus=0 X -for file in ${1+"$@"} ; do +for file +do X set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` X shift X X pathcomp= - for d in ${1+"$@"} ; do + for d + do X pathcomp="$pathcomp$d" X case "$pathcomp" in X -* ) pathcomp=./$pathcomp ;; @@ -20,11 +23,12 @@ X X if test ! -d "$pathcomp"; then X echo "mkdir $pathcomp" 1>&2 - mkdir "$pathcomp" > /dev/null 2>&1 || lasterr=$? - fi X - if test ! -d "$pathcomp"; then - errstatus=$lasterr + mkdir "$pathcomp" || lasterr=$? + + if test ! -d "$pathcomp"; then + errstatus=$lasterr + fi X fi X X pathcomp="$pathcomp/" SHAR_EOF $shar_touch -am 0423091597 'tar-1.12/AM-PATCHES' && chmod 0644 'tar-1.12/AM-PATCHES' || $echo 'restore of' 'tar-1.12/AM-PATCHES' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/AM-PATCHES:' 'MD5 check failed' 92ce40e46130fcc5ad315b10bbc28f21 tar-1.12/AM-PATCHES SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/AM-PATCHES'`" test 9656 -eq "$shar_count" || $echo 'tar-1.12/AM-PATCHES:' 'original size' '9656,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/BI-PATCHES ============== if test -f 'tar-1.12/BI-PATCHES' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/BI-PATCHES' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/BI-PATCHES' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/BI-PATCHES' && diff -ur bison-1.25-ref/bison.simple bison-1.25/bison.simple --- bison-1.25-ref/bison.simple Sat May 11 15:13:26 1996 +++ bison-1.25/bison.simple Thu Apr 24 08:14:35 1997 @@ -38,13 +38,18 @@ X #pragma alloca X #else /* not MSDOS, __TURBOC__, or _AIX */ X #ifdef __hpux +#include +#ifdef _ULONG_T /* defined in on HP-UX 10 */ +#include +#else /* earlier HP-UX versions have alloca as a library function */ X #ifdef __cplusplus X extern "C" { X void *alloca (unsigned int); X }; X #else /* not __cplusplus */ -void *alloca (); +#define alloca __builtin_alloca X #endif /* not __cplusplus */ +#endif /* HP-UX <= 9 */ X #endif /* __hpux */ X #endif /* not _AIX */ X #endif /* not MSDOS, or __TURBOC__ */ @@ -153,6 +158,11 @@ X int yyparse (void); X #endif X +/* Define __yy_memcpy. Note that the size argument + should be passed with type unsigned int, because that is what the non-GCC + definitions require. With GCC, __builtin_memcpy takes an arg + of type size_t, but it can handle unsigned int. */ + X #if __GNUC__ > 1 /* GNU C and GNU C++ define this. */ X #define __yy_memcpy(TO,FROM,COUNT) __builtin_memcpy(TO,FROM,COUNT) X #else /* not GNU C or C++ */ @@ -164,7 +174,7 @@ X __yy_memcpy (to, from, count) X char *to; X char *from; - int count; + unsigned int count; X { X register char *f = from; X register char *t = to; @@ -179,7 +189,7 @@ X /* This is the most reliable way to avoid incompatibilities X in available built-in functions on various systems. */ X static void -__yy_memcpy (char *to, char *from, int count) +__yy_memcpy (char *to, char *from, unsigned int count) X { X register char *f = from; X register char *t = to; @@ -331,12 +341,15 @@ X if (yystacksize > YYMAXDEPTH) X yystacksize = YYMAXDEPTH; X yyss = (short *) alloca (yystacksize * sizeof (*yyssp)); - __yy_memcpy ((char *)yyss, (char *)yyss1, size * sizeof (*yyssp)); + __yy_memcpy ((char *)yyss, (char *)yyss1, + (unsigned int) size * sizeof (*yyssp)); X yyvs = (YYSTYPE *) alloca (yystacksize * sizeof (*yyvsp)); - __yy_memcpy ((char *)yyvs, (char *)yyvs1, size * sizeof (*yyvsp)); + __yy_memcpy ((char *)yyvs, (char *)yyvs1, + (unsigned int) size * sizeof (*yyvsp)); X #ifdef YYLSP_NEEDED X yyls = (YYLTYPE *) alloca (yystacksize * sizeof (*yylsp)); - __yy_memcpy ((char *)yyls, (char *)yyls1, size * sizeof (*yylsp)); + __yy_memcpy ((char *)yyls, (char *)yyls1, + (unsigned int) size * sizeof (*yylsp)); X #endif X #endif /* no yyoverflow */ X -- SHAR_EOF $shar_touch -am 0424081697 'tar-1.12/BI-PATCHES' && chmod 0644 'tar-1.12/BI-PATCHES' || $echo 'restore of' 'tar-1.12/BI-PATCHES' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/BI-PATCHES:' 'MD5 check failed' 8549cdfa0153388e3c110c79e4b2a534 tar-1.12/BI-PATCHES SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/BI-PATCHES'`" test 2545 -eq "$shar_count" || $echo 'tar-1.12/BI-PATCHES:' 'original size' '2545,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/doc/ChangeLog ============== if test ! -d 'tar-1.12/doc'; then $echo 'x -' 'creating directory' 'tar-1.12/doc' mkdir 'tar-1.12/doc' fi if test -f 'tar-1.12/doc/ChangeLog' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/doc/ChangeLog' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/doc/ChangeLog' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/doc/ChangeLog M,3DY-RTP-"TR,R`@1G)A;N=O:7,@4&EN87)D("`\<&EN87)D0&ER;RYU;6]N M=')E86PN8V$^"@H)*B!296QE87-E(#$N,3(N"@H)*B!-86ME9FEL92YA;2`H M15A44D%?1$E35"DZ(%)E;6]V92!T87(M;65W+G1E>&D@9F]R('1H92!R96QE M87-E+@H)*'1A&DN"@HQ.3DW+3`S M+3$V("!&2!O;B`M22!T;PH)"P@ M;F]W('1H870@075T;VUA:V4*"6AA;F1L97,@:70@875T;VUA=&EC86QL>2X* M"C$Y.38M,#&EN9F\N=&5X+"!U;G1I;"!!=71O;6%K90H) M9&]E2!* M;VYA=&AA;B!4:&]R;F)U2!#97-A M2!D M;V5S(&YO="!S:&%D;W<@=&AE(')E86P@;VYE+@H)*'1A&EN9F\N=&5X(&ES(&9O=6YD+"!A'!A;F0@=&%R+G1E>&EN9F\N"@HQ.3DU+3`V+3`W("!&&DN"@HQ.3DT+3$Q+3`W("!&&-L96%N*3H@1&5L971E9"P@;65R9V5D(&EN=&\@;6]S=&QY8VQE M86XN"@DH36%K969I;&4I.B!(879E("XO8V]N9FEG+G-T871U2!O;FQY+@H*,3DY-"TP."TR,2`@1G)A;N=O:7,@ M4&EN87)D("`\<&EN87)D0&ER;RYU;6]N=')E86PN8V$^"@H)*B!-86ME9FEL M92YI;CH@0V]R&DZ($YE=R!F:6QE+@H)*B!-86ME9FEL M92YI;CH@1&ES=')I8G5T92!I="X*"C$Y.30M,#@M,3<@($9R86[G;VES(%!I M;F%R9"`@/'!I;F%R9$!I&EN9F\N=&5X.B!.97&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/doc/ChangeLog:' 'MD5 check failed' ba54d457c84c6dcb5edcb2ff87531d8d tar-1.12/doc/ChangeLog SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/doc/ChangeLog'`" test 5297 -eq "$shar_count" || $echo 'tar-1.12/doc/ChangeLog:' 'original size' '5297,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/doc/Makefile.am ============== if test -f 'tar-1.12/doc/Makefile.am' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/doc/Makefile.am' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/doc/Makefile.am' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/doc/Makefile.am' && # Makefile for GNU tar documentation. # Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc. X # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. X # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. X # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. X AUTOMAKE_OPTIONS = gnits info_TEXINFOS = tar.texi X EXTRA_DIST = convtexi.pl getdate.texi header.texi X CLEANFILES = tmp-* X # The rendering level is anyone of PUBLISH, DISTRIB or PROOF. # Just call `make dvi RENDITION=PROOF' if you want PROOF rendition. RENDITION = DISTRIB X tar.info: tar.texi getdate.texi header.texi version.texi X @echo "WARNING: \`makeinfo' will not preprocess Texinfo input properly" X @echo " for expanding Texinfo macros, if it comes from a" X @echo " Texinfo distribution which is earlier than version 3.7." X cd $(srcdir) && $(MAKEINFO) -D$(RENDITION) tar.texi X tar.dvi: tar.texi getdate.texi header.texi version.texi X @echo "WARNING: \`makeinfo' will not preprocess Texinfo input properly" X @echo " for expanding Texinfo macros, if it comes from a" X @echo " Texinfo distribution which is earlier than version 3.7." X $(MAKEINFO) -D$(RENDITION) -Etmp-tar.tmp -otmp-tar.info \ X -I$(srcdir) tar.texi X rm -f tmp-tar.sed tmp-tar.info* X test $(RENDITION) = DISTRIB \ X || echo >>tmp-tar.sed 's/^@set DISTRIB/@set $(RENDITION)/' X test $(RENDITION) = PUBLISH \ X || echo >>tmp-tar.sed '/^@smallbook/d' X sed -f tmp-tar.sed tmp-tar.tmp > tmp-tar.texi X rm -f tmp-tar.sed tmp-tar.tmp X TEXINPUTS=$(srcdir):$$TEXINPUTS $(TEXI2DVI) tmp-tar.texi X mv tmp-tar.dvi $@ X header.texi: $(top_srcdir)/src/tar.h X sed -n '/Archive Format/,/End of Format/p' $(top_srcdir)/src/tar.h \ X | expand | sed 's/\([{}]\)/@\1/g' > $(srcdir)/header.texi SHAR_EOF $shar_touch -am 0424200897 'tar-1.12/doc/Makefile.am' && chmod 0644 'tar-1.12/doc/Makefile.am' || $echo 'restore of' 'tar-1.12/doc/Makefile.am' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/doc/Makefile.am:' 'MD5 check failed' 2bc8ae7677881048600e5f0a7492f090 tar-1.12/doc/Makefile.am SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/doc/Makefile.am'`" test 2268 -eq "$shar_count" || $echo 'tar-1.12/doc/Makefile.am:' 'original size' '2268,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/doc/Makefile.in ============== if test -f 'tar-1.12/doc/Makefile.in' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/doc/Makefile.in' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/doc/Makefile.in' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/doc/Makefile.in' && # Makefile.in generated automatically by automake 1.1n from Makefile.am X # Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. X # Makefile for GNU tar documentation. # Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc. X # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. X # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. X # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. X X SHELL = /bin/sh X srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ X bindir = @bindir@ sbindir = @sbindir@ libexecdir = @libexecdir@ datadir = @datadir@ sysconfdir = @sysconfdir@ sharedstatedir = @sharedstatedir@ localstatedir = @localstatedir@ libdir = @libdir@ infodir = @infodir@ mandir = @mandir@ includedir = @includedir@ oldincludedir = /usr/include X pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ X top_builddir = .. X ACLOCAL = @ACLOCAL@ AUTOCONF = @AUTOCONF@ AUTOMAKE = @AUTOMAKE@ AUTOHEADER = @AUTOHEADER@ X INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ transform = @program_transform_name@ X NORMAL_INSTALL = true PRE_INSTALL = true POST_INSTALL = true NORMAL_UNINSTALL = true PRE_UNINSTALL = true POST_UNINSTALL = true ACLOCAL = @ACLOCAL@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ DATADIRNAME = @DATADIRNAME@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ GENCAT = @GENCAT@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GT_NO = @GT_NO@ GT_YES = @GT_YES@ INSTOBJEXT = @INSTOBJEXT@ INTLDEPS = @INTLDEPS@ INTLLIBS = @INTLLIBS@ INTLOBJS = @INTLOBJS@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ PACKAGE = @PACKAGE@ POFILES = @POFILES@ POSUB = @POSUB@ RANLIB = @RANLIB@ RMT = @RMT@ U = @U@ USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ YACC = @YACC@ X AUTOMAKE_OPTIONS = gnits info_TEXINFOS = tar.texi X EXTRA_DIST = convtexi.pl getdate.texi header.texi X CLEANFILES = tmp-* X # The rendering level is anyone of PUBLISH, DISTRIB or PROOF. # Just call `make dvi RENDITION=PROOF' if you want PROOF rendition. RENDITION = DISTRIB mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = ../config.h CONFIG_CLEAN_FILES = TEXI2DVI = texi2dvi TEXINFO_TEX = $(srcdir)/texinfo.tex INFO_DEPS = tar.info DVIS = tar.dvi TEXINFOS = tar.texi DIST_COMMON = ChangeLog Makefile.am Makefile.in mdate-sh stamp-vti \ texinfo.tex version.texi X X DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) X TAR = tar GZIP = --best default: all X X.SUFFIXES: X.SUFFIXES: .texi .texinfo .info .dvi .ps $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) X cd $(top_srcdir) && $(AUTOMAKE) --gnits doc/Makefile X Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) X cd $(top_builddir) \ X && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status X X version.texi: stamp-vti X cp $(srcdir)/stamp-vti $(srcdir)/version.texi X stamp-vti: tar.texi $(top_srcdir)/configure.in X @echo "@set UPDATED `cd $(srcdir) \ X && $(SHELL) ./mdate-sh tar.texi`" > vti.tmp X @echo "@set EDITION $(VERSION)" >> vti.tmp X @echo "@set VERSION $(VERSION)" >> vti.tmp X @cmp -s vti.tmp $(srcdir)/stamp-vti \ X || (echo "Updating $(srcdir)/stamp-vti"; \ X cp vti.tmp $(srcdir)/stamp-vti) X @rm -f vti.tmp X mostlyclean-vti: X rm -f vti.tmp X clean-vti: X distclean-vti: X maintainer-clean-vti: X rm -f stamp-vti version.texi X tar.info: tar.texi version.texi tar.dvi: tar.texi version.texi X X DVIPS = dvips X X.texi.info: X cd $(srcdir) \ X && $(MAKEINFO) `echo $< | sed 's,.*/,,'` X X.texi.dvi: X TEXINPUTS=$(srcdir):$$TEXINPUTS \ X MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $< X X.texi: X cd $(srcdir) \ X && $(MAKEINFO) `echo $< | sed 's,.*/,,'` X X.texinfo.info: X cd $(srcdir) \ X && $(MAKEINFO) `echo $< | sed 's,.*/,,'` X X.texinfo: X cd $(srcdir) \ X && $(MAKEINFO) `echo $< | sed 's,.*/,,'` X X.texinfo.dvi: X TEXINPUTS=$(srcdir):$$TEXINPUTS \ X MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $< X.dvi.ps: X $(DVIPS) $< -o $@ X install-info-am: $(INFO_DEPS) X @$(NORMAL_INSTALL) X $(mkinstalldirs) $(infodir) X @for file in $(INFO_DEPS); do \ X d=$(srcdir); \ X for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \ X if test -f $$d/$$ifile; then \ X echo " $(INSTALL_DATA) $$d/$$ifile $(infodir)/$$ifile"; \ X $(INSTALL_DATA) $$d/$$ifile $(infodir)/$$ifile; \ X else : ; fi; \ X done; \ X done X @$(POST_INSTALL) X @if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \ X for file in $(INFO_DEPS); do \ X echo " install-info --info-dir=$(infodir) $(infodir)/$$file";\ X install-info --info-dir=$(infodir) $(infodir)/$$file; :;\ X done; \ X else : ; fi X uninstall-info: X $(PRE_UNINSTALL) X if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \ X ii=yes; \ X else ii=; fi; \ X for file in $(INFO_DEPS); do \ X test -z $ii || install-info --info-dir=$(infodir) --remove $$file; \ X done X $(NORMAL_UNINSTALL) X for file in $(INFO_DEPS); do \ X (cd $(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \ X done X dist-info: $(INFO_DEPS) X for base in $(INFO_DEPS); do \ X d=$(srcdir); \ X for file in `cd $$d && eval echo $$base*`; do \ X test -f $(distdir)/$$file \ X || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ X || cp -p $$d/$$file $(distdir)/$$file; \ X done; \ X done X mostlyclean-info: X rm -f tar.aux tar.cp tar.cps tar.dvi tar.fn tar.fns tar.ky tar.log \ X tar.pg tar.toc tar.tp tar.tps tar.vr tar.vrs tar.op tar.tr \ X tar.cv X clean-info: X distclean-info: X maintainer-clean-info: X for i in $(INFO_DEPS); do rm -f `eval echo $$i*`; done tags: TAGS TAGS: X X distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) X subdir = doc distdir: $(DISTFILES) X @for file in $(DISTFILES); do \ X d=$(srcdir); \ X test -f $(distdir)/$$file \ X || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ X || cp -p $$d/$$file $(distdir)/$$file; \ X done X $(MAKE) distdir="$(distdir)" dist-info info: $(INFO_DEPS) dvi: $(DVIS) check: all X $(MAKE) installcheck: install-exec: X @$(NORMAL_INSTALL) X install-data: install-info-am X @$(NORMAL_INSTALL) X install: install-exec install-data all X @: X uninstall: uninstall-info X all: $(INFO_DEPS) Makefile X install-strip: X $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install installdirs: X $(mkinstalldirs) $(infodir) X X mostlyclean-generic: X test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) X clean-generic: X test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) X distclean-generic: X rm -f Makefile $(DISTCLEANFILES) X rm -f config.cache config.log stamp-h X test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) X maintainer-clean-generic: X test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) X test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) mostlyclean: mostlyclean-vti mostlyclean-info mostlyclean-generic X clean: clean-vti clean-info clean-generic mostlyclean X distclean: distclean-vti distclean-info distclean-generic clean X rm -f config.status X maintainer-clean: maintainer-clean-vti maintainer-clean-info \ X maintainer-clean-generic distclean X @echo "This command is intended for maintainers to use;" X @echo "it deletes files that may require special tools to rebuild." X X.PHONY: default mostlyclean-vti distclean-vti clean-vti \ maintainer-clean-vti install-info-am uninstall-info mostlyclean-info \ distclean-info clean-info maintainer-clean-info tags distdir info dvi \ installcheck install-exec install-data install uninstall all \ installdirs mostlyclean-generic distclean-generic clean-generic \ maintainer-clean-generic clean mostlyclean distclean maintainer-clean X X tar.info: tar.texi getdate.texi header.texi version.texi X @echo "WARNING: \`makeinfo' will not preprocess Texinfo input properly" X @echo " for expanding Texinfo macros, if it comes from a" X @echo " Texinfo distribution which is earlier than version 3.7." X cd $(srcdir) && $(MAKEINFO) -D$(RENDITION) tar.texi X tar.dvi: tar.texi getdate.texi header.texi version.texi X @echo "WARNING: \`makeinfo' will not preprocess Texinfo input properly" X @echo " for expanding Texinfo macros, if it comes from a" X @echo " Texinfo distribution which is earlier than version 3.7." X $(MAKEINFO) -D$(RENDITION) -Etmp-tar.tmp -otmp-tar.info \ X -I$(srcdir) tar.texi X rm -f tmp-tar.sed tmp-tar.info* X test $(RENDITION) = DISTRIB \ X || echo >>tmp-tar.sed 's/^@set DISTRIB/@set $(RENDITION)/' X test $(RENDITION) = PUBLISH \ X || echo >>tmp-tar.sed '/^@smallbook/d' X sed -f tmp-tar.sed tmp-tar.tmp > tmp-tar.texi X rm -f tmp-tar.sed tmp-tar.tmp X TEXINPUTS=$(srcdir):$$TEXINPUTS $(TEXI2DVI) tmp-tar.texi X mv tmp-tar.dvi $@ X header.texi: $(top_srcdir)/src/tar.h X sed -n '/Archive Format/,/End of Format/p' $(top_srcdir)/src/tar.h \ X | expand | sed 's/\([{}]\)/@\1/g' > $(srcdir)/header.texi X # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. X.NOEXPORT: SHAR_EOF $shar_touch -am 0425202197 'tar-1.12/doc/Makefile.in' && chmod 0644 'tar-1.12/doc/Makefile.in' || $echo 'restore of' 'tar-1.12/doc/Makefile.in' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/doc/Makefile.in:' 'MD5 check failed' c67783706ee8645098f69226fa596682 tar-1.12/doc/Makefile.in SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/doc/Makefile.in'`" test 9786 -eq "$shar_count" || $echo 'tar-1.12/doc/Makefile.in:' 'original size' '9786,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/doc/mdate-sh ============== if test -f 'tar-1.12/doc/mdate-sh' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/doc/mdate-sh' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/doc/mdate-sh' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/doc/mdate-sh' && #!/bin/sh # Get modification time of a file or directory and pretty-print it. # Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. # written by Ulrich Drepper , June 1995 # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. X # Prevent date giving response in another language. LANG=C export LANG LC_ALL=C export LC_ALL LC_TIME=C export LC_TIME X # Get the extended ls output of the file or directory. # On HPUX /bin/sh, "set" interprets "-rw-r--r--" as options, so the "x" below. if ls -L /dev/null 1>/dev/null 2>&1; then X set - x`ls -L -l -d $1` else X set - x`ls -l -d $1` fi # The month is at least the fourth argument # (3 shifts here, the next inside the loop). shift shift shift X # Find the month. Next argument is day, followed by the year or time. month= until test $month do X shift X case $1 in X Jan) month=January; nummonth=1;; X Feb) month=February; nummonth=2;; X Mar) month=March; nummonth=3;; X Apr) month=April; nummonth=4;; X May) month=May; nummonth=5;; X Jun) month=June; nummonth=6;; X Jul) month=July; nummonth=7;; X Aug) month=August; nummonth=8;; X Sep) month=September; nummonth=9;; X Oct) month=October; nummonth=10;; X Nov) month=November; nummonth=11;; X Dec) month=December; nummonth=12;; X esac done X day=$2 X # Here we have to deal with the problem that the ls output gives either # the time of day or the year. case $3 in X *:*) set `date`; eval year=\$$# X case $2 in X Jan) nummonthtod=1;; X Feb) nummonthtod=2;; X Mar) nummonthtod=3;; X Apr) nummonthtod=4;; X May) nummonthtod=5;; X Jun) nummonthtod=6;; X Jul) nummonthtod=7;; X Aug) nummonthtod=8;; X Sep) nummonthtod=9;; X Oct) nummonthtod=10;; X Nov) nummonthtod=11;; X Dec) nummonthtod=12;; X esac X # For the first six month of the year the time notation can also X # be used for files modified in the last year. X if (expr $nummonth \> $nummonthtod) > /dev/null; X then X year=`expr $year - 1` X fi;; X *) year=$3;; esac X # The result. echo $day $month $year SHAR_EOF $shar_touch -am 0412183597 'tar-1.12/doc/mdate-sh' && chmod 0644 'tar-1.12/doc/mdate-sh' || $echo 'restore of' 'tar-1.12/doc/mdate-sh' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/doc/mdate-sh:' 'MD5 check failed' 6e1ee45d6d5e2fc2cb985e1b933318b6 tar-1.12/doc/mdate-sh SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/doc/mdate-sh'`" test 2679 -eq "$shar_count" || $echo 'tar-1.12/doc/mdate-sh:' 'original size' '2679,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/doc/stamp-vti ============== if test -f 'tar-1.12/doc/stamp-vti' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/doc/stamp-vti' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/doc/stamp-vti' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/doc/stamp-vti' && @set UPDATED 24 April 1997 @set EDITION 1.12 @set VERSION 1.12 SHAR_EOF $shar_touch -am 0425160597 'tar-1.12/doc/stamp-vti' && chmod 0644 'tar-1.12/doc/stamp-vti' || $echo 'restore of' 'tar-1.12/doc/stamp-vti' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/doc/stamp-vti:' 'MD5 check failed' d7e9a6bf531752bb644d3cc4d4f7c339 tar-1.12/doc/stamp-vti SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/doc/stamp-vti'`" test 63 -eq "$shar_count" || $echo 'tar-1.12/doc/stamp-vti:' 'original size' '63,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/doc/texinfo.tex ============== if test -f 'tar-1.12/doc/texinfo.tex' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/doc/texinfo.tex' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/doc/texinfo.tex' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/doc/texinfo.tex M)24@5&58(&UA8W)O"QV(#(N,3DV(#$Y.3'`@)`H*)2`@0V]P>7)I9VAT("A#*2`Q.3@U+"`X-BP@.#@L(#DP+"`Y M,2P@.3(L(#DS+`HE("`@("`@("`@("`@("`@(#DT+"`Y-2P@.38L(#DW($9R M964@4V]F='=A"!F:6QE(&ES(&1I0HE M;V8@34520TA!3E1!0DE,2519(&]R($9)5$Y%4U,@1D]2($$@4$%25$E#54Q! M4B!055)03U-%+B`@4V5E('1H92!'3E4*)4=E;F5R86P@4'5B;&EC($QI8V5N M&EN9F\N=&5X(&9I;&4[('-E92!T:&4@9FEL M92!#3U!924Y'+B`@268@;F]T+"!W%QI;G!U="!P;&%I;EQF:0H*)2!4:&ES M(&%U=&]M871I8V%L;'D@=7!D871E&EN9F]V97)S:6]N)",Q.B`C,B`D>UQD M969<=&5X:6YF;W9E&EN9F]V97)S:6]N73I]"@HE($EF(&EN(&$@+F9M M="!F:6QE+"!P&EN9F\@ M=F5RWT*("!<8V%T8V]D M96`K/5QA8W1I=F4@7&-A=&-O9&5@7%\]7&%C=&EV97T*"B4@4V%V92!S;VUE M('!A"!W:&]S92!N86UE&-O;6UA/5PL"EQL971<<'1E>&1O=#U< M+@I<;&5T7'!T97AD;W1S/5QD;W1S"EQL971<<'1E>&5N9#U<96YD"EQL971< M<'1E>&5Q=6EV(#T@7&5Q=6EV"EQL971<<'1E>&D]7&D*7&QE=%QP=&5X;&)R M86-E/5Q["EQL971<<'1E>')B'0]7'0*"B4@0F4@F]N=&%L(&UO M9&4@=VAE;B!D;VEN9R!A('1I92P@2P@8F5C875S92!T M:&%T(&-A=7-E"!F:6QE+@H@7&=L;V)A;%QL971<=&EE<&5N M86QT>2`](%Q`30H@7&=D969<=&EE>UQL96%V979M;V1E7'!E;F%L='E<=&EE M<&5N86QT>5P@?0I]"@H*7&UE7DH*"B4@4V5T M('5P(&9I>&5D('=O%QP=71W M;W)DW-E97U]7&9I)0I< M:69X7'!U='=OUQG9&5F7'!U M='=OW!A9V5]?5QF:24*7&EF>%QP=71W;W)D%QU;F1E9FEN961[7&=D M969<<'5T=V]R9$%P<&5N9&EX>T%P<&5N9&EX?7U<9FDE"@HE($EG;F]R92!A M('1O:V5N+@HE"EQD969<9V]B8FQE(S%[?0H*7&AY<&AE;F%T:6]N>V%P+7!E M;BUD:7A]"EQH>7!H96YA=&EO;GMM:6YI+6)U9BUF97(@;6EN:2UB=68M9F5R MV5S:&5L;'T*"B4@36%R9VEN('1O(&%D9"!T;R!R M:6=H="!O9B!E=F5N('!A9V5S+"!T;R!L969T(&]F(&]D9"!P86=E71H:6YG M(&EN('1H92!T2!0+B!!+B!-86-+ M87DL(#$R($YO=BX@,3DX-@HE"EQN97=D:6UE;EQC;W)N97)L;VYG(%QN97=D M:6UE;EQC;W)N97)T:&EC:PI<;F5W9&EM96X@7'1O<&%N9&)O='1O;6UAF4@7&YE=V1I;65N(%QO=71EF4@:7,@.2XR-6EN"EQO=71E2!S:&]U;&0@8F4L(&YO="!T M86ME;B!L:71E'M< M;&5T7&AS:7IE/5QP86=E=VED=&@@7&UA:V5F;V]T;&EN97TE"B`@)0H@('LE M"B`@("`E($AA=F4@=&\@9&\@=&AI2!T:&4@7'9B M;W@@96YD"!E;G1R:65S(&UUR4*("`@("`@7'5N=F)O>%QH96%D M;&EN96)O>`H@("`@("!<<&%G96)O9'E[(S%])0H@("`@("!<=6YV8F]X7&9O M;W1L:6YE8F]X"B`@("!])0H@("`@?24*("!<861V86YC97!A9V5N;PH@(%QI M9FYU;5QO=71P=71P96YA;'1Y/BTR,#`P,"!<96QS95QD;W-U<&5R96IE8W1< M9FD*?0H*)24E)2!&;W(@0&-R;W!M87)K2!D97-I"!T;R!<;W5T97)VF4]7&]U=&5R:'-I>F4*("`@("`@("`@("`@("`@("!<=F)O>'M<;&EN97M< M97=T;W!<:&9I;&Q<97=T;W!]?0H@("`@("`@("`@("`@("`@(%QN;VEN=&5R M;&EN97-K:7`*("`@("`@("`@("`@("`@("!<;&EN97M<=F)O>'M<;6]V96QE M9G1<8V]R;F5R=&AI8VM<;G-T;W!]"B`@("`@("`@("`@("`@("`@("`@("`@ M7&AF:6QL"B`@("`@("`@("`@("`@("`@("`@("`@7'9B;WA[7&UO=F5R:6=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`I<;&5T7'5N;G5M8F5R961S96-T:6]N/5QR M96QA>`I<;&5T7'5N;G5M8F5R961S=6)S96,]7')E;&%X"EQL971<=6YN=6UB M97)E9'-U8G-E8W1I;VX]7')E;&%X"EQL971<=6YN=6UB97)E9'-U8G-U8G-E M8SU<`I<;&5T7'-U8G-E8SU<`I<;&5T7&%P<&5N9&EX/5QR96QA>`I<;&5T M7&%P<&5N9&EX`I<;&5T7&%P<&5N9&EX'-U8G-E8SU<'-U M8G-E8W1I;VX]7')E;&%X"EQL971<87!P96YD:7AS=6)S=6)S96,]7')E;&%X M"EQL971<87!P96YD:7AS=6)S=6)S96-T:6]N/5QR96QA>`I<;&5T7&-O;G1E M;G1S/5QR96QA>`I<;&5T7'-M86QL8F]O:SU<2!AR4*("!<;&5T7&1E9F-O9&5I;F1E>"`](%QR96QA>`H@(%QL M971<9&5F8W8@/2!<`H@(%QL971<9&5F;W`@/2!<`H@(%QL971<9&5F='EP969U;B`](%QR96QA>`H@(%QL971<9&5F M='EP979A`H@(%QL971<9&5F='EP979R(#T@7')E;&%X"B`@ M7&QE=%QD969U;B`](%QR96QA>`H@(%QL971<9&5F=F%R(#T@7')E;&%X"B`@ M7&QE=%QD969V`H@(%QL971<')E9B`](%QR96QA>`H@(%QL971<`H@(%QL971<979E;FAE861I;F<@/2!<`H@ M(%QL971<979E;F9O;W1I;F<@/2!<`H@(%QL971<`H@(%QL971<:71E;2`](%QR96QA>`I]"@HE M($EG;F]R92!`:6=N;W)E("XN+B!`96YD(&EG;F]R92X*)0I<9&5F7&EG;F]R M97M<9&]I9VYO'0N"B4* M7&1E9EQI9FEN9F][7&1O:6=N;W)E>VEF:6YF;WU]"EQD969<:69H=&UL>UQD M;VEG;F]R97MI9FAT;6Q]?0I<9&5F7&AT;6Q[7&1O:6=N;W)E>VAT;6Q]?0I< M9&5F7&UE;G5[7&1O:6=N;W)E>VUE;G5]?0I<9&5F7&1IUQD;VEG M;F]R97MD:7)E;G1R>7U]"@HE($%L&DR9'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5R8V%S92!L971T M97(L"B4@;W(@;G5M8F5R+"!T;R!S<&5C:69Y('1H92!F:7)S="!L86)E;"!I M;B!T:&4@96YU;65R871E9"!L:7-T+B`@3F\*)2!AGT*7&1E9EQE;G5M97)A=&5Z>GH@(S%[7&5N=6UE7LE"B`@7&)E9VEN9W)O=7`@)2!E;F1E9"!B>2!T:&4@0&5N9"!E M;G5M97)A=&4*("`E"B`@)2!)9B!W92!W97)E(&=I=F5N(&YO(&%R9W5M96YT M+"!PR,Q M?24*("!<:69X7'1H96%R9UQE;7!T>2!<9&5F7'1H96%R9WLQ?5QF:0H@("4* M("`E($1E=&5C="!I9B!T:&4@87)G=6UE;G0@:7,@82!S:6YG;&4@=&]K96XN M("!)9B!S;RP@:70@;6EG:'0@8F4@80H@("4@;&5T=&5R+B`@3W1H97)W:7-E M+"!T:&4@;VYL>2!V86QI9"!T:&EN9R!I="!C86X@8F4@:7,@82!N=6UB97(N M"B`@)2`H5V4@=VEL;"!A;'=A>7,@:&%V92!O;F4@=&]K96XL(&)E8V%U'!A;F1A9G1E0H@("`@)2!/;FQY(&]N92!T;VME;B!I M;B!T:&4@87)G=6UE;G0N("!)="!C;W5L9"!S=&EL;"!B92!A;GET:&EN9RX* M("`@("4@02!@8&QO=V5R8V%S92!L971T97(G)R!I`H@("`@("!<;G5M97)I8V5N=6UER4*("!<:71E;6YO M(#T@7&5X<&%N9&%F=&5R8%QT:&5A6]N9"!T:&4@96YD(&]F('1H M92!A;'!H86)E="X*("`@(%QI9FYU;5QI=&5M;F\],`H@("`@("!<97)R;65S M2P@861D:6YG(&$@<&5R:6]D('1O('1H92!F:7)S="!AR4*("!<861V86YC95QI=&5M M;F\@8GD@+3$*("!<:71E;6EZ97E[(S$N?5Q%96YU;65R871E7&9L=7-H8W(* M?0H*)2!`86QP:&%E;G5M97)A=&4@86YD($!C87!S96YU;65R871E(&%R92!A M8F)R979I871I;VYS(&9OUQE;G5M97)A=&5[87U]"EQD969< M8V%PT%]?0I<9&5F7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<&QA=&4N"B4@("!`:71E;4!T86)`=&%B(%1H:7,@=VEL;"!B92!I;B!T:&ER M9"!C;VQU;6XN"B4@("!`96YD(&UU;'1I=&%B;&4*"B4@1&5F875L="!D:6UE M;G-I;VYS(&UA>2!B92!R97-E="!B>2!U&5N9'-E='5P=&%B;&5[7&5N9'-E='5P=&%B;&5]"EQL M971<8V]L=6UN9G)A8W1I;VYS7')E;&%X"EQD969<>&-O;'5M;F9R86-T:6]N MRXC,5QH MUQD969<9FER"4*7&5LR,Q('TE($%D9"!A(&YOUQT:&5<=V0P?24*("`@(%QF M:24*("!<9FDE"EQI9GA<9V]<<&EC:W5P=VAO;&5F6YT87@*7&1E9EQT86)[)EQH'T@)2`R+S(O.38* M("`@("`@("`@("`@("`@("`@("`@("`@("`@)2!T:6YY('-K:7`@:&5R92!M M86MEUQP87)S96%R9UQD M;W1A8FQE?0H*7&1E9EQD;W1A8FQE(S%[7&)G'!A;F1A9G1EF4*("`@)2!W92!W:6QL(&%D=F%N M8V4@7&AS:7IE(&)Y(%QM=6QT:71A8FQE8V]L2!<;75L=&ET86)L96-O;'-P86-E"B`@7&9I"B`E($EN(&5I=&AE M"!FR-]"B`E($!T86(@3&5G86P@:&]L:61A>2!W:&EC:"!I M2X* M("4@27,@875T;VUA=&EC86QL>2!P6-R>UQN;V%L:6=N>R4*)2!<9FEL8G)E M86LE)2!K965P6)E('-O+"!B=70@:70@86QS M;R!C2!W96ER9"!P86=E(&)R96%KR4@=&5S="!T;R!S964@:68@=7-EVEN9&5X:6YG+'T*)2!);F1E>"!G96YE'1`0&Y]?0H*)2!<;F5W:6YD97@@>V9O;WT@9&5F:6YE"!N86UE9"!F;V\N"B4@270@875T;VUA=&EC86QL>2!D969I;F5S(%QF M;V]I;F1E>"!S=6-H('1H870*)2!<9F]O:6YD97@@+BXN'1E;G-I;VX@:7,@9F]O+@HE M(%1H92!N86UE(&]F(&%N(&EN9&5X('-H;W5L9"!B92!N;R!M;W)E('1H86X@ M,B!C:&%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9&5X M;F%M97LC,7U<<&%RUQI;F1E>&YA;65]>UQC;V1E>R,Q M?7U]"@I<9&5F7&EN9&5X9'5M;6EEUQR96%L M8F%C:W-L87-H("=])0I<9&5F7%Y[7')E86QB86-KUQR96%L8F%C:W-L87-H(#U] M)0I<9&5F7&)[7')E86QB86-KUQR96%L8F%C:W-L87-H(&1])0I<9&5F7'5[7')E M86QB86-KUQR96%L8F%C:W-L87-H($A])0HE(%1A:V4@8V%R92!O9B!T:&4@<&QA M:6X@=&5X('-P96-I86P@175R;W!E86X@;6]D:69I960@;&5T=&5RUQR96%L8F%C:W-L87-H(&%A?24*7&1E9EQ/17M< MUQR96%L8F%C:W-L87-H($%!?24*7&1E9EQO>UQR96%L8F%C M:W-L87-H(&]])0I<9&5F7$][7')E86QB86-KUQR96%L8F%C:W-L87-H($Q])0I< M9&5F7'-S>UQR96%L8F%C:W-L87-H('-S?24*)2!486ME(&-AT!])2!W M:6QL(&)E($!`('=H96X@=V4@UQR96%L8F%C:W-L87-H(&)F('TE"B5<9&5F7')M M>UQR96%L8F%C:W-L87-H(')M('TE"EQD969<UQR M96%L8F%C:W-L87-H(&AA='TE"B5<9&5F7&-H87)[7')E86QB86-KUQR96%L8F%C:W-L87-H(%1E6'TE"EQD969<9&]T M7)I9VAT>UQR96%L M8F%C:W-L87-H(&-O<'ER:6=H="!])0I<9&5F7'1C;&]S92,C,7M<R,C,7U])0I<9&5F7&-O9&4C(S%[7')E86QB86-K MUQR96%L8F%C:W-L M87-H('-A;7`@>R,C,7U])0I<9&5F7"PC(S%[7')E86QB86-KUQR96%L8F%C:W-L87-H('0@>R,C,7U])0I<9&5F M7'(C(S%[7')E86QB86-KUQR96%L8F%C:W-L87-H M(&(@>R,C,7U])0I<9&5F7&-I=&4C(S%[7')E86QB86-KUQR96%L8F%C:W-L87-H(&ME>2![(R,Q?7TE M"EQD969<9FEL92,C,7M<UQR96%L8F%C M:W-L87-H(&5M<&@@>R,C,7U])0I<=6YS97!S<&%C97,*?0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=RX*("`@("`@("`@7&ME MUQL96%V979M;V1E7&QO=V5R M+C=E>%QC;W!Y7&5R"`@("!E M"!T96UP;W)A2X*)2!/;F4@97AC97!T M:6]N.B!`(&ES('-T:6QL(&%N(&5S8V%P92!C:&%R86-T97(L('-O('1H870@ M0&5N9"!T97@@=V]R:W,N"B4@0G5T(%Q`(&]R($!`('=I;&P@9V5T(&$@<&QA M:6X@=&5X($`@8VAA/3<@7&-A=&-O9&4@8%Q?/3@@7&-A=&-O9&4@8%Q^/3$S(%QL M971^/5QT:64*7&-A=&-O9&4@8%PE/3$T"EQC871C;V1E(#0S/3$R("4@<&QU M&1O=`I<;&5T7"H]7'!T97AS M=&%R"EQL971<9&]T&1O=',*7&1E9EQE;F1L9&]TUQL9&]TT!])0I<;&5T7&)U;&QE=#U<<'1E M>&)U;&QE=`I<;&5T7&(]7'!T97AB(%QL971<8SU<<'1E>&,@7&QE=%QI/5QP M=&5X:2!<;&5T7'0]7'!T97AT"B4*7&QE=%Q%=&5X/5QE;F1G2!I M2!I M;B!E;G9IUQO8F5YUQO8F5Y M65D6UM971R:6-A;"X@(%=E M('5S92!<<&%R2!<<&%RUQC:7)C;&5<8VAA MUQHUQC:7)C;&5<8VAAWM<:'-K:7`@-G!T7&-I"!T;R!<8V%R=&]U=&5R>UQHUQH8F]X('1O(%QC M87)T;W5T97)[7&AS:VEP7&QS:VEP"B`@("`@("`@7&-B;%QL96%D97)S7&AR M=6QE(&AE:6=H=%QC:7)C=&AI8VM<:&9I;%QC8G(*("`@("`@("!<:'-K:7!< M2U<;'-K:7`*("`@("`@("`@("`@("`@("`@("`@("`@("!<861V86YC95QC M87)T:6YN97(@8GDM7')S:VEP"B`@("`@("`@7&-AF4* M("`@("`@("!<861V86YC95QC87)T;W5T97(@8GD@,3AP="`E(&%L;&]W(&9O MF4]7&-AR4*("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("!<96YD9W)O M=7`*("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("!<:V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5W:69<:69W87)N961X2!AUQI;F9OGIZ(",Q+"PL+"HJ M?0I<9&5F7&EN9F]R969Z>GH@(S$L(S(L(S,L(S0J*GM<<'5T=V]R9%-E97M] M(%QP=71W;W)D26YF;WM](%QP=71W;W)D9FEL97M](%QF:6QE>UQI9VYOR,Q+71I M=&QE?7M9=&ET;&5])0I<9&]S971Q>R,Q+7!G?7M9<&%G96YU;6)EUEP86=E;G5M8F5R?24*7&1OUEN M;W1H:6YG?7T*"EQD969<87!P96YD:7AS971R968C,7LE"EQD;W-E='%[(S$M M=&ET;&5]>UET:71L97TE"EQD;W-E='%[(S$M<&=]>UEP86=E;G5M8F5R?24* M7&1OUEA<'!E;F1I>&QE='1E')E9BP@7'!X')E9EA;(S$L+"PL+"PL77T* M7&1E9EQX#$] M7&AB;WA[7'!R:6YT961M86YU86Q])0H@(%QS971B;W@P/5QH8F]X>UQP'!L:6-I=&QY(&=I=F5N+@H@("`@7&5X M<&%N9&%F=&5R7&EF>%QC')E9BUA=71O;6%T:6,MUQI9VYOWU])0H@ M("`@("`@(%QE;'-E"B`@("`@("`@("`E($]T:&5R=VES92!J=7-T(&-O<'D@ M=&AE($EN9F\@;F]D92!N86UE+@H@("`@("`@("`@7&1E9EQP#$@=&\@<')I;G0@=&AE(&YO9&4@;F%M97,L(%1E6"!D;V5S M(&YO=`H@("4@:6YS97)T(&5M<'1Y(&1I7!H96YS+"!W:&EC:"!M96%NUQP"US;G0L(&)A8VL@;VX@ M9F]R('1H90H@("`@)2!P"UP9RX*("`@('M<='5R;F]F9F%C=&EV92!<'LC,2US;G1]>WU])0H@ M("`@7'-P86-E(%M<<')I;G1E9&YO9&5N86UE72Q<'LC,2UP9WU[?24*("!< M9FD*7&5N9&=R;W5P?0H*)2!<9&]S971Q(&ES('1H92!I;G1E'1[7'=R:71E7&%U M>&9I;&5[7&EN=&5R;F%LR,R?7U])0I<;F5X='U]"@HE(%QI M;G1EV9O;WU[<&%G97T@97AP86YD')D968@>V9O;WU[+BXN97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/5QF;V]T M;F]T90H*>UQC871C;V1E(&!<0#TQ,0HE"B4@075T;RUN=6UB97(@9F]O=&YO M=&5S+B`@3W1H97)W:7-E(&QI:V4@<&QA:6XN"EQG9&5F7&9O;W1N;W1E>R4* M("!<9VQO8F%L7&%D=F%N8V5<9F]O=&YO=&5N;R!B>2!<0&YE"B`@7&5D969< M=&AI0H@(%QI M9FAM;V1E7&5D969<0'-F>UQS<&%C969A8W1O@I])0H*)2!$ M;VXG="!B;W1H97(@=VET:"!T:&4@=')I8VME2!D;SL@;W1H97)W:7-E+"!`:69S970@86YD M(&%N>71H:6YG(&5LGM<:6YS97)T7&9O;W1I;G-< M8F=R;W5P"B`@)2!792!W86YT('1O('1Y<&5S970@=&AI&%M<&QE*2!A(&1I"`E('1O<"!B87-E;&EN92!F;W(@8G)O M:V5N(&9O;W1N;W1E&1E<'1H7&1P7'-T5Q`34T*("!<;&5F='-K:7!<>D!S:VEP"B`@7')I M9VAT'0@;V9F('1H92!N=6UB97(N"B`@ M7&AA;F<*("!<=&5X=&EN9&5N='M<=&AI"P@:70@;75S M="!C;VUE('=I=&AI;B!T:&4@<&%R86=R87!H+"!L97-T(&ET"B`@)2!PRXW,#@S,WT*7&1E9EQS=')U=&1E<'1H<&5R8V5N="![+C(Y,38W?0HE M"EQD969<R4*("!<;F]R;6%L8F%S96QI;F5S:VEP(#T@ M(S%<R4*("`@(%QVR4*("`E(%QV861J=7-T(&-A;B!O;FQY(&)E('5S960@:6X@:&]R:7IO;G1A M;"!M;V1E+@H@(%QL96%V979M;V1E"B`@)0H@("4@07!P96YD('1H:7,@=F5R M=&EC86P@;6]D92!M871ER4*("`@("`@)0H@("`@("`E($9O&5S("AI;B!C87-E('EO=2!H879E(&1E M8VED960*)2!T:&%T('1H92!T97AT(&QO;VMS(&]K(&5V96X@=&AO=6=H(&ET M('!AUQO=F5R9G5L M;')U;&4],'!T?0H*"B4@16YD(&]F(&-O;G1R;VP@=V]R9"!D969I;FET:6]N MV%N9"!T=7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LD M7&1I86UO;F1S=6ET)'T*"B4@4V5T('5P(&%N(&%C=&EV92!D969I;FET:6]N M(&9O6IO M8B`H;W(@0'-E=&9I;&5N86UE*2!T=7)N('1H96T@;VXN"B4@7&]T:&5R:69Y M86-T:79E(&ES(&-A;&QE9"!N96%R('1H92!E;F0@;V8@=&AIUQC871C;V1E8"L]7&]T:&5R(%QC871C;V1E M8%Q?/5QO=&AEUQC871C M;V1E8%Q'A[7'U]"@HE(%QR M87=B86-K&5D('=I9'1H(&9O M;G0N"EQD969<;F]R;6%L8F%C:W-L87-H>WM<='1<'A] M?0H*)2!387D@0&9O;RP@;F]T(%QF;V\L(&EN(&5R2D@=&AE(&%C=&EV92!C:&%R86-T M97)S"B4@979E;B!A9G1E/4!N;W)M86QC87)E=`I` M;&5T7SU`;F]R;6%L=6YD97)S8V]R90I`;&5T?#U`;F]R;6%L=F5R=&EC86QB M87(*0&QE=#P]0&YO/4!N;W)M86QC87)E=`I`;&5T7SU` M;F]R;6%L=6YD97)S8V]R90I`;&5T?#U`;F]R;6%L=F5R=&EC86QB87(*0&QE M=#P]0&YO2!`9FEX8F%C:W-L M87-H+@I`;W1H97)I9GEA8W1I=F4*"B4@268@82`N9FUT(&9I;&4@:7,@8F5I M;F<@=7-E9"P@=V4@9&]N)W0@=V%N="!T:&4@8%QI;G!U="!T97AI;F9O)R!T M;R!S:&]W('5P+@HE(%1H870@:7,@=VAA="!<96%T:6YP=70@:7,@9F]R.R!A M9G1ET!F:7AB86-K&EN9F\G+B!4:&5N"B4@=&AE(&9IR!I M;B!T:&4@9FEL92!W;W5L9"!C875S92!A;B!E%Q`96%T:6YP=70@0&QE=%P@/2!`;F]R;6%L8F%C:W-L87-H($!F M:0H@($!C871C;V1E8"L]0&%C=&EV92!`8V%T8V]D96!`7SU`86-T:79E?0H* M)24@5&AE2!L;V%D960@8VUR,3`*0&-A=&-O9&5@0"0]0&]T:&5R($!C871C;V1E8$`E M/4!O=&AE&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/doc/texinfo.tex:' 'MD5 check failed' 90408c61098c18654db57f6ef9b5f164 tar-1.12/doc/texinfo.tex SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/doc/texinfo.tex'`" test 159650 -eq "$shar_count" || $echo 'tar-1.12/doc/texinfo.tex:' 'original size' '159650,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/doc/version.texi ============== if test -f 'tar-1.12/doc/version.texi' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/doc/version.texi' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/doc/version.texi' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/doc/version.texi' && @set UPDATED 24 April 1997 @set EDITION 1.12 @set VERSION 1.12 SHAR_EOF $shar_touch -am 0425160597 'tar-1.12/doc/version.texi' && chmod 0644 'tar-1.12/doc/version.texi' || $echo 'restore of' 'tar-1.12/doc/version.texi' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/doc/version.texi:' 'MD5 check failed' d7e9a6bf531752bb644d3cc4d4f7c339 tar-1.12/doc/version.texi SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/doc/version.texi'`" test 63 -eq "$shar_count" || $echo 'tar-1.12/doc/version.texi:' 'original size' '63,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/doc/tar.texi ============== if test -f 'tar-1.12/doc/tar.texi' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/doc/tar.texi' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/doc/tar.texi' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/doc/tar.texi' && \input texinfo @c %**start of header @setfilename tar.info @settitle GNU tar @finalout @smallbook @c %**end of header X @c ====================================================================== @c This document has three levels of rendition: PUBLISH, DISTRIB or PROOF, @c as decided by @set symbols. The PUBLISH rendition does not show @c notes or marks asking for revision. Most users will prefer having more @c information, even if this information is not fully revised for adequacy, @c so DISTRIB is the default for tar distributions. The PROOF rendition @c show all marks to the point of ugliness, but is nevertheless useful to @c those working on the manual itself. @c ====================================================================== X @ifclear PUBLISH @ifclear DISTRIB @ifclear PROOF @set DISTRIB @end ifclear @end ifclear @end ifclear X @ifset PUBLISH @set RENDITION The book, version @end ifset X @ifset DISTRIB @set RENDITION FTP release, version @end ifset X @ifset PROOF @set RENDITION Proof reading version @end ifset X @c --------------------------------------------------------------------- @c The @FIXME's, @UNREVISED and @c comments are part Fran@,{c}ois's work @c plan. These annotations are somewhat precious to him; he asks that I @c do not alter them inconsiderately. Much work is needed for GNU tar @c internals (the sources, the programs themselves). Revising the @c adequacy of the manual while revising the sources, and cleaning them @c both at the same time, seems to him like a good way to proceed. @c --------------------------------------------------------------------- X @c Output marks for nodes needing revision, but not in PUBLISH rendition. X @macro UNREVISED @ifclear PUBLISH @quotation @emph{(This message will disappear, once this node revised.)} @end quotation @end ifclear @end macro X @c Output various FIXME information only in PROOF rendition. X @macro FIXME{string} @allow-recursion @quote-arg @ifset PROOF @strong{} \string\ @strong{} @end ifset X @end macro X @macro FIXME-ref{string} @quote-arg @ifset PROOF @strong{} \string\ @strong{} @end ifset X @end macro X @macro FIXME-pxref{string} @quote-arg @ifset PROOF @strong{} \string\ @strong{} @end ifset X @end macro X @macro FIXME-xref{string} @quote-arg @ifset PROOF @strong{} \string\ @strong{} @end ifset X @end macro X @c @macro option{entry} @c @quote-arg @c @opindex{--\entry\} @c @value{\entry\} @c @end macro X @set op-absolute-names @kbd{--absolute-names} (@kbd{-P}) @set ref-absolute-names @ref{absolute} @set xref-absolute-names @xref{absolute} @set pxref-absolute-names @pxref{absolute} X @set op-after-date @kbd{--after-date=@var{date}} (@kbd{--newer=@var{date}}, @kbd{-N @var{date}}) @set ref-after-date @ref{after} @set xref-after-date @xref{after} @set pxref-after-date @pxref{after} X @set op-append @kbd{--append} (@kbd{-r}) @set ref-append @ref{add} @set xref-append @xref{add} @set pxref-append @pxref{add} X @set op-atime-preserve @kbd{--atime-preserve} @set ref-atime-preserve @ref{Attributes} @set xref-atime-preserve @xref{Attributes} @set pxref-atime-preserve @pxref{Attributes} X @set op-backup @kbd{--backup} @set ref-backup @ref{Backup options} @set xref-backup @xref{Backup options} @set pxref-backup @pxref{Backup options} X @set op-block-number @kbd{--block-number} (@kbd{-R}) @set ref-block-number @ref{verbose} @set xref-block-number @xref{verbose} @set pxref-block-number @pxref{verbose} X @set op-blocking-factor @kbd{--blocking-factor=@var{512-size}} (@kbd{-b @var{512-size}}) @set ref-blocking-factor @ref{Blocking Factor} @set xref-blocking-factor @xref{Blocking Factor} @set pxref-blocking-factor @pxref{Blocking Factor} X @set op-checkpoint @kbd{--checkpoint} @set ref-checkpoint @ref{verbose} @set xref-checkpoint @xref{verbose} @set pxref-checkpoint @pxref{verbose} X @set op-compare @kbd{--compare} (@kbd{--diff}, @kbd{-d}) @set ref-compare @ref{compare} @set xref-compare @xref{compare} @set pxref-compare @pxref{compare} X @set op-compress @kbd{--compress} (@kbd{--uncompress}, @kbd{-Z}) @set ref-compress @ref{gzip} @set xref-compress @xref{gzip} @set pxref-compress @pxref{gzip} X @set op-concatenate @kbd{--concatenate} (@kbd{--catenate}, @kbd{-A}) @set ref-concatenate @ref{concatenate} @set xref-concatenate @xref{concatenate} @set pxref-concatenate @pxref{concatenate} X @set op-create @kbd{--create} (@kbd{-c}) @set ref-create @ref{create} @set xref-create @xref{create} @set pxref-create @pxref{create} X @set op-delete @kbd{--delete} @set ref-delete @ref{delete} @set xref-delete @xref{delete} @set pxref-delete @pxref{delete} X @set op-dereference @kbd{--dereference} (@kbd{-h}) @set ref-dereference @ref{dereference} @set xref-dereference @xref{dereference} @set pxref-dereference @pxref{dereference} X @set op-directory @kbd{--directory=@var{directory}} (@kbd{-C @var{directory}}) @set ref-directory @ref{directory} @set xref-directory @xref{directory} @set pxref-directory @pxref{directory} X @set op-exclude @kbd{--exclude=@var{pattern}} @set ref-exclude @ref{exclude} @set xref-exclude @xref{exclude} @set pxref-exclude @pxref{exclude} X @set op-exclude-from @kbd{--exclude-from=@var{file-of-patterns}} (@kbd{-X @var{file-of-patterns}}) @set ref-exclude-from @ref{exclude} @set xref-exclude-from @xref{exclude} @set pxref-exclude-from @pxref{exclude} X @set op-extract @kbd{--extract} (@kbd{--get}, @kbd{-x}) @set ref-extract @ref{extract} @set xref-extract @xref{extract} @set pxref-extract @pxref{extract} X @set op-file @kbd{--file=@var{archive-name}} (@kbd{-f @var{archive-name}}) @set ref-file @ref{file} @set xref-file @xref{file} @set pxref-file @pxref{file} X @set op-files-from @kbd{--files-from=@var{file-of-names}} (@kbd{-T @var{file-of-names}}) @set ref-files-from @ref{files} @set xref-files-from @xref{files} @set pxref-files-from @pxref{files} X @set op-force-local @kbd{--force-local} @set ref-force-local @ref{file} @set xref-force-local @xref{file} @set pxref-force-local @pxref{file} X @set op-group @kbd{--group=@var{group}} @set ref-group @ref{Option Summary} @set xref-group @xref{Option Summary} @set pxref-group @pxref{Option Summary} X @set op-gzip @kbd{--gzip} (@kbd{--gunzip}, @kbd{--ungzip}, @kbd{-z}) @set ref-gzip @ref{gzip} @set xref-gzip @xref{gzip} @set pxref-gzip @pxref{gzip} X @set op-help @kbd{--help} @set ref-help @ref{help} @set xref-help @xref{help} @set pxref-help @pxref{help} X @set op-ignore-failed-read @kbd{--ignore-failed-read} @set ref-ignore-failed-read @ref{Reading} @set xref-ignore-failed-read @xref{Reading} @set pxref-ignore-failed-read @pxref{Reading} X @set op-ignore-zeros @kbd{--ignore-zeros} (@kbd{-i}) @set ref-ignore-zeros @ref{Reading} @set xref-ignore-zeros @xref{Reading} @set pxref-ignore-zeros @pxref{Reading} X @set op-incremental @kbd{--incremental} (@kbd{-G}) @set ref-incremental @ref{Inc Dumps} @set xref-incremental @xref{Inc Dumps} @set pxref-incremental @pxref{Inc Dumps} X @set op-info-script @kbd{--info-script=@var{script-name}} (@kbd{--new-volume-script=@var{script-name}}, @kbd{-F @var{script-name}}) @set ref-info-script @ref{Multi-Volume Archives} @set xref-info-script @xref{Multi-Volume Archives} @set pxref-info-script @pxref{Multi-Volume Archives} X @set op-interactive @kbd{--interactive} (@kbd{-w}) @set ref-interactive @ref{interactive} @set xref-interactive @xref{interactive} @set pxref-interactive @pxref{interactive} X @set op-keep-old-files @kbd{--keep-old-files} (@kbd{-k}) @set ref-keep-old-files @ref{Writing} @set xref-keep-old-files @xref{Writing} @set pxref-keep-old-files @pxref{Writing} X @set op-label @kbd{--label=@var{archive-label}} (@kbd{-V @var{archive-label}}) @set ref-label @ref{label} @set xref-label @xref{label} @set pxref-label @pxref{label} X @set op-list @kbd{--list} (@kbd{-t}) @set ref-list @ref{list} @set xref-list @xref{list} @set pxref-list @pxref{list} X @set op-listed-incremental @kbd{--listed-incremental=@var{snapshot-file}} (@kbd{-g @var{snapshot-file}}) @set ref-listed-incremental @ref{Inc Dumps} @set xref-listed-incremental @xref{Inc Dumps} @set pxref-listed-incremental @pxref{Inc Dumps} X @set op-mode @kbd{--mode=@var{permissions}} @set ref-mode @ref{Option Summary} @set xref-mode @xref{Option Summary} @set pxref-mode @pxref{Option Summary} X @set op-multi-volume @kbd{--multi-volume} (@kbd{-M}) @set ref-multi-volume @ref{Multi-Volume Archives} @set xref-multi-volume @xref{Multi-Volume Archives} @set pxref-multi-volume @pxref{Multi-Volume Archives} X @set op-newer-mtime @kbd{--newer-mtime=@var{date}} @set ref-newer-mtime @ref{after} @set xref-newer-mtime @xref{after} @set pxref-newer-mtime @pxref{after} X @set op-no-recursion @kbd{--no-recursion} @set ref-no-recursion @ref{recurse} @set xref-no-recursion @xref{recurse} @set pxref-no-recursion @pxref{recurse} X @set op-null @kbd{--null} @set ref-null @ref{files} @set xref-null @xref{files} @set pxref-null @pxref{files} X @set op-numeric-owner @kbd{--numeric-owner} @set ref-numeric-owner @ref{Attributes} @set xref-numeric-owner @xref{Attributes} @set pxref-numeric-owner @pxref{Attributes} X @set op-old-archive @kbd{--old-archive} (@kbd{-o}) @set ref-old-archive @ref{old} @set xref-old-archive @xref{old} @set pxref-old-archive @pxref{old} X @set op-one-file-system @kbd{--one-file-system} (@kbd{-l}) @set ref-one-file-system @ref{one} @set xref-one-file-system @xref{one} @set pxref-one-file-system @pxref{one} X @set op-owner @kbd{--owner=@var{user}} @set ref-owner @ref{Option Summary} @set xref-owner @xref{Option Summary} @set pxref-owner @pxref{Option Summary} X @set op-posix @kbd{--posix} @set ref-posix @ref{posix} @set xref-posix @xref{posix} @set pxref-posix @pxref{posix} X @set op-preserve @kbd{--preserve} @set ref-preserve @ref{Attributes} @set xref-preserve @xref{Attributes} @set pxref-preserve @pxref{Attributes} X @set op-record-size @kbd{--record-size=@var{size}} @set ref-record-size @ref{Blocking} @set xref-record-size @xref{Blocking} @set pxref-record-size @pxref{Blocking} X @set op-recursive-unlink @kbd{--recursive-unlink} @set ref-recursive-unlink @ref{Writing} @set xref-recursive-unlink @xref{Writing} @set pxref-recursive-unlink @pxref{Writing} X @set op-read-full-records @kbd{--read-full-records} (@kbd{-B}) @set ref-read-full-records @ref{Blocking} @set xref-read-full-records @xref{Blocking} @set pxref-read-full-records @pxref{Blocking} @c FIXME: or should it be Reading, or Blocking Factor X @set op-remove-files @kbd{--remove-files} @set ref-remove-files @ref{Writing} @set xref-remove-files @xref{Writing} @set pxref-remove-files @pxref{Writing} X @set op-rsh-command @kbd{rsh-command=@var{command}} X @set op-same-order @kbd{--same-order} (@kbd{--preserve-order}, @kbd{-s}) @set ref-same-order @ref{Scarce} @set xref-same-order @xref{Scarce} @set pxref-same-order @pxref{Scarce} @c FIXME: or should it be Reading, or Attributes? X @set op-same-owner @kbd{--same-owner} @set ref-same-owner @ref{Attributes} @set xref-same-owner @xref{Attributes} @set pxref-same-owner @pxref{Attributes} X @set op-same-permissions @kbd{--same-permissions} (@kbd{--preserve-permissions}, @kbd{-p}) @set ref-same-permissions @ref{Attributes} @set xref-same-permissions @xref{Attributes} @set pxref-same-permissions @pxref{Attributes} @c FIXME: or should it be Writing? X @set op-show-omitted-dirs @kbd{--show-omitted-dirs} @set ref-show-omitted-dirs @ref{verbose} @set xref-show-omitted-dirs @xref{verbose} @set pxref-show-omitted-dirs @pxref{verbose} X @set op-sparse @kbd{--sparse} (@kbd{-S}) @set ref-sparse @ref{sparse} @set xref-sparse @xref{sparse} @set pxref-sparse @pxref{sparse} X @set op-starting-file @kbd{--starting-file=@var{name}} (@kbd{-K @var{name}}) @set ref-starting-file @ref{Scarce} @set xref-starting-file @xref{Scarce} @set pxref-starting-file @pxref{Scarce} X @set op-suffix @kbd{--suffix=@var{suffix}} @set ref-suffix @ref{Backup options} @set xref-suffix @xref{Backup options} @set pxref-suffix @pxref{Backup options} X @set op-tape-length @kbd{--tape-length=@var{1024-size}} (@kbd{-L @var{1024-size}}) @set ref-tape-length @ref{Using Multiple Tapes} @set xref-tape-length @xref{Using Multiple Tapes} @set pxref-tape-length @pxref{Using Multiple Tapes} X @set op-to-stdout @kbd{--to-stdout} (@kbd{-O}) @set ref-to-stdout @ref{Writing} @set xref-to-stdout @xref{Writing} @set pxref-to-stdout @pxref{Writing} X @set op-totals @kbd{--totals} @set ref-totals @ref{verbose} @set xref-totals @xref{verbose} @set pxref-totals @pxref{verbose} X @set op-touch @kbd{--touch} (@kbd{-m}) @set ref-touch @ref{Writing} @set xref-touch @xref{Writing} @set pxref-touch @pxref{Writing} X @set op-unlink-first @kbd{--unlink-first} (@kbd{-U}) @set ref-unlink-first @ref{Writing} @set xref-unlink-first @xref{Writing} @set pxref-unlink-first @pxref{Writing} X @set op-update @kbd{--update} (@kbd{-u}) @set ref-update @ref{update} @set xref-update @xref{update} @set pxref-update @pxref{update} X @set op-use-compress-prog @kbd{--use-compress-prog=@var{program}} @set ref-use-compress-prog @ref{gzip} @set xref-use-compress-prog @xref{gzip} @set pxref-use-compress-prog @pxref{gzip} X @set op-verbose @kbd{--verbose} (@kbd{-v}) @set ref-verbose @ref{verbose} @set xref-verbose @xref{verbose} @set pxref-verbose @pxref{verbose} X @set op-verify @kbd{--verify} (@kbd{-W}) @set ref-verify @ref{verify} @set xref-verify @xref{verify} @set pxref-verify @pxref{verify} X @set op-version @kbd{--version} @set ref-version @ref{help} @set xref-version @xref{help} @set pxref-version @pxref{help} X @set op-version-control @kbd{--version-control=@var{method}} @set ref-version-control @ref{Backup options} @set xref-version-control @xref{Backup options} @set pxref-version-control @pxref{Backup options} X @set op-volno-file @kbd{--volno-file=@var{file-of-number}} @set ref-volno-file @ref{Using Multiple Tapes} @set xref-volno-file @xref{Using Multiple Tapes} @set pxref-volno-file @pxref{Using Multiple Tapes} X @include version.texi X @c Put everything in one index (arbitrarily chosen to be the concept index). @syncodeindex fn cp @syncodeindex ky cp @syncodeindex pg cp @syncodeindex vr cp X @defindex op @syncodeindex op cp X @ifinfo @format START-INFO-DIR-ENTRY * tar: (tar). Making tape (or disk) archives. END-INFO-DIR-ENTRY @end format @end ifinfo X @ifinfo This file documents GNU @code{tar}, a utility used to store, backup, and transport files. X Copyright (C) 1992, 1994, 1995, 1996, 1997 Free Software Foundation, Inc. X Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies. X @ignore Permission is granted to process this file through TeX and print the results, provided the printed document carries copying permission notice identical to this one except for the removal of this paragraph (this paragraph not being relevant to the printed manual). X @end ignore Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one. X Permission is granted to copy and distribute translations of this manual into another language, under the above conditions for modified versions, except that this permission notice may be stated in a translation approved by the Foundation. @end ifinfo X @setchapternewpage odd X @shorttitlepage GNU @code{tar} X @titlepage @title GNU tar: an archiver tool @subtitle @value{RENDITION} @value{VERSION}, @value{UPDATED} @author Melissa Weisshaus, Jay Fenlason, @author Thomas Bushnell, n/BSG, Amy Gorin @c he said to remove it: Fran@,{c}ois Pinard @c i'm thinking about how the author page *should* look. -mew 2may96 X @page @vskip 0pt plus 1filll Copyright @copyright{} 1992, 1994, 1995, 1996, 1997 Free Software Foundation, Inc. X Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies. X Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one. X Permission is granted to copy and distribute translations of this manual into another language, under the above conditions for modified versions, except that this permission notice may be stated in a translation approved by the Foundation. @end titlepage X @ifinfo X This file documents GNU @code{tar}, which is a utility used to store, backup, and transport files. @code{tar} is a tape (or disk) archiver. This manual documents the release @value{VERSION}. X @end ifinfo X @node Top, Introduction, (dir), (dir) X @menu * Introduction:: * Tutorial:: * tar invocation:: * operations:: * Backups:: * Choosing:: * Date input formats:: * Formats:: * Media:: * Index:: X X --- The Detailed Node Listing --- X Introduction X * Book Contents:: What this Book Contains * Definitions:: Some Definitions * What tar Does:: What @code{tar} Does * Naming tar Archives:: How @code{tar} Archives are Named * posix compliance:: * Authors:: GNU @code{tar} Authors * Reports:: Reporting bugs or suggestions X Tutorial Introduction to @code{tar} X * assumptions:: * stylistic conventions:: * basic tar options:: Basic @code{tar} Operations and Options * frequent operations:: * Two Frequent Options:: * create:: How to Create Archives * list:: How to List Archives * extract:: How to Extract Members from an Archive * going further:: X Two Frequently Used Options X * file tutorial:: * verbose tutorial:: * help tutorial:: X How to Create Archives X * prepare for examples:: * Creating the archive:: * create verbose:: * short create:: * create dir:: X How to List Archives X * list dir:: X How to Extract Members from an Archive X * extracting archives:: * extracting files:: * extract dir:: * failing commands:: X Invoking GNU @code{tar} X * Synopsis:: * using tar options:: * Styles:: * All Options:: * help:: * verbose:: * interactive:: X The Three Option Styles X * Mnemonic Options:: Mnemonic Option Style * Short Options:: Short Option Style * Old Options:: Old Option Style * Mixing:: Mixing Option Styles X All @code{tar} Options X * Operation Summary:: * Option Summary:: * Short Option Summary:: X GNU @code{tar} Operations X * Basic tar:: * Advanced tar:: * extract options:: * backup:: * Applications:: * looking ahead:: X Advanced GNU @code{tar} Operations X * Operations:: * current state:: * append:: * update:: * concatenate:: * delete:: * compare:: X How to Add Files to Existing Archives: @code{--append} X * appending files:: Appending Files to an Archive * multiple:: X Updating an Archive X * how to update:: X Options Used by @code{--extract} X * Reading:: Options to Help Read Archives * Writing:: Changing How @code{tar} Writes Files * Scarce:: Coping with Scarce Resources X Options to Help Read Archives X * read full records:: * Ignore Zeros:: * Ignore Failed Read:: X Changing How @code{tar} Writes Files X * Prevention Overwriting:: * Keep Old Files:: * Unlink First:: * Recursive Unlink:: * Modification Times:: * Setting Access Permissions:: * Writing to Standard Output:: * remove files:: X Options to Prevent Overwriting Files X * Keep Old Files:: * Unlink First:: * Recursive Unlink:: X Coping with Scarce Resources X * Starting File:: * Same Order:: X Performing Backups and Restoring Files X * Full Dumps:: Using @code{tar} to Perform Full Dumps * Inc Dumps:: Using @code{tar} to Perform Incremental Dumps * incremental and listed-incremental:: The Incremental Options * Backup Levels:: Levels of Backups * Backup Parameters:: Setting Parameters for Backups and Restoration * Scripted Backups:: Using the Backup Scripts * Scripted Restoration:: Using the Restore Script X Setting Parameters for Backups and Restoration X * backup-specs example:: An Example Text of @file{Backup-specs} * Script Syntax:: Syntax for @file{Backup-specs} X Choosing Files and Names for @code{tar} X * file:: Choosing the Archive's Name * Selecting Archive Members:: * files:: Reading Names from a File * exclude:: Excluding Some Files * Wildcards:: * after:: Operating Only on New Files * recurse:: Descending into Directories * one:: Crossing Filesystem Boundaries X Reading Names from a File X * nul:: X Excluding Some Files X * problems with exclude:: X Crossing Filesystem Boundaries X * directory:: Changing Directory * absolute:: Absolute File Names X Date input formats X * General date syntax:: Common rules. * Calendar date item:: 19 Dec 1994. * Time of day item:: 9:20pm. * Timezone item:: EST, DST, BST, UCT, AHST, ... * Day of week item:: Monday and others. * Relative item in date strings:: next tuesday, 2 years ago. * Pure numbers in date strings:: 19931219, 1440. * Authors of getdate:: Bellovin, Salz, Berets, et al. X Controlling the Archive Format X * Portability:: Making @code{tar} Archives More Portable * Compression:: Using Less Space through Compression * Attributes:: Handling File Attributes * Standard:: The Standard Format * Extensions:: GNU Extensions to the Archive Format * cpio:: Comparison of @code{tar} and @code{cpio} X Making @code{tar} Archives More Portable X * Portable Names:: Portable Names * dereference:: Symbolic Links * old:: Old V7 Archives * posix:: POSIX archives * Checksumming:: Checksumming Problems X Using Less Space through Compression X * gzip:: Creating and Reading Compressed Archives * sparse:: Archiving Sparse Files X Tapes and Other Archive Media X * Device:: Device selection and switching * Remote Tape Server:: * Common Problems and Solutions:: * Blocking:: Blocking * Many:: Many archives on one tape * Using Multiple Tapes:: Using Multiple Tapes * label:: Including a Label in the Archive * verify:: * Write Protection:: X Blocking X * Format Variations:: Format Variations * Blocking Factor:: The Blocking Factor of an Archive X Many Archives on One Tape X * Tape Positioning:: Tape Positions and Tape Marks * mt:: The @code{mt} Utility X Using Multiple Tapes X * Multi-Volume Archives:: Archives Longer than One Tape or Disk * Tape Files:: Tape Files @end menu X @node Introduction, Tutorial, Top, Top @chapter Introduction X Welcome to the GNU @code{tar} manual. GNU @code{tar} is used to create and manipulate files (@dfn{archives}) which are actually collections of many other files; the program provides users with an organized and systematic method for controlling a large amount of data. X @menu * Book Contents:: What this Book Contains * Definitions:: Some Definitions * What tar Does:: What @code{tar} Does * Naming tar Archives:: How @code{tar} Archives are Named * posix compliance:: * Authors:: GNU @code{tar} Authors * Reports:: Reporting bugs or suggestions @end menu X @node Book Contents, Definitions, Introduction, Introduction @ifinfo @heading What this Book Contains @end ifinfo X The first part of this chapter introduces you to various terms that will recur throughout the book. It also tells you who has worked on GNU @code{tar} and its documentation, and where you should send bug reports or comments. X The second chapter is a tutorial (@pxref{Tutorial}) which provides a gentle introduction for people who are new to using @code{tar}. It is meant to be self contained, not requiring any reading from subsequent chapters to make sense. It moves from topic to topic in a logical, progressive order, building on information already explained. X Although the tutorial is paced and structured to allow beginners to learn how to use @code{tar}, it is not intended solely for beginners. The tutorial explains how to use the three most frequently used operations (@samp{create}, @samp{list}, and @samp{extract}) as well as two frequently used options (@samp{file} and @samp{verbose}). The other chapters do not refer to the tutorial frequently; however, if a section discusses something which is a complex variant of a basic concept, there may be a cross reference to that basic concept. (The entire book, including the tutorial, assumes that the reader understands some basic concepts of using a Unix-type operating system; @pxref{Tutorial}.) X The third chapter presents the remaining five operations, and information about using @code{tar} options and option syntax. X @FIXME{this sounds more like a GNU Project Manuals Concept [tm] more than the reality. should think about whether this makes sense to say here, or not.} The other chapters are meant to be used as a reference. Each chapter presents everything that needs to be said about a specific topic. X One of the chapters (@pxref{Date input formats}) exists in its entirety in other GNU manuals, and is mostly self-contained. In addition, one section of this manual (@pxref{Standard}) contains a big quote which is taken directly from @code{tar} sources. X In general, we give both the long and short (abbreviated) option names at least once in each section where the relevant option is covered, so that novice readers will become familiar with both styles. (A few options have no short versions, and the relevant sections will indicate this.) X @node Definitions, What tar Does, Book Contents, Introduction @section Some Definitions X @cindex archive @cindex tar archive The @code{tar} program is used to create and manipulate @code{tar} archives. An @dfn{archive} is a single file which contains the contents of many files, while still identifying the names of the files, their owner(s), and so forth. (In addition, archives record access permissions, user and group, size in bytes, and last modification time. Some archives also record the file names in each archived directory, as well as other file and directory information.) You can use @code{tar} to @dfn{create} a new archive in a specified directory. X @cindex member @cindex archive member @cindex file name @cindex member name The files inside an archive are called @dfn{members}. Within this manual, we use the term @dfn{file} to refer only to files accessible in the normal ways (by @code{ls}, @code{cat}, and so forth), and the term @dfn{member} to refer only to the members of an archive. Similarly, a @dfn{file name} is the name of a file, as it resides in the filesystem, and a @dfn{member name} is the name of an archive member within the archive. X @cindex extraction @cindex unpacking The term @dfn{extraction} refers to the process of copying an archive member (or multiple members) into a file in the filesystem. Extracting all the members of an archive is often called @dfn{extracting the archive}. The term @dfn{unpack} can also be used to refer to the extraction of many or all the members of an archive. Extracting an archive does not destroy the archive's structure, just as creating an archive does not destroy the copies of the files that exist outside of the archive. You may also @dfn{list} the members in a given archive (this is often thought of as ``printing'' them to the standard output, or the command line), or @dfn{append} members to a pre-existing archive. All of these operations can be peformed using @code{tar}. X @node What tar Does, Naming tar Archives, Definitions, Introduction @section What @code{tar} Does X @cindex tar The @code{tar} program provides the ability to create @code{tar} archives, as well as various other kinds of manipulation. For example, you can use @code{tar} on previously created archives to extract files, to store additional files, or to update or list files which were already stored. X Initially, @code{tar} archives were used to store files conveniently on magnetic tape. The name @samp{tar} comes from this use; it stands for @code{t}ape @code{ar}chiver. Despite the utility's name, @code{tar} can direct its output to available devices, files, or other programs (using pipes). @code{tar} may even access remote devices or files (as archives). X @FIXME{the following table entries need a bit of work..} X You can use @code{tar} archives in many ways. We want to stress a few of them: storage, backup, and transportation. X @table @asis @item Storage Often, @code{tar} archives are used to store related files for convenient file transfer over a network. For example, the GNU Project distributes its software bundled into @code{tar} archives, so that all the files relating to a particular program (or set of related programs) can be transferred as a single unit. X A magnetic tape can store several files in sequence. However, the tape has no names for these files; it only knows their relative position on the tape. One way to store several files on one tape and retain their names is by creating a @code{tar} archive. Even when the basic transfer mechanism can keep track of names, as FTP can, the nuisance of handling multiple files, directories, and multiple links makes @code{tar} archives useful. X Archive files are also used for long-term storage. You can think of this as transportation from the present into the future. (It is a science-fiction idiom that you can move through time as well as in space; the idea here is that @code{tar} can be used to move archives in all dimensions, even time!) X @item Backup Because the archive created by @code{tar} is capable of preserving file information and directory structure, @code{tar} is commonly used for performing full and incremental backups of disks. A backup puts a collection of files (possibly pertaining to many users and projects) together on a disk or a tape. This guards against accidental destruction of the information in those files. GNU @code{tar} has special features that allow it to be used to make incremental and full dumps of all the files in a filesystem. X @item Transportation You can create an archive on one system, transfer it to another system, and extract the contents there. This allows you to transport a group of files from one system to another. @end table X @node Naming tar Archives, posix compliance, What tar Does, Introduction @section How @code{tar} Archives are Named X Conventionally, @code{tar} archives are given names ending with @samp{.tar}. This is not necessary for @code{tar} to operate properly, but this manual follows that convention in order to accustom readers to it and to make examples more clear. X @cindex tar file @cindex entry @cindex tar entry Often, people refer to @code{tar} archives as ``@code{tar} files,'' and archive members as ``files'' or ``entries''. For people familiar with the operation of @code{tar}, this causes no difficulty. However, in this manual, we consistently refer to ``archives'' and ``archive members'' to make learning to use @code{tar} easier for novice users. X @node posix compliance, Authors, Naming tar Archives, Introduction @section POSIX Compliance X @noindent @FIXME{must ask franc,ois about this. dan hagerty thinks this might be an issue, but we're not really sure at this time. dan just tried a test case of mixing up options' orders while the variable was set, and there was no problem...} X We make some of our recommendations throughout this book for one reason in addition to what we think of as ``good sense''. The main additional reason for a recommendation is to be compliant with the POSIX standards. If you set the shell environment variable @code{POSIXLY_CORRECT}, GNU @code{tar} will force you to adhere to these standards. Therefore, if this variable is set and you violate one of the POSIX standards in the way you phrase a command, for example, GNU @code{tar} will not allow the command and will signal an error message. You would then have to reorder the options or rephrase the command to comply with the POSIX standards. X There is a chance in the future that, if you set this environment variable, your archives will be forced to comply with POSIX standards, also. No GNU @code{tar} extensions will be allowed. X @node Authors, Reports, posix compliance, Introduction @section GNU @code{tar} Authors X GNU @code{tar} was originally written by John Gilmore, and modified by many people. The GNU enhancements were written by Jay Fenlason, then Joy Kendall, and the whole package has been further maintained by Thomas Bushnell, n/BSG, and finally Fran@,{c}ois Pinard, with the help of numerous and kind users. X We wish to stress that @code{tar} is a collective work, and owes much to all those people who reported problems, offered solutions and other insights, or shared their thoughts and suggestions. An impressive, yet partial list of those contributors can be found in the @file{THANKS} file from the GNU @code{tar} distribution. X @FIXME{i want all of these names mentioned, Absolutely. BUT, i'm not sure i want to spell out the history in this detail, at least not for the printed book. i'm just not sure it needs to be said this way. i'll think about it.} X @FIXME{History is more important, and surely more interesting, than actual names. Quoting names without history would be meaningless. FP} X Jay Fenlason put together a draft of a GNU @code{tar} manual, borrowing notes from the original man page from John Gilmore. This draft has been distributed in @code{tar} versions 1.04 (or even before?) @FIXME{huh? IMO, either we know or we don't; the parenthetical is confusing.} through 1.10, then withdrawn in version 1.11. Thomas Bushnell, n/BSG and Amy Gorin worked on a tutorial and manual for GNU @code{tar}. Fran@,{c}ois Pinard put version 1.11.8 of the manual together by taking information from all these sources and merging them. Melissa Weisshaus finally edited and redesigned the book to create version 1.12. @FIXME{update version number as necessary; i'm being optimistic!} @FIXME{Someone [maybe karl berry? maybe bob chassell? maybe melissa? maybe julie sussman?] needs to properly index the thing.} X For version 1.12, Daniel Hagerty contributed a great deal of technical consulting. In particular, he is the primary author of @ref{Backups}. X @node Reports, , Authors, Introduction @section Reporting bugs or suggestions X @cindex bug reports @cindex reporting bugs If you find problems or have suggestions about this program or manual, please report them to @file{bug-gnu-utils@@prep.ai.mit.edu}. X @node Tutorial, tar invocation, Introduction, Top @chapter Tutorial Introduction to @code{tar} X This chapter guides you through some basic examples of three @code{tar} operations: @samp{--create}, @samp{--list}, and @samp{--extract}. If you already know how to use some other version of @code{tar}, then you may not need to read this chapter. This chapter omits most complicated details about how @code{tar} works. X @menu * assumptions:: * stylistic conventions:: * basic tar options:: Basic @code{tar} Operations and Options * frequent operations:: * Two Frequent Options:: * create:: How to Create Archives * list:: How to List Archives * extract:: How to Extract Members from an Archive * going further:: @end menu X @node assumptions, stylistic conventions, Tutorial, Tutorial @ifinfo @heading Assumptions this Tutorial Makes @end ifinfo X This chapter is paced to allow beginners to learn about @code{tar} slowly. At the same time, we will try to cover all the basic aspects of these three operations. In order to accomplish both of these tasks, we have made certain assumptions about your knowledge before reading this manual, and the hardware you will be using: X @itemize @bullet @item Before you start to work through this tutorial, you should understand what the terms ``archive'' and ``archive member'' mean (@pxref{Definitions}). In addition, you should understand something about how Unix-type operating systems work, and you should know how to use some basic utilities. For example, you should know how to create, list, copy, rename, edit, and delete files and directories; how to change between directories; and how to figure out where you are in the filesystem. You should have some basic understanding of directory structure and how files are named according to which directory they are in. You should understand concepts such as standard output and standard input, what various definitions of the term ``argument'' mean, the differences between relative and absolute path names, and @FIXME{what else?}. X @item This manual assumes that you are working from your own home directory (unless we state otherwise). In this tutorial, you will create a directory to practice @code{tar} commands in. When we show path names, we will assume that those paths are relative to your home directory. For example, my home directory path is @file{/home/fsf/melissa}. All of my examples are in a subdirectory of the directory named by that path name; the subdirectory is called @file{practice}. X @item In general, we show examples of archives which exist on (or can be written to, or worked with from) a directory on a hard disk. In most cases, you could write those archives to, or work with them on any other device, such as a tape drive. However, some of the later examples in the tutorial and next chapter will not work on tape drives. Additionally, working with tapes is much more complicated than working with hard disks. For these reasons, the tutorial does not cover working with tape drives. @xref{Media} for complete information on using @code{tar} archives with tape drives. X @FIXME{this is a cop out. need to add some simple tape drive info.} @end itemize X @node stylistic conventions, basic tar options, assumptions, Tutorial @ifinfo @heading Stylistic Conventions @end ifinfo X In the examples, @samp{$} represents a typical shell prompt. It precedes lines you should type; to make this more clear, those lines are shown in @kbd{this font}, as opposed to lines which represent the computer's response; those lines are shown in @code{this font}, or sometimes @samp{like this}. When we have lines which are too long to be displayed in any other way, we will show them like this: X @smallexample This is an example of a line which would otherwise not fit in this space. @end smallexample X @FIXME{how often do we use smallexample?} X @node basic tar options, frequent operations, stylistic conventions, Tutorial @section Basic @code{tar} Operations and Options X @code{tar} can take a wide variety of arguments which specify and define the actions it will have on the particular set of files or the archive. The main types of arguments to @code{tar} fall into one of two classes: operations, and options. X Some arguments fall into a class called @dfn{operations}; exactly one of these is both allowed and required for any instance of using @code{tar}; you may @emph{not} specify more than one. People sometimes speak of @dfn{operating modes}. You are in a particular operating mode when you have specified the operation which specifies it; there are eight operations in total, and thus there are eight operating modes. X The other arguments fall into the class known as @dfn{options}. You are not required to specify any options, and you are allowed to specify more than one at a time (depending on the way you are using @code{tar} at that time). Some options are used so frequently, and are so useful for helping you type commands more carefully that they are effectively ``required''. We will discuss them in this chapter. X You can write most of the @code{tar} operations and options in any of three forms: long (mnemonic) form, short form, and old style. Some of the operations and options have no short or ``old'' forms; however, the operations and options which we will cover in this tutorial have corresponding abbreviations. @FIXME{make sure this is still the case, at the end} We will indicate those abbreviations appropriately to get you used to seeing them. (Note that the ``old style'' option forms exist in GNU @code{tar} for compatibility with Unix @code{tar}. We present a full discussion of this way of writing options and operations appears in @ref{Old Options}, and we discuss the other two styles of writing options in @ref{Mnemonic Options} and @ref{Short Options}.) X In the examples and in the text of this tutorial, we usually use the long forms of operations and options; but the ``short'' forms produce the same result and can make typing long @code{tar} commands easier. For example, instead of typing X @example @kbd{tar --create --verbose --file=afiles.tar apple angst aspic} @end example X @noindent you can type @example @kbd{tar -c -v -f afiles.tar apple angst aspic} @end example X @noindent or even @example @kbd{tar -cvf afiles.tar apple angst aspic} @end example X @noindent For more information on option syntax, see @ref{Advanced tar}. In discussions in the text, when we name an option by its long form, we also give the corresponding short option in parentheses. X The term, ``option'', can be confusing at times, since ``operations'' are often lumped in with the actual, @emph{optional} ``options'' in certain general class statements. For example, we just talked about ``short and long forms of options and operations''. However, experienced @code{tar} users often refer to these by shorthand terms such as, ``short and long options''. This term assumes that the ``operations'' are included, also. Context will help you determine which definition of ``options'' to use. X Similarly, the term ``command'' can be confusing, as it is often used in two different ways. People sometimes refer to @code{tar} ``commands''. A @code{tar} @dfn{command} is the entire command line of user input which tells @code{tar} what to do --- including the operation, options, and any arguments (file names, pipes, other commands, etc). However, you will also sometimes hear the term ``the @code{tar} command''. When the word ``command'' is used specifically like this, a person is usually referring to the @code{tar} @emph{operation}, not the whole line. Again, use context to figure out which of the meanings the speaker intends. X @node frequent operations, Two Frequent Options, basic tar options, Tutorial @section The Three Most Frequently Used Operations X Here are the three most frequently used operations (both short and long forms), as well as a brief description of their meanings. The rest of this chapter will cover how to use these operations in detail. We will present the rest of the operations in the next chapter. X @table @kbd @item --create @itemx -c Create a new @code{tar} archive. @item --list @itemx -t List the contents of an archive. @item --extract @itemx -x Extract one or more members from an archive. @end table X @node Two Frequent Options, create, frequent operations, Tutorial @section Two Frequently Used Options X To understand how to run @code{tar} in the three operating modes listed previously, you also need to understand how to use two of the options to @code{tar}: @samp{--file} (which takes an archive file as an argument) and @samp{--verbose}. (You are usually not @emph{required} to specify either of these options when you run @code{tar}, but they can be very useful in making things more clear and helping you avoid errors.) X @menu * file tutorial:: * verbose tutorial:: * help tutorial:: @end menu X @node file tutorial, verbose tutorial, Two Frequent Options, Two Frequent Options @unnumberedsubsec The @samp{--file} Option X @table @kbd @item --file=@var{archive-name} @itemx -f @var{archive-name} Specify the name of an archive file. @end table X You can specify an argument for the @value{op-file} option whenever you use @code{tar}; this option determines the name of the archive file that @code{tar} will work on. X If you don't specify this argument, then @code{tar} will use a default, usually some physical tape drive attached to your machine. If there is no tape drive attached, or the default is not meaningful, then @code{tar} will print an error message. The error message might look roughly like one of the following: X @example tar: can't open /dev/rmt8 : No such device or address tar: can't open /dev/rsmt0 : I/O error @end example X @noindent To avoid confusion, we recommend that you always specfiy an archive file name by using @value{op-file} when writing your @code{tar} commands. For more information on using the @value{op-file} option, see @ref{file}. X @node verbose tutorial, help tutorial, file tutorial, Two Frequent Options @unnumberedsubsec The @samp{--verbose} Option X @table @kbd @item --verbose @itemx -v Show the files being worked on as @code{tar} is running. @end table X @value{op-verbose} shows details about the results of running @code{tar}. This can be especially useful when the results might not be obvious. For example, if you want to see the progress of @code{tar} as it writes files into the archive, you can use the @samp{--verbose} option. In the beginning, you may find it useful to use @samp{--verbose} at all times; when you are more accustomed to @code{tar}, you will likely want to use it at certain times but not at others. We will use @samp{--verbose} at times to help make something clear, and we will give many examples both using and not using @samp{--verbose} to show the differences. X Sometimes, a single instance of @samp{--verbose} on the command line will show a full, @samp{ls} style listing of an archive or files, giving sizes, owners, and similar information. Other times, @samp{--verbose} will only show files or members that the particular operation is operating on at the time. In the latter case, you can use @samp{--verbose} twice in a command to get a listing such as that in the former case. For example, instead of saying X @example @kbd{tar -cvf afiles.tar apple angst aspic} @end example X @noindent above, you might say X @example @kbd{tar -cvvf afiles.tar apple angst aspic} @end example X @noindent This works equally well using short or long forms of options. Using long forms, you would simply write out the mnemonic form of the option twice, like this: X @example $ @kbd{tar --create --verbose --verbose @dots{}} @end example X @noindent Note that you must double the hyphens properly each time. X Later in the tutorial, we will give examples using @w{@samp{--verbose --verbose}}. X @node help tutorial, , verbose tutorial, Two Frequent Options @unnumberedsubsec Getting Help: Using the @code{--help} Option X @table @kbd @item --help X The @samp{--help} option to @code{tar} prints out a very brief list of all operations and option available for the current version of @code{tar} available on your system. @end table X @node create, list, Two Frequent Options, Tutorial @section How to Create Archives @UNREVISED X One of the basic operations of @code{tar} is @value{op-create}, which you use to create a @code{tar} archive. We will explain @samp{--create} first because, in order to learn about the other operations, you will find it useful to have an archive available to practice on. X To make this easier, in this section you will first create a directory containing three files. Then, we will show you how to create an @emph{archive} (inside the new directory). Both the directory, and the archive are specifically for you to practice on. The rest of this chapter and the next chapter will show many examples using this directory and the files you will create: some of those files may be other directories and other archives. X The three files you will archive in this example are called @file{blues}, @file{folk}, and @file{jazz}. The archive is called @file{collection.tar}. X This section will proceed slowly, detailing how to use @samp{--create} in @code{verbose} mode, and showing examples using both short and long forms. In the rest of the tutorial, and in the examples in the next chapter, we will proceed at a slightly quicker pace. This section moves more slowly to allow beginning users to understand how @code{tar} works. X @menu * prepare for examples:: * Creating the archive:: * create verbose:: * short create:: * create dir:: @end menu X @node prepare for examples, Creating the archive, create, create @subsection Preparing a Practice Directory for Examples X To follow along with this and future examples, create a new directory called @file{practice} containing files called @file{blues}, @file{folk} and @file{jazz}. The files can contain any information you like: ideally, they should contain information which relates to their names, and be of different lengths. Our examples assume that @file{practice} is a subdirectory of your home directory. X Now @code{cd} to the directory named @file{practice}; @file{practice} is now your @dfn{working directory}. (@emph{Please note}: Although the full path name of this directory is @file{/@var{homedir}/practice}, in our examples we will refer to this directory as @file{practice}; the @var{homedir} is presumed. X In general, you should check that the files to be archived exist where you think they do (in the working directory) by running @code{ls}. Because you just created the directory and the files and have changed to that directory, you probably don't need to do that this time. X It is very important to make sure there isn't already a file in the working directory with the archive name you intend to use (in this case, @samp{collection.tar}), or that you don't care about its contents. Whenever you use @samp{create}, @code{tar} will erase the current contents of the file named by @value{op-file} if it exists. @code{tar} will not tell you if you are about to overwrite a file unless you specify an option which does this @FIXME{xref to the node for --backup!}. To add files to an existing archive, you need to use a different option, such as @value{op-append}; see @ref{append} for information on how to do this. X @node Creating the archive, create verbose, prepare for examples, create @subsection Creating the Archive X To place the files @file{blues}, @file{folk}, and @file{jazz} into an archive named @file{collection.tar}, use the following command: X @example $ @kbd{tar --create --file=collection.tar blues folk jazz} @end example X The order of the arguments is not very important, @emph{when using long option forms}. You could also say: X @example $ @kbd{tar blues --create folk --file=collection.tar jazz} @end example X @noindent However, you can see that this order is harder to understand; this is why we will list the arguments in the order that makes the commands easiest to understand (and we encourage you to do the same when you use @code{tar}, to avoid errors). X Note that the part of the command which says, @w{@kbd{--file=collection.tar}} is considered to be @emph{one} argument. If you substituted any other string of characters for @kbd{`collection.tar'}, then that string would become the name of the archive file you create. X The order of the options becomes more important when you begin to use short forms. With short forms, if you type commands in the wrong order (even if you type them correctly in all other ways), you may end up with results you don't expect. For this reason, it is a good idea to get into the habit of typing options in the order that makes inherent sense. @xref{short create} for more information on this. X In this example, you type the command as shown above: @samp{--create} is the operation which creates the new archive (@file{collection.tar}), and @samp{--file} is the option which lets you give it the name you chose. The files, @file{blues}, @file{folk}, and @file{jazz}, are now members of the archive, @file{collection.tar} (they are @dfn{file name arguments} to the @samp{--create} operation) @FIXME{xref here to the discussion of file name args?}. Now that they are are in the archive, they are called @emph{archive members}, not files @FIXME{xref to definitions?}. X When you create an archive, you @emph{must} specify which files you want placed in the archive. If you do not specify any archive members, GNU @code{tar} will complain. X If you now list the contents of the working directory (@kbd{ls}), you will find the archive file listed as well as the files you saw previously: X @example blues folk jazz collection.tar @end example X @noindent Creating the archive @samp{collection.tar} did not destroy the copies of the files in the directory. X Keep in mind that if you don't indicate an operation, @code{tar} will not run and will prompt you for one. If you don't name any files, @code{tar} will complain. You must have write access to the working directory, or else you will not be able to create an archive in that directory. X @emph{Caution}: Do not attempt to use @value{op-create} to add files to an existing archive; it will delete the archive and write a new one. Use @value{op-append} instead. @xref{append}. X @node create verbose, short create, Creating the archive, create @subsection Running @samp{--create} with @samp{--verbose} X If you include the @value{op-verbose} option on the command line, @code{tar} will list the files it is acting on as it is working. In verbose mode, the @code{create} example above would appear as: X @example $ @kbd{tar --create --verbose --file=collection.tar blues folk jazz} blues folk jazz @end example X This example is just like the example we showed which did not use @samp{--verbose}, except that @code{tar} generated the remaining lines @iftex (note the different font styles). @end iftex @ifinfo X. @end ifinfo X In the rest of the examples in this chapter, we will frequently use @code{verbose} mode so we can show actions or @code{tar} responses that you would otherwise not see, and which are important for you to understand. X @node short create, create dir, create verbose, create @subsection Short Forms with @samp{create} X As we said before, the @value{op-create} operation is one of the most basic uses of @code{tar}, and you will use it countless times. Eventually, you will probably want to use abbreviated (or ``short'') forms of options. A full discussion of the three different forms that options can take appears in @ref{Styles}; for now, here is what the previous example (including the @value{op-verbose} option) looks like using short option forms: X @example $ @kbd{tar -cvf collection.tar blues folk jazz} blues folk jazz @end example X @noindent As you can see, the system responds the same no matter whether you use long or short option forms. X @FIXME{i don't like how this is worded:} One difference between using short and long option forms is that, although the exact placement of arguments following options is no more specific when using short forms, it is easier to become confused and make a mistake when using short forms. For example, suppose you attempted the above example in the following way: X @example $ @kbd{tar -cfv collection.tar blues folk jazz} @end example X @noindent In this case, @code{tar} will make an archive file called @file{v}, containing the files @file{blues}, @file{folk}, and @file{jazz}, because the @samp{v} is the closest ``file name'' to the @samp{-f} option, and is thus taken to be the chosen archive file name. @code{tar} will try to add a file called @file{collection.tar} to the @file{v} archive file; if the file @file{collection.tar} did not already exist, @code{tar} will report an error indicating that this file does not exist. If the file @file{collection.tar} does already exist (e.g., from a previous command you may have run), then @code{tar} will add this file to the archive. Because the @samp{-v} option did not get registered, @code{tar} will not run under @samp{verbose} mode, and will not report its progress. X The end result is that you may be quite confused about what happened, and possibly overwrite a file. To illustrate this further, we will show you how an example we showed previously would look using short forms. X This example, X @example $ @kbd{tar blues --create folk --file=collection.tar jazz} @end example X @noindent is confusing as it is. When shown using short forms, however, it becomes much more so: X @example $ @kbd{tar blues -c folk -f collection.tar jazz} @end example X @noindent It would be very easy to put the wrong string of characters immediately following the @samp{-f}, but doing that could sacrifice valuable data. X For this reason, we recommend that you pay very careful attention to the order of options and placement of file and archive names, especially when using short option forms. Not having the option name written out mnemonically can affect how well you remember which option does what, and therefore where different names have to be placed. (Placing options in an unusual order can also cause @code{tar} to report an error if you have set the shell environment variable, @code{POSIXLY_CORRECT}; @pxref{posix compliance} for more information on this.) X @node create dir, , short create, create @subsection Archiving Directories X @cindex Archiving Directories @cindex Directories, Archiving You can archive a directory by specifying its directory name as a file name argument to @code{tar}. The files in the directory will be archived relative to the working directory, and the directory will be re-created along with its contents when the archive is extracted. X To archive a directory, first move to its superior directory. If you have followed the previous instructions in this tutorial, you should type: X @example $ @kbd{cd ..} $ @end example X @noindent This will put you into the directory which contains @file{practice}, i.e. your home directory. Once in the superior directory, you can specify the subdirectory, @file{practice}, as a file name argument. To store @file{practice} in the new archive file @file{music.tar}, type: X @example $ @kbd{tar --create --verbose --file=music.tar practice} @end example X @noindent @code{tar} should output: X @example practice/ practice/blues practice/folk practice/jazz practice/collection.tar @end example X Note that the archive thus created is not in the subdirectory @file{practice}, but rather in the current working directory---the directory from which @code{tar} was invoked. Before trying to archive a directory from its superior directory, you should make sure you have write access to the superior directory itself, not only the directory you are trying archive with @code{tar}. For example, you will probably not be able to store your home directory in an archive by invoking @code{tar} from the root directory; @value{xref-absolute-names}. (Note also that @file{collection.tar}, the original archive file, has itself been archived. @code{tar} will accept any file as a file to be archived, regardless of its content. When @file{music.tar} is extracted, the archive file @file{collection.tar} will be re-written into the file system). X If you give @code{tar} a command such as X @example $ @kbd{tar --create --file=foo.tar .} @end example X @noindent @code{tar} will report @samp{tar: foo.tar is the archive; not dumped}. This happens because @code{tar} creates the archive @file{foo.tar} in the current directory before putting any files into it. Then, when @code{tar} attempts to add all the files in the directory @file{.} to the archive, it notices that the file @file{foo.tar} is the same as the archive, and skips it. (It makes no sense to put an archive into itself.) GNU @code{tar} will continue in this case, and create the archive normally, except for the exclusion of that one file. (@emph{Please note:} Other versions of @code{tar} are not so clever; they will enter an infinite loop when this happens, so you should not depend on this behavior unless you are certain you are running GNU @code{tar}. @FIXME{bob doesn't like this sentence, since he does it all the time, and we've been doing it in the editing passes for this manual: In general, make sure that the archive is not inside a directory being dumped.}) X @node list, extract, create, Tutorial @section How to List Archives X Frequently, you will find yourself wanting to determine exactly what a particular archive contains. You can use the @value{op-list} operation to get the member names as they currently appear in the archive, as well as various attributes of the files at the time they were archived. For example, you can examine the archive @file{collection.tar} that you created in the last section with the command, X @example $ @kbd{tar --list --file=collection.tar} @end example X @noindent The output of @code{tar} would then be: X @example blues folk jazz @end example X @FIXME{we hope this will change. if it doesn't, need to show the creation of bfiles somewhere above!!! : } X @noindent The archive @file{bfiles.tar} would list as follows: X @example X./birds baboon X./box @end example X @noindent Be sure to use a @value{op-file} option just as with @value{op-create} to specify the name of the archive. X If you use the @value{op-verbose} option with @samp{--list}, then @code{tar} will print out a listing reminiscent of @w{@samp{ls -l}}, showing owner, file size, and so forth. X If you had used @value{op-verbose} mode, the example above would look like: X @example $ @kbd{tar --list --verbose --file=collection.tar folk} -rw-rw-rw- myself user 62 1990-05-23 10:55 folk @end example X @cindex File name arguments, using @code{--list} with @cindex @code{--list} with file name arguments You can specify one or more individual member names as arguments when using @samp{list}. In this case, @code{tar} will only list the names of members you identify. For example, @w{@kbd{tar --list --file=afiles.tar apple}} would only print @file{apple}. X @FIXME{we hope the relevant aspects of this will change:}Because @code{tar} preserves paths, file names must be specified as they appear in the archive (ie., relative to the directory from which the archive was created). Therefore, it is essential when specifying member names to @code{tar} that you give the exact member names. For example, @w{@kbd{tar --list --file=bfiles birds}} would produce an error message something like @samp{tar: birds: Not found in archive}, because there is no member named @file{birds}, only one named @file{./birds}. While the names @file{birds} and @file{./birds} name the same file, @emph{member} names are compared using a simplistic name comparison, in which an exact match is necessary. @xref{absolute}. X However, @w{@kbd{tar --list --file=collection.tar folk}} would respond with @file{folk}, because @file{folk} is in the archive file @file{collection.tar}. If you are not sure of the exact file name, try listing all the files in the archive and searching for the one you expect to find; remember that if you use @samp{--list} with no file names as arguments, @code{tar} will print the names of all the members stored in the specified archive. X @menu * list dir:: @end menu X @node list dir, , list, list @unnumberedsubsec Listing the Contents of a Stored Directory @UNREVISED X @FIXME{i changed the order of these nodes around and haven't had a chance to play around with this node's example, yet. i have to play with it and see what it actually does for my own satisfaction, even if what it says *is* correct..} X To get information about the contents of an archived directory, use the directory name as a file name argument in conjunction with @value{op-list}. To find out file attributes, include the @value{op-verbose} option. X For example, to find out about files in the directory @file{practice}, in the archive file @file{music.tar}, type: X @example $ @kbd{tar --list --verbose --file=music.tar practice} @end example X @code{tar} responds: X @example drwxrwxrwx myself user 0 1990-05-31 21:49 practice/ -rw-rw-rw- myself user 42 1990-05-21 13:29 practice/blues -rw-rw-rw- myself user 62 1990-05-23 10:55 practice/folk -rw-rw-rw- myself user 40 1990-05-21 13:30 practice/jazz -rw-rw-rw- myself user 10240 1990-05-31 21:49 practice/collection.tar @end example X When you use a directory name as a file name argument, @code{tar} acts on all the files (including sub-directories) in that directory. X @node extract, going further, list, Tutorial @section How to Extract Members from an Archive @UNREVISED @cindex Extraction @cindex Retrieving files from an archive @cindex Resurrecting files from an archive X Creating an archive is only half the job---there is no point in storing files in an archive if you can't retrieve them. The act of retrieving members from an archive so they can be used and manipulated as unarchived files again is called @dfn{extraction}. To extract files from an archive, use the @value{op-extract} operation. As with @value{op-create}, specify the name of the archive with @value{op-file}. Extracting an archive does not modify the archive in any way; you can extract it multiple times if you want or need to. X Using @samp{--extract}, you can extract an entire archive, or specific files. The files can be directories containing other files, or not. As with @value{op-create} and @value{op-list}, you may use the short or the long form of the operation without affecting the performance. X @menu * extracting archives:: * extracting files:: * extract dir:: * failing commands:: @end menu X @node extracting archives, extracting files, extract, extract @subsection Extracting an Entire Archive X To extract an entire archive, specify the archive file name only, with no individual file names as arguments. For example, X @example $ @kbd{tar -xvf collection.tar} @end example X @noindent produces this: X @example -rw-rw-rw- me user 28 1996-10-18 16:31 jazz -rw-rw-rw- me user 21 1996-09-23 16:44 blues -rw-rw-rw- me user 20 1996-09-23 16:44 folk @end example X @node extracting files, extract dir, extracting archives, extract @subsection Extracting Specific Files X To extract specific archive members, give their exact member names as arguments, as printed by @value{op-list}. If you had mistakenly deleted one of the files you had placed in the archive @file{collection.tar} earlier (say, @file{blues}), you can extract it from the archive without changing the archive's structure. It will be identical to the original file @file{blues} that you deleted. @FIXME{check this; will the times, permissions, owner, etc be the same, also?} X First, make sure you are in the @file{practice} directory, and list the files in the directory. Now, delete the file, @samp{blues}, and list the files in the directory again. X You can now extract the member @file{blues} from the archive file @file{collection.tar} like this: X @example $ @kbd{tar --extract --file=collection.tar blues} @end example X @noindent If you list the files in the directory again, you will see that the file @file{blues} has been restored, with its original permissions, creation times, and owner. @FIXME{This is only accidentally true, but not in general. In most cases, one has to be root for restoring the owner, and use a special option for restoring permissions. Here, it just happens that the restoring user is also the owner of the archived members, and that the current @code{umask} is compatible with original permissions.} (These parameters will be identical to those which the file had when you originally placed it in the archive; any changes you may have made before deleting the file from the file system, however, will @emph{not} have been made to the archive member.) The archive file, @samp{collection.tar}, is the same as it was before you extracted @samp{blues}. You can confirm this by running @code{tar} with @value{op-list}. X @FIXME{we hope this will change:}Remember that as with other operations, specifying the exact member name is important. @w{@kbd{tar --extract --file=bfiles.tar birds}} will fail, because there is no member named @file{birds}. To extract the member named @file{./birds}, you must specify @w{@kbd{tar --extract --file=bfiles.tar ./birds}}. To find the exact member names of the members of an archive, use @value{op-list} (@pxref{list}). X If you give the @value{op-verbose} option, then @value{op-extract} will print the names of the archive members as it extracts them. X @node extract dir, failing commands, extracting files, extract @subsection Extracting Files that are Directories X Extracting directories which are members of an archive is similar to extracting other files. The main difference to be aware of is that if the extracted directory has the same name as any directory already in the working directory, then files in the extracted directory will be placed into the directory of the same name. Likewise, if there are files in the pre-existing directory with the same names as the members which you extract, the files from the extracted archive will overwrite the files already in the working directory (and possible subdirectories). This will happen regardless of whether or not the files in the working directory were more recent than those extracted. X However, if a file was stored with a directory name as part of its file name, and that directory does not exist under the working directory when the file is extracted, @code{tar} will create the directory. X We can demonstrate how to use @samp{--extract} to extract a directory file with an example. Change to the @file{practice} directory if you weren't there, and remove the files @file{folk} and @file{jazz}. Then, go back to the parent directory and extract the archive @file{music.tar}. You may either extract the entire archive, or you may extract only the files you just deleted. To extract the entire archive, don't give any file names as arguments after the archive name @file{music.tar}. To extract only the files you deleted, use the following command: X @example $ @kbd{tar -xvf music.tar practice/folk practice/jazz} @end example X @FIXME{need to show tar's response; used verbose above. also, here's a good place to demonstrate the -v -v thing. have to write that up (should be trivial, but i'm too tired!).} X @noindent Because you created the directory with @file{practice} as part of the file names of each of the files by archiving the @file{practice} directory as @file{practice}, you must give @file{practice} as part of the file names when you extract those files from the archive. X @FIXME{IMPORTANT! show the final structure, here. figure out what it will be.} X @node failing commands, , extract dir, extract @subsection Commands That Will Fail X Here are some sample commands you might try which will not work, and why they won't work. X If you try to use this command, X @example $ @kbd{tar -xvf music.tar folk jazz} @end example X @noindent you will get the following response: X @example tar: folk: Not found in archive tar: jazz: Not found in archive $ @end example X @noindent This is because these files were not originally @emph{in} the parent directory @file{..}, where the archive is located; they were in the @file{practice} directory, and their file names reflect this: X @example $ @kbd{tar -tvf music.tar} practice/folk practice/jazz practice/rock @end example X @FIXME{make sure the above works when going through the examples in order...} X @noindent Likewise, if you try to use this command, X @example $ @kbd{tar -tvf music.tar folk jazz} @end example X @noindent you would get a similar response. Members with those names are not in the archive. You must use the correct member names in order to extract the files from the archive. X If you have forgotten the correct names of the files in the archive, use @w{@kbd{tar --list --verbose}} to list them correctly. X @FIXME{more examples, here? hag thinks it's a good idea.} X @node going further, , extract, Tutorial @section Going Further Ahead in this Manual X @FIXME{need to write up a node here about the things that are going to be in the rest of the manual.} X @node tar invocation, operations, Tutorial, Top @chapter Invoking GNU @code{tar} @UNREVISED X This chapter is about how one invokes the GNU @code{tar} command, from the command synopsis (@pxref{Synopsis}). There are numerous options, and many styles for writing them. One mandatory option specifies the operation @code{tar} should perform (@pxref{Operation Summary}), other options are meant to detail how this operation should be performed (@pxref{Option Summary}). Non-option arguments are not always interpreted the same way, depending on what the operation is. X You will find in this chapter everything about option styles and rules for writing them (@pxref{Styles}). On the other hand, operations and options are fully described elsewhere, in other chapters. Here, you will find only synthetic descriptions for operations and options, together with pointers to other parts of the @code{tar} manual. X Some options are so special they are fully described right in this chapter. They have the effect of inhibiting the normal operation of @code{tar} or else, they globally alter the amount of feedback the user receives about what is going on. These are the @value{op-help} and @value{op-version} (@pxref{help}), @value{op-verbose} (@pxref{verbose}) and @value{op-interactive} options (@pxref{interactive}). X @menu * Synopsis:: * using tar options:: * Styles:: * All Options:: * help:: * verbose:: * interactive:: @end menu X @node Synopsis, using tar options, tar invocation, tar invocation @section General Synopsis of @code{tar} X The GNU @code{tar} program is invoked as either one of: X @example @kbd{tar @var{option}@dots{} [@var{name}]@dots{}} @kbd{tar @var{letter}@dots{} [@var{argument}]@dots{} [@var{option}]@dots{} [@var{name}]@dots{}} @end example X The second form is for when old options are being used. X You can use @code{tar} to store files in an archive, to extract them from an archive, and to do other types of archive manipulation. The primary argument to @code{tar}, which is called the @dfn{operation}, specifies which action to take. The other arguments to @code{tar} are either @dfn{options}, which change the way @code{tar} performs an operation, or file names or archive members, which specify the files or members @code{tar} is to act on. X You can actually type in arguments in any order, even if in this manual the options always precede the other arguments, to make examples easier to understand. Further, the option stating the main operation mode (the @code{tar} main command) is usually given first. X Each @var{name} in the synopsis above is interpreted as an archive member name when the main command is one of @value{op-compare}, @value{op-delete}, @value{op-extract}, @value{op-list} or @value{op-update}. When naming archive members, you must give the exact name of the member in the archive, as it is printed by @value{op-list}. For @value{op-append} and @value{op-create}, these @var{name} arguments specify the names of either files or directory hierarchies to place in the archive. These files or hierarchies should already exist in the file system, prior to the execution of the @code{tar} command. X @code{tar} interprets relative file names as being relative to the working directory. @code{tar} will make all file names relative (by removing leading slashes when archiving or restoring files), unless you specify otherwise (using the @value{op-absolute-names} option). @value{xref-absolute-names}, for more information about @value{op-absolute-names}. X If you give the name of a directory as either a file name or a member name, then @code{tar} acts recursively on all the files and directories beneath that directory. For example, the name @file{/} identifies all the files in the filesystem to @code{tar}. X The distinction between file names and archive member names is especially important when shell globbing is used, and sometimes a source of confusion for newcomers. @xref{Wildcards}, for more information about globbing. The problem is that shells may only glob using existing files in the file system. Only @code{tar} itself may glob on archive members, so when needed, you must ensure that wildcard characters reach @code{tar} without being interpreted by the shell first. Using a backslash before @samp{*} or @samp{?}, or putting the whole argument between quotes, is usually sufficient for this. X Even if @var{name}s are often specified on the command line, they can also be read from a text file in the file system, using the @value{op-files-from} option. X If you don't use any file name arguments, @value{op-append}, @value{op-delete} and @value{op-concatenate} will do nothing, while @value{op-create} will usually yield a diagnostic and inhibit @code{tar} execution. The other operations of @code{tar} (@value{op-list}, @value{op-extract}, @value{op-compare}, and @value{op-update}) will act on the entire contents of the archive. X @cindex exit status @cindex return status Besides successful exits, GNU @code{tar} may fail for many reasons. Some reasons correspond to bad usage, that is, when the @code{tar} command is improperly written. Errors may be encountered later, while encountering an error processing the archive or the files. Some errors are recoverable, in which case the failure is delayed until @code{tar} has completed all its work. Some errors are such that it would not meaningful, or at least risky, to continue processing: @code{tar} then aborts processing immediately. All abnormal exits, whether immediate or delayed, should always be clearly diagnosed on @code{stderr}, after a line stating the nature of the error. X GNU @code{tar} returns only a few exit statuses. I'm really aiming simplicity in that area, for now. If you are not using the @value{op-compare} option, zero means that everything went well, besides maybe innocuous warnings. Nonzero means that something went wrong. Right now, as of today, ``nonzero'' is almost always 2, except for remote operations, where it may be 128. X @node using tar options, Styles, Synopsis, tar invocation @section Using @code{tar} Options X GNU @code{tar} has a total of eight operating modes which allow you to perform a variety of tasks. You are required to choose one operating mode each time you employ the @code{tar} program by specifying one, and only one operation as an argument to the @code{tar} command (two lists of four operations each may be found at @ref{frequent operations} and @ref{Operations}). Depending on circumstances, you may also wish to customize how the chosen operating mode behaves. For example, you may wish to change the way the output looks, or the format of the files that you wish to archive may require you to do something special in order to make the archive look right. X You can customize and control @code{tar}'s performance by running @code{tar} with one or more options (such as @value{op-verbose}, which we used in the tutorial). As we said in the tutorial, @dfn{options} are arguments to @code{tar} which are (as their name suggests) optional. Depending on the operating mode, you may specify one or more options. Different options will have different effects, but in general they all change details of the operation, such as archive format, archive name, or level of user interaction. Some options make sense with all operating modes, while others are meaningful only with particular modes. You will likely use some options frequently, while you will only use others infrequently, or not at all. (A full list of options is available in @pxref{All Options}.) X Note that @code{tar} options are case sensitive. For example, the options @samp{-T} and @samp{-t} are different; the first requires an argument for stating the name of a file providing a list of @var{name}s, while the second does not require an argument and is another way to write @value{op-list}. X In addition to the eight operations, there are many options to @code{tar}, and three different styles for writing both: long (mnemonic) form, short form, and old style. These styles are discussed below. Both the options and the operations can be written in any of these three styles. X @FIXME{menu at end of this node. need to think of an actual outline for this chapter; probably do that after stuff from chap. 4 is incorporated.} X @node Styles, All Options, using tar options, tar invocation @section The Three Option Styles X There are three styles for writing operations and options to the command line invoking @code{tar}. The different styles were developed at different times during the history of @code{tar}. These styles will be presented below, from the most recent to the oldest. X Some options must take an argument. (For example, @value{op-file} takes the name of an archive file as an argument. If you do not supply an archive file name, @code{tar} will use a default, but this can be confusing; thus, we recommend that you always supply a specific archive file name.) Where you @emph{place} the arguments generally depends on which style of options you choose. We will detail specific information relevant to each option style in the sections on the different option styles, below. The differences are subtle, yet can often be very important; incorrect option placement can cause you to overwrite a number of important files. We urge you to note these differences, and only use the option style(s) which makes the most sense to you until you feel comfortable with the others. X @FIXME{hag to write a brief paragraph on the option(s) which can optionally take an argument} X @menu * Mnemonic Options:: Mnemonic Option Style * Short Options:: Short Option Style * Old Options:: Old Option Style * Mixing:: Mixing Option Styles @end menu X @node Mnemonic Options, Short Options, Styles, Styles @subsection Mnemonic Option Style X @FIXME{have to decide whether or ot to replace other occurrences of "mnemonic" with "long", or *ugh* vice versa.} X Each option has at least one long (or mnemonic) name starting with two dashes in a row, e.g. @samp{list}. The long names are more clear than their corresponding short or old names. It sometimes happens that a single mnemonic option has many different different names which are synonymous, such as @samp{--compare} and @samp{--diff}. In addition, long option names can be given unique abbreviations. For example, @samp{--cre} can be used in place of @samp{--create} because there is no other mnemonic option which begins with @samp{cre}. (One way to find this out is by trying it and seeing what happens; if a particular abbreviation could represent more than one option, @code{tar} will tell you that that abbreviation is ambiguous and you'll know that that abbreviation won't work. You may also choose to run @samp{tar --help} to see a list of options. Be aware that if you run @code{tar} with a unique abbreviation for the long name of an option you didn't want to use, you are stuck; @code{tar} will perform the command as ordered.) X Mnemonic options are meant to be obvious and easy to remember, and their meanings are generally easier to discern than those of their corresponding short options (see below). For example: X @example $ @kbd{tar --create --verbose --blocking-factor=20 --file=/dev/rmt0} @end example X @noindent gives a fairly good set of hints about what the command does, even for those not fully acquainted with @code{tar}. X Mnemonic options which require arguments take those arguments immediately following the option name; they are introduced by an equal sign. For example, the @samp{--file} option (which tells the name of the @code{tar} archive) is given a file such as @file{archive.tar} as argument by using the notation @samp{--file=archive.tar} for the mnemonic option. X @node Short Options, Old Options, Mnemonic Options, Styles @subsection Short Option Style X Most options also have a short option name. Short options start with a single dash, and are followed by a single character, e.g. @samp{-t} (which is equivalent to @samp{--list}). The forms are absolutely identical in function; they are interchangeable. X The short option names are faster to type than long option names. X Short options which require arguments take their arguments immediately following the option, usually separated by white space. It is also possible to stick the argument right after the short option name, using no intervening space. For example, you might write @w{@samp{-f archive.tar}} or @samp{-farchive.tar} instead of using @samp{--file=archive.tar}. Both @samp{--file=@var{archive-name}} and @w{@samp{-f @var{archive-name}}} denote the option which indicates a specific archive, here named @file{archive.tar}. X Short options' letters may be clumped together, but you are not required to do this (as compared to old options; see below). When short options are clumped as a set, use one (single) dash for them all, e.g. @w{@samp{@code{tar} -cvf}}. Only the last option in such a set is allowed to have an argument@footnote{Clustering many options, the last of which has an argument, is a rather opaque way to write options. Some wonder if GNU @code{getopt} should not even be made helpful enough for considering such usages as invalid.}. X When the options are separated, the argument for each option which requires an argument directly follows that option, as is usual for Unix programs. For example: X @example $ @kbd{tar -c -v -b 20 -f /dev/rmt0} @end example X If you reorder short options' locations, be sure to move any arguments that belong to them. If you do not move the arguments properly, you may end up overwriting files. X @node Old Options, Mixing, Short Options, Styles @subsection Old Option Style @UNREVISED X Like short options, old options are single letters. However, old options must be written together as a single clumped set, without spaces separating them or dashes preceding them@footnote{Beware that if you precede options with a dash, you are announcing the short option style instead of the old option style; short options are decoded differently.}. This set of letters must be the first to appear on the command line, after the @code{tar} program name and some whitespace; old options cannot appear anywhere else. The letter of an old option is exactly the same letter as the corresponding short option. For example, the old option @samp{t} is the same as the short option @samp{-t}, and consequently, the same as the mnemonic option @samp{--list}. So for example, the command @w{@samp{tar cv}} specifies the option @samp{-v} in addition to the operation @samp{-c}. X @FIXME{bob suggests having an uglier example. :-) } X When options that need arguments are given together with the command, all the associated arguments follow, in the same order as the options. Thus, the example given previously could also be written in the old style as follows: X @example $ @kbd{tar cvbf 20 /dev/rmt0} @end example X @noindent Here, @samp{20} is the argument of @samp{-b} and @samp{/dev/rmt0} is the argument of @samp{-f}. X On the other hand, this old style syntax makes it difficult to match option letters with their corresponding arguments, and is often confusing. In the command @w{@samp{tar cvbf 20 /dev/rmt0}}, for example, @samp{20} is the argument for @samp{-b}, @samp{/dev/rmt0} is the argument for @samp{-f}, and @samp{-v} does not have a corresponding argument. Even using short options like in @w{@samp{tar -c -v -b 20 -f /dev/rmt0}} is clearer, putting all arguments next to the option they pertain to. X If you want to reorder the letters in the old option argument, be sure to reorder any corresponding argument appropriately. X This old way of writing @code{tar} options can surprise even experienced users. For example, the two commands: X @example @kbd{tar cfz archive.tar.gz file} @kbd{tar -cfz archive.tar.gz file} @end example X @noindent are quite different. The first example uses @file{archive.tar.gz} as the value for option @samp{f} and recognizes the option @samp{z}. The second example, however, uses @file{z} as the value for option @samp{f}---probably not what was intended. X Old options are kept for compatibility with old versions of @code{tar}. X This second example could be corrected in many ways, among which the following are equivalent: X @example @kbd{tar -czf archive.tar.gz file} @kbd{tar -cf archive.tar.gz -z file} @kbd{tar cf archive.tar.gz -z file} @end example X @FIXME{still could explain this better; it's redundant:} X @cindex option syntax, traditional As far as we know, all @code{tar} programs, GNU and non-GNU, support old options. GNU @code{tar} supports them not only for historical reasons, but also because many people are used to them. For compatibility with Unix @code{tar}, the first argument is always treated as containing command and option letters even if it doesn't start with @samp{-}. Thus, @samp{tar c} is equivalent to @w{@samp{tar -c}:} both of them specify the @value{op-create} command to create an archive. X @node Mixing, , Old Options, Styles @subsection Mixing Option Styles X All three styles may be intermixed in a single @code{tar} command, so long as the rules for each style are fully respected@footnote{Before GNU @code{tar} version 1.11.6, a bug prevented intermixing old style options with mnemonic options in some cases.}. Old style options and either of the modern styles of options may be mixed within a single @code{tar} command. However, old style options must be introduced as the first arguments only, following the rule for old options (old options must appear directly after the @code{tar} command and some whitespace). Modern options may be given only after all arguments to the old options have been collected. If this rule is not respected, a modern option might be falsely interpreted as the value of the argument to one of the old style options. X For example, all the following commands are wholly equivalent, and illustrate the many combinations and orderings of option styles. X @example @kbd{tar --create --file=archive.tar} @kbd{tar --create -f archive.tar} @kbd{tar --create -farchive.tar} @kbd{tar --file=archive.tar --create} @kbd{tar --file=archive.tar -c} @kbd{tar -c --file=archive.tar} @kbd{tar -c -f archive.tar} @kbd{tar -c -farchive.tar} @kbd{tar -cf archive.tar} @kbd{tar -cfarchive.tar} @kbd{tar -f archive.tar --create} @kbd{tar -f archive.tar -c} @kbd{tar -farchive.tar --create} @kbd{tar -farchive.tar -c} @kbd{tar c --file=archive.tar} @kbd{tar c -f archive.tar} @kbd{tar c -farchive.tar} @kbd{tar cf archive.tar} @kbd{tar f archive.tar --create} @kbd{tar f archive.tar -c} @kbd{tar fc archive.tar} @end example X On the other hand, the following commands are @emph{not} equivalent to the previous set: X @example @kbd{tar -f -c archive.tar} @kbd{tar -fc archive.tar} @kbd{tar -fcarchive.tar} @kbd{tar -farchive.tarc} @kbd{tar cfarchive.tar} @end example X @noindent These last examples mean something completely different from what the user intended (judging based on the example in the previous set which uses long options, whose intent is therefore very clear). The first four specify that the @code{tar} archive would be a file named @samp{-c}, @samp{c}, @samp{carchive.tar} or @samp{archive.tarc}, respectively. The first two examples also specify a single non-option, @var{name} argument having the value @samp{archive.tar}. The last example contains only old style option letters (repeating option @samp{c} twice), not all of which are meaningful (eg., @samp{.}, @samp{h}, or @samp{i}), with no argument value. @FIXME{not sure i liked the first sentence of this paragraph..} X @node All Options, help, Styles, tar invocation @section All @code{tar} Options X The coming manual sections contain an alphabetical listing of all @code{tar} operations and options, with brief descriptions and cross references to more in-depth explanations in the body of the manual. They also contain an alphabetically arranged table of the short option forms with their corresponding long option. You can use this table as a reference for deciphering @code{tar} commands in scripts. X @menu * Operation Summary:: * Option Summary:: * Short Option Summary:: @end menu X @node Operation Summary, Option Summary, All Options, All Options @subsection Operations X @table @kbd X @item --append @itemx -r X Appends files to the end of the archive. @xref{append}. X @item --catenate @itemx -A X Same as @samp{--concatenate}. @xref{concatenate}. X @item --compare @itemx -d X Compares archive members with their counterparts in the file system, and reports differences in file size, mode, owner, modification date and contents. @xref{compare}. X @item --concatenate @itemx -A X Appends other @code{tar} archives to the end of the archive. @xref{concatenate}. X @item --create @itemx -c X Creates a new @code{tar} archive. @xref{create}. X @item --delete X Deletes members from the archive. Don't try this on a archive on a tape! @xref{delete}. X @item --diff @itemx -d X Same @samp{--compare}. @xref{compare}. X @item --extract @itemx -x X Extracts members from the archive into the file system. @xref{extract}. X @item --get @itemx -x X Same as @samp{--extract}. @xref{extract}. X @item --list @itemx -t X Lists the members in an archive. @xref{list}. X @item --update @itemx -u X @FIXME{It was: A combination of the @samp{--compare} and @samp{--append} operations. This is not true and rather misleading, as @value{op-compare} does a lot more than @value{op-update} for ensuring files are identical.} Adds files to the end of the archive, but only if they are newer than their counterparts already in the archive, or if they do not already exist in the archive. @xref{update}. X @end table X @node Option Summary, Short Option Summary, Operation Summary, All Options @subsection @code{tar} Options X @table @kbd X @item --absolute-names @itemx -P X Normally when creating an archive, @code{tar} strips an initial @samp{/} from member names. This option disables that behavior. @FIXME-xref{}. X @item --after-date X (See @samp{--newer}; @FIXME-pxref{}.) X @item --atime-preserve X Tells @code{tar} to preserve the access time field in a file's inode when dumping it. @FIXME-xref{}. X @item --backup=@var{backup-type} X Rather than deleting files from the file system, @code{tar} will back them up using simple or numbered backups, depending upon @var{backup-type}. @FIXME-xref{}. X @item --block-number @itemx -R X With this option present, @code{tar} prints error messages for read errors with the block number in the archive file. @FIXME-xref{}. X @item --blocking-factor=@var{blocking} @itemx -b @var{blocking} X Sets the blocking factor @code{tar} uses to @var{blocking} x 512 bytes per record. @FIXME-xref{}. X @item --checkpoint X This option directs @code{tar} to print periodic checkpoint messages as it reads through the archive. Its intended for when you want a visual indication that @code{tar} is still running, but don't want to see @samp{--verbose} output. @FIXME-xref{}. X @item --compress @itemx --uncompress @itemx -Z X @code{tar} will use the @code{compress} program when reading or writing the archive. This allows you to directly act on archives while saving space. @FIXME-xref{}. X @item --confirmation X (See @samp{--interactive}; @FIXME-pxref{}.) X @item --dereference @itemx -h X When creating a @code{tar} archive, @code{tar} will archive the file that a symbolic link points to, rather than archiving the symlink. @FIXME-xref{}. X @item --directory=@var{dir} @itemx -C @var{dir} X When this option is specified, @code{tar} will change its current directory to @var{dir} before performing any operations. When this option is used during archive creation, it is order sensitive. @FIXME-xref{}. X @item --exclude=@var{pattern} X When performing operations, @code{tar} will skip files that match @var{pattern}. @FIXME-xref{}. X @item --exclude-from=@var{file} @itemx -X @var{file} X Similar to @samp{--exclude}, except @code{tar} will use the list of patterns in the file @var{file}. @FIXME-xref{}. X @item --file=@var{archive} @itemx -f @var{archive} X @code{tar} will use the file @var{archive} as the @code{tar} archive it performs operations on, rather than @code{tar}'s compilation dependent default. @FIXME-xref{}. X @item --files-from=@var{file} @itemx -T @var{file} X @code{tar} will use the contents of @var{file} as a list of archive members or files to operate on, in addition to those specified on the command-line. @FIXME-xref{}. X @item --force-local X Forces @code{tar} to interpret the filename given to @samp{--file} as a local file, even if it looks like a remote tape drive name. @FIXME-xref{}. X @item --group=@var{group} X Files added to the @code{tar} archive will have a group id of @var{group}, rather than the group from the source file. @var{group} is first decoded as a group symbolic name, but if this interpretation fails, it has to be a decimal numeric group ID. @FIXME-xref{}. X Also see the comments for the @value{op-owner} option. X @item --gunzip X (See @samp{--gzip}; @FIXME-pxref{}.) X @item --gzip @itemx --gunzip @itemx --ungzip @itemx -z X This option tells @code{tar} to read or write archives through @code{gzip}, allowing @code{tar} to directly operate on several kinds of compressed archives transparently. @FIXME-xref{}. X @item --help X @code{tar} will print out a short message summarizing the operations and options to @code{tar} and exit. @FIXME-xref{}. X @item --ignore-failed-read X Instructs @code{tar} to exit successfully if it encounters an unreadable file. @xref{Reading}. X @item --ignore-umask @FIXME{does this exist?} X (See @samp{--preserve-permissions}; @pxref{Writing}.) X @item --ignore-zeros @itemx -i X With this option, @code{tar} will ignore zeroed blocks in the archive, which normally signals EOF. @xref{Reading}. X @item --incremental @itemx -G X Used to inform @code{tar} that it is working with an old GNU-format incremental backup archive. It is intended primarily for backwards compatibility only. @FIXME-xref{}. X @item --info-script=@var{script-file} @itemx --new-volume-script=@var{script-file} @itemx -F @var{script-file} X When @code{tar} is performing multi-tape backups, @var{script-file} is run at the end of each tape. @FIXME-xref{}. X @item --interactive @itemx --confirmation @itemx -w X Specifies that @code{tar} should ask the user for confirmation before performing potentially destructive options, such as overwriting files. @FIXME-xref{}. X @item --keep-old-files @itemx -k X When extracting files from an archive, @code{tar} will not overwrite existing files if this option is present. @xref{Writing}. X @item --label=@var{name} @itemx -V @var{name} X When creating an archive, instructs @code{tar} to write @var{name} as a name record in the archive. When extracting or listing archives, @code{tar} will only operate on archives that have a label matching the pattern specified in @var{name}. @FIXME-xref{}. X @item --listed-incremental=@var{snapshot-file} @itemx -g @var{snapshot-file} X During a @samp{--create} operation, specifies that the archive that @code{tar} creates is a new GNU-format incremental backup, using @var{snapshot-file} to determine which files to backup. With other operations, informs @code{tar} that the archive is in incremental format. @FIXME-xref{}. X @item --mode=@var{permissions} X When adding files to an archive, @code{tar} will use @var{permissions} for the archive members, rather than the permissions from the files. The program @code{chmod} and this @code{tar} option share the same syntax for what @var{permissions} might be. @xref{File permissions, Permissions, File permissions, filetutils, GNU file utilities}. This reference also has useful information for those not being overly familiar with the Unix permission system. X Of course, @var{permissions} might be plainly specified as an octal number. However, by using generic symbolic modifications to mode bits, this allows more flexibility. For example, the value @samp{a+rw} adds read and write permissions for everybody, while retaining executable bits on directories or on any other file already marked as executable. X @item --multi-volume @itemx -M X Informs @code{tar} that it should create or otherwise operate on a multi-volume @code{tar} archive. @FIXME-xref{}. X @item --new-volume-script X (see --info-script) X @item --newer=@var{date} @itemx --after-date=@var{date} @itemx -N X When creating an archive, @code{tar} will only add files that have changed since @var{date}. @FIXME-xref{}. X @item --newer-mtime X In conjunction with @samp{--newer}, @code{tar} will only add files whose contents have changed (as opposed to just @samp{--newer}, which will also back up files for which any status information has changed). X @item --no-recursion X With this option, @code{tar} will not recurse into directories unless a directory is explicitly named as an argument to @code{tar}. @FIXME-xref{}. X @item --null X When @code{tar} is using the @samp{--files-from} option, this option instructs @code{tar} to expect filenames terminated with @kbd{NUL}, so @code{tar} can correctly work with file names that contain newlines. @FIXME-xref{}. X @item --numeric-owner X This option will notify @code{tar} that it should use numeric user and group IDs when creating a @code{tar} file, rather than names. @FIXME-xref{}. X @item --old-archive X (See @samp{--portability}; @FIXME-pxref{}.) X @item --one-file-system @itemx -l X Used when creating an archive. Prevents @code{tar} from recursing into directories that are on different file systems from the current directory. @FIXME-xref{}. X @item --owner=@var{user} X Specifies that @code{tar} should use @var{user} as the owner of members when creating archives, instead of the user associated with the source file. @var{user} is first decoded as a user symbolic name, but if this interpretation fails, it has to be a decimal numeric user ID. @FIXME-xref{}. X There is no value indicating a missing number, and @samp{0} usually means @code{root}. Some people like to force @samp{0} as the value to offer in their distributions for the owner of files, because the @code{root} user is anonymous anyway, so that might as well be the owner of anonymous archives. X @item --portability @itemx --old-archive @itemx -o X Tells @code{tar} to create an archive that is compatible with Unix V7 @code{tar}. @FIXME-xref{}. X @item --posix X Instructs @code{tar} to create a POSIX compliant @code{tar} archive. @FIXME-xref{}. X @item --preserve X Synonymous with specifying both @samp{--preserve-permissions} and @samp{--same-order}. @FIXME-xref{}. X @item --preserve-order X (See @samp{--same-order}; @pxref{Reading}.) X @item --preserve-permissions @itemx --same-permissions @itemx -p X When @code{tar} is extracting an archive, it normally subtracts the users' umask from the permissions specified in the archive and uses that number as the permissions to create the destination file. Specifying this option instructs @code{tar} that it should use the permissions directly from the archive. @xref{Writing}. X @item --read-full-records @itemx -B X Specifies that @code{tar} should reblock its input, for reading from pipes on systems with buggy implementations. @xref{Reading}. X @item --record-size=@var{size} X Instructs @code{tar} to use @var{size} bytes per record when accessing the archive. @FIXME-xref{}. X @item --recursive-unlink X Similar to the @samp{--unlink-first} option, removing existing directory hierarchies before extracting directories of the same name from the archive. @xref{Writing}. X @item --remove-files X Directs @code{tar} to remove the source file from the file system after appending it to an archive. @FIXME-xref{}. X @item --rsh-command=@var{cmd} X Notifies @code{tar} that is should use @var{cmd} to communicate with remote devices. @FIXME-xref{}. X @item --same-order @itemx --preserve-order @itemx -s X This option is an optimization for @code{tar} when running on machines with small amounts of memory. It informs @code{tar} that the list of file arguments has already been sorted to match the order of files in the archive. @xref{Reading}. X @item --same-owner X When extracting an archive, @code{tar} will attempt to preserve the owner specified in the @code{tar} archive with this option present. @FIXME-xref{}. X @item --same-permissions X (See @samp{--preserve-permissions}; @pxref{Writing}.) X @item --show-omitted-dirs X Instructs @code{tar} to mention directories its skipping over when operating on a @code{tar} archive. @FIXME-xref{}. X @item --sparse @itemx -S X Invokes a GNU extension when adding files to an archive that handles sparse files efficiently. @FIXME-xref{}. X @item --starting-file=@var{name} @itemx -K @var{name} X This option affects extraction only; @code{tar} will skip extracting files in the archive until it finds one that matches @var{name}. @xref{Scarce}. X @item --suffix=@var{suffix} X Alters the suffix @code{tar} uses when backing up files from the default @samp{~}. @FIXME-xref{}. X @item --tape-length=@var{num} @itemx -L @var{num} X Specifies the length of tapes that @code{tar} is writing as being @w{@var{num} x 1024} bytes long. @FIXME-xref{}. X @item --to-stdout @itemx -O X During extraction, @code{tar} will extract files to stdout rather than to the file system. @xref{Writing}. X @item --totals X Displays the total number of bytes written after creating an archive. @FIXME-xref{}. X @item --touch @itemx -m X Sets the modification time of extracted files to the extraction time, rather than the modification time stored in the archive. @xref{Writing}. X @item --uncompress X (See @samp{--compress}; @FIXME-pxref{}.) X @item --ungzip X (See @samp{--gzip}; @FIXME-pxref{}.) X @item --unlink-first @itemx -U X Directs @code{tar} to remove the corresponding file from the file system before extracting it from the archive. @xref{Writing}. X @item --use-compress-program=@var{prog} X Instructs @code{tar} to access the archive through @var{prog}, which is presumed to be a compression program of some sort. @FIXME-xref{}. X @item --verbose @itemx -v X Specifies that @code{tar} should be more verbose about the operations its performing. This option can be specified multiple times for some operations to increase the amount of information displayed. @FIXME-xref{}. X @item --verify @itemx -W X Verifies that the archive was correctly written when creating an archive. @FIXME-xref{}. X @item --version X @code{tar} will print an informational message about what version it is and a copyright message, some credits, and then exit. @FIXME-xref{}. X @item --volno-file=@var{file} X Used in conjunction with @samp{--multi-volume}. @code{tar} will keep track of which volume of a multi-volume archive its working in @var{file}. @FIXME-xref{}. @end table X @node Short Option Summary, , Option Summary, All Options @subsection Short Options Cross Reference X Here is an alphabetized list of all of the short option forms, matching them with the equivalent long option. X @table @kbd X @item -A X @samp{--concatenate} X @item -B X @samp{--read-full-records} X @item -C X @samp{--directory} X @item -F X @samp{--info-script} X @item -G X @samp{--incremental} X @item -K X @samp{--starting-file} X @item -L X @samp{--tape-length} X @item -M X @samp{--multi-volume} X @item -N X @samp{--newer} X @item -O X @samp{--to-stdout} X @item -P X @samp{--absolute-names} X @item -R X @samp{--block-number} X @item -S X @samp{--sparse} X @item -T X @samp{--files-from} X @item -U X @samp{--unlink-first} X @item -V X @samp{--label} X @item -W X @samp{--verify} X @item -X X @samp{--exclude-from} X @item -Z X @samp{--compress} X @item -b X @samp{--blocking-factor} X @item -c X @samp{--create} X @item -d X @samp{--compare} X @item -f X @samp{--file} X @item -g X @samp{--listed-incremental} X @item -h X @samp{--dereference} X @item -i X @samp{--ignore-zeros} X @item -k X @samp{--keep-old-files} X @item -l X @samp{--one-file-system} X @item -m X @samp{--touch} X @item -o X @samp{--portability} X @item -p X @samp{--preserve-permissions} X @item -r X @samp{--append} X @item -s X @samp{--same-order} X @item -t X @samp{--list} X @item -u X @samp{--update} X @item -v X @samp{--verbose} X @item -w X @samp{--interactive} X @item -x X @samp{--extract} X @item -z X @samp{--gzip} X @end table X @node help, verbose, All Options, tar invocation @section GNU @code{tar} documentation X Being careful, the first thing is really checking that you are using GNU @code{tar}, indeed. The @value{op-version} option will generate a message giving confirmation that you are using GNU @code{tar}, with the precise version of GNU @code{tar} you are using. @code{tar} identifies itself and prints the version number to the standard output, then immediately exits successfully, without doing anything else, ignoring all other options. For example, @w{@samp{tar --version}} might return: X @example tar (GNU tar) @value{VERSION} @end example X @noindent The first occurrence of @samp{tar} in the result above is the program name in the package (for example, @code{rmt} is another program), while the second occurrence of @samp{tar} is the name of the package itself, containing possibly many programs. The package is currently named @samp{tar}, after the name of the main program it contains@footnote{There are plans to merge the @code{cpio} and @code{tar} packages into a single one which would be called @code{paxutils}. So, who knows if, one of this days, the @value{op-version} would not yield @w{@samp{tar (GNU paxutils) 3.2}}}. X Another thing you might want to do is checking the spelling or meaning of some particular @code{tar} option, without resorting to this manual, for once you have carefully read it. GNU @code{tar} has a short help feature, triggerable through the @value{op-help} option. By using this option, @code{tar} will print a usage message listing all available options on standard output, then exit successfully, without doing anything else and ignoring all other options. Even if this is only a brief summary, it may be several screens long. So, if you are not using some kind of scrollable window, you might prefer to use something like: X @example $ @kbd{tar --help | less} @end example X @noindent presuming, here, that you like using @code{less} for a pager. Other popular pagers are @code{more} and @code{pg}. If you know about some @var{keyword} which interests you and do not want to read all the @value{op-help} output, another common idiom is doing: X @example tar --help | grep @var{keyword} @end example X @noindent for getting only the pertinent lines. X The perceptive reader would have noticed some contradiction in the previous paragraphs. It is written that both @value{op-version} and @value{op-help} print something, and have all other options ignored. In fact, they cannot ignore each other, and one of them has to win. We do not specify which is stronger, here; experiment if you really wonder! X The short help output is quite succint, and you might have to get back to the full documentation for precise points. If you are reading this paragraph, you already have the @code{tar} manual in some form. This manual is available in printed form, as a kind of small book. It may printed out of the GNU @code{tar} distribution, provided you have @TeX{} already installed somewhere, and a laser printer around. Just configure the distribution, execute the command @w{@samp{make dvi}}, then print @file{doc/tar.dvi} the usual way (contact your local guru to know how). If GNU @code{tar} has been conveniently installed at your place, this manual is also available in interactive, hypertextual form as an Info file. Just call @w{@samp{info tar}} or, if you do not have the @code{info} program handy, use the Info reader provided within GNU Emacs, calling @samp{tar} from the main Info menu. X There is currently no @code{man} page for GNU @code{tar}. If you observe such a @code{man} page on the system you are running, either it does not long to GNU @code{tar}, or it has not been produced by GNU. Currently, GNU @code{tar} documentation is provided in Texinfo format only, if we except, of course, the short result of @kbd{tar --help}. X @node verbose, interactive, help, tar invocation @section Checking @code{tar} progress X @cindex Progress information @cindex Status information @cindex Information on progress and status of operations @cindex Verbose operation @cindex Block number where error occured @cindex Error message, block number of @cindex Version of the @code{tar} program X @cindex Getting more information during the operation @cindex Information during operation @cindex Feedback from @code{tar} X Typically, @code{tar} performs most operations without reporting any information to the user except error messages. When using @code{tar} with many options, particularly ones with complicated or difficult-to-predict behavior, it is possible to make serious mistakes. @code{tar} provides several options that make observing @code{tar} easier. These options cause @code{tar} to print information as it progresses in its job, and you might want to use them just for being more careful about what is going on, or merely for entertaining yourself. If you have encountered a problem when operating on an archive, however, you may need more information than just an error message in order to solve the problem. The following options can be helpful diagnostic tools. X Normally, the @value{op-list} command to list an archive prints just the file names (one per line) and the other commands are silent. When used with most operations, the @value{op-verbose} option causes @code{tar} to print the name of each file or archive member as it is processed. This and the other options which make @code{tar} print status information can be useful in monitoring @code{tar}. X With @value{op-create} or @value{op-extract}, @value{op-verbose} used once just prints the names of the files or members as they are processed. Using it twice causes @code{tar} to print a longer listing (reminiscent of @samp{ls -l}) for each member. Since @value{op-list} already prints the names of the members, @value{op-verbose} used once with @value{op-list} causes @code{tar} to print an @samp{ls -l} type listing of the files in the archive. The following examples both extract members with long list output: X @example $ @kbd{tar --extract --file=archive.tar --verbose --verbose} $ @kbd{tar xvv archive.tar} @end example X Verbose output appears on the standard output except when an archive is being written to the standard output, as with @samp{tar --create --file=- --verbose} (@samp{tar cfv -}, or even @samp{tar cv}---if the installer let standard output be the default archive). In that case @code{tar} writes verbose output to the standard error stream. X The @value{op-totals} option---which is only meaningful when used with @value{op-create}---causes @code{tar} to print the total amount written to the archive, after it has been fully created. X The @value{op-checkpoint} option prints an occasional message as @code{tar} reads or writes the archive. In fact, it print directory names while reading the archive. It is designed for those who don't need the more detailed (and voluminous) output of @value{op-block-number}, but do want visual confirmation that @code{tar} is actually making forward progress. X @FIXME{There is some confusion here. It seems that -R once wrote a message at @samp{every} record read or written.} X The @value{op-show-omitted-dirs} option, when reading an archive---with @value{op-list} or @value{op-extract}, for example---causes a message to be printed for each directory in the archive which is skipped. This happens regardless of the reason for skipping: the directory might not have been named on the command line (implicitly or explicitly), it might be excluded by the use of the @value{op-exclude} option, or some other reason. X If @value{op-block-number} is used, @code{tar} prints, along with every message it would normally produce, the block number within the archive where the message was triggered. Also, supplementary messages are triggered when reading blocks full of NULs, or when hitting end of file on the archive. As of now, if the archive if properly terminated with a NUL block, the reading of the file may stop before end of file is met, so the position of end of file will not usually show when @value{op-block-number} is used. Note that GNU @code{tar} drains the archive before exiting when reading the archive from a pipe. X This option is especially useful when reading damaged archives, since it helps pinpoint the damaged sections. It can also be used with @value{op-list} when listing a file-system backup tape, allowing you to choose among several backup tapes when retrieving a file later, in favor of the tape where the file appears earliest (closest to the front of the tape). @FIXME-xref{when the node name is set and the backup section written}. X @node interactive, , verbose, tar invocation @section Asking for Confirmation During Operations @cindex Interactive operation X Typically, @code{tar} carries out a command without stopping for further instructions. In some situations however, you may want to exclude some files and archive members from the operation (for instance if disk or storage space is tight). You can do this by excluding certain files automatically (@pxref{Choosing}), or by performing an operation interactively, using the @value{op-interactive} option. @code{tar} also accepts @samp{--confirmation} for this option. X When the @value{op-interactive} option is specified, before reading, writing, or deleting files, @code{tar} first prints a message for each such file, telling what operation it intends to take, then asks for confirmation on the terminal. The actions which require confirmation include adding a file to the archive, extracting a file from the archive, deleting a file from the archive, and deleting a file from disk. To confirm the action, you must type a line of input beginning with @samp{y}. If your input line begins with anything other than @samp{y}, @code{tar} skips that file. X If @code{tar} is reading the archive from the standard input, @code{tar} opens the file @file{/dev/tty} to support the interactive communications. X Verbose output is normally sent to standard output, separate from other error messages. However, if the archive is produced directly on standard output, then verbose output is mixed with errors on @code{stderr}. Producing the archive on standard output may be used as a way to avoid using disk space, when the archive is soon to be consumed by another process reading it, say. Some people felt the need of producing an archive on stdout, still willing to segregate between verbose output and error output. A possible approach would be using a named pipe to receive the archive, and having the consumer process to read from that named pipe. This has the advantage of letting standard output free to receive verbose output, all separate from errors. X @node operations, Backups, tar invocation, Top @chapter GNU @code{tar} Operations X @menu * Basic tar:: * Advanced tar:: * extract options:: * backup:: * Applications:: * looking ahead:: @end menu X @node Basic tar, Advanced tar, operations, operations @section Basic GNU @code{tar} Operations X The basic @code{tar} operations, @value{op-create}, @value{op-list} and @value{op-extract}, are currently presented and described in the tutorial chapter of this manual. This section provides some complementary notes for these operations. X @table @asis @item @value{op-create} X Creating an empty archive would have some kind of elegance. One can initialize an empty archive and later use @value{op-append} for adding all members. Some applications would not welcome making an exception in the way of adding the first archive member. On the other hand, many people reported that it is dangerously too easy for @code{tar} to destroy a magnetic tape with an empty archive@footnote{This is well described in @cite{Unix-haters Handbook}, by Simson Garfinkel, Daniel Weise & Steven Strassmann, IDG Books, ISBN 1-56884-203-1.}. The two most common errors are: X @enumerate @item Mistakingly using @code{create} instead of @code{extract}, when the intent was to extract the full contents of an archive. This error is likely: keys @kbd{c} and @kbd{x} are right next ot each other on the QWERTY keyboard. Instead of being unpacked, the archive then gets wholly destroyed. When users speak about @dfn{exploding} an archive, they usually mean something else :-). X @item Forgetting the argument to @code{file}, when the intent was to create an archive with a single file in it. This error is likely because a tired user can easily add the @kbd{f} key to the cluster of option letters, by the mere force of habit, without realizing the full consequence of doing so. The usual consequence is that the single file, which was meant to be saved, is rather destroyed. @end enumerate X So, recognizing the likelihood and the catastrophical nature of these errors, GNU @code{tar} now takes some distance from elegance, and cowardly refuses to create an archive when @value{op-create} option is given, there are no arguments besides options, and @value{op-files-from} option is @emph{not} used. To get around the cautiousness of GNU @code{tar} and nevertheless create an archive with nothing in it, one may still use, as the value for the @value{op-files-from} option, a file with no names in it, as shown in the following commands: X @example @kbd{tar --create --file=empty-archive.tar --files-from=/dev/null} @kbd{tar cfT empty-archive.tar /dev/null} @end example X @item @value{op-extract} X A socket is stored, within a GNU @code{tar} archive, as a pipe. X @item @value{op-list} X GNU @code{tar} now shows dates as @samp{1996-11-09}, while it used to show them as @samp{Nov 11 1996}. (One can revert to the old behavior by defining @code{USE_OLD_CTIME} in @file{src/list.c} before reinstalling.) But preferrably, people you should get used to ISO 8601 dates. Local American dates should be made available again with full date localisation support, once ready. In the meantime, programs not being localisable for dates should prefer international dates, that's really the way to go. X Look up @url{http://www.ft.uni-erlangen.de/~mskuhn/iso-time.html} if you are curious, it contains a detailed explanation of the ISO 8601 standard. X @end table X @node Advanced tar, extract options, Basic tar, operations @section Advanced GNU @code{tar} Operations X Now that you have learned the basics of using GNU @code{tar}, you may want to learn about further ways in which @code{tar} can help you. X This chapter presents five, more advanced operations which you probably won't use on a daily basis, but which serve more specialized functions. We also explain the different styles of options and why you might want to use one or another, or a combination of them in your @code{tar} commands. Additionally, this chapter includes options which allow you to define the output from @code{tar} more carefully, and provide help and error correction in special circumstances. X @FIXME{check this after the chapter is actually revised to make sure it still introduces the info in the chapter correctly : ).} X @menu * Operations:: * current state:: * append:: * update:: * concatenate:: * delete:: * compare:: @end menu X @node Operations, current state, Advanced tar, Advanced tar @subsection The Five Advanced @code{tar} Operations @UNREVISED X In the last chapter, you learned about the first three operations to @code{tar}. This chapter presents the remaining five operations to @code{tar}: @samp{--append}, @samp{--update}, @samp{--concatenate}, @samp{--delete}, and @samp{--compare}. X You are not likely to use these operations as frequently as those covered in the last chapter; however, since they perform specialized functions, they are quite useful when you do need to use them. We will give examples using the same directory and files that you created in the last chapter. As you may recall, the directory is called @file{practice}, the files are @samp{jazz}, @samp{blues}, @samp{folk}, @samp{rock}, and the two archive files you created are @samp{collection.tar} and @samp{music.tar}. X We will also use the archive files @samp{afiles.tar} and @samp{bfiles.tar}. @samp{afiles.tar} contains the members @samp{apple}, @samp{angst}, and @samp{aspic}. @samp{bfiles.tar} contains the members @samp{./birds}, @samp{baboon}, and @samp{./box}. X Unless we state otherwise, all practicing you do and examples you follow in this chapter will take place in the @file{practice} directory that you created in the previous chapter; see @ref{prepare for examples}. (Below in this section, we will remind you of the state of the examples where the last chapter left them.) X The five operations that we will cover in this chapter are: X @table @kbd @item --append @itemx -r Add new entries to an archive that already exists. @item --update @itemx -r Add more recent copies of archive members to the end of an archive, if they exist. @item --concatenate @itemx --catenate @itemx -A Add one or more pre-existing archives to the end of another archive. @item --delete Delete items from an archive (does not work on tapes). @item --compare @itemx --diff @itemx -d Compare archive members to their counterparts in the file system. @end table X @node current state, append, Operations, Advanced tar @ifinfo @subsection The Current State of the Practice Files @end ifinfo X Currently, the listing of the directory using @code{ls} is as follows: X @example X @end example X @noindent The archive file @samp{collection.tar} looks like this: X @example $ @kbd{tar -tvf collection.tar} X @end example X @noindent The archive file @samp{music.tar} looks like this: X @example $ @kbd{tar -tvf music.tar} X @end example X @FIXME{need to fill in the above!!!} X @node append, update, current state, Advanced tar @subsection How to Add Files to Existing Archives: @code{--append} @UNREVISED X If you want to add files to an existing archive, you don't need to create a new archive; you can use @value{op-append}. The archive must already exist in order to use @samp{--append}. (A related operation is the @samp{--update} operation; you can use this to add newer versions of archive members to an existing archive. To learn how to do this with @samp{--update}, @pxref{update}.) X @FIXME{Explain in second paragraph whether you can get to the previous version -- explain whole situation somewhat more clearly.} X If you use @value{op-append} to add a file that has the same name as an archive member to an archive containing that archive member, then the old member is not deleted. What does happen, however, is somewhat complex. @code{tar} @emph{allows} you to have infinite numbers of files with the same name. Some operations treat these same-named members no differently than any other set of archive members: for example, if you view an archive with @value{op-list}, you will see all of those members listed, with their modification times, owners, etc. X Other operations don't deal with these members as perfectly as you might prefer; if you were to use @value{op-extract} to extract the archive, only the most recently added copy of a member with the same name as four other members would end up in the working directory. This is because @samp{--extract} extracts an archive in the order the members appeared in the archive; the most recently archived members will be extracted last. Additionally, an extracted member will @emph{overwrite} a file of the same name which existed in the directory already, and @code{tar} will not prompt you about this. Thus, only the most recently archived member will end up being extracted, as it will overwrite the one extracted before it, and so on. X @FIXME{ hag -- you might want to incorporate some of the above into the MMwtSN node; not sure. i didn't know how to make it simpler...} X There are a few ways to get around this. @FIXME-xref{Multiple Members with the Same Name}. X @cindex Members, replacing with other members @cindex Replacing members with other members If you want to replace an archive member, use @value{op-delete} to delete the member you want to remove from the archive, , and then use @samp{--append} to add the member you want to be in the archive. Note that you can not change the order of the archive; the most recently added member will still appear last. In this sense, you cannot truely ``replace'' one member with another. (Replacing one member with another will not work on certain types of media, such as tapes; see @ref{delete} and @ref{Media}, for more information.) X @menu * appending files:: Appending Files to an Archive * multiple:: @end menu X @node appending files, multiple, append, append @subsubsection Appending Files to an Archive @UNREVISED @cindex Adding files to an Archive @cindex Appending files to an Archive @cindex Archives, Appending files to X The simplest way to add a file to an already existing archive is the @value{op-append} operation, which writes specified files into the archive whether or not they are already among the archived files. When you use @samp{--append}, you @emph{must} specify file name arguments, as there is no default. If you specify a file that already exists in the archive, another copy of the file will be added to the end of the archive. As with other operations, the member names of the newly added files will be exactly the same as their names given on the command line. The @value{op-verbose} option will print out the names of the files as they are written into the archive. X @samp{--append} cannot be performed on some tape drives, unfortunately, due to deficiencies in the formats those tape drives use. The archive must be a valid @code{tar} archive, or else the results of using this operation will be unpredictable. @xref{Media}. X To demonstrate using @samp{--append} to add a file to an archive, create a file called @file{rock} in the @file{practice} directory. Make sure you are in the @file{practice} directory. Then, run the following @code{tar} command to add @file{rock} to @file{collection.tar}: X @example $ @kbd{tar --append --file=collection.tar rock} @end example X @noindent If you now use the @value{op-list} operation, you will see that @file{rock} has been added to the archive: X @example $ @kbd{tar --list --file=collection.tar} -rw-rw-rw- me user 28 1996-10-18 16:31 jazz -rw-rw-rw- me user 21 1996-09-23 16:44 blues -rw-rw-rw- me user 20 1996-09-23 16:44 folk -rw-rw-rw- me user 20 1996-09-23 16:44 rock @end example X @FIXME{in theory, dan will (soon) try to turn this node into what it's title claims it will become...} X @node multiple, , appending files, append @subsubsection Multiple Files with the Same Name X You can use @value{op-append} to add copies of files which have been updated since the archive was created. (However, we do not recommend doing this since there is another @code{tar} option called @samp{--update}; @pxref{update} for more information. We describe this use of @samp{--append} here for the sake of completeness.) @FIXME{is this really a good idea, to give this whole description for something which i believe is basically a Stupid way of doing something? certain aspects of it show ways in which tar is more broken than i'd personally like to admit to, specifically the last sentence. On the other hand, i don't think it's a good idea to be saying that re explicitly don't recommend using something, but i can't see any better way to deal with the situation.} When you extract the archive, the older version will be effectively lost. This works because files are extracted from an archive in the order in which they were archived. Thus, when the archive is extracted, a file archived later in time will overwrite a file of the same name which was archived earlier, even though the older version of the file will remain in the archive unless you delete all versions of the file. X Supposing you change the file @file{blues} and then append the changed version to @file{collection.tar}. As you saw above, the original @file{blues} is in the archive @file{collection.tar}. If you change the file and append the new version of the file to the archive, there will be two copies in the archive. When you extract the archive, the older version of the file will be extracted first, and then overwritten by the newer version when it is extracted. X You can append the new, changed copy of the file @file{blues} to the archive in this way: X @example $ @kbd{tar --append --verbose --file=collection.tar blues} blues @end example X @noindent Because you specified the @samp{--verbose} option, @code{tar} has printed the name of the file being appended as it was acted on. Now list the contents of the archive: X @example $ @kbd{tar --list --verbose --file=collection.tar} -rw-rw-rw- me user 28 1996-10-18 16:31 jazz -rw-rw-rw- me user 21 1996-09-23 16:44 blues -rw-rw-rw- me user 20 1996-09-23 16:44 folk -rw-rw-rw- me user 20 1996-09-23 16:44 rock -rw-rw-rw- me user 58 1996-10-24 18:30 blues @end example X @noindent The newest version of @file{blues} is now at the end of the archive (note the different creation dates and file sizes). If you extract the archive, the older version of the file @file{blues} will be overwritten by the newer version. You can confirm this by extracting the archive and running @samp{ls} on the directory. @xref{Writing} for more information. (@emph{Please note:} This is the case unless you employ the @value{op-backup} option; @FIXME-ref{Multiple Members with the Same Name}.) X @node update, concatenate, append, Advanced tar @subsection Updating an Archive @UNREVISED @cindex Updating an archive X In the previous section, you learned how to use @value{op-append} to add a file to an existing archive. A related operation is @value{op-update}. The @samp{--update} operation updates a @code{tar} archive by comparing the date of the specified archive members against the date of the file with the same name. If the file has been modified more recently than the archive member, then the newer version of the file is added to the archive (as with @value{op-append}). X Unfortunately, you cannot use @samp{--update} with magnetic tape drives. The operation will fail. X @FIXME{other examples of media on which --update will fail? need to ask charles and/or mib/thomas/dave shevett..} X Both @samp{--update} and @samp{--append} work by adding to the end of the archive. When you extract a file from the archive, only the version stored last will wind up in the file system, unless you use the @value{op-backup} option (@FIXME-ref{Multiple Members with the Same Name}). X @menu * how to update:: @end menu X @node how to update, , update, update @subsubsection How to Update an Archive Using @code{--update} X You must use file name arguments with the @value{op-update} operation. If you don't specify any files, @code{tar} won't act on any files and won't tell you that it didn't do anything (which may end up confusing you). X @FIXME{note: the above parenthetical added because in fact, this behavior just confused the author. :-) } X To see the @samp{--update} option at work, create a new file, @file{classical}, in your practice directory, and some extra text to the file @file{blues}, using any text editor. Then invoke @code{tar} with the @samp{update} operation and the @value{op-verbose} option specified, using the names of all the files in the practice directory as file name arguments: X @example $ @kbd{tar --update -v -f collection.tar blues folk rock classical} blues classical $ @end example X @noindent Because we have specified verbose mode, @code{tar} prints out the names of the files it is working on, which in this case are the names of the files that needed to be updated. If you run @samp{tar --list} and look at the archive, you will see @file{blues} and @file{classical} at its end. There will be a total of two versions of the member @samp{blues}; the one at the end will be newer and larger, since you added text before updating it. X (The reason @code{tar} does not overwrite the older file when updating it is because writing to the middle of a section of tape is a difficult process. Tapes are not designed to go backward. @xref{Media} for more information about tapes. X @value{op-update} is not suitable for performing backups for two reasons: it does not change directory content entries, and it lengthens the archive every time it is used. The GNU @code{tar} options intended specifically for backups are more efficient. If you need to run backups, please consult @ref{Backups}. X @node concatenate, delete, update, Advanced tar @subsection Combining Archives with @code{--concatenate} X @cindex Adding archives to an archive @cindex Concatenating Archives Sometimes it may be convenient to add a second archive onto the end of an archive rather than adding individual files to the archive. To add one or more archives to the end of another archive, you should use the @value{op-concatenate} operation. X To use @samp{--concatenate}, name the archives to be concatenated on the command line. (Nothing happens if you don't list any.) The members, and their member names, will be copied verbatim from those archives. If this causes multiple members to have the same name, it does not delete any members; all the members with the same name coexist. For information on how this affects reading the archive, @FIXME-ref{Multiple Members with the Same Name}. X To demonstrate how @samp{--concatenate} works, create two small archives called @file{bluesrock.tar} and @file{folkjazz.tar}, using the relevant files from @file{practice}: X @example $ @kbd{tar -cvf bluesrock.tar blues rock} blues classical $ @kbd{tar -cvf folkjazz.tar folk jazz} folk jazz @end example X @noindent If you like, You can run @samp{tar --list} to make sure the archives contain what they are supposed to: X @example $ @kbd{tar -tvf bluesrock.tar} -rw-rw-rw- melissa user 105 1997-01-21 19:42 blues -rw-rw-rw- melissa user 33 1997-01-20 15:34 rock $ @kbd{tar -tvf folkjazz.tar} -rw-rw-rw- melissa user 20 1996-09-23 16:44 folk -rw-rw-rw- melissa user 65 1997-01-30 14:15 jazz @end example X We can concatenate these two archives with @code{tar}: X @example $ @kbd{cd ..} $ @kbd{tar --concatenate --file=bluesrock.tar jazzfolk.tar} @end example X If you now list the contents of the @file{bluesclass.tar}, you will see that now it also contains the archive members of @file{jazzfolk.tar}: X @example $ @kbd{tar --list --file=bluesrock.tar} blues rock jazz folk @end example X When you use @samp{--concatenate}, the source and target archives must already exist and must have been created using compatable format parameters (@FIXME-pxref{Matching Format Parameters}). The new, concatenated archive will be called by the same name as the first archive listed on the command line. @FIXME{is there a way to specify a new name?} X Like @value{op-append}, this operation cannot be performed on some tape drives, due to deficiencies in the formats those tape drives use. X @cindex @code{concatenate} vs @code{cat} @cindex @code{cat} vs @code{concatenate} It may seem more intuitive to you to want or try to use @code{cat} to concatenate two archives instead of using the @samp{--concatenate} operation; after all, @code{cat} is the utility for combining files. X However, @code{tar} archives incorporate an end-of-file marker which must be removed if the concatenated archives are to be read properly as one archive. @samp{--concatenate} removes the end-of-archive marker from the target archive before each new archive is appended. If you use @code{cat} to combine the archives, the result will not be a valid @code{tar} format archive. If you need to retrieve files from an archive that was added to using the @code{cat} utility, use the @value{op-ignore-zeros} option. @xref{Ignore Zeros} for further information on dealing with archives improperly combined using the @code{cat} shell utility. X @FIXME{this shouldn't go here. where should it go?} You must specify the source archives using @value{op-file} (@value{pxref-file}). If you do not specify the target archive, @code{tar} uses the value of the environment variable @code{TAPE}, or, if this has not been set, the default archive name. X @node delete, compare, concatenate, Advanced tar @subsection Removing Archive Members Using @samp{--delete} @UNREVISED @cindex Deleting files from an archive @cindex Removing files from an archive X You can remove members from an archive by using the @value{op-delete} option. Specify the name of the archive with @value{op-file} and then specify the names of the members to be deleted; if you list no member names, nothing will be deleted. The @value{op-verbose} option will cause @code{tar} to print the names of the members as they are deleted. As with @value{op-extract}, you must give the exact member names when using @samp{tar --delete}. @samp{--delete} will remove all versions of the named file from the archive. The @samp{--delete} operation can run very slowly. X Unlike other operations, @samp{--delete} has no short form. X @cindex Tapes, using @code{--delete} and @cindex Deleting from tape archives This operation will rewrite the archive. You can only use @samp{--delete} on an archive if the archive device allows you to write to any point on the media, such as a disk; because of this, it does not work on magnetic tapes. Do not try to delete an archive member from a magnetic tape; the action will not succeed, and you will be likely to scramble the archive and damage your tape. There is no safe way (except by completely re-writing the archive) to delete files from most kinds of magnetic tape. @xref{Media}. X To delete all versions of the file @file{blues} from the archive @file{collection.tar} in the @file{practice} directory, make sure you are in that directory, and then, X @example $ @kbd{tar --list --file=collection.tar} blues folk jazz rock practice/blues practice/folk practice/jazz practice/rock practice/blues $ @kbd{tar --delete --file=collection.tar blues} $ @kbd{tar --list --file=collection.tar} folk jazz rock $ @end example X @FIXME{I changed the order of these nodes around and haven't had a chance to fix the above example's results, yet. I have to play with this and follow it and see what it actually does!} X The @value{op-delete} option has been reported to work properly when @code{tar} acts as a filter from @code{stdin} to @code{stdout}. X @node compare, , delete, Advanced tar @subsection Comparing Archive Members with the File System @cindex Verifying the currency of an archive @UNREVISED X The @samp{--compare} (@samp{-d}), or @samp{--diff} operation compares specified archive members against files with the same names, and then reports differences in file size, mode, owner, modification date and contents. You should @emph{only} specify archive member names, not file names. If you do not name any members, then @code{tar} will compare the entire archive. If a file is represented in the archive but does not exist in the file system, @code{tar} reports a difference. X You have to specify the record size of the archive when modifying an archive with a non-default record size. X @code{tar} ignores files in the file system that do not have corresponding members in the archive. X The following example compares the archive members @file{rock}, @file{blues} and @file{funk} in the archive @file{bluesrock.tar} with files of the same name in the file system. (Note that there is no file, @file{funk}; @code{tar} will report an error message.) X @example $ @kbd{tar --compare --file=bluesrock.tar rock blues funk} rock blues tar: funk not found in archive @end example X @noindent @FIXME{what does this actually depend on? i'm making a guess, here.}Depending on the system where you are running @code{tar} and the version you are running, @code{tar} may have a different error message, such as: X @example funk: does not exist @end example X @FIXME-xref{somewhere, for more information about format parameters. Melissa says: such as "format variations"? But why? Clearly I don't get it yet; I'll deal when I get to that section.} X The spirit behind the @value{op-compare} option is to check whether the archive represents the current state of files on disk, more than validating the integrity of the archive media. For this later goal, @xref{verify}. X @node extract options, backup, Advanced tar, operations @section Options Used by @code{--extract} @UNREVISED X @FIXME{i need to get dan to go over these options with me and see if there's a better way of organizing them.} X The previous chapter showed how to use @value{op-extract} to extract an archive into the filesystem. Various options cause @code{tar} to extract more information than just file contents, such as the owner, the permissions, the modification date, and so forth. This section presents options to be used with @samp{--extract} when certain special considerations arise. You may review the information presented in @ref{extract} for more basic information about the @samp{--extract} operation. X @menu * Reading:: Options to Help Read Archives * Writing:: Changing How @code{tar} Writes Files * Scarce:: Coping with Scarce Resources @end menu X @node Reading, Writing, extract options, extract options @subsection Options to Help Read Archives @cindex Options when reading archives @cindex Reading incomplete records @cindex Records, incomplete @cindex End-of-archive entries, ignoring @cindex Ignoring end-of-archive entries @cindex Large lists of file names on small machines @cindex Small memory @cindex Running out of space @UNREVISED X Normally, @code{tar} will request data in full record increments from an archive storage device. If the device cannot return a full record, @code{tar} will report an error. However, some devices do not always return full records, or do not require the last record of an archive to be padded out to the next record boundary. To keep reading until you obtain a full record, or to accept an incomplete record if it contains an end-of-archive marker, specify the @value{op-read-full-records} option in conjunction with the @value{op-extract} or @value{op-list} operations. @value{xref-read-full-records}. X The @value{op-read-full-records} option is turned on by default when @code{tar} reads an archive from standard input, or from a remote machine. This is because on BSD Unix systems, attempting to read a pipe returns however much happens to be in the pipe, even if it is less than was requested. If this option were not enabled, @code{tar} would fail as soon as it read an incomplete record from the pipe. X If you're not sure of the blocking factor of an archive, you can read the archive by specifying @value{op-read-full-records} and @value{op-blocking-factor}, using a blocking factor larger than what the archive uses. This lets you avoid having to determine the blocking factor of an archive. @value{xref-blocking-factor}. X @menu * read full records:: * Ignore Zeros:: * Ignore Failed Read:: @end menu X @node read full records, Ignore Zeros, Reading, Reading @unnumberedsubsubsec Reading Full Records X @FIXME{need sentence or so of intro here} X @table @kbd @item --read-full-records @item -B Use in conjunction with @value{op-extract} to read an archive which contains incomplete records, or one which has a blocking factor less than the one specified. @end table X @node Ignore Zeros, Ignore Failed Read, read full records, Reading @unnumberedsubsubsec Ignoring Blocks of Zeros X Normally, @code{tar} stops reading when it encounters a block of zeros between file entries (which usually indicates the end of the archive). @value{op-ignore-zeros} allows @code{tar} to completely read an archive which contains a block of zeros before the end (i.e.@: a damaged archive, or one which was created by @code{cat}-ing several archives together). X The @value{op-ignore-zeros} option is turned off by default because many versions of @code{tar} write garbage after the end-of-archive entry, since that part of the media is never supposed to be read. GNU @code{tar} does not write after the end of an archive, but seeks to maintain compatablity among archiving utilities. X @table @kbd @item --ignore-zeros @itemx -i To ignore blocks of zeros (ie.@: end-of-archive entries) which may be encountered while reading an archive. Use in conjunction with @value{op-extract} or @value{op-list}. @end table X @node Ignore Failed Read, , Ignore Zeros, Reading @unnumberedsubsubsec Ignore Fail Read X @FIXME{Is this in the right place? It doesn't exist anywhere else in the book (except the appendix), and has no further explanation. For that matter, what does it mean?!} X @table @kbd @item --ignore-failed-read Do not exit with nonzero on unreadable files or directories. @end table X @node Writing, Scarce, Reading, extract options @subsection Changing How @code{tar} Writes Files @cindex Overwriting old files, prevention @cindex Protecting old files @cindex Modification times of extracted files @cindex Permissions of extracted files @cindex Modes of extracted files @cindex Writing extracted files to standard output @cindex Standard output, writing extracted files to @UNREVISED X @FIXME{need to mention the brand new option, --backup} X @menu * Prevention Overwriting:: * Keep Old Files:: * Unlink First:: * Recursive Unlink:: * Modification Times:: * Setting Access Permissions:: * Writing to Standard Output:: * remove files:: @end menu X @node Prevention Overwriting, Keep Old Files, Writing, Writing @unnumberedsubsubsec Options to Prevent Overwriting Files X Normally, @code{tar} writes extracted files into the file system without regard to the files already on the system; i.e., files with the same names as archive members are overwritten when the archive is extracted. If the name of a corresponding file name is a symbolic link, the file pointed to by the symbolic link will be overwritten instead of the symbolic link itself (if this is possible). Moreover, special devices, empty directories and even symbolic links are automatically removed if they are found to be on the way of the proper extraction. X To prevent @code{tar} from extracting an archive member from an archive if doing so will overwrite a file in the file system, use @value{op-keep-old-files} in conjunction with @samp{--extract}. When this option is specified, @code{tar} will report an error stating the name of the files in conflict instead of overwriting the file with the corresponding extracted archive member. X @FIXME{these two P's have problems. i don't understand what they're trying to talk about well enough to fix them; i may have just made them worse (in particular the first of the two). waiting to talk with hag.} X The @value{op-unlink-first} option removes existing files, symbolic links, empty directories, devices, etc., @emph{prior} to extracting over them. In particular, using this option will prevent replacing an already existing symbolic link by the name of an extracted file, since the link itself is removed prior to the extraction, rather than the file it points to. On some systems, the backing store for the executable @emph{is} the original program text. You could use the @value{op-unlink-first} option to prevent segmentation violations or other woes when extracting arbitrary executables over currently running copies. Note that if something goes wrong with the extraction and you @emph{did} use this option, you might end up with no file at all. Without this option, if something goes wrong with the extraction, the existing file is not overwritten and preserved. X @FIXME{huh?} If you specify the @value{op-recursive-unlink} option, @code{tar} removes @emph{anything} that keeps you from extracting a file as far as current permissions will allow it. This could include removal of the contents of a full directory hierarchy. For example, someone using this feature may be very surprised at the results when extracting a directory entry from the archive. This option can be dangerous; be very aware of what you are doing if you choose to use it. X @menu * Keep Old Files:: * Unlink First:: * Recursive Unlink:: @end menu X @node Keep Old Files, Unlink First, Prevention Overwriting, Writing @unnumberedsubsubsec Keep Old Files X @table @kbd @item --keep-old-files @itemx -k Do not overwrite existing files from archive. The @value{op-keep-old-files} option prevents @code{tar} from over-writing existing files with files with the same name from the archive. The @value{op-keep-old-files} option is meaningless with @value{op-list}. Prevents @code{tar} from overwriting files in the file system during extraction. @end table X @node Unlink First, Recursive Unlink, Keep Old Files, Writing @unnumberedsubsubsec Unlink First X @table @kbd @item --unlink-first @itemx -U Try removing files before extracting over them, instead of trying to overwrite them. @end table X @node Recursive Unlink, Modification Times, Unlink First, Writing @unnumberedsubsubsec Recursive Unlink X @table @kbd @item --recursive-unlink When this option is specified, try removing files and directory hierarchies before extracting over them. @emph{This is a dangerous option!} @end table X Some people argue that GNU @code{tar} should not hesitate to overwrite files with other files when extracting. When extracting a @code{tar} archive, they expect to see a faithful copy of the state of the filesystem when the archive was created. It is debatable that this would always be a proper behaviour. For example, suppose one has an archive in which @file{usr/local} is a link to @file{usr/local2}. Since then, maybe the site removed the link and renamed the whole hierarchy from @file{/usr/local2} to @file{/usr/local}. Such things happen all the time. I guess it would not be welcome at all that GNU @code{tar} removes the whole hierarchy just to make room for the link to be reinstated (unless it @emph{also} simultaneously restores the full @file{/usr/local2}, of course! GNU @code{tar} is indeed able to remove a whole hierarchy to reestablish a symbolic link, for example, but @emph{only if} @value{op-recursive-unlink} is specified to allow this behaviour. In any case, single files are silently removed. X @node Modification Times, Setting Access Permissions, Recursive Unlink, Writing @unnumberedsubsubsec Setting Modification Times X Normally, @code{tar} sets the modification times of extracted files to the modification times recorded for the files in the archive, but limits the permissions of extracted files by the current @code{umask} setting. X To set the modification times of extracted files to the time when the files were extracted, use the @value{op-touch} option in conjunction with @value{op-extract}. X @table @kbd @item --touch @itemx -m Sets the modification time of extracted archive members to the time they were extracted, not the time recorded for them in the archive. Use in conjunction with @value{op-extract}. @end table X @node Setting Access Permissions, Writing to Standard Output, Modification Times, Writing @unnumberedsubsubsec Setting Access Permissions X To set the modes (access permissions) of extracted files to those recorded for those files in the archive, use @samp{--same-persmissions} in conjunction with the @value{op-extract} operation. @FIXME{Should be aliased to ignore-umask.} X @table @kbd @item --preserve-permission @itemx --same-permission @itemx --ignore-umask @itemx -p Set modes of extracted archive members to those recorded in the archive, instead of current umask settings. Use in conjunction with @value{op-extract}. @end table X @FIXME{Following paragraph needs to be rewritten: why doesnt' this cat files together, why is this useful. is it really useful with more than one file?} X @node Writing to Standard Output, remove files, Setting Access Permissions, Writing @unnumberedsubsubsec Writing to Standard Output X To write the extracted files to the standard output, instead of creating the files on the file system, use @value{op-to-stdout} in conjunction with @value{op-extract}. This option is useful if you are extracting files to send them through a pipe, and do not need to preserve them in the file system. If you extract multiple members, they appear on standard output concatenated, in the order they are found in the archive. X @table @kbd @item --to-stdout @itemx -O Writes files to the standard output. Used in conjunction with @value{op-extract}. Extract files to standard output. When this option is used, instead of creating the files specified, @code{tar} writes the contents of the files extracted to its standard output. This may be useful if you are only extracting the files in order to send them through a pipe. This option is meaningless with @value{op-list}. @end table X @FIXME{Why would you want to do such a thing, how are files separated on the standard output? is this useful with more that one file? Are pipes the real reason?} X @node remove files, , Writing to Standard Output, Writing @unnumberedsubsubsec Removing Files X @FIXME{the various macros in the front of the manual think that this option goes in this section. i have no idea; i only know it's nowhere else in the book...} X @table @kbd @item --remove-files Remove files after adding them to the archive. @end table X @node Scarce, , Writing, extract options @subsection Coping with Scarce Resources @cindex Middle of the archive, starting in the @cindex Running out of space during extraction @cindex Disk space, running out of @cindex Space on the disk, recovering from lack of @UNREVISED X @menu * Starting File:: * Same Order:: @end menu X @node Starting File, Same Order, Scarce, Scarce @unnumberedsubsubsec Starting File X @table @kbd @item --starting-file=@var{name} @itemx -K @var{name} Starts an operation in the middle of an archive. Use in conjunction with @value{op-extract} or @value{op-list}. @end table X If a previous attempt to extract files failed due to lack of disk space, you can use @value{op-starting-file} to start extracting only after member @var{name} of the archive. This assumes, of course, that there is now free space, or that you are now extracting into a different file system. (You could also choose to suspend @code{tar}, remove unnecessary files from the file system, and then restart the same @code{tar} operation. In this case, @value{op-starting-file} is not necessary. @value{xref-incremental}, @value{xref-interactive}, and @value{ref-exclude}.) X @node Same Order, , Starting File, Scarce @unnumberedsubsubsec Same Order X @table @kbd @item --same-order @itemx --preserve-order @itemx -s To process large lists of file names on machines with small amounts of memory. Use in conjunction with @value{op-compare}, @value{op-list} or @value{op-extract}. @end table X @FIXME{we don't need/want --preserve to exist any more (from melissa: ie, don't want that *version* of the option to exist, or don't want the option to exist in either version?} X @FIXME{i think this explanation is lacking.} X The @value{op-same-order} option tells @code{tar} that the list of file names to be listed or extracted is sorted in the same order as the files in the archive. This allows a large list of names to be used, even on a small machine that would not otherwise be able to hold all the names in memory at the same time. Such a sorted list can easily be created by running @samp{tar -t} on the archive and editing its output. X This option is probably never needed on modern computer systems. X @node backup, Applications, extract options, operations @section Backup options X @cindex backup options X GNU @code{tar} offers options for making backups of files before writing new versions. These options control the details of these backups. They may apply to the archive itself before it is created or rewritten, as well as individual extracted members. Other GNU programs (@code{cp}, @code{install}, @code{ln}, and @code{mv}, for example) offer similar options. X Backup options may prove unexpectedly useful when extracting archives containing many members having identical name, or when extracting archives on systems having file name limitations, making different members appear has having similar names through the side-effect of name truncation. (This is true only if we have a good scheme for truncated backup names, which I'm not sure at all: I suspect work is needed in this area.) When any existing file is backed up before being overwritten by extraction, then clashing files are automatically be renamed to be unique, and the true name is kept for only the last file of a series of clashing files. By using verbose mode, users may track exactly what happens. X At the detail level, some decisions are still experimental, and may change in the future, we are waiting comments from our users. So, please do not learn to depend blindly on the details of the backup features. For example, currently, directories themselves are never renamed through using these options, so, extracting a file over a directory still has good chances to fail. Also, backup options apply to created archives, not only to extracted members. For created archives, backups will not be attempted when the archive is a block or character device, or when it refers to a remote file. X For the sake of simplicity and efficiency, backups are made by renaming old files prior to creation or extraction, and not by copying. The original name is restored if the file creation fails. If a failure occurs after a partial extraction of a file, both the backup and the partially extracted file are kept. X @table @samp X @item --backup @opindex --backup @cindex backups, making Make backups of files that are about to be overwritten or removed. Without this option, the original versions are destroyed. X @item --suffix=@var{suffix} @opindex --suffix @cindex backup suffix @vindex SIMPLE_BACKUP_SUFFIX Append @var{suffix} to each backup file made with @samp{-b}. If this option is not specified, the value of the @code{SIMPLE_BACKUP_SUFFIX} environment variable is used. And if @code{SIMPLE_BACKUP_SUFFIX} is not set, the default is @samp{~}, just as in Emacs. X @item --version-control=@var{method} @opindex --version-control @vindex VERSION_CONTROL @cindex backup files, type made Use @var{method} to determine the type of backups made with @value{op-backup}. If this option is not specified, the value of the @code{VERSION_CONTROL} environment variable is used. And if @code{VERSION_CONTROL} is not set, the default backup type is @samp{existing}. X @vindex version-control @r{Emacs variable} This option corresponds to the Emacs variable @samp{version-control}; the same values for @var{method} are accepted as in Emacs. This options also more descriptive name. The valid @var{method}s (unique abbreviations are accepted): X @table @samp @item t @itemx numbered @opindex numbered @r{backup method} Always make numbered backups. X @item nil @itemx existing @opindex existing @r{backup method} Make numbered backups of files that already have them, simple backups of the others. X @item never @itemx simple @opindex simple @r{backup method} Always make simple backups. X @end table X @end table X Some people express the desire to @emph{always} use the @var{op-backup} option, by defining some kind of alias or script. This is not as easy as one may thing, due to the fact old style options should appear first and consume arguments a bit inpredictably for an alias or script. But, if you are ready to give up using old style options, you may resort to using something like (a Bourne shell function here): X @example tar () @{ /usr/local/bin/tar --backup $*; @} @end example X @node Applications, looking ahead, backup, operations @section Notable @code{tar} Usages @UNREVISED X @FIXME{Using Unix file linking capability to recreate directory structures---linking files into one subdirectory and then @code{tar}ring that directory.} X @FIXME{Nice hairy example using absolute-names, newer, etc.} X @findex uuencode You can easily use archive files to transport a group of files from one system to another: put all relevant files into an archive on one computer system, transfer the archive to another system, and extract the contents there. The basic transfer medium might be magnetic tape, Internet FTP, or even electronic mail (though you must encode the archive with @code{uuencode} in order to transport it properly by mail). Both machines do not have to use the same operating system, as long as they both support the @code{tar} program. X For example, here is how you might copy a directory's contents from one disk to another, while preserving the dates, modes, owners and link-structure of all the files therein. In this case, the transfer medium is a @dfn{pipe}, which is one a Unix redirection mechanism: X @smallexample $ @kbd{cd sourcedir; tar -cf - . | (cd targetdir; tar -xf -)} @end smallexample X @noindent The command also works using short option forms: X @FIXME{The following using standard input/output correct??} @smallexample $ @w{@kbd{cd sourcedir; tar --create --file=- . | (cd targetdir; tar --extract --file=-)}} @end smallexample X @noindent This is one of the easiest methods to transfer a @code{tar} archive. X @node looking ahead, , Applications, operations @section Looking Ahead: The Rest of this Manual X You have now seen how to use all eight of the operations available to @code{tar}, and a number of the possible options. The next chapter explains how to choose and change file and archive names, how to use files to store names of other files which you can then call as arguments to @code{tar} (this can help you save time if you expect to archive the same list of files a number of times), and how to @FIXME{in case it's not obvious, i'm making this up in some sense based on my imited memory of what the next chapter *really* does. i just wanted to flesh out this final section a little bit so i'd remember to sitck it in here. :-)} X If there are too many files to conveniently list on the command line, you can list the names in a file, and @code{tar} will read that file. @value{xref-files-from}. X There are various ways of causing @code{tar} to skip over some files, and not archive them. @xref{Choosing}. X @node Backups, Choosing, operations, Top @chapter Performing Backups and Restoring Files @UNREVISED X GNU @code{tar} is distributed along with the scripts which the Free Software Foundation uses for performing backups. There is no corresponding scripts available yet for doing restoration of files. Even if there is a good chance those scripts may be satisfying to you, they are not the only scripts or methods available for doing backups and restore. You may well create your own, or use more sophisticated packages dedicated to that purpose. X Some users are enthusiastic about @code{Amanda} (The Advanced Maryland Automatic Network Disk Archiver), a backup system developed by James da Silva @file{jds@@cs.umd.edu} and available on many Unix systems. This is free software, and it is available at these places: X @example http://www.cs.umd.edu/projects/amanda/amanda.html ftp://ftp.cs.umd.edu/pub/amanda @end example X @ifclear PUBLISH X Here is a possible plan for a future documentation about the backuping scripts which are provided within the GNU @code{tar} distribution. X @example X.* dumps X. + what are dumps X X. + different levels of dumps X. - full dump = dump everything X. - level 1, level 2 dumps etc, - X A level n dump dumps everything changed since the last level X n-1 dump (?) X X. + how to use scripts for dumps (ie, the concept) X. - scripts to run after editing backup specs (details) X X. + Backup Specs, what is it. X. - how to customize X. - actual text of script [/sp/dump/backup-specs] X X. + Problems X. - rsh doesn't work X. - rtape isn't installed X. - (others?) X X. + the --incremental option of tar X X. + tapes X. - write protection X. - types of media X. : different sizes and types, useful for different things X. - files and tape marks X one tape mark between files, two at end. X. - positioning the tape X MT writes two at end of write, X backspaces over one when writing again. @end example X @end ifclear X This chapter documents both the provided FSF scripts and @code{tar} options which are more specific to usage as a backup tool. X To @dfn{back up} a file system means to create archives that contain all the files in that file system. Those archives can then be used to restore any or all of those files (for instance if a disk crashes or a file is accidently deleted). File system @dfn{backups} are also called @dfn{dumps}. X @menu * Full Dumps:: Using @code{tar} to Perform Full Dumps * Inc Dumps:: Using @code{tar} to Perform Incremental Dumps * incremental and listed-incremental:: The Incremental Options * Backup Levels:: Levels of Backups * Backup Parameters:: Setting Parameters for Backups and Restoration * Scripted Backups:: Using the Backup Scripts * Scripted Restoration:: Using the Restore Script @end menu X @node Full Dumps, Inc Dumps, Backups, Backups @section Using @code{tar} to Perform Full Dumps @UNREVISED X @cindex full dumps @cindex dumps, full X @cindex corrupted archives Full dumps should only be made when no other people or programs are modifying files in the filesystem. If files are modified while @code{tar} is making the backup, they may not be stored properly in the archive, in which case you won't be able to restore them if you have to. (Files not being modified are written with no trouble, and do not corrupt the entire archive.) X You will want to use the @value{op-label} option to give the archive a volume label, so you can tell what this archive is even if the label falls off the tape, or anything like that. X Unless the filesystem you are dumping is guaranteed to fit on one volume, you will need to use the @value{op-multi-volume} option. Make sure you have enough tapes on hand to complete the backup. X If you want to dump each filesystem separately you will need to use the @value{op-one-file-system} option to prevent @code{tar} from crossing filesystem boundaries when storing (sub)directories. X The @value{op-incremental} option is not needed, since this is a complete copy of everything in the filesystem, and a full restore from this backup would only be done onto a completely empty disk. X Unless you are in a hurry, and trust the @code{tar} program (and your tapes), it is a good idea to use the @value{op-verify} option, to make sure your files really made it onto the dump properly. This will also detect cases where the file was modified while (or just after) it was being archived. Not all media (notably cartridge tapes) are capable of being verified, unfortunately. X @value{op-listed-incremental} take a file name argument always. If the file doesn't exist, run a level zero dump, creating the file. If the file exists, uses that file to see what has changed. X @value{op-incremental} @FIXME{look it up} X @value{op-incremental} handle old GNU-format incremental backup. X This option should only be used when creating an incremental backup of a filesystem. When the @value{op-incremental} option is used, @code{tar} writes, at the beginning of the archive, an entry for each of the directories that will be operated on. The entry for a directory includes a list of all the files in the directory at the time the dump was done, and a flag for each file indicating whether the file is going to be put in the archive. This information is used when doing a complete incremental restore. X Note that this option causes @code{tar} to create a non-standard archive that may not be readable by non-GNU versions of the @code{tar} program. X The @value{op-incremental} option means the archive is an incremental backup. Its meaning depends on the command that it modifies. X If the @value{op-incremental} option is used with @value{op-list}, @code{tar} will list, for each directory in the archive, the list of files in that directory at the time the archive was created. This information is put out in a format that is not easy for humans to read, but which is unambiguous for a program: each file name is preceded by either a @samp{Y} if the file is present in the archive, an @samp{N} if the file is not included in the archive, or a @samp{D} if the file is a directory (and is included in the archive). Each file name is terminated by a null character. The last file is followed by an additional null and a newline to indicate the end of the data. X If the @value{op-incremental} option is used with @value{op-extract}, then when the entry for a directory is found, all files that currently exist in that directory but are not listed in the archive @emph{are deleted from the directory}. X This behavior is convenient when you are restoring a damaged file system from a succession of incremental backups: it restores the entire state of the file system to that which obtained when the backup was made. If you don't use @value{op-incremental}, the file system will probably fill up with files that shouldn't exist any more. X @value{op-listed-incremental} handle new GNU-format incremental backup. This option handles new GNU-format incremental backup. It has much the same effect as @value{op-incremental}, but also the time when the dump is done and the list of directories dumped is written to the given @var{file}. When restoring, only files newer than the saved time are restored, and the direcotyr list is used to speed up operations. X @value{op-listed-incremental} acts like @value{op-incremental}, but when used in conjunction with @value{op-create} will also cause @code{tar} to use the file @var{file}, which contains information about the state of the filesystem at the time of the last backup, to decide which files to include in the archive being created. That file will then be updated by @code{tar}. If the file @var{file} does not exist when this option is specified, @code{tar} will create it, and include all appropriate files in the archive. X The file, which is archive independent, contains the date it was last modified and a list of devices, inode numbers and directory names. @code{tar} will archive files with newer mod dates or inode change times, and directories with an unchanged inode number and device but a changed directory name. The file is updated after the files to be archived are determined, but before the new archive is actually created. X GNU @code{tar} actually writes the file twice: once before the data and written, and once after. X @node Inc Dumps, incremental and listed-incremental, Full Dumps, Backups @section Using @code{tar} to Perform Incremental Dumps @UNREVISED X @cindex incremental dumps @cindex dumps, incremental X Performing incremental dumps is similar to performing full dumps, although a few more options will usually be needed. X You will need to use the @samp{-N @var{date}} option to tell @code{tar} to only store files that have been modified since @var{date}. @var{date} should be the date and time of the last full/incremental dump. X A standard scheme is to do a @emph{monthly} (full) dump once a month, a @emph{weekly} dump once a week of everything since the last monthly and a @emph{daily} every day of everything since the last (weekly or monthly) dump. X Here is a copy of the script used to dump the filesystems of the machines here at the Free Software Foundation. This script is run via @code{cron} late at night when people are least likely to be using the machines. This script dumps several filesystems from several machines at once (via NFS). The operator is responsible for ensuring that all the machines will be up at the time the dump happens. If a machine is not running, its files will not be dumped, and the next day's incremental dump will @emph{not} store files that would have gone onto that dump. X @example #!/bin/csh # Dump thingie set now = `date` set then = `cat date.nfs.dump` /u/hack/bin/tar -c -G -v\ X -f /dev/rtu20\ X -b 126\ X -N "$then"\ X -V "Dump from $then to $now"\ X /alpha-bits/gp\ X /gnu/hack\ X /hobbes/u\ X /spiff/u\ X /sugar-bombs/u echo $now > date.nfs.dump mt -f /dev/rtu20 rew @end example X Output from this script is stored in a file, for the operator to read later. X This script uses the file @file{date.nfs.dump} to store the date/time of the last dump. X Since this is a streaming tape drive, no attempt to verify the archive is done. This is also why the high blocking factor (126) is used. The tape drive must also be rewound by the @code{mt} command after the dump is made. X @node incremental and listed-incremental, Backup Levels, Inc Dumps, Backups @section The Incremental Options @UNREVISED X @value{op-incremental} is used in conjunction with @value{op-create}, @value{op-extract} or @value{op-list} when backing up and restoring file systems. An archive cannot be extracted or listed with the @value{op-incremental} option specified unless it was created with the option specified. This option should only be used by a script, not by the user, and is usually disregarded in favor of @value{op-listed-incremental}, which is described below. X @value{op-incremental} in conjunction with @value{op-create} causes @code{tar} to write, at the beginning of the archive, an entry for each of the directories that will be archived. The entry for a directory includes a list of all the files in the directory at the time the archive was created and a flag for each file indicating whether or not the file is going to be put in the archive. X Note that this option causes @code{tar} to create a non-standard archive that may not be readable by non-GNU versions of the @code{tar} program. X @value{op-incremental} in conjunction with @value{op-extract} causes @code{tar} to read the lists of directory contents previously stored in the archive, @emph{delete} files in the file system that did not exist in their directories when the archive was created, and then extract the files in the archive. X This behavior is convenient when restoring a damaged file system from a succession of incremental backups: it restores the entire state of the file system to that which obtained when the backup was made. If @value{op-incremental} isn't specified, the file system will probably fill up with files that shouldn't exist any more. X @value{op-incremental} in conjunction with @value{op-list}, causes @code{tar} to print, for each directory in the archive, the list of files in that directory at the time the archive was created. This information is put out in a format that is not easy for humans to read, but which is unambiguous for a program: each file name is preceded by either a @samp{Y} if the file is present in the archive, an @samp{N} if the file is not included in the archive, or a @samp{D} if the file is a directory (and is included in the archive). Each file name is terminated by a null character. The last file is followed by an additional null and a newline to indicate the end of the data. X @value{op-listed-incremental} acts like @value{op-incremental}, but when used in conjunction with @value{op-create} will also cause @code{tar} to use the file @var{snapshot-file}, which contains information about the state of the file system at the time of the last backup, to decide which files to include in the archive being created. That file will then be updated by @code{tar}. If the file @var{file} does not exist when this option is specified, @code{tar} will create it, and include all appropriate files in the archive. X The file @var{file}, which is archive independent, contains the date it was last modified and a list of devices, inode numbers and directory names. @code{tar} will archive files with newer mod dates or inode change times, and directories with an unchanged inode number and device but a changed directory name. The file is updated after the files to be archived are determined, but before the new archive is actually created. X Despite it should be obvious that a device has a non-volatile value, NFS devices have non-dependable values when an automounter gets in the picture. This led to a great deal of spurious redumping in incremental dumps, so it is somewhat useless to compare two NFS devices numbers over time. So @code{tar} now considers all NFS devices as being equal when it comes to comparing directories; this is fairly gross, but there does not seem to be a better way to go. X @FIXME{this section needs to be written} X @node Backup Levels, Backup Parameters, incremental and listed-incremental, Backups @section Levels of Backups @UNREVISED X An archive containing all the files in the file system is called a @dfn{full backup} or @dfn{full dump}. You could insure your data by creating a full dump every day. This strategy, however, would waste a substantial amount of archive media and user time, as unchanged files are daily re-archived. X It is more efficient to do a full dump only occasionally. To back up files between full dumps, you can a incremental dump. A @dfn{level one} dump archives all the files that have changed since the last full dump. X A typical dump strategy would be to perform a full dump once a week, and a level one dump once a day. This means some versions of files will in fact be archived more than once, but this dump strategy makes it possible to restore a file system to within one day of accuracy by only extracting two archives---the last weekly (full) dump and the last daily (level one) dump. The only information lost would be in files changed or created since the last daily backup. (Doing dumps more than once a day is usually not worth the trouble). X GNU @code{tar} comes with scripts you can use to do full and level-one dumps. Using scripts (shell programs) to perform backups and restoration is a convenient and reliable alternative to typing out file name lists and @code{tar} commands by hand. X Before you use these scripts, you need to edit the file @file{backup-specs}, which specifies parameters used by the backup scripts and by the restore script. @FIXME{There is no such restore script!}. @FIXME-xref{Script Syntax}. Once the backup parameters are set, you can perform backups or restoration by running the appropriate script. X The name of the restore script is @code{restore}. @FIXME{There is no such restore script!}. The names of the level one and full backup scripts are, respectively, @code{level-1} and @code{level-0}. The @code{level-0} script also exists under the name @code{weekly}, and the @code{level-1} under the name @code{daily}---these additional names can be changed according to your backup schedule. @FIXME-xref{Scripted Restoration}, for more information on running the restoration script. @FIXME-xref{Scripted Backups}, for more information on running the backup scripts. X @emph{Please Note:} The backup scripts and the restoration scripts are designed to be used together. While it is possible to restore files by hand from an archive which was created using a backup script, and to create an archive by hand which could then be extracted using the restore script, it is easier to use the scripts. @FIXME{There is no such restore script!}. @value{xref-incremental}, and @value{xref-listed-incremental}, before making such an attempt. X @FIXME{shorten node names} X @node Backup Parameters, Scripted Backups, Backup Levels, Backups @section Setting Parameters for Backups and Restoration @UNREVISED X The file @file{backup-specs} specifies backup parameters for the backup and restoration scripts provided with @code{tar}. You must edit @file{backup-specs} to fit your system configuration and schedule before using these scripts. X @FIXME{This about backup scripts needs to be written: BS is a shell script .... thus ... @file{backup-specs} is in shell script syntax.} X @FIXME-xref{Script Syntax}, for an explanation of this syntax. X @FIXME{Whats a parameter .... looked at by the backup scripts X... which will be expecting to find ... now syntax ... value is linked to lame ... @file{backup-specs} specifies the following parameters:} X @table @samp @item ADMINISTRATOR The user name of the backup administrator. X @item BACKUP_HOUR The hour at which the backups are done. This can be a number from 0 to 23, or the string @samp{now}. X @item TAPE_FILE The device @code{tar} writes the archive to. This device should be attached to the host on which the dump scripts are run. X @FIXME{examples for all ...} X @item TAPE_STATUS The command to use to obtain the status of the archive device, including error count. On some tape drives there may not be such a command; in that case, simply use `TAPE_STATUS=false'. X @item BLOCKING The blocking factor @code{tar} will use when writing the dump archive. @value{xref-blocking-factor}. X @item BACKUP_DIRS A list of file systems to be dumped. You can include any directory name in the list---subdirectories on that file system will be included, regardless of how they may look to other networked machines. Subdirectories on other file systems will be ignored. X The host name specifies which host to run @code{tar} on, and should normally be the host that actually contains the file system. However, the host machine must have GNU @code{tar} installed, and must be able to access the directory containing the backup scripts and their support files using the same file name that is used on the machine where the scripts are run (ie. what @code{pwd} will print when in that directory on that machine). If the host that contains the file system does not have this capability, you can specify another host as long as it can access the file system through NFS. X @item BACKUP_FILES A list of individual files to be dumped. These should be accessible from the machine on which the backup script is run. X @FIXME{Same file name, be specific. Through NFS ...} X @end table X @menu * backup-specs example:: An Example Text of @file{Backup-specs} * Script Syntax:: Syntax for @file{Backup-specs} @end menu X @node backup-specs example, Script Syntax, Backup Parameters, Backup Parameters @subsection An Example Text of @file{Backup-specs} @UNREVISED X The following is the text of @file{backup-specs} as it appears at FSF: X @example # site-specific parameters for file system backup. X ADMINISTRATOR=friedman BACKUP_HOUR=1 TAPE_FILE=/dev/nrsmt0 TAPE_STATUS="mts -t $TAPE_FILE" BLOCKING=124 BACKUP_DIRS=" X albert:/fs/fsf X apple-gunkies:/gd X albert:/fs/gd2 X albert:/fs/gp X geech:/usr/jla X churchy:/usr/roland X albert:/ X albert:/usr X apple-gunkies:/ X apple-gunkies:/usr X gnu:/hack X gnu:/u X apple-gunkies:/com/mailer/gnu X apple-gunkies:/com/archive/gnu" X BACKUP_FILES="/com/mailer/aliases /com/mailer/league*[a-z]" X @end example X @node Script Syntax, , backup-specs example, Backup Parameters @subsection Syntax for @file{Backup-specs} @UNREVISED X @file{backup-specs} is in shell script syntax. The following conventions should be considered when editing the script: @FIXME{"conventions?"} X A quoted string is considered to be contiguous, even if it is on more than one line. Therefore, you cannot include commented-out lines within a multi-line quoted string. BACKUP_FILES and BACKUP_DIRS are the two most likely parameters to be multi-line. X A quoted string typically cannot contain wildcards. In @file{backup-specs}, however, the parameters BACKUP_DIRS and BACKUP_FILES can contain wildcards. X @node Scripted Backups, Scripted Restoration, Backup Parameters, Backups @section Using the Backup Scripts @UNREVISED X The syntax for running a backup script is: X @example @file{script-name} [@var{time-to-be-run}] @end example X where @var{time-to-be-run} can be a specific system time, or can be @kbd{now}. If you do not specify a time, the script runs at the time specified in @file{backup-specs} (@FIXME-pxref{Script Syntax}). X You should start a script with a tape or disk mounted. Once you start a script, it prompts you for new tapes or disks as it needs them. Media volumes don't have to correspond to archive files---a multi-volume archive can be started in the middle of a tape that already contains the end of another multi-volume archive. The @code{restore} script prompts for media by its archive volume, so to avoid an error message you should keep track of which tape (or disk) contains which volume of the archive. @FIXME{There is no such restore script!}. @FIXME-xref{Scripted Restoration}. @FIXME{Have file names changed?} X The backup scripts write two files on the file system. The first is a record file in @file{/etc/tar-backup/}, which is used by the scripts to store and retrieve information about which files were dumped. This file is not meant to be read by humans, and should not be deleted by them. @FIXME-xref{incremental and listed-incremental}, for a more detailed explanation of this file. X The second file is a log file containing the names of the file systems and files dumped, what time the backup was made, and any error messages that were generated, as well as how much space was left in the media volume after the last volume of the archive was written. You should check this log file after every backup. The file name is @file{log-@var{mmm-ddd-yyyy}-level-1} or @file{log-@var{mmm-ddd-yyyy}-full}. X The script also prints the name of each system being dumped to the standard output. X @node Scripted Restoration, , Scripted Backups, Backups @section Using the Restore Script @UNREVISED X @ifset PUBLISH X The @code{tar} distribution does not provide restoring scripts. X @end ifset X @ifclear PUBLISH X @quotation @strong{Warning:} The GNU @code{tar} distribution does @emph{not} provide any such @code{restore} script yet. This section is only listed here for documentation maintenance purposes. In any case, all contents is subject to change as things develop. @end quotation X @FIXME{A section on non-scripted restore may be a good idea.} X To restore files that were archived using a scripted backup, use the @code{restore} script. The syntax for the script is: X where ***** are the file systems to restore from, and ***** is a regular expression which specifies which files to restore. If you specify --all, the script restores all the files in the file system. X You should start the restore script with the media containing the first volume of the archive mounted. The script will prompt for other volumes as they are needed. If the archive is on tape, you don't need to rewind the tape to to its beginning---if the tape head is positioned past the beginning of the archive, the script will rewind the tape as needed. @FIXME-xref{Media}, for a discussion of tape positioning. X If you specify @samp{--all} as the @var{files} argument, the @code{restore} script extracts all the files in the archived file system into the active file system. X @quotation @strong{Warning:} The script will delete files from the active file system if they were not in the file system when the archive was made. @end quotation X @value{xref-incremental}, and @value{ref-listed-incremental}, for an explanation of how the script makes that determination. X @FIXME{this may be an option, not a given} X @end ifclear X @node Choosing, Date input formats, Backups, Top @chapter Choosing Files and Names for @code{tar} @UNREVISED X @FIXME{Melissa (still) Doesn't Really Like This ``Intro'' Paragraph!!!} X Certain options to @code{tar} enable you to specify a name for your archive. Other options let you decide which files to include or exclude from the archive, based on when or whether files were modified, whether the file names do or don't match specified patterns, or whether files are in specified directories. X @menu * file:: Choosing the Archive's Name * Selecting Archive Members:: * files:: Reading Names from a File * exclude:: Excluding Some Files * Wildcards:: * after:: Operating Only on New Files * recurse:: Descending into Directories * one:: Crossing Filesystem Boundaries @end menu X @node file, Selecting Archive Members, Choosing, Choosing @section Choosing and Naming Archive Files @cindex Naming an archive @cindex Archive Name @cindex Directing output @cindex Choosing an archive file @cindex Where is the archive? @UNREVISED X @FIXME{should the title of this section actually be, "naming an archive"?} X By default, @code{tar} uses an archive file name that was compiled when it was built on the system; usually this name refers to some physical tape drive on the machine. However, the person who installed @code{tar} on the system may not set the default to a meaningful value as far as most users are concerned. As a result, you will usually want to tell @code{tar} where to find (or create) the archive. The @value{op-file} option allows you to either specify or name a file to use as the archive instead of the default archive file location. X @table @kbd @item --file=@var{archive-name} @itemx -f @var{archive-name} Name the archive to create or operate on. Use in conjunction with any operation. @end table X For example, in this @code{tar} command, X @example $ @kbd{tar -cvf collection.tar blues folk jazz} @end example X @noindent @file{collection.tar} is the name of the archive. It must directly follow the @samp{-f} option, since whatever directly follows @samp{-f} @emph{will} end up naming the archive. If you neglect to specify an archive name, you may end up overwriting a file in the working directory with the archive you create since @code{tar} will use this file's name for the archive name. X An archive can be saved as a file in the file system, sent through a pipe or over a network, or written to an I/O device such as a tape, floppy disk, or CD write drive. X @cindex Writing new archives @cindex Archive creation If you do not name the archive, @code{tar} uses the value of the environment variable @code{TAPE} as the file name for the archive. If that is not available, @code{tar} uses a default, compiled-in archive name, usually that for tape unit zero (ie. @file{/dev/tu00}). @code{tar} always needs an archive name. X If you use @file{-} as an @var{archive-name}, @code{tar} reads the archive from standard input (when listing or extracting files), or writes it to standard output (when creating an archive). If you use @file{-} as an @var{archive-name} when modifying an archive, @code{tar} reads the original archive from its standard input and writes the entire new archive to its standard output. X @FIXME{might want a different example here; this is already used in "notable tar usages".} X @example $ @kbd{cd sourcedir; tar -cf - . | (cd targetdir; tar -xf -)} @end example X @FIXME{help!} X @cindex Standard input and output @cindex tar to standard input and output To specify an archive file on a device attached to a remote machine, use the following: X @example @kbd{--file=@var{hostname}:/@var{dev}/@var{file name}} @end example X @noindent @code{tar} will complete the remote connection, if possible, and prompt you for a username and password. If you use @samp{--file=@@@var{hostname}:/@var{dev}/@var{file name}}, @code{tar} will complete the remote connection, if possible, using your username as the username on the remote machine. X If the archive file name includes a colon (@samp{:}), then it is assumed to be a file on another machine. If the archive file is @samp{@var{user}@@@var{host}:@var{file}}, then @var{file} is used on the host @var{host}. The remote host is accessed using the @code{rsh} program, with a username of @var{user}. If the username is omitted (along with the @samp{@@} sign), then your user name will be used. (This is the normal @code{rsh} behavior.) It is necessary for the remote machine, in addition to permitting your @code{rsh} access, to have the @file{/usr/ucb/rmt} program installed. If you need to use a file whose name includes a colon, then the remote tape drive behavior can be inhibited by using the @value{op-force-local} option. X @FIXME{i know we went over this yesterday, but bob (and now i do again, too) thinks it's out of the middle of nowhere. it doesn't seem to tie into what came before it well enough <>. bob also comments that if Amanda isn't free software, we shouldn't mention it..} X When the archive is being created to @file{/dev/null}, GNU @code{tar} tries to minimize input and output operations. The Amanda backup system, when used with GNU @code{tar}, has an initial sizing pass which uses this feature. X @node Selecting Archive Members, files, file, Choosing @section Selecting Archive Members @cindex Specifying files to act on @cindex Specifying archive members X @dfn{File Name arguments} specify which files in the file system @code{tar} operates on, when creating or adding to an archive, or which archive members @code{tar} operates on, when reading or deleting from an archive. @xref{Operations}. X To specify file names, you can include them as the last arguments on the command line, as follows: @smallexample @kbd{tar} @var{operation} [@var{option1} @var{option2} @dots{}] [@var{file name-1} @var{file name-2} @dots{}] @end smallexample X If you specify a directory name as a file name argument, all the files in that directory are operated on by @code{tar}. X If you do not specify files when @code{tar} is invoked with @value{op-create}, @code{tar} operates on all the non-directory files in the working directory. If you specify either @value{op-list} or @value{op-extract}, @code{tar} operates on all the archive members in the archive. If you specify any operation other than one of these three, @code{tar} does nothing. X By default, @code{tar} takes file names from the command line. However, there are other ways to specify file or member names, or to modify the manner in which @code{tar} selects the files or members upon which to operate; @FIXME{add xref here}. In general, these methods work both for specifying the names of files and archive members. X @node files, exclude, Selecting Archive Members, Choosing @section Reading Names from a File @UNREVISED X @cindex Reading file names from a file @cindex Lists of file names @cindex File Name arguments, alternatives Instead of giving the names of files or archive members on the command line, you can put the names into a file, and then use the @value{op-files-from} option to @code{tar}. Give the name of the file which contains the list of files to include as the argument to @samp{--files-from}. In the list, the file names should be separated by newlines. You will frequently use this option when you have generated the list of files to archive with the @code{find} utility. X @table @kbd @item --files-from=@var{file name} @itemx -T @var{file name} Get names to extract or create from file @var{file name}. @end table X If you give a single dash as a file name for @samp{--files-from}, (i.e., you specify either @samp{--files-from=-} or @samp{-T -}), then the file names are read from standard input. X Unless you are running @code{tar} with @samp{--create}, you can not use both @samp{--files-from=-} and @samp{--file=-} (@samp{-f -}) in the same command. X @FIXME{add bob's example, from his message on 2-10-97} X The following example shows how to use @code{find} to generate a list of files smaller than 400K in length and put that list into a file called @file{small-files}. You can then use the @samp{-T} option to @code{tar} to specify the files from that file, @file{small-files}, to create the archive @file{little.tgz}. (The @samp{-z} option to @code{tar} compresses the archive with @code{gzip}; @pxref{gzip} for more information.) X @example $ @kbd{find . -size -400 -print > small-files} $ @kbd{tar -c -v -z -T small-files -f little.tgz} @end example X @noindent @FIXME{say more here to conclude the example/section?} X @menu * nul:: @end menu X @node nul, , files, files @ifinfo @unnumberedsubsec @kbd{NUL} Terminated File Names @end ifinfo X @cindex File names, terminated by @kbd{NUL} @cindex @kbd{NUL} terminated file names The @value{op-null} option causes @value{op-files-from} to read file names terminated by a @code{NUL} instead of a newline, so files whose names contain newlines can be archived using @samp{--files-from}. X @table @kbd @item --null Only consider @kbd{NUL} terminated file names, instead of files that terminate in a newline. @end table X The @samp{--null} option is just like the one in GNU @code{xargs} and @code{cpio}, and is useful with the @samp{-print0} predicate of GNU @code{find}. In @code{tar}, @samp{--null} also causes @value{op-directory} options to be treated as file names to archive, in case there are any files out there called @file{-C}. X This example shows how to use @code{find} to generate a list of files larger than 800K in length and put that list into a file called @file{long-files}. The @samp{-print0} option to @code{find} just just like @samp{-print}, except that it separates files with a @kbd{NUL} rather than with a newline. You can then run @code{tar} with both the @samp{--null} and @samp{-T} options to specify that @code{tar} get the files from that file, @file{long-files}, to create the archive @file{big.tgz}. The @samp{--null} option to @code{tar} will cause @code{tar} to recognize the @kbd{NUL} separator between files. X @example $ @kbd{find . -size +800 -print0 > long-files} $ @kbd{tar -c -v --null --files-from=long-files --file=big.tar} @end example X @FIXME{say anything else here to conclude the section?} X @node exclude, Wildcards, files, Choosing @section Excluding Some Files @cindex File names, excluding files by @cindex Excluding files by name and pattern @cindex Excluding files by file system @UNREVISED X To avoid operating on files whose names match a particular pattern, use the @value{op-exclude} or @value{op-exclude-from} options. X @table @kbd @item --exclude=@var{pattern} Causes @code{tar} to ignore files that match the @var{pattern}. @end table X @findex exclude The @value{op-exclude} option will prevent any file or member which matches the shell wildcards (@var{pattern}) from being operated on (@var{pattern} can be a single file name or a more complex expression). For example, if you want to create an archive with all the contents of @file{/tmp} except the file @file{/tmp/foo}, you can use the command @samp{tar --create --file=arch.tar --exclude=foo}. You may give multiple @samp{--exclude} options. X @table @kbd @item --exclude-from=@var{file} @itemx -X @var{file} Causes @code{tar} to ignore files that match the patterns listed in @var{file}. @end table X @findex exclude-from Use the @samp{--exclude-from=@var{file-of-patterns}} option to read a list of shell wildcards, one per line, from @var{file}; @code{tar} will ignore files matching those regular expressions. Thus if @code{tar} is called as @w{@samp{tar -c -X foo .}} and the file @file{foo} contains a single line @file{*.o}, no files whose names end in @file{.o} will be added to the archive. X @FIXME{do the exclude options files need to have stuff separated by newlines the same as the files-from option does?} X @menu * problems with exclude:: @end menu X @node problems with exclude, , exclude, exclude @unnumberedsubsec Problems with Using the @code{exclude} Options X @FIXME{put in for the editor's/editors' amusement, but should be taken out in the final draft, just in case! : } X @ignore subtitled: getting screwed using exclewed @end ignore X Some users find @samp{exclude} options confusing. Here are some common pitfalls: X @itemize @bullet @item The main operating mode of @code{tar} will always act on file names listed on the command line, no matter whether or not there is an exclusion which would otherwise affect them. In the example above, if you create an archive and exclude files that end with @samp{*.o}, but explicitly name the file @samp{catc.o} after all the options have been listed, @samp{catc.o} @emph{will} be included in the archive. X @item You can sometimes confuse the meanings of @value{op-exclude} and @value{op-exclude-from}. Be careful: use @value{op-exclude} when files to be excluded are given as a pattern on the command line. Use @samp{--exclude-from=@var{file-of-patterns}} to introduce the name of a file which contains a list of patterns, one per line; each of these patterns can exclude zero, one, or many files. X @item When you use @value{op-exclude}, be sure to quote the @var{pattern} parameter, so GNU @code{tar} sees wildcard characters like @samp{*}. If you do not do this, the shell might expand the @samp{*} itself using files at hand, so @code{tar} might receive a list of files instead of one pattern, or none at all, making the command somewhat illegal. This might not correspond to what you want. X For example, write: X @example $ @kbd{tar -c -f @var{archive.tar} -X '*/tmp/*' @var{directory}} @end example X @noindent rather than: X @example $ @kbd{tar -c -f @var{archive.tar} -X */tmp/* @var{directory}} @end example X @item You must use use shell syntax, or globbing, rather than @code{regexp} syntax, when using exclude options in @code{tar}. If you try to use @code{regexp} syntax to describe files to be excluded, your command might fail. X @item In earlier versions of @code{tar}, what is now the @samp{--exclude-from=@var{file-of-patterns}} option was called @samp{--exclude-@var{pattern}} instead. Now, @samp{--exclude=@var{pattern}} applies to patterns listed on the command line and @samp{--exclude-from=@var{file-of-patterns}} applies to patterns listed in a file. X @end itemize X @node Wildcards, after, exclude, Choosing @section Wildcards Patterns and Matching X @dfn{Globbing} is the operation by which @dfn{wildcard} characters, @samp{*} or @samp{?} for example, are replaced and expanded into all existing files matching the given pattern. However, @code{tar} often uses wildcard patterns for matching (or globbing) archive members instead of actual files in the filesystem. Wildcard patterns are also used for verifying volume labels of @code{tar} archives. This section has the purpose of explaining wildcard syntax for @code{tar}. X @FIXME{the next few paragraphs need work.} X A @var{pattern} should be written according to shell syntax, using wildcard characters to effect globbing. Most characters in the pattern stand for themselves in the matched string, and case is significant: @samp{a} will match only @samp{a}, and not @samp{A}. The character @samp{?} in the pattern matches any single character in the matched string. The character @samp{*} in the pattern matches zero, one, or more single characters in the matched string. The character @samp{\} says to take the following character of the pattern @emph{literally}; it is useful when one needs to match the @samp{?}, @samp{*}, @samp{[} or @samp{\} characters, themselves. X The character @samp{[}, up to the matching @samp{]}, introduces a character class. A @dfn{character class} is a list of acceptable characters for the next single character of the matched string. For example, @samp{[abcde]} would match any of the first five letters of the alphabet. Note that within a character class, all of the ``special characters'' listed above other than @samp{\} lose their special meaning; for example, @samp{[-\\[*?]]} would match any of the characters, @samp{-}, @samp{\}, @samp{[}, @samp{*}, @samp{?}, or @samp{]}. (Due to parsing constraints, the characters @samp{-} and @samp{]} must either come @emph{first} or @emph{last} in a character class.) X @cindex Excluding characters from a character class @cindex Character class, excluding characters from If the first character of the class after the opening @samp{[} is @samp{!} or @samp{^}, then the meaning of the class is reversed. Rather than listing character to match, it lists those characters which are @emph{forbidden} as the next single character of the matched string. X Other characters of the class stand for themselves. The special construction @samp{[@var{a}-@var{e}]}, using an hyphen between two letters, is meant to represent all characters between @var{a} and @var{e}, inclusive. X @FIXME{need to add a sentence or so here to make this clear for those who don't have dan around.} X Periods (@samp{.}) or forward slashes (@samp{/}) are not considered special for wildcard matches. However, if a pattern completely matches a directory prefix of a matched string, then it matches the full matched string: excluding a directory also excludes all the files beneath it. X There are some discussions floating in the air and asking for modifications in the way GNU @code{tar} accomplishes wildcard matches. We perceive any change of semantics in this area as a delicate thing to impose on GNU @code{tar} users. On the other hand, the GNU project should be progressive enough to correct any ill design: compatibility at all price is not always a good attitude. In conclusion, it is @emph{possible} that slight amendments be later brought to the previous description. Your opinions on the matter are welcome. X @node after, recurse, Wildcards, Choosing @section Operating Only on New Files @cindex Excluding file by age @cindex Modification time, excluding files by @cindex Age, excluding files by @UNREVISED X The @value{op-after-date} option causes @code{tar} to only work on files whose modification or inode-changed times are newer than the @var{date} given. If you use this option when creating or appending to an archive, the archive will only include new files. If you use @samp{--after-date} when extracting an archive, @code{tar} will only extract files newer than the @var{date} you specify. X If you only want @code{tar} to make the date comparison based on modification of the actual contents of the file (rather than inode changes), then use the @value{op-newer-mtime} option. X You may use these options with any operation. Note that these options differ from the @value{op-update} operation in that they allow you to specify a particular date against which @code{tar} can compare when deciding whether or not to archive the files. X @table @kbd @item --after-date=@var{date} @itemx --newer=@var{date} @itemx -N @var{date} Only store files newer than @var{date}. X Acts on files only if their modification or inode-changed times are later than @var{date}. Use in conjunction with any operation. X @item --newer-mtime=@var{date} Acts like @value{op-after-date}, but only looks at modification times. @end table X These options limit @code{tar} to only operating on files which have been modified after the date specified. A file is considered to have changed if the contents have been modified, or if the owner, permissions, and so forth, have been changed. (For more information on how to specify a date, see @ref{Date input formats}; remember that the entire date argument must be quoted if it contains any spaces.) X Gurus would say that @value{op-after-date} tests both the @code{mtime} (time the contents of the file were last modified) and @code{ctime} (time the file's status was last changed: owner, permissions, etc) fields, while @value{op-newer-mtime} tests only @code{mtime} field. X To be precise, @value{op-after-date} checks @emph{both} @code{mtime} and @code{ctime} and processes the file if either one is more recent than @var{date}, while @value{op-newer-mtime} only checks @code{mtime} and disregards @code{ctime}. Neither uses @code{atime} (the last time the contents of the file were looked at). X Date specifiers can have embedded spaces. Because of this, you may need to quote date arguments to keep the shell from parsing them as separate arguments. X @FIXME{Need example of --newer-mtime with quoted argument.} X @quotation @strong{Please Note:} @value{op-after-date} and @value{op-newer-mtime} should not be used for incremental backups. Some files (such as those in renamed directories) are not selected properly by these options. @xref{incremental and listed-incremental}. @end quotation X To select files newer than the modification time of a file that already exists, you can use the @samp{--reference} (@samp{-r}) option of GNU @code{date}, available in GNU shell utilities 1.13 or later. It returns the timestamp of that already existing file; this timestamp expands to become the referent date which @samp{--newer} uses to determine which files to archive. For example, you could say, X @example $ @kbd{tar -cf @var{archive.tar} --newer="`date -r @var{file}`" /home} @end example X @noindent which tells @FIXME{need to fill this in!}. X @node recurse, one, after, Choosing @section Descending into Directories @cindex Avoiding recursion in directories @cindex Descending directories, avoiding @cindex Directories, avoiding recursion @cindex Recursion in directories, avoiding @UNREVISED X @FIXME{arrggh! this is still somewhat confusing to me. :-< } X @FIXME{show dan bob's comments, from 2-10-97} X Usually, @code{tar} will recursively explore all directories (either those given on the command line or through the @value{op-files-from} option) for the various files they contain. However, you may not always want @code{tar} to act this way. X The @value{op-no-recursion} option inhibits @code{tar}'s recursive descent into specified directories. If you specify @samp{--no-recursion}, you can use the @code{find} utility for hunting through levels of directories to construct a list of file names which you could then pass to @code{tar}. @code{find} allows you to be more selective when choosing which files to archive; see @ref{files} for more information on using @code{find} with @code{tar}, or look. X @table @kbd @item --no-recursion Prevents @code{tar} from recursively descending directories. @end table X When you use @samp{--no-recursion}, GNU @code{tar} grabs directory entries themselves, but does not descend on them recursively. Many people use @code{find} for locating files they want to back up, and since @code{tar} @emph{usually} recursively descends on directories, they have to use the @samp{@w{! -d}} option to @code{find} @FIXME{needs more explanation or a cite to another info file} as they usually do not want all the files in a directory. They then use the @value{op-file-from} option to archive the files located via @code{find}. X The problem when restoring files archived in this manner is that the directories themselves are not in the archive; so the @value{op-same-permissions} option does not affect them---while users might really like it to. Specifying @value{op-no-recursion} is a way to tell @code{tar} to grab only the directory entries given to it, adding no new files on its own. X @FIXME{example here} X @node one, , recurse, Choosing @section Crossing Filesystem Boundaries @cindex File system boundaries, not crossing @UNREVISED X @code{tar} will normally automatically cross file system boundaries in order to archive files which are part of a directory tree. You can change this behavior by running @code{tar} and specifying @value{op-one-file-system}. This option only affects files that are archived because they are in a directory that is being archived; @code{tar} will still archive files explicitly named on the command line or through @value{op-files-from}, regardless of where they reside. X @table @kbd @item --one-file-system @itemx -l Prevents @code{tar} from crossing file system boundaries when archiving. Use in conjunction with any write operation. @end table X The @samp{--one-file-system} option causes @code{tar} to modify its normal behavior in archiving the contents of directories. If a file in a directory is not on the same filesystem as the directory itself, then @code{tar} will not archive that file. If the file is a directory itself, @code{tar} will not archive anything beneath it; in other words, @code{tar} will not cross mount points. X It is reported that using this option, the mount point is is archived, but nothing under it. X This option is useful for making full or incremental archival backups of a file system. If this option is used in conjunction with @value{op-verbose}, files that are excluded are mentioned by name on the standard error. X @menu * directory:: Changing Directory * absolute:: Absolute File Names @end menu X @node directory, absolute, one, one @subsection Changing the Working Directory X @FIXME{need to read over this node now for continuity; i've switched things around some.} X @cindex Changing directory mid-stream @cindex Directory, changing mid-stream @cindex Working directory, specifying @UNREVISED X To change the working directory in the middle of a list of file names, either on the command line or in a file specified using @value{op-files-from}, use @value{op-directory}. This will change the working directory to the directory @var{directory} after that point in the list. X @table @kbd @item --directory=@var{directory} @itemx -C @var{directory} Changes the working directory in the middle of a command line. @end table X For example, X @example $ @kbd{tar -c -f jams.tar grape prune -C food cherry} @end example X @noindent will place the files @file{grape} and @file{prune} from the current directory into the archive @file{jams.tar}, followed by the file @file{cherry} from the directory @file{food}. This option is especially useful when you have several widely separated files that you want to store in the same archive. X Note that the file @file{cherry} is recorded in the archive under the precise name @file{cherry}, @emph{not} @file{food/cherry}. Thus, the archive will contain three files that all appear to have come from the same directory; if the archive is extracted with plain @samp{tar --extract}, all three files will be written in the current directory. X Contrast this with the command, X @example $ @kbd{tar -c -f jams.tar grape prune -C food red/cherry} @end example X @noindent which records the third file in the archive under the name @file{red/cherry} so that, if the archive is extracted using @samp{tar --extract}, the third file will be written in a subdirectory named @file{orange-colored}. X You can use the @samp{--directory} option to make the archive independent of the original name of the directory holding the files. The following command places the files @file{/etc/passwd}, @file{/etc/hosts}, and @file{/lib/libc.a} into the archive @file{foo.tar}: X @example $ @kbd{tar -c -f foo.tar -C /etc passwd hosts -C /lib libc.a} @end example X @noindent However, the names of the archive members will be exactly what they were on the command line: @file{passwd}, @file{hosts}, and @file{libc.a}. They will not appear to be related by file name to the original directories where those files were located. X Note that @samp{--directory} options are interpreted consecutively. If @samp{--directory} specifies a relative file name, it is interpreted relative to the then current directory, which might not be the same as the original current working directory of @code{tar}, due to a previous @samp{--directory} option. X @FIXME{dan: does this mean that you *can* use the short option form, but you can *not* use the long option form with --files-from? or is this totally screwed?} X When using @samp{--files-from} (@pxref{files}), you can put @samp{-C} options in the file list. Unfortunately, you cannot put @samp{--directory} options in the file list. (This interpretation can be disabled by using the @value{op-null} option.) X @node absolute, , directory, one @subsection Absolute File Names @UNREVISED X @table @kbd @item -P @itemx --absolute-names Do not strip leading slashes from file names. @end table X By default, GNU @code{tar} drops a leading @samp{/} on input or output. This option turns off this behavior; it is equivalent to changing to the root directory before running @code{tar} (except it also turns off the usual warning message). X When @code{tar} extracts archive members from an archive, it strips any leading slashes (@samp{/}) from the member name. This causes absolute member names in the archive to be treated as relative file names. This allows you to have such members extracted wherever you want, instead of being restricted to extracting the member in the exact directory named in the archive. For example, if the archive member has the name @file{/etc/passwd}, @code{tar} will extract it as if the name were really @file{etc/passwd}. X Other @code{tar} programs do not do this. As a result, if you create an archive whose member names start with a slash, they will be difficult for other people with a non-GNU @code{tar} program to use. Therefore, GNU @code{tar} also strips leading slashes from member names when putting members into the archive. For example, if you ask @code{tar} to add the file @file{/bin/ls} to an archive, it will do so, but the member name will be @file{bin/ls}. X If you use the @value{op-absolute-names} option, @code{tar} will do neither of these transformations. X To archive or extract files relative to the root directory, specify the @value{op-absolute-names} option. X Normally, @code{tar} acts on files relative to the working directory---ignoring superior directory names when archiving, and ignoring leading slashes when extracting. X When you specify @value{op-absolute-names}, @code{tar} stores file names including all superior directory names, and preserves leading slashes. If you only invoked @code{tar} from the root directory you would never need the @value{op-absolute-names} option, but using this option may be more convenient than switching to root. X @FIXME{Should be an example in the tutorial/wizardry section using this to transfer files between systems.} X @FIXME{Is write access an issue?} X @table @kbd @item --absolute-names Preserves full file names (inclusing superior dirctory names) when archiving files. Preserves leading slash when extracting files. X @end table X @FIXME{this is still horrible; need to talk with dan on monday.} X @code{tar} prints out a message about removing the @samp{/} from file names. This message appears once per GNU @code{tar} invocation. It represents something which ought to be told; ignoring what it means can cause very serious surprises, later. X Some people, nevertheless, do not want to see this message. Wanting to play really dangerously, one may of course redirect @code{tar} standard error to the sink. For example, under @code{sh}: X @example $ @kbd{tar -c -f archive.tar /home 2> /dev/null} @end example X @noindent Another solution, both nicer and simpler, would be to change to the @file{/} directory first, and then avoid absolute notation. For example: X @example $ @kbd{(cd / && tar -c -f archive.tar home)} $ @kbd{tar -c -f archive.tar -C / home} @end example X @node Date input formats, Formats, Choosing, Top @chapter Date input formats X @cindex date input formats @findex getdate X @quotation Our units of temporal measurement, from seconds on up to months, are so complicated, asymmetrical and disjunctive so as to make coherent mental reckoning in time all but impossible. Indeed, had some tyrannical god contrived to enslave our minds to time, to make it all but impossible for us to escape subjection to sodden routines and unpleasant surprises, he could hardly have done better than handing down our present system. It is like a set of trapezoidal building blocks, with no vertical or horizontal surfaces, like a language in which the simplest thought demands ornate constructions, useless particles and lengthy circumlocutions. Unlike the more successful patterns of language and science, which enable us to face experience boldly or at least level-headedly, our system of temporal calculation silently and persistently encourages our terror of time. X @dots{} It is as though architects had to measure length in feet, width in meters and height in ells; as though basic instruction manuals demanded a knowledge of five different languages. It is no wonder then that we often look into our own immediate past or future, last Tuesday or a week from Sunday, with feelings of helpless confusion. @dots{} X --- Robert Grudin, @cite{Time and the Art of Living}. @end quotation X This section describes the textual date representations that GNU programs accept. These are the strings you, as a user, can supply as arguments to the various programs. The C interface (via the @code{getdate} function) is not described here. X @cindex beginning of time, for Unix @cindex epoch, for Unix Although the date syntax here can represent any possible time since zero A.D., computer integers are not big enough for such a (comparatively) long time. The earliest date semantically allowed on Unix systems is midnight, 1 January 1970 UCT. X @menu * General date syntax:: Common rules. * Calendar date item:: 19 Dec 1994. * Time of day item:: 9:20pm. * Timezone item:: EST, DST, BST, UCT, AHST, ... * Day of week item:: Monday and others. * Relative item in date strings:: next tuesday, 2 years ago. * Pure numbers in date strings:: 19931219, 1440. * Authors of getdate:: Bellovin, Salz, Berets, et al. @end menu X X @node General date syntax, Calendar date item, Date input formats, Date input formats @section General date syntax X @cindex general date syntax X @cindex items in date strings A @dfn{date} is a string, possibly empty, containing many items separated by whitespace. The whitespace may be omitted when no ambiguity arises. The empty string means the beginning of today (i.e., midnight). Order of the items is immaterial. A date string may contain many flavors of items: X @itemize @bullet @item calendar date items @item time of the day items @item time zone items @item day of the week items @item relative items @item pure numbers. @end itemize X @noindent We describe each of these item types in turn, below. X @cindex numbers, written-out @cindex ordinal numbers @findex first @r{in date strings} @findex next @r{in date strings} @findex last @r{in date strings} A few numbers may be written out in words in most contexts. This is most useful for specifying day of the week items or relative items (see below). Here is the list: @samp{first} for 1, @samp{next} for 2, @samp{third} for 3, @samp{fourth} for 4, @samp{fifth} for 5, @samp{sixth} for 6, @samp{seventh} for 7, @samp{eighth} for 8, @samp{ninth} for 9, @samp{tenth} for 10, @samp{eleventh} for 11 and @samp{twelfth} for 12. Also, @samp{last} means exactly @math{-1}. X @cindex months, written-out When a month is written this way, it is still considered to be written numerically, instead of being ``spelled in full''; this changes the allowed strings. X @cindex case, ignored in dates @cindex comments, in dates Alphabetic case is completely ignored in dates. Comments may be introduced between round parentheses, as long as included parentheses are properly nested. Hyphens not followed by a digit are currently ignored. Leading zeros on numbers are ignored. X X @node Calendar date item, Time of day item, General date syntax, Date input formats @section Calendar date item X @cindex calendar date item X A @dfn{calendar date item} specifies a day of the year. It is specified differently, depending on whether the month is specified numerically or literally. All these strings specify the same calendar date: X @example 1970-09-17 # ISO 8601. 70-9-17 # This century assumed by default. 70-09-17 # Leading zeros are ignored. 9/17/72 # Common U.S. writing. 24 September 1972 24 Sept 72 # September has a special abbreviation. 24 Sep 72 # Three-letter abbreviations always allowed. Sep 24, 1972 24-sep-72 24sep72 @end example X The year can also be omitted. In this case, the last specified year is used, or the current year if none. For example: X @example 9/17 sep 17 @end example X Here are the rules. X @cindex ISO 8601 date format @cindex date format, ISO 8601 For numeric months, the ISO 8601 format @samp{@var{year}-@var{month}-@var{day}} is allowed, where @var{year} is any positive number, @var{month} is a number between 01 and 12, and @var{day} is a number between 01 and 31. A leading zero must be present if a number is less than ten. If @var{year} is less than 100, then 1900 is added to it to force a date in this century. The construct @samp{@var{month}/@var{day}/@var{year}}, popular in the United States, is accepted. Also @samp{@var{month}/@var{day}}, omitting the year. X @cindex month names in date strings @cindex abbreviations for months Literal months may be spelled out in full: @samp{January}, @samp{February}, @samp{March}, @samp{April}, @samp{May}, @samp{June}, @samp{July}, @samp{August}, @samp{September}, @samp{October}, @samp{November} or @samp{December}. Literal months may be abbreviated to their first three letters, possibly followed by an abbreviating dot. It is also permitted to write @samp{Sept} instead of @samp{September}. X When months are written literally, the calendar date may be given as any of the following: X @example @var{day} @var{month} @var{year} @var{day} @var{month} @var{month} @var{day} @var{year} @var{day}-@var{month}-@var{year} @end example X Or, omitting the year: X @example @var{month} @var{day} @end example X X @node Time of day item, Timezone item, Calendar date item, Date input formats @section Time of day item X @cindex time of day item X A @dfn{time of day item} in date strings specifies the time on a given day. Here are some examples, all of which represent the same time: X @example 20:02:0 20:02 8:02pm 20:02-0500 # In EST (Eastern U.S. Standard Time). @end example X More generally, the time of the day may be given as @samp{@var{hour}:@var{minute}:@var{second}}, where @var{hour} is a number between 0 and 23, @var{minute} is a number between 0 and 59, and @var{second} is a number between 0 and 59. Alternatively, @samp{:@var{second}} can be omitted, in which case it is taken to be zero. X @findex am @r{in date strings} @findex pm @r{in date strings} @findex midnight @r{in date strings} @findex noon @r{in date strings} If the time is followed by @samp{am} or @samp{pm} (or @samp{a.m.} or @samp{p.m.}), @var{hour} is restricted to run from 1 to 12, and @samp{:@var{minute}} may be omitted (taken to be zero). @samp{am} indicates the first half of the day, @samp{pm} indicates the second half of the day. In this notation, 12 is the predecessor of 1: midnight is @samp{12am} while noon is @samp{12pm}. X @cindex timezone correction @cindex minutes, timezone correction by The time may alternatively be followed by a timezone correction, expressed as @samp{@var{s}@var{hh}@var{mm}}, where @var{s} is @samp{+} or @samp{-}, @var{hh} is a number of zone hours and @var{mm} is a number of zone minutes. When a timezone correction is given this way, it forces interpretation of the time in UTC, overriding any previous specification for the timezone or the local timezone. The @var{minute} part of the time of the day may not be elided when a timezone correction is used. This is the only way to specify a timezone correction by fractional parts of an hour. X Either @samp{am}/@samp{pm} or a timezone correction may be specified, but not both. X X @node Timezone item, Day of week item, Time of day item, Date input formats @section Timezone item X @cindex timezone item X A @dfn{timezone item} specifies an international timezone, indicated by a small set of letters. Any included period is ignored. Military timezone designations use a single letter. Currently, only integral zone hours may be represented in a timezone item. See the previous section for a finer control over the timezone correction. X Here are many non-daylight-savings-time timezones, indexed by the zone hour value. X @table @asis @item +000 @cindex Greenwich Mean Time @cindex Universal Coordinated Time @cindex Western European Time @samp{GMT} for Greenwich Mean, @samp{UT} or @samp{UTC} for Universal (Coordinated), @samp{WET} for Western European and @samp{Z} for militaries. @item +100 @cindex West African Time @samp{WAT} for West Africa and @samp{A} for militaries. @item +200 @cindex Azores Time @samp{AT} for Azores and @samp{B} for militaries. @item +300 @samp{C} for militaries. @item +400 @cindex Atlantic Standard Time @samp{AST} for Atlantic Standard and @samp{D} for militaries. @item +500 @cindex Eastern Standard Time @samp{E} for militaries and @samp{EST} for Eastern Standard. @item +600 @cindex Central Standard Time @samp{CST} for Central Standard and @samp{F} for militaries. @item +700 @cindex Mountain Standard Time @samp{G} for militaries and @samp{MST} for Mountain Standard. @item +800 @cindex Pacific Standard Time @samp{H} for militaries and @samp{PST} for Pacific Standard. @item +900 @cindex Yukon Standard Time @samp{I} for militaries and @samp{YST} for Yukon Standard. @item +1000 @cindex Alaska-Hawaii Time @cindex Central Alaska Time @cindex Hawaii Standard Time @samp{AHST} for Alaska-Hawaii Standard, @samp{CAT} for Central Alaska, @samp{HST} for Hawaii Standard and @samp{K} for militaries. @item +1100 @cindex Nome Standard Time @samp{L} for militaries and @samp{NT} for Nome. @item +1200 @cindex International Date Line West @samp{IDLW} for International Date Line West and @samp{M} for militaries. @item -100 @cindex Central European Time @cindex Middle European Time @cindex Middle European Winter Time @cindex French Winter Time @cindex Swedish Winter Time @samp{CET} for Central European, @samp{FWT} for French Winter, @samp{MET} for Middle European, @samp{MEWT} for Middle European Winter, @samp{N} for militaries and @samp{SWT} for Swedish Winter. @item -200 @cindex Eastern European Time @cindex USSR Zone @samp{EET} for Eastern European, USSR Zone 1 and @samp{O} for militaries. @item -300 @cindex Baghdad Time @samp{BT} for Baghdad, USSR Zone 2 and @samp{P} for militaries. @item -400 @samp{Q} for militaries and @samp{ZP4} for USSR Zone 3. @item -500 @samp{R} for militaries and @samp{ZP5} for USSR Zone 4. @item -600 @samp{S} for militaries and @samp{ZP6} for USSR Zone 5. @item -700 @cindex West Australian Standard Time @samp{T} for militaries and @samp{WAST} for West Australian Standard. @item -800 @cindex China Coast Time @samp{CCT} for China Coast, USSR Zone 7 and @samp{U} for militaries. @item -900 @cindex Japan Standard Time @samp{JST} for Japan Standard, USSR Zone 8 and @samp{V} for militaries. @item -1000 @cindex East Australian Standard Time @cindex Guam Standard Time @samp{EAST} for East Australian Standard, @samp{GST} for Guam Standard, USSR Zone 9 and @samp{W} for militaries. @item -1100 @samp{X} for militaries. @item -1200 @cindex International Date Line East @cindex New Zealand Standard Time @samp{IDLE} for International Date Line East, @samp{NZST} for New Zealand Standard, @samp{NZT} for New Zealand and @samp{Y} for militaries. @end table X @cindex daylight savings time Here are many DST timezones, indexed by the zone hour value. Also, by following a non-DST timezone by the string @samp{DST} in a separate word (that is, separated by some whitespace), the corresponding DST timezone may be specified. X @table @asis @item 0 @samp{BST} for British Summer. @item +400 @samp{ADT} for Atlantic Daylight. @item +500 @samp{EDT} for Eastern Daylight. @item +600 @samp{CDT} for Central Daylight. @item +700 @samp{MDT} for Mountain Daylight. @item +800 @samp{PDT} for Pacific Daylight. @item +900 @samp{YDT} for Yukon Daylight. @item +1000 @samp{HDT} for Hawaii Daylight. @item -100 @samp{MEST} for Middle European Summer, @samp{MESZ} for Middle European Summer, @samp{SST} for Swedish Summer and @samp{FST} for French Summer. @item -700 @samp{WADT} for West Australian Daylight. @item -1000 @samp{EADT} for Eastern Australian Daylight. @item -1200 @samp{NZDT} for New Zealand Daylight. @end table X X @node Day of week item, Relative item in date strings, Timezone item, Date input formats @section Day of week item X @cindex day of week item X The explicit mention of a day of the week will forward the date (only if necessary) to reach that day of the week in the future. X Days of the week may be spelled out in full: @samp{Sunday}, @samp{Monday}, @samp{Tuesday}, @samp{Wednesday}, @samp{Thursday}, @samp{Friday} or @samp{Saturday}. Days may be abbreviated to their first three letters, optionally followed by a period. The special abbreviations @samp{Tues} for @samp{Tuesday}, @samp{Wednes} for @samp{Wednesday} and @samp{Thur} or @samp{Thurs} for @samp{Thursday} are also allowed. X @findex next @var{day} @findex last @var{day} A number may precede a day of the week item to move forward supplementary weeks. It is best used in expression like @samp{third monday}. In this context, @samp{last @var{day}} or @samp{next @var{day}} is also acceptable; they move one week before or after the day that @var{day} by itself would represent. X A comma following a day of the week item is ignored. X X @node Relative item in date strings, Pure numbers in date strings, Day of week item, Date input formats @section Relative item in date strings X @cindex relative items in date strings @cindex displacement of dates X @dfn{Relative items} adjust a date (or the current date if none) forward or backward. The effects of relative items accumulate. Here are some examples: X @example 1 year 1 year ago 3 years 2 days @end example X @findex year @r{in date strings} @findex month @r{in date strings} @findex fortnight @r{in date strings} @findex week @r{in date strings} @findex day @r{in date strings} @findex hour @r{in date strings} @findex minute @r{in date strings} The unit of time displacement may be selected by the string @samp{year} or @samp{month} for moving by whole years or months. These are fuzzy units, as years and months are not all of equal duration. More precise units are @samp{fortnight} which is worth 14 days, @samp{week} worth 7 days, @samp{day} worth 24 hours, @samp{hour} worth 60 minutes, @samp{minute} or @samp{min} worth 60 seconds, and @samp{second} or @samp{sec} worth one second. An @samp{s} suffix on these units is accepted and ignored. X @findex ago @r{in date strings} The unit of time may be preceded by a multiplier, given as an optionally signed number. Unsigned numbers are taken as positively signed. No number at all implies 1 for a multiplier. Following a relative item by the string @samp{ago} is equivalent to preceding the unit by a multiplicator with value @math{-1}. X @findex day @r{in date strings} @findex tomorrow @r{in date strings} @findex yesterday @r{in date strings} The string @samp{tomorrow} is worth one day in the future (equivalent to @samp{day}), the string @samp{yesterday} is worth one day in the past (equivalent to @samp{day ago}). X @findex now @r{in date strings} @findex today @r{in date strings} @findex this @r{in date strings} The strings @samp{now} or @samp{today} are relative items corresponding to zero-valued time displacement, these strings come from the fact a zero-valued time displacement represents the current time when not otherwise change by previous items. They may be used to stress other items, like in @samp{12:00 today}. The string @samp{this} also has the meaning of a zero-valued time displacement, but is preferred in date strings like @samp{this thursday}. X When a relative item makes the resulting date to cross the boundary between DST and non-DST (or vice-versa), the hour is adjusted according to the local time. X X @node Pure numbers in date strings, Authors of getdate, Relative item in date strings, Date input formats @section Pure numbers in date strings X @cindex pure numbers in date strings X The precise intepretation of a pure decimal number is dependent of the context in the date string. X If the decimal number is of the form @var{yyyy}@var{mm}@var{dd} and no other calendar date item (@pxref{Calendar date item}) appears before it in the date string, then @var{yyyy} is read as the year, @var{mm} as the month number and @var{dd} as the day of the month, for the specified calendar date. X If the decimal number is of the form @var{hh}@var{mm} and no other time of day item appears before it in the date string, then @var{hh} is read as the hour of the day and @var{mm} as the minute of the hour, for the specified time of the day. @var{mm} can also be omitted. X If both a calendar date and a time of day appear to the left of a number in the date string, but no relative item, then the number overrides the year. X X @node Authors of getdate, , Pure numbers in date strings, Date input formats @section Authors of @code{getdate} X @cindex authors of @code{getdate} X @cindex Bellovin, Steven M. @cindex Salz, Rich @cindex Berets, Jim @cindex MacKenzie, David @cindex Meyering, Jim @code{getdate} was originally implemented by Steven M. Bellovin (@samp{smb@@research.att.com}) while at the University of North Carolina at Chapel Hill. The code was later tweaked by a couple of people on Usenet, then completely overhauled by Rich $alz (@samp{rsalz@@bbn.com}) and Jim Berets (@samp{jberets@@bbn.com}) in August, 1990. Various revisions for the GNU system were made by David MacKenzie, Jim Meyering, and others. X @cindex Pinard, F. @cindex Berry, K. This chapter was originally produced by Fran@,{c}ois Pinard (@samp{pinard@@iro.umontreal.ca}) from the @file{getdate.y} source code, and then edited by K.@: Berry (@samp{kb@@cs.umb.edu}). X @node Formats, Media, Date input formats, Top @chapter Controlling the Archive Format X @FIXME{need an intro here} X @menu * Portability:: Making @code{tar} Archives More Portable * Compression:: Using Less Space through Compression * Attributes:: Handling File Attributes * Standard:: The Standard Format * Extensions:: GNU Extensions to the Archive Format * cpio:: Comparison of @code{tar} and @code{cpio} @end menu X @node Portability, Compression, Formats, Formats @section Making @code{tar} Archives More Portable X Creating a @code{tar} archive on a particular system that is meant to be useful later on many other machines and with other versions of @code{tar} is more challenging than you might think. @code{tar} archive formats have been evolving since the first versions of Unix. Many such formats are around, and are not always comptible with each other. This section discusses a few problems, and gives some advice about making @code{tar} archives more portable. X One golden rule is simplicity. For example, limit your @code{tar} archives to contain only regular files and directories, avoiding other kind of special files. Do not attempt to save sparse files or contiguous files as such. Let's discuss a few more problems, in turn. X @menu * Portable Names:: Portable Names * dereference:: Symbolic Links * old:: Old V7 Archives * posix:: POSIX archives * Checksumming:: Checksumming Problems @end menu X @node Portable Names, dereference, Portability, Portability @subsection Portable Names X Use @emph{straight} file and directory names, made up of printable ASCII characters, avoiding colons, slashes, backslashes, spaces, and other @emph{dangerous} characters. Avoid deep directory nesting. Accounting for oldish System V machines, limit your file and directory names to 14 characters or less. X If you intend to have your @code{tar} archives to be read under MSDOS, you should not rely on case distinction for file names, and you might use the GNU @code{doschk} program for helping you further diagnosing illegal MSDOS names, which are even more limited than System V's. X @node dereference, old, Portable Names, Portability @subsection Symbolic Links @cindex File names, using symbolic links @cindex Symbolic link as file name X Normally, when @code{tar} archives a symbolic link, it writes a block to the archive naming the target of the link. In that way, the @code{tar} archive is a faithful record of the filesystem contents. @value{op-dereference} is used with @value{op-create}, and causes @code{tar} to archive the files symbolic links point to, instead of the links themselves. When this option is used, when @code{tar} encounters a symbolic link, it will archive the linked-to file, instead of simply recording the presence of a symbolic link. X The name under which the file is stored in the file system is not recorded in the archive. To record both the symbolic link name and the file name in the system, archive the file under both names. If all links were recorded automatically by @code{tar}, an extracted file might be linked to a file name that no longer exists in the file system. X If a linked-to file is encountered again by @code{tar} while creating the same archive, an entire second copy of it will be stored. (This @emph{might} be considered a bug.) X So, for portable archives, do not archive symbolic links as such, and use @value{op-dereference}: many systems do not support symbolic links, and moreover, your distribution might be unusable if it contains unresolved symbolic links. X @node old, posix, dereference, Portability @subsection Old V7 Archives @cindex Format, old style @cindex Old style format @cindex Old style archives X Certain old versions of @code{tar} cannot handle additional information recorded by newer @code{tar} programs. To create an archive in V7 format (not ANSI), which can be read by these old versions, specify the @value{op-old-archive} option in conjunction with the @value{op-create}. @code{tar} also accepts @samp{--portability} for this option. When you specify it, @code{tar} leaves out information about directories, pipes, fifos, contiguous files, and device files, and specifies file ownership by group and user IDs instead of group and user names. X When updating an archive, do not use @value{op-old-archive} unless the archive was created with using this option. X In most cases, a @emph{new} format archive can be read by an @emph{old} @code{tar} program without serious trouble, so this option should seldom be needed. On the other hand, most modern @code{tar}s are able to read old format archives, so it might be safer for you to always use @value{op-old-archive} for your distributions. X @node posix, Checksumming, old, Portability @subsection GNU @code{tar} and POSIX @code{tar} X GNU @code{tar} was based on an early draft of the POSIX 1003.1 @code{ustar} standard. GNU extensions to @code{tar}, such as the support for file names longer than 100 characters, use portions of the @code{tar} header record which were specified in that POSIX draft as unused. Subsequent changes in POSIX have allocated the same parts of the header record for other purposes. As a result, GNU @code{tar} is incompatible with the current POSIX spec, and with @code{tar} programs that follow it. X We plan to reimplement these GNU extensions in a new way which is upward compatible with the latest POSIX @code{tar} format, but we don't know when this will be done. X In the mean time, there is simply no telling what might happen if you read a GNU @code{tar} archive, which uses the GNU extensions, using some other @code{tar} program. So if you want to read the archive with another @code{tar} program, be sure to write it using the @samp{--old-archive} option (@samp{-o}). X @FIXME{is there a way to tell which flavor of tar was used to write a particular archive before you try to read it?} X Traditionally, old @code{tar}s have a limit of 100 characters. GNU @code{tar} attempted two different approaches to overcome this limit, using and extending a format specified by a draft of some P1003.1. The first way was not that successful, and involved @file{@@MaNgLeD@@} file names, or such; while a second approach used @file{././@@LongLink} and other tricks, yielding better success. In theory, GNU @code{tar} should be able to handle file names of practically unlimited length. So, if GNU @code{tar} fails to dump and retrieve files having more than 100 characters, then there is a bug in GNU @code{tar}, indeed. X But, being strictly POSIX, the limit was still 100 characters. For various other purposes, GNU @code{tar} used areas left unassigned in the POSIX draft. POSIX later revised P1003.1 @code{ustar} format by assigning previously unused header fields, in such a way that the upper limit for file name length was raised to 256 characters. However, the actual POSIX limit oscillates between 100 and 256, depending on the precise location of slashes in full file name (this is rather ugly). Since GNU @code{tar} use the same fields for quite other purposes, it became incompatible with the latest POSIX standards. X For longer or non-fitting file names, we plan to use yet another set of GNU extensions, but this time, complying with the provisions POSIX offers for extending the format, rather than conflicting with it. Whenever an archive uses old GNU @code{tar} extension format or POSIX extensions, would it be for very long file names or other specialities, this archive becomes non-portable to other @code{tar} implementations. In fact, anything can happen. The most forgiving @code{tar}s will merely unpack the file using a wrong name, and maybe create another file named something like @file{@@LongName}, with the true file name in it. @code{tar}s not protecting themselves may segment violate! X Compatibility concerns make all this thing more difficult, as we will have to support @emph{all} these things together, for a while. GNU @code{tar} should be able to produce and read true POSIX format files, while being able to detect old GNU @code{tar} formats, besides old V7 format, and process them conveniently. It would take years before this whole area stabilizes@dots{} X There are plans to raise this 100 limit to 256, and yet produce POSIX conformant archives. Past 256, I do not know yet if GNU @code{tar} will go non-POSIX again, or merely refuse to archive the file. X There are plans so GNU @code{tar} support more fully the latest POSIX format, while being able to read old V7 format, GNU (semi-POSIX plus extension), as well as full POSIX. One may ask if there is part of the POSIX format that we still cannot support. This simple question has a complex answer. Maybe that, on intimate look, some strong limitations will pop up, but until now, nothing sounds too difficult (but see below). I only have these few pages of POSIX telling about `Extended tar Format' (P1003.1-1990 -- section 10.1.1), and there are references to other parts of the standard I do not have, which should normally enforce limitations on stored file names (I suspect things like fixing what @kbd{/} and @kbd{@key{NUL}} means). There are also some points which the standard does not make clear, Existing practice will then drive what I should do. X POSIX mandates that, when a file name cannot fit within 100 to 256 characters (the variance comes from the fact a @kbd{/} is ideally needed as the 156'th character), or a link name cannot fit within 100 characters, a warning should be issued and the file @emph{not} be stored. Unless some @value{op-posix} option is given (or @code{POSIXLY_CORRECT} is set), I suspect that GNU @code{tar} should disobey this specification, and automatically switch to using GNU extensions to overcome file name or link name length limitations. X There is a problem, however, which I did not intimately studied yet. Given a truly POSIX archive with names having more than 100 characters, I guess that GNU @code{tar} up to 1.11.8 will process it as if it were an old V7 archive, and be fooled by some fields which are coded differently. So, the question is to decide if the next generation of GNU @code{tar} should produce POSIX format by default, whenever possible, producing archives older versions of GNU @code{tar} might not be able to read correctly. I fear that we will have to suffer such a choice one of these days, if we want GNU @code{tar} to go closer to POSIX. We can rush it. Another possibility is to produce the current GNU @code{tar} format by default for a few years, but have GNU @code{tar} versions from some 1.@var{POSIX} and up able to recognize all three formats, and let older GNU @code{tar} fade out slowly. Then, we could switch to producing POSIX format by default, with not much harm to those still having (very old at that time) GNU @code{tar} versions prior to 1.@var{POSIX}. X POSIX format cannot represent very long names, volume headers, splitting of files in multi-volumes, sparse files, and incremental dumps; these would be all disallowed if @value{op-posix} or @code{POSIXLY_CORRECT}. Otherwise, if @code{tar} is given long names, or @samp{-[VMSgG]}, then it should automatically go non-POSIX. I think this is easily granted without much discussion. X Another point is that only @code{mtime} is stored in POSIX archives, while GNU @code{tar} currently also store @code{atime} and @code{ctime}. If we want GNU @code{tar} to go closer to POSIX, my choice would be to drop @code{atime} and @code{ctime} support on average. On the other hand, I perceive that full dumps or incremental dumps need @code{atime} and @code{ctime} support, so for those special applications, POSIX has to be avoided altogether. X A few users requested that @value{op-sparse} be always active by default, I think that before replying to them, we have to decide if we want GNU @code{tar} to go closer to POSIX on average, while producing files. My choice would be to go closer to POSIX in the long run. Besides possible double reading, I do not see any point of not trying to save files as sparse when creating archives which are neither POSIX nor old-V7, so the actual @value{op-sparse} would become selected by default when producing such archives, whatever the reason is. So, @value{op-sparse} alone might be redefined to force GNU-format archives, and recover its previous meaning from this fact. X GNU-format as it exists now can easily fool other POSIX @code{tar}, as it uses fields which POSIX considers to be part of the file name prefix. I wonder if it would not be a good idea, in the long run, to try changing GNU-format so any added field (like @code{ctime}, @code{atime}, file offset in subsequent volumes, or sparse file descriptions) be wholly and always pushed into an extension block, instead of using space in the POSIX header block. I could manage to do that portably between future GNU @code{tar}s. So other POSIX @code{tar}s might be at least able to provide kind of correct listings for the archives produced by GNU @code{tar}, if not able to process them otherwise. X Using these projected extensions might induce older @code{tar}s to fail. We would use the same approach as for POSIX. I'll put out a @code{tar} capable of reading POSIXier, yet extended archives, but will not produce this format by default, in GNU mode. In a few years, when newer GNU @code{tar}s will have flooded out @code{tar} 1.11.X and previous, we could switch to producing POSIXier extended archives, with no real harm to users, as almost all existing GNU @code{tar}s will be ready to read POSIXier format. In fact, I'll do both changes at the same time, in a few years, and just prepare @code{tar} for both changes, without effecting them, from 1.@var{POSIX}. (Both changes: 1---using POSIX convention for getting over 100 characters; 2---avoiding mangling POSIX headers for GNU extensions, using only POSIX mandated extension techniques). X So, a future @code{tar} will have a @value{op-posix} flag forcing the usage of truly POSIX headers, and so, producing archives previous GNU @code{tar} will not be able to read. So, @emph{once} pretest will announce that feature, it would be particularly useful that users test how exchangeable will be archives between GNU @code{tar} with @value{op-posix} and other POSIX @code{tar}. X In a few years, when GNU @code{tar} will produce POSIX headers by default, @value{op-posix} will have a strong meaning and will disallow GNU extensions. But in the meantime, for a long while, @value{op-posix} in GNU tar will not disallow GNU extensions like @value{op-label}, @value{op-multi-volume}, @value{op-sparse}, or very long file or link names. However, @value{op-posix} with GNU extensions will use POSIX headers with reserved-for-users extensions to headers, and I will be curious to know how well or bad POSIX @code{tar}s will react to these. X GNU @code{tar} prior to 1.@var{POSIX}, and after 1.@var{POSIX} without @value{op-posix}, generates and checks @samp{ustar@w{ }@w{ }}, with two suffixed spaces. This is sufficient for older GNU @code{tar} not to recognize POSIX archives, and consequently, wrongly decide those archives are in old V7 format. It is a useful bug for me, because GNU @code{tar} has other POSIX incompatibilities, and I need to segregate GNU @code{tar} semi-POSIX archives from truly POSIX archives, for GNU @code{tar} should be somewhat compatible with itself, while migrating closer to latest POSIX standards. So, I'll be very careful about how and when I will do the correction. X @node Checksumming, , posix, Portability @subsection Checksumming Problems X SunOS and HP-UX @code{tar} fail to accept archives created using GNU @code{tar} and containing non-ASCII file names, that is, file names having characters with the eight bit set, because they use signed checksums, while GNU @code{tar} uses unsigned checksums while creating archives, as per POSIX standards. On reading, GNU @code{tar} computes both checksums and accept any. It is somewhat worrying that a lot of people may go around doing backup of their files using faulty (or at least non-standard) software, not learning about it until it's time to restore their missing files with an incompatible file extractor, or vice versa. X GNU @code{tar} compute checksums both ways, and accept any on read, so GNU tar can read Sun tapes even with their wrong checksums. GNU @code{tar} produces the standard checksum, however, raising incompatibilities with Sun. That is to say, GNU @code{tar} has not been modified to @emph{produce} incorrect archives to be read by buggy @code{tar}'s. I've been told that more recent Sun @code{tar} now read standard archives, so maybe Sun did a similar patch, after all? X The story seems to be that when Sun first imported @code{tar} sources on their system, they recompiled it without realizing that the checksums were computed differently, because of a change in the default signing of @code{char}'s in their compiler. So they started computing checksums wrongly. When they later realized their mistake, they merely decided to stay compatible with it, and with themselves afterwards. Presumably, but I do not really know, HP-UX has chosen that their @code{tar} archives to be compatible with Sun's. The current standards do not favor Sun @code{tar} format. In any case, it now falls on the shoulders of SunOS and HP-UX users to get a @code{tar} able to read the good archives they receive. X @node Compression, Attributes, Portability, Formats @section Using Less Space through Compression X @menu * gzip:: Creating and Reading Compressed Archives * sparse:: Archiving Sparse Files @end menu X @node gzip, sparse, Compression, Compression @subsection Creating and Reading Compressed Archives @cindex Compressed archives @cindex Storing archives in compressed format @UNREVISED X @table @kbd @item -z @itemx --gzip @itemx --ungzip Filter the archive through @code{gzip}. @end table X @FIXME{ach; these two bits orig from "compare" (?). where to put?} Some format parameters must be taken into consideration when modifying an archive: @FIXME{???}. Compressed archives cannot be modified. X You can use @samp{--gzip} and @samp{--gunzip} on physical devices (tape drives, etc.) and remote files as well as on normal files; data to or from such devices or remote files is reblocked by another copy of the @code{tar} program to enforce the specified (or default) record size. The default compression parameters are used; if you need to override them, avoid the @value{op-gzip} option and run @code{gzip} explicitly. (Or set the @samp{GZIP} environment variable.) X The @value{op-gzip} option does not work with the @value{op-multi-volume} option, or with the @value{op-update}, @value{op-append}, @value{op-concatenate}, or @value{op-delete} operations. X It is not exact to say that GNU @code{tar} is to work in concert with @code{gzip} in a way similar to @code{zip}, say. Surely, it is possible that @code{tar} and @code{gzip} be done with a single call, like in: X @example $ @kbd{tar cfz archive.tar.gz subdir} @end example X @noindent to save all of @samp{subdir} into a @code{gzip}'ed archive. Later you can do: X @example $ @kbd{tar xfz archive.tar.gz} @end example X @noindent to explode and unpack. X The difference is that the whole archive is compressed. With @code{zip}, archive members are archived individually. @code{tar}'s method yields better compression. On the other hand, one can view the contents of a @code{zip} archive without having to decompress it. As for the @code{tar} and @code{gzip} tandem, you need to decompress the archive to see its contents. However, this may be done without needing disk space, by using pipes internally: X @example $ @kbd{tar tfz archive.tar.gz} @end example X @cindex corrupted archives About corrupted compressed archives: @code{gzip}'ed files have no redundancy, for maximum compression. The adaptive nature of the compression scheme means that the compression tables are implicitly spread all over the archive. If you lose a few blocks, the dynamic construction of the compression tables becomes unsychronized, and there is little chance that you could recover later in the archive. X There are pending suggestions for having a per-volume or per-file compression in GNU @code{tar}. This would allow for viewing the contents without decompression, and for resynchronizing decompression at every volume or file, in case of corrupted archives. Doing so, we might loose some compressibility. But this would have make recovering easier. So, there are pros and cons. We'll see! X @table @kbd @item -Z @itemx --compress @itemx --uncompress Filter the archive through @code{compress}. Otherwise like @value{op-gzip}. X @item --use-compress-program=@var{prog} Filter through @var{prog} (must accept @samp{-d}). @end table X @value{op-compress} stores an archive in compressed format. This option is useful in saving time over networks and space in pipes, and when storage space is at a premium. @value{op-compress} causes @code{tar} to compress when writing the archive, or to uncompress when reading the archive. X To perform compression and uncompression on the archive, @code{tar} runs the @code{compress} utility. @code{tar} uses the default compression parameters; if you need to override them, avoid the @value{op-compress} option and run the @code{compress} utility explicitly. It is useful to be able to call the @code{compress} utility from within @code{tar} because the @code{compress} utility by itself cannot access remote tape drives. X The @value{op-compress} option will not work in conjunction with the @value{op-multi-volume} option or the @value{op-append}, @value{op-update}, @value{op-append} and @value{op-delete} operations. @xref{Operations}, for more information on these operations. X If there is no compress utility available, @code{tar} will report an error. @strong{Please note} that the @code{compress} program may be covered by a patent, and therefore we recommend you stop using it. X @table @kbd @item --compress @itemx --uncompress @itemx -z @itemx -Z When this option is specified, @code{tar} will compress (when writing an archive), or uncompress (when reading an archive). Used in conjunction with the @value{op-create}, @value{op-extract}, @value{op-list} and @value{op-compare} operations. @end table X You can have archives be compressed by using the @value{op-gzip} option. This will arrange for @code{tar} to use the @code{gzip} program to be used to compress or uncompress the archive wren writing or reading it. X To use the older, obsolete, @code{compress} program, use the @value{op-compress} option. The GNU Project recommends you not use @code{compress}, because there is a patent covering the algorithm it uses. You could be sued for patent infringment merely by running @code{compress}. X I have one question, or maybe it's a suggestion if there isn't a way to do it now. I would like to use @value{op-gzip}, but I'd also like the output to be fed through a program like GNU @code{ecc} (actually, right now that's @samp{exactly} what I'd like to use :-)), basically adding ECC protection on top of compression. It seems as if this should be quite easy to do, but I can't work out exactly how to go about it. Of course, I can pipe the standard output of @code{tar} through @code{ecc}, but then I lose (though I haven't started using it yet, I confess) the ability to have @code{tar} use @code{rmt} for it's I/O (I think). X I think the most straightforward thing would be to let me specify a general set of filters outboard of compression (preferably ordered, so the order can be automatically reversed on input operations, and with the options they require specifiable), but beggars shouldn't be choosers and anything you decide on would be fine with me. X By the way, I like @code{ecc} but if (as the comments say) it can't deal with loss of block sync, I'm tempted to throw some time at adding that capability. Supposing I were to actually do such a thing and get it (apparantly) working, do you accept contributed changes to utilities like that? (Leigh Clayton @file{loc@@soliton.com}, May 1995). X Isn't that exactly the role of the @value{op-use-compress-prog} option? I never tried it myself, but I suspect you may want to write a @var{prog} script or program able to filter stdin to stdout to way you want. It should recognize the @samp{-d} option, for when extraction is needed rather than creation. X It has been reported that if one writes compressed data (through the @value{op-gzip} or @value{op-compress} options) to a DLT and tries to use the DLT compression mode, the data will actually get bigger and one will end up with less space on the tape. X @node sparse, , gzip, Compression @subsection Archiving Sparse Files @cindex Sparse Files @UNREVISED X @table @kbd @item -S @itemx --sparse Handle sparse files efficiently. @end table X This option causes all files to be put in the archive to be tested for sparseness, and handled specially if they are. The @value{op-sparse} option is useful when many @code{dbm} files, for example, are being backed up. Using this option dramatically decreases the amount of space needed to store such a file. X In later versions, this option may be removed, and the testing and treatment of sparse files may be done automatically with any special GNU options. For now, it is an option needing to be specified on the command line with the creation or updating of an archive. X Files in the filesystem occasionally have ``holes.'' A hole in a file is a section of the file's contents which was never written. The contents of a hole read as all zeros. On many operating systems, actual disk storage is not allocated for holes, but they are counted in the length of the file. If you archive such a file, @code{tar} could create an archive longer than the original. To have @code{tar} attempt to recognize the holes in a file, use @value{op-sparse}. When you use the @value{op-sparse} option, then, for any file using less disk space than would be expected from its length, @code{tar} searches the file for consecutive stretches of zeros. It then records in the archive for the file where the consecutive stretches of zeros are, and only archives the ``real contents'' of the file. On extraction (using @value{op-sparse} is not needed on extraction) any such files have hols created wherever the continuous stretches of zeros were found. Thus, if you use @value{op-sparse}, @code{tar} archives won't take more space than the original. X A file is sparse if it contains blocks of zeros whose existence is recorded, but that have no space allocated on disk. When you specify the @value{op-sparse} option in conjunction with the @value{op-create} operation, @code{tar} tests all files for sparseness while archiving. If @code{tar} finds a file to be sparse, it uses a sparse representation of the file in the archive. @value{xref-create}, for more information about creating archives. X @value{op-sparse} is useful when archiving files, such as dbm files, likely to contain many nulls. This option dramatically decreases the amount of space needed to store such an archive. X @quotation @strong{Please Note:} Always use @value{op-sparse} when performing file system backups, to avoid archiving the expanded forms of files stored sparsely in the system. X Even if your system has no sparse files currently, some may be created in the future. If you use @value{op-sparse} while making file system backups as a matter of course, you can be assured the archive will never take more space on the media than the files take on disk (otherwise, archiving a disk filled with sparse files might take hundreds of tapes). @FIXME-xref{incremental when node name is set.} @end quotation X @code{tar} ignores the @value{op-sparse} option when reading an archive. X @table @kbd @item --sparse @itemx -S Files stored sparsely in the file system are represented sparsely in the archive. Use in conjunction with write operations. @end table X However, users should be well aware that at archive creation time, GNU @code{tar} still has to read whole disk file to locate the @dfn{holes}, and so, even if sparse files use little space on disk and in the archive, they may sometimes require inordinate amount of time for reading and examining all-zero blocks of a file. Although it works, it's painfully slow for a large (sparse) file, even though the resulting tar archive may be small. (One user reports that dumping a @file{core} file of over 400 megabytes, but with only about 3 megabytes of actual data, took about 9 minutes on a Sun Sparstation ELC, with full CPU utilisation.) X This reading is required in all cases and is not related to the fact the @value{op-sparse} option is used or not, so by merely @emph{not} using the option, you are not saving time@footnote{Well! We should say the whole truth, here. When @value{op-sparse} is selected while creating an archive, the current @code{tar} algorithm requires sparse files to be read twice, not once. We hope to develop a new archive format for saving sparse files in which one pass will be sufficient.}. X Programs like @code{dump} do not have to read the entire file; by examining the file system directly, they can determine in advance exactly where the holes are and thus avoid reading through them. The only data it need read are the actual allocated data blocks. GNU @code{tar} uses a more portable and straightforward archiving approach, it would be fairly difficult that it does otherwise. Elizabeth Zwicky writes to @file{comp.unix.internals}, on 1990-12-10: X @quotation What I did say is that you cannot tell the difference between a hole and an equivalent number of nulls without reading raw blocks. @code{st_blocks} at best tells you how many holes there are; it doesn't tell you @emph{where}. Just as programs may, conceivably, care what @code{st_blocks} is (care to name one that does?), they may also care where the holes are (I have no examples of this one either, but it's equally imaginable). X I conclude from this that good archivers are not portable. One can arguably conclude that if you want a portable program, you can in good conscience restore files with as many holes as possible, since you can't get it right. @end quotation X @node Attributes, Standard, Compression, Formats @section Handling File Attributes @UNREVISED X When @code{tar} reads files, this causes them to have the access times updated. To have @code{tar} attempt to set the access times back to what they were before they were read, use the @value{op-atime-preserve} option. This doesn't work for files that you don't own, unless you're root, and it doesn't interact with incremental dumps nicely (@pxref{Backups}), but it is good enough for some purposes. X Handling of file attributes X @table @kbd @item --atime-preserve Do not change access times on dumped files. X @item -m @itemx --touch Do not extract file modified time. X When this option is used, @code{tar} leaves the modification times of the files it extracts as the time when the files were extracted, instead of setting it to the time recorded in the archive. X This option is meaningless with @value{op-list}. X @item --same-owner Create extracted files with the same ownership they have in the archive. X When using super-user at extraction time, ownership is always restored. So, this option is meaningful only for non-root users, when @code{tar} is executed on those systems able to give files away. This is considered as a security flaw by many people, at least because it makes quite difficult to correctly account users for the disk space they occupy. Also, the @code{suid} or @code{sgid} attributes of files are easily and silently lost when files are given away. X When writing an archive, @code{tar} writes the user id and user name separately. If it can't find a user name (because the user id is not in @file{/etc/passwd}), then it does not write one. When restoring, and doing a @code{chmod} like when you use @value{op-same-permissions} (@FIXME{same-owner?}), it tries to look the name (if one was written) up in @file{/etc/passwd}. If it fails, then it uses the user id stored in the archive instead. X @item --numeric-owner The @value{op-numeric-owner} option allows (ANSI) archives to be written without user/group name information or such information to be ignored when extracting. It effectively disables the generation and/or use of user/group name information. This option forces extraction using the numeric ids from the archive, ignoring the names. X This is useful in certain circumstances, when restoring a backup from an emergency floppy with different passwd/group files for example. It is otherwise impossible to extract files with the right ownerships if the password file in use during the extraction does not match the one belonging to the filesystem(s) being extracted. This occurs, for example, if you are restoring your files after a major crash and had booted from an emergency floppy with no password file or put your disk into another machine to do the restore. X The numeric ids are @emph{always} saved into @code{tar} archives. The identifying names are added at create time when provided by the system, unless @value{op-old-archive} is used. Numeric ids could be used when moving archives between a collection of machines using a centralized management for attribution of numeric ids to users and groups. This is often made through using the NIS capabilities. X When making a @code{tar} file for distribution to other sites, it is sometimes cleaner to use a single owner for all files in the distribution, and nicer to specify the write permission bits of the files as stored in the archive independently of their actual value on the file system. The way to prepare a clean distribution is usually to have some Makefile rule creating a directory, copying all needed files in that directory, then setting ownership and permissions as wanted (there are a lot of possible schemes), and only then making a @code{tar} archive out of this directory, before cleaning everything out. Of course, we could add a lot of options to GNU @code{tar} for fine tuning permissions and ownership. This is not the good way, I think. GNU @code{tar} is already crowded with options and moreover, the approach just explained gives you a great deal of control already. X @item -p @itemx --same-permissions @itemx --preserve-permissions Extract all protection information. X This option causes @code{tar} to set the modes (access permissions) of extracted files exactly as recorded in the archive. If this option is not used, the current @code{umask} setting limits the permissions on extracted files. X This option is meaningless with @value{op-list}. X @item --preserve Same as both @value{op-same-permissions} and @value{op-same-order}. X The @value{op-preserve} option has no equivalent short option name. It is equivalent to @value{op-same-permissions} plus @value{op-same-order}. X @FIXME{I do not see the purpose of such an option. (Neither I. FP.)} X @end table X @node Standard, Extensions, Attributes, Formats @section The Standard Format @UNREVISED X While an archive may contain many files, the archive itself is a single ordinary file. Like any other file, an archive file can be written to a storage device such as a tape or disk, sent through a pipe or over a network, saved on the active file system, or even stored in another archive. An archive file is not easy to read or manipulate without using the @code{tar} utility or Tar mode in GNU Emacs. X Physically, an archive consists of a series of file entries terminated by an end-of-archive entry, which consists of 512 zero bytes. A file entry usually describes one of the files in the archive (an @dfn{archive member}), and consists of a file header and the contents of the file. File headers contain file names and statistics, checksum information which @code{tar} uses to detect file corruption, and information about file types. X Archives are permitted to have more than one member with the same member name. One way this situation can occur is if more than one version of a file has been stored in the archive. For information about adding new versions of a file to an archive, see @ref{update}, and to learn more about having more than one archive member with the same name, see @FIXME-xref{-backup node, when it's written}. X In addition to entries describing archive members, an archive may contain entries which @code{tar} itself uses to store information. @value{xref-label}, for an example of such an archive entry. X A @code{tar} archive file contains a series of blocks. Each block contains @code{BLOCKSIZE} bytes. Although this format may be thought of as being on magnetic tape, other media are often used. X Each file archived is represented by a header block which describes the file, followed by zero or more blocks which give the contents of the file. At the end of the archive file there may be a block filled with binary zeros as an end-of-file marker. A reasonable system should write a block of zeros at the end, but must not assume that such a block exists when reading an archive. X The blocks may be @dfn{blocked} for physical I/O operations. Each record of @var{n} blocks (where @var{n} is set by the @value{op-blocking-factor} option to @code{tar}) is written with a single @w{@samp{write ()}} operation. On magnetic tapes, the result of such a write is a single record. When writing an archive, the last record of blocks should be written at the full size, with blocks after the zero block containing all zeros. When reading an archive, a reasonable system should properly handle an archive whose last record is shorter than the rest, or which contains garbage records after a zero block. X The header block is defined in C as follows. In the GNU @code{tar} distribution, this is part of file @file{src/tar.h}: X @example @include header.texi @end example X All characters in header blocks are represented by using 8-bit characters in the local variant of ASCII. Each field within the structure is contiguous; that is, there is no padding used within the structure. Each character on the archive medium is stored contiguously. X Bytes representing the contents of files (after the header block of each file) are not translated in any way and are not constrained to represent characters in any character set. The @code{tar} format does not distinguish text files from binary files, and no translation of file contents is performed. X The @code{name}, @code{linkname}, @code{magic}, @code{uname}, and @code{gname} are null-terminated character strings. All other fileds are zero-filled octal numbers in ASCII. Each numeric field of width @var{w} contains @var{w} minus 2 digits, a space, and a null, except @code{size}, and @code{mtime}, which do not contain the trailing null. X The @code{name} field is the file name of the file, with directory names (if any) preceding the file name, separated by slashes. X @FIXME{how big a name before field overflows?} X The @code{mode} field provides nine bits specifying file permissions and three bits to specify the Set UID, Set GID, and Save Text (@dfn{sticky}) modes. Values for these bits are defined above. When special permissions are required to create a file with a given mode, and the user restoring files from the archive does not hold such permissions, the mode bit(s) specifying those special permissions are ignored. Modes which are not supported by the operating system restoring files from the archive will be ignored. Unsupported modes should be faked up when creating or updating an archive; e.g. the group permission could be copied from the @emph{other} permission. X The @code{uid} and @code{gid} fields are the numeric user and group ID of the file owners, respectively. If the operating system does not support numeric user or group IDs, these fields should be ignored. X The @code{size} field is the size of the file in bytes; linked files are archived with this field specified as zero. @FIXME-xref{Modifiers}, in particular the @value{op-incremental} option. X The @code{mtime} field is the modification time of the file at the time it was archived. It is the ASCII representation of the octal value of the last time the file was modified, represented as an integer number of seconds since January 1, 1970, 00:00 Coordinated Universal Time. X The @code{chksum} field is the ASCII representation of the octal value of the simple sum of all bytes in the header block. Each 8-bit byte in the header is added to an unsigned integer, initialized to zero, the precision of which shall be no less than seventeen bits. When calculating the checksum, the @code{chksum} field is treated as if it were all blanks. X The @code{typeflag} field specifies the type of file archived. If a particular implementation does not recognize or permit the specified type, the file will be extracted as if it were a regular file. As this action occurs, @code{tar} issues a warning to the standard error. X The @code{atime} and @code{ctime} fields are used in making incremental backups; they store, respectively, the particular file's access time and last inode-change time. X The @code{offset} is used by the @value{op-multi-volume} option, when making a multi-volume archive. The offset is number of bytes into the file that we need to restart at to continue the file on the next tape, i.e., where we store the location that a continued file is continued at. X The following fields were added to deal with sparse files. A file is @dfn{sparse} if it takes in unallocated blocks which end up being represented as zeros, i.e., no useful data. A test to see if a file is sparse is to look at the number blocks allocated for it versus the number of characters in the file; if there are fewer blocks allocated for the file than would normally be allocated for a file of that size, then the file is sparse. This is the method @code{tar} uses to detect a sparse file, and once such a file is detected, it is treated differently from non-sparse files. X Sparse files are often @code{dbm} files, or other database-type files which have data at some points and emptiness in the greater part of the file. Such files can appear to be very large when an @samp{ls -l} is done on them, when in truth, there may be a very small amount of important data contained in the file. It is thus undesirable to have @code{tar} think that it must back up this entire file, as great quantities of room are wasted on empty blocks, which can lead to running out of room on a tape far earlier than is necessary. Thus, sparse files are dealt with so that these empty blocks are not written to the tape. Instead, what is written to the tape is a description, of sorts, of the sparse file: where the holes are, how big the holes are, and how much data is found at the end of the hole. This way, the file takes up potentially far less room on the tape, and when the file is extracted later on, it will look exactly the way it looked beforehand. The following is a description of the fields used to handle a sparse file: X The @code{sp} is an array of @code{struct sparse}. Each @code{struct sparse} contains two 12-character strings which represent an offset into the file and a number of bytes to be written at that offset. The offset is absolute, and not relative to the offset in preceding array element. X The header can hold four of these @code{struct sparse} at the moment; if more are needed, they are not stored in the header. X The @code{isextended} flag is set when an @code{extended_header} is needed to deal with a file. Note that this means that this flag can only be set when dealing with a sparse file, and it is only set in the event that the description of the file will not fit in the alloted room for sparse structures in the header. In other words, an extended_header is needed. X The @code{extended_header} structure is used for sparse files which need more sparse structures than can fit in the header. The header can fit 4 such structures; if more are needed, the flag @code{isextended} gets set and the next block is an @code{extended_header}. X Each @code{extended_header} structure contains an array of 21 sparse structures, along with a similar @code{isextended} flag that the header had. There can be an indeterminate number of such @code{extended_header}s to describe a sparse file. X @table @asis X @item @code{REGTYPE} @itemx @code{AREGTYPE} These flags represent a regular file. In order to be compatible with older versions of @code{tar}, a @code{typeflag} value of @code{AREGTYPE} should be silently recognized as a regular file. New archives should be created using @code{REGTYPE}. Also, for backward compatibility, @code{tar} treats a regular file whose name ends with a slash as a directory. X @item @code{LNKTYPE} This flag represents a file linked to another file, of any type, previously archived. Such files are identified in Unix by each file having the same device and inode number. The linked-to name is specified in the @code{linkname} field with a trailing null. X @item @code{SYMTYPE} This represents a symbolic link to another file. The linked-to name is specified in the @code{linkname} field with a trailing null. X @item @code{CHRTYPE} @itemx @code{BLKTYPE} These represent character special files and block special files respectively. In this case the @code{devmajor} and @code{devminor} fields will contain the major and minor device numbers respectively. Operating systems may map the device specifications to their own local specification, or may ignore the entry. X @item @code{DIRTYPE} This flag specifies a directory or sub-directory. The directory name in the @code{name} field should end with a slash. On systems where disk allocation is performed on a directory basis, the @code{size} field will contain the maximum number of bytes (which may be rounded to the nearest disk block allocation unit) which the directory may hold. A @code{size} field of zero indicates no such limiting. Systems which do not support limiting in this manner should ignore the @code{size} field. X @item @code{FIFOTYPE} This specifies a FIFO special file. Note that the archiving of a FIFO file archives the existence of this file and not its contents. X @item @code{CONTTYPE} This specifies a contiguous file, which is the same as a normal file except that, in operating systems which support it, all its space is allocated contiguously on the disk. Operating systems which do not allow contiguous allocation should silently treat this type as a normal file. X @item @code{A} @dots{} @code{Z} These are reserved for custom implementations. Some of these are used in the GNU modified format, as described below. X @end table X Other values are reserved for specification in future revisions of the P1003 standard, and should not be used by any @code{tar} program. X The @code{magic} field indicates that this archive was output in the P1003 archive format. If this field contains @code{TMAGIC}, the @code{uname} and @code{gname} fields will contain the ASCII representation of the owner and group of the file respectively. If found, the user and group IDs are used rather than the values in the @code{uid} and @code{gid} fields. X For references, see ISO/IEC 9945-1:1990 or IEEE Std 1003.1-1990, pages 169-173 (section 10.1) for @cite{Archive/Interchange File Format}; and IEEE Std 1003.2-1992, pages 380-388 (section 4.48) and pages 936-940 (section E.4.48) for @cite{pax - Portable archive interchange}. X @node Extensions, cpio, Standard, Formats @section GNU Extensions to the Archive Format @UNREVISED X The GNU format uses additional file types to describe new types of files in an archive. These are listed below. X @table @code @item GNUTYPE_DUMPDIR @itemx 'D' This represents a directory and a list of files created by the @value{op-incremental} option. The @code{size} field gives the total size of the associated list of files. Each file name is preceded by either a @samp{Y} (the file should be in this archive) or an @samp{N}. (The file is a directory, or is not stored in the archive.) Each file name is terminated by a null. There is an additional null after the last file name. X @item GNUTYPE_MULTIVOL @itemx 'M' This represents a file continued from another volume of a multi-volume archive created with the @value{op-multi-volume} option. The original type of the file is not given here. The @code{size} field gives the maximum size of this piece of the file (assuming the volume does not end before the file is written out). The @code{offset} field gives the offset from the beginning of the file where this part of the file begins. Thus @code{size} plus @code{offset} should equal the original size of the file. X @item GNUTYPE_SPARSE @itemx 'S' This flag indicates that we are dealing with a sparse file. Note that archiving a sparse file requires special operations to find holes in the file, which mark the positions of these holes, along with the number of bytes of data to be found after the hole. X @item GNUTYPE_VOLHDR @itemx 'V' This file type is used to mark the volume header that was given with the @value{op-label} option when the archive was created. The @code{name} field contains the @code{name} given after the @value{op-label} option. The @code{size} field is zero. Only the first file in each volume of an archive should have this type. X @end table X You may have trouble reading a GNU format archive on a non-GNU system if the options @value{op-incremental}, @value{op-multi-volume}, @value{op-sparse}, or @value{op-label} were used when writing the archive. In general, if @code{tar} does not use the GNU-added fields of the header, other versions of @code{tar} should be able to read the archive. Otherwise, the @code{tar} program will give an error, the most likely one being a checksum error. X @node cpio, , Extensions, Formats @section Comparison of @code{tar} and @code{cpio} @UNREVISED X @FIXME{Reorganize the following material} X The @code{cpio} archive formats, like @code{tar}, do have maximum pathname lengths. The binary and old ASCII formats have a max path length of 256, and the new ASCII and CRC ASCII formats have a max path length of 1024. GNU @code{cpio} can read and write archives with arbitrary pathname lengths, but other @code{cpio} implementations may crash unexplainedly trying to read them. X @code{tar} handles symbolic links in the form in which it comes in BSD; @code{cpio} doesn't handle symbolic links in the form in which it comes in System V prior to SVR4, and some vendors may have added symlinks to their system without enhancing @code{cpio} to know about them. Others may have enhanced it in a way other than the way I did it at Sun, and which was adopted by AT&T (and which is, I think, also present in the @code{cpio} that Berkeley picked up from AT&T and put into a later BSD release---I think I gave them my changes). X (SVR4 does some funny stuff with @code{tar}; basically, its @code{cpio} can handle @code{tar} format input, and write it on output, and it probably handles symbolic links. They may not have bothered doing anything to enhance @code{tar} as a result.) X @code{cpio} handles special files; traditional @code{tar} doesn't. X @code{tar} comes with V7, System III, System V, and BSD source; @code{cpio} comes only with System III, System V, and later BSD (4.3-tahoe and later). X @code{tar}'s way of handling multiple hard links to a file can handle file systems that support 32-bit inumbers (e.g., the BSD file system); @code{cpio}s way requires you to play some games (in its "binary" format, i-numbers are only 16 bits, and in its "portable ASCII" format, they're 18 bits---it would have to play games with the "file system ID" field of the header to make sure that the file system ID/i-number pairs of different files were always different), and I don't know which @code{cpio}s, if any, play those games. Those that don't might get confused and think two files are the same file when they're not, and make hard links between them. X @code{tar}s way of handling multiple hard links to a file places only one copy of the link on the tape, but the name attached to that copy is the @emph{only} one you can use to retrieve the file; @code{cpio}s way puts one copy for every link, but you can retrieve it using any of the names. X @quotation What type of check sum (if any) is used, and how is this calculated. @end quotation X See the attached manual pages for @code{tar} and @code{cpio} format. @code{tar} uses a checksum which is the sum of all the bytes in the @code{tar} header for a file; @code{cpio} uses no checksum. X @quotation If anyone knows why @code{cpio} was made when @code{tar} was present at the unix scene, @end quotation X It wasn't. @code{cpio} first showed up in PWB/UNIX 1.0; no generally-available version of UNIX had @code{tar} at the time. I don't know whether any version that was generally available @emph{within AT&T} had @code{tar}, or, if so, whether the people within AT&T who did @code{cpio} knew about it. X On restore, if there is a corruption on a tape @code{tar} will stop at that point, while @code{cpio} will skip over it and try to restore the rest of the files. X The main difference is just in the command syntax and header format. X @code{tar} is a little more tape-oriented in that everything is blocked to start on a record boundary. X @quotation Is there any differences between the ability to recover crashed archives between the two of them. (Is there any chance of recovering crashed archives at all.) @end quotation X Theoretically it should be easier under @code{tar} since the blocking lets you find a header with some variation of @samp{dd skip=@var{nn}}. However, modern @code{cpio}'s and variations have an option to just search for the next file header after an error with a reasonable chance of re-syncing. However, lots of tape driver software won't allow you to continue past a media error which should be the only reason for getting out of sync unless a file changed sizes while you were writing the archive. X @quotation If anyone knows why @code{cpio} was made when @code{tar} was present at the unix scene, please tell me about this too. @end quotation X Probably because it is more media efficient (by not blocking everything and using only the space needed for the headers where @code{tar} always uses 512 bytes per file header) and it knows how to archive special files. X You might want to look at the freely available alternatives. The major ones are @code{afio}, GNU @code{tar}, and @code{pax}, each of which have their own extensions with some backwards compatibility. X Sparse files were @code{tar}red as sparse files (which you can easily test, because the resulting archive gets smaller, and GNU @code{cpio} can no longer read it). X @node Media, Index, Formats, Top @chapter Tapes and Other Archive Media @UNREVISED X A few special cases about tape handling warrant more detailed description. These special cases are discussed below. X Many complexities surround the use of @code{tar} on tape drives. Since the creation and manipulation of archives located on magnetic tape was the original purpose of @code{tar}, it contains many features making such manipulation easier. X Archives are usually written on dismountable media---tape cartridges, mag tapes, or floppy disks. X The amount of data a tape or disk holds depends not only on its size, but also on how it is formatted. A 2400 foot long reel of mag tape holds 40 megabytes of data when formated at 1600 bits per inch. The physically smaller EXABYTE tape cartridge holds 2.3 gigabytes. X Magnetic media are re-usable---once the archive on a tape is no longer needed, the archive can be erased and the tape or disk used over. Media quality does deteriorate with use, however. Most tapes or disks should be disgarded when they begin to produce data errors. EXABYTE tape cartridges should be disgarded when they generate an @dfn{error count} (number of non-usable bits) of more than 10k. X Magnetic media are written and erased using magnetic fields, and should be protected from such fields to avoid damage to stored data. Sticking a floppy disk to a filing cabinet using a magnet is probably not a good idea. X @menu * Device:: Device selection and switching * Remote Tape Server:: * Common Problems and Solutions:: * Blocking:: Blocking * Many:: Many archives on one tape * Using Multiple Tapes:: Using Multiple Tapes * label:: Including a Label in the Archive * verify:: * Write Protection:: @end menu X @node Device, Remote Tape Server, Media, Media @section Device Selection and Switching @UNREVISED X @table @kbd @item -f [@var{hostname}:]@var{file} @itemx --file=[@var{hostname}:]@var{file} Use archive file or device @var{file} on @var{hostname}. @end table X This option is used to specify the file name of the archive @code{tar} works on. X If the file name is @samp{-}, @code{tar} reads the archive from standard input (when listing or extracting), or writes it to standard output (when creating). If the @samp{-} file name is given when updating an archive, @code{tar} will read the original archive from its standard input, and will write the entire new archive to its standard output. X If the file name contains a @samp{:}, it is interpreted as @samp{hostname:file name}. If the @var{hostname} contains an @dfn{at} sign (@kbd{@@}), it is treated as @samp{user@@hostname:file name}. In either case, @code{tar} will invoke the command @code{rsh} (or @code{remsh}) to start up an @file{/etc/rmt} on the remote machine. If you give an alternate login name, it will be given to the @code{rsh}. Naturally, the remote machine must have an executable @file{/etc/rmt}. This program is free software from the University of California, and a copy of the source code can be found with the sources for @code{tar}; it's compiled and installed by default. X If this option is not given, but the environment variable @code{TAPE} is set, its value is used; otherwise, old versions of @code{tar} used a default archive name (which was picked when @code{tar} was compiled). The default is normally set up to be the @dfn{first} tape drive or other transportable I/O medium on the system. X Starting with version 1.11.5, GNU @code{tar} uses standard input and standard output as the default device, and I will not try anymore supporting automatic device detection at installation time. This was failing really in too many cases, it was hopeless. This is now completely left to the installer to override standard input and standard output for default device, if this seems preferrable to him/her. Further, I think @emph{most} actual usages of @code{tar} are done with pipes or disks, not really tapes, cartridges or diskettes. X Some users think that using standard input and output is running after trouble. This could lead to a nasty surprise on your screen if you forget to specify an output file name---especially if you are going through a network or terminal server capable of buffering large amounts of output. We had so many bug reports in that area of configuring default tapes automatically, and so many contradicting requests, that we finally consider the problem to be portably intractable. We could of course use something like @samp{/dev/tape} as a default, but this is @emph{also} running after various kind of trouble, going from hung processes to accidental destruction of real tapes. After having seen all this mess, using standard input and output as a default really sounds like the only clean choice left, and a very useful one too. X GNU @code{tar} reads and writes archive in records, I suspect this is the main reason why block devices are preferred over character devices. Most probably, block devices are more efficient too. The installer could also check for @samp{DEFTAPE} in @file{}. X @table @kbd @item --force-local Archive file is local even if it contains a colon. X @item --rsh-command=@var{command} Use remote @var{command} instead of @code{rsh}. This option exists so that people who use something other than the standard @code{rsh} (e.g., a Kerberized @code{rsh}) can access a remote device. X When this command is not used, the shell command found when the @code{tar} program was installed is used instead. This is the first found of @file{/usr/ucb/rsh}, @file{/usr/bin/remsh}, @file{/usr/bin/rsh}, @file{/usr/bsd/rsh} or @file{/usr/bin/nsh}. The installer may have overriden this by defining the environment variable @code{RSH} @emph{at installation time}. X @item -[0-7][lmh] Specify drive and density. X @item -M @itemx --multi-volume Create/list/extract multi-volume archive. X This option causes @code{tar} to write a @dfn{multi-volume} archive---one that may be larger than will fit on the medium used to hold it. @xref{Multi-Volume Archives}. X @item -L @var{num} @itemx --tape-length=@var{num} Change tape after writing @var{num} x 1024 bytes. X This option might be useful when your tape drivers do not properly detect end of physical tapes. By being slightly conservative on the maximum tape length, you might avoid the problem entirely. X @item -F @var{file} @itemx --info-script=@var{file} @itemx --new-volume-script=@var{file} Execute @file{file} at end of each tape. This implies @value{op-multi-volume}. @end table X @node Remote Tape Server, Common Problems and Solutions, Device, Media @section The Remote Tape Server X @cindex remote tape drive @pindex rmt In order to access the tape drive on a remote machine, @code{tar} uses the remote tape server written at the University of California at Berkeley. The remote tape server must be installed as @file{/etc/rmt} on any machine whose tape drive you want to use. @code{tar} calls @file{/etc/rmt} by running an @code{rsh} or @code{remsh} to the remote machine, optionally using a different login name if one is supplied. X A copy of the source for the remote tape server is provided. It is Copyright @copyright{} 1983 by the Regents of the University of California, but can be freely distributed. Instructions for compiling and installing it are included in the @file{Makefile}. X @cindex absolute file names Unless you use the @value{op-absolute-names} option, GNU @code{tar} will not allow you to create an archive that contains absolute file names (a file name beginning with @samp{/}.) If you try, @code{tar} will automatically remove the leading @samp{/} from the file names it stores in the archive. It will also type a warning message telling you what it is doing. X When reading an archive that was created with a different @code{tar} program, GNU @code{tar} automatically extracts entries in the archive which have absolute file names as if the file names were not absolute. This is an important feature. A visitor here once gave a @code{tar} tape to an operator to restore; the operator used Sun @code{tar} instead of GNU @code{tar}, and the result was that it replaced large portions of our @file{/bin} and friends with versions from the tape; needless to say, we were unhappy about having to recover the file system from backup tapes. X For example, if the archive contained a file @file{/usr/bin/computoy}, GNU @code{tar} would extract the file to @file{usr/bin/computoy}, relative to the current directory. If you want to extract the files in an archive to the same absolute names that they had when the archive was created, you should do a @samp{cd /} before extracting the files from the archive, or you should either use the @value{op-absolute-names} option, or use the command @samp{tar -C / @dots{}}. X @cindex Ultrix 3.1 and write failure Some versions of Unix (Ultrix 3.1 is know to have this problem), can claim that a short write near the end of a tape succeeded, when it actually failed. This will result in the -M option not working correctly. The best workaround at the moment is to use a significantly larger blocking factor than the default 20. X In order to update an archive, @code{tar} must be able to backspace the archive in order to reread or rewrite a record that was just read (or written). This is currently possible only on two kinds of files: normal disk files (or any other file that can be backspaced with @samp{lseek}), and industry-standard 9-track magnetic tape (or any other kind of tape that can be backspaced with the @code{MTIOCTOP} @code{ioctl}. X This means that the @value{op-append}, @value{op-update}, @value{op-concatenate}, and @value{op-delete} commands will not work on any other kind of file. Some media simply cannot be backspaced, which means these commands and options will never be able to work on them. These non-backspacing media include pipes and cartridge tape drives. X Some other media can be backspaced, and @code{tar} will work on them once @code{tar} is modified to do so. X Archives created with the @value{op-multi-volume}, @value{op-label}, and @value{op-incremental} options may not be readable by other version of @code{tar}. In particular, restoring a file that was split over a volume boundary will require some careful work with @code{dd}, if it can be done at all. Other versions of @code{tar} may also create an empty file whose name is that of the volume header. Some versions of @code{tar} may create normal files instead of directories archived with the @value{op-incremental} option. X @node Common Problems and Solutions, Blocking, Remote Tape Server, Media @section Some Common Problems and their Solutions X @ifclear PUBLISH X @format errors from system: permission denied no such file or directory not owner X errors from @code{tar}: directory checksum error header format error X errors from media/system: i/o error device busy @end format X @end ifclear X @node Blocking, Many, Common Problems and Solutions, Media @section Blocking @UNREVISED X @dfn{Block} and @dfn{record} terminology is rather confused, and it is also confusing to the expert reader. On the other hand, readers who are new to the field have a fresh mind, and they may safely skip the next two paragraphs, as the remainder of this manual uses those two terms in a quite consistent way. X John Gilmore, the writer of the public domain @code{tar} from which GNU @code{tar} was originally derived, wrote (June 1995): X @quotation The nomenclature of tape drives comes from IBM, where I believe they were invented for the IBM 650 or so. On IBM mainframes, what is recorded on tape are tape blocks. The logical organization of data is into records. There are various ways of putting records into blocks, including @code{F} (fixed sized records), @code{V} (variable sized records), @code{FB} (fixed blocked: fixed size records, @var{n} to a block), @code{VB} (variable size records, @var{n} to a block), @code{VSB} (variable spanned blocked: variable sized records that can occupy more than one block), etc. The @code{JCL} @samp{DD RECFORM=} parameter specified this to the operating system. X The Unix man page on @code{tar} was totally confused about this. When I wrote @code{PD TAR}, I used the historically correct terminology (@code{tar} writes data records, which are grouped into blocks). It appears that the bogus terminology made it into POSIX (no surprise here), and now Fran@,{c}ois has migrated that terminology back into the source code too. @end quotation X The term @dfn{physical block} means the basic transfer chunk from or to a device, after which reading or writing may stop without anything being lost. In this manual, the term @dfn{block} usually refers to a disk physical block, @emph{assuming} that each disk block is 512 bytes in length. It is true that some disk devices have different physical blocks, but @code{tar} ignore these differences in its own format, which is meant to be portable, so a @code{tar} block is always 512 bytes in length, and @dfn{block} always mean a @code{tar} block. The term @dfn{logical block} often represents the basic chunk of allocation of many disk blocks as a single entity, which the operating system treats somewhat atomically; this concept is only barely used in GNU @code{tar}. X The term @dfn{physical record} is another way to speak of a physical block, those two terms are somewhat interchangeable. In this manual, the term @dfn{record} usually refers to a tape physical block, @emph{assuming} that the @code{tar} archive is kept on magnetic tape. It is true that archives may be put on disk or used with pipes, but nevertheless, @code{tar} tries to read and write the archive one @dfn{record} at a time, whatever the medium in use. One record is made up of an integral number of blocks, and this operation of putting many disk blocks into a single tape block is called @dfn{reblocking}, or more simply, @dfn{blocking}. The term @dfn{logical record} refers to the logical organization of many characters into something meaningful to the application. The term @dfn{unit record} describes a small set of characters which are transmitted whole to or by the application, and often refers to a line of text. Those two last terms are unrelated to what we call a @dfn{record} in GNU @code{tar}. X When writing to tapes, @code{tar} writes the contents of the archive in chunks known as @dfn{records}. To change the default blocking factor, use the @value{op-blocking-factor} option. Each record will then be composed of @var{512-size} blocks. (Each @code{tar} block is 512 bytes. @xref{Standard}.) Each file written to the archive uses at least one full record. As a result, using a larger record size can result in more wasted space for small files. On the other hand, a larger record size can often be read and written much more efficiently. X Further complicating the problem is that some tape drives ignore the blocking entirely. For these, a larger record size can still improve performance (because the software layers above the tape drive still honor the blocking), but not as dramatically as on tape drives that honor blocking. X When reading an archive, @code{tar} can usually figure out the record size on itself. When this is the case, and a non-standard record size was used when the archive was created, @code{tar} will print a message about a non-standard blocking factor, and then operate normally. On some tape devices, however, @code{tar} cannot figure out the record size itself. On most of those, you can specify a blocking factor (with @value{op-blocking-factor}) larger than the actual blocking factor, and then use the @value{op-read-full-records} option. (If you specify a blocking factor with @value{op-blocking-factor} and don't use the @value{op-read-full-records} option, then @code{tar} will not attempt to figure out the recording size itself.) On some devices, you must always specify the record size exactly with @value{op-blocking-factor} when reading, because @code{tar} cannot figure it out. In any case, use @value{op-list} before doing any extractions to see whether @code{tar} is reading the archive correctly. X @code{tar} blocks are all fixed size (512 bytes), and its scheme for putting them into records is to put a whole number of them (one or more) into each record. @code{tar} records are all the same size; at the end of the file there's a block containing all zeros, which is how you tell that the remainder of the last record(s) are garbage. X In a standard @code{tar} file (no options), the block size is 512 and the record size is 10240, for a blocking factor of 20. What the @value{op-blocking-factor} option does is sets the blocking factor, changing the record size while leaving the block size at 512 bytes. 20 was fine for ancient 800 or 1600 bpi reel-to-reel tape drives; most tape drives these days prefer much bigger records in order to stream and not waste tape. When writing tapes for myself, some tend to use a factor of the order of 2048, say, giving a record size of around one megabyte. X If you use a blocking factor larger than 20, older @code{tar} programs might not be able to read the archive, so we recommend this as a limit to use in practice. GNU @code{tar}, however, will support arbitrarily large record sizes, limited only by the amount of virtual memory or the physical characteristics of the tape device. X @menu * Format Variations:: Format Variations * Blocking Factor:: The Blocking Factor of an Archive @end menu X @node Format Variations, Blocking Factor, Blocking, Blocking @subsection Format Variations @cindex Format Parameters @cindex Format Options @cindex Options, archive format specifying @cindex Options, format specifying @UNREVISED X Format parameters specify how an archive is written on the archive media. The best choice of format parameters will vary depending on the type and number of files being archived, and on the media used to store the archive. X To specify format parameters when accessing or creating an archive, you can use the options described in the following sections. If you do not specify any format parameters, @code{tar} uses default parameters. You cannot modify a compressed archive. If you create an archive with the @value{op-blocking-factor} option specified (@value{pxref-blocking-factor}), you must specify that blocking-factor when operating on the archive. @xref{Formats}, for other examples of format parameter considerations. X @node Blocking Factor, , Format Variations, Blocking @subsection The Blocking Factor of an Archive @cindex Blocking Factor @cindex Record Size @cindex Number of blocks per record @cindex Number of bytes per record @cindex Bytes per record @cindex Blocks per record @UNREVISED X The data in an archive is grouped into blocks, which are 512 bytes. Blocks are read and written in whole number multiples called @dfn{records}. The number of blocks in a record (ie. the size of a record in units of 512 bytes) is called the @dfn{blocking factor}. The @value{op-blocking-factor} option specifies the blocking factor of an archive. The default blocking factor is typically 20 (ie.@: 10240 bytes), but can be specified at installation. To find out the blocking factor of an existing archive, use @samp{tar --list --file=@var{archive-name}}. This may not work on some devices. X Records are separated by gaps, which waste space on the archive media. If you are archiving on magnetic tape, using a larger blocking factor (and therefore larger records) provides faster throughput and allows you to fit more data on a tape (because there are fewer gaps). If you are archiving on cartridge, a very large blocking factor (say 126 or more) greatly increases performance. A smaller blocking factor, on the other hand, may be usefull when archiving small files, to avoid archiving lots of nulls as @code{tar} fills out the archive to the end of the record. In general, the ideal record size depends on the size of the inter-record gaps on the tape you are using, and the average size of the files you are archiving. @xref{create}, for information on writing archives. X @FIXME{Need example of using a cartridge with blocking factor=126 or more.} X Archives with blocking factors larger than 20 cannot be read by very old versions of @code{tar}, or by some newer versions of @code{tar} running on old machines with small address spaces. With GNU @code{tar}, the blocking factor of an archive is limited only by the maximum record size of the device containing the archive, or by the amount of available virtual memory. X Also, on some systems, not using adequate blocking factors, as sometimes imposed by the device drivers, may yield unexpected diagnostics. For example, this has been reported: X @example Cannot write to /dev/dlt: Invalid argument @end example X @noindent In such cases, it sometimes happen that the @code{tar} bundled by the system is aware of block size idiosyncrasies, while GNU @code{tar} requires an explicit specification for the block size, which it cannot guess. This yields some people to consider GNU @code{tar} is misbehaving, because by comparison, @cite{the bundle @code{tar} works OK}. Adding @w{@kbd{-b 256}}, for example, might resolve the problem. X If you use a non-default blocking factor when you create an archive, you must specify the same blocking factor when you modify that archive. Some archive devices will also require you to specify the blocking factor when reading that archive, however this is not typically the case. Usually, you can use @value{op-list} without specifying a blocking factor---@code{tar} reports a non-default record size and then lists the archive members as it would normally. To extract files from an archive with a non-standard blocking factor (particularly if you're not sure what the blocking factor is), you can usually use the @value{op-read-full-records} option while specifying a blocking factor larger then the blocking factor of the archive (ie. @samp{tar --extract --read-full-records --blocking-factor=300}. @xref{list}, for more information on the @value{op-list} operation. @xref{Reading}, for a more detailed explanation of that option. X @table @kbd @item --blocking-factor=@var{number} @itemx -b @var{number} Specifies the blocking factor of an archive. Can be used with any operation, but is usually not necessary with @value{op-list}. @end table X Device blocking X @table @kbd @item -b @var{blocks} @itemx --blocking-factor=@var{blocks} Set record size to @math{@var{blocks} * 512} bytes. X This option is used to specify a @dfn{blocking factor} for the archive. When reading or writing the archive, @code{tar}, will do reads and writes of the archive in records of @math{@var{block}*512} bytes. This is true even when the archive is compressed. Some devices requires that all write operations be a multiple of a certain size, and so, @code{tar} pads the archive out to the next record boundary. X The default blocking factor is set when @code{tar} is compiled, and is typically 20. Blocking factors larger than 20 cannot be read by very old versions of @code{tar}, or by some newer versions of @code{tar} running on old machines with small address spaces. X With a magnetic tape, larger records give faster throughput and fit more data on a tape (because there are fewer inter-record gaps). If the archive is in a disk file or a pipe, you may want to specify a smaller blocking factor, since a large one will result in a large number of null bytes at the end of the archive. X When writing cartridge or other streaming tapes, a much larger blocking factor (say 126 or more) will greatly increase performance. However, you must specify the same blocking factor when reading or updating the archive. X Apparently, Exabyte drives have a physical block size of 8K bytes. If we choose our blocksize as a multiple of 8k bytes, then the problem seems to dissapper. Id est, we are using block size of 112 right now, and we haven't had the problem since we switched@dots{} X With GNU @code{tar} the blocking factor is limited only by the maximum record size of the device containing the archive, or by the amount of available virtual memory. X However, deblocking or reblocking is virtually avoided in a special case which often occurs in practice, but which requires all the following conditions to be simultaneously true: @itemize @bullet @item the archive is subject to a compression option, @item the archive is not handled through standard input or output, nor redirected nor piped, @item the archive is directly handled to a local disk, instead of any special device, @item @value{op-blocking-factor} is not explicitely specified on the @code{tar} invocation. @end itemize X In previous versions of GNU @code{tar}, the @samp{--compress-block} option (or even older: @samp{--block-compress}) was necessary to reblock compressed archives. It is now a dummy option just asking not to be used, and otherwise ignored. If the output goes directly to a local disk, and not through stdout, then the last write is not extended to a full record size. Otherwise, reblocking occurs. Here are a few other remarks on this topic: X @itemize @bullet X @item @code{gzip} will complain about trailing garbage if asked to uncompress a compressed archive on tape, there is an option to turn the message off, but it breaks the regularity of simply having to use @samp{@var{prog} -d} for decompression. It would be nice if gzip was silently ignoring any number of trailing zeros. I'll ask Jean-loup Gailly, by sending a copy of this message to him. X @item @code{compress} does not show this problem, but as Jean-loup pointed out to Michael, @samp{compress -d} silently adds garbage after the result of decompression, which tar ignores because it already recognized its end-of-file indicator. So this bug may be safely ignored. X @item @samp{gzip -d -q} will be silent about the trailing zeros indeed, but will still return an exit status of 2 which tar reports in turn. @code{tar} might ignore the exit status returned, but I hate doing that, as it weakens the protection @code{tar} offers users against other possible problems at decompression time. If @code{gzip} was silently skipping trailing zeros @emph{and} also avoiding setting the exit status in this innocuous case, that would solve this situation. X @item @code{tar} should become more solid at not stopping to read a pipe at the first null block encountered. This inelegantly breaks the pipe. @code{tar} should rather drain the pipe out before exiting itself. @end itemize X @item -i @itemx --ignore-zeros Ignore blocks of zeros in archive (means EOF). X The @value{op-ignore-zeros} option causes @code{tar} to ignore blocks of zeros in the archive. Normally a block of zeros indicates the end of the archive, but when reading a damaged archive, or one which was created by @code{cat}-ing several archives together, this option allows @code{tar} to read the entire archive. This option is not on by default because many versions of @code{tar} write garbage after the zeroed blocks. X Note that this option causes @code{tar} to read to the end of the archive file, which may sometimes avoid problems when multiple files are stored on a single physical tape. X @item -B @itemx --read-full-records Reblock as we read (for reading 4.2BSD pipes). X If @value{op-read-full-records} is used, @code{tar} will not panic if an attempt to read a record from the archive does not return a full record. Instead, @code{tar} will keep reading until it has obtained a full record. X This option is turned on by default when @code{tar} is reading an archive from standard input, or from a remote machine. This is because on BSD Unix systems, a read of a pipe will return however much happens to be in the pipe, even if it is less than @code{tar} requested. If this option was not used, @code{tar} would fail as soon as it read an incomplete record from the pipe. X This option is also useful with the commands for updating an archive. X @end table X Tape blocking X @FIXME{Appropriate options should be moved here from elsewhere.} X @cindex blocking factor @cindex tape blocking X When handling various tapes or cartridges, you have to take care of selecting a proper blocking, that is, the number of disk blocks you put together as a single tape block on the tape, without intervening tape gaps. A @dfn{tape gap} is a small landing area on the tape with no information on it, used for decelerating the tape to a full stop, and for later regaining the reading or writing speed. When the tape driver starts reading a record, the record has to be read whole without stopping, as a tape gap is needed to stop the tape motion without loosing information. X @cindex Exabyte blocking @cindex DAT blocking Using higher blocking (putting more disk blocks per tape block) will use the tape more efficiently as there will be less tape gaps. But reading such tapes may be more difficult for the system, as more memory will be required to receive at once the whole record. Further, if there is a reading error on a huge record, this is less likely that the system will succeed in recovering the information. So, blocking should not be too low, nor it should be too high. @code{tar} uses by default a blocking of 20 for historical reasons, and it does not really matter when reading or writing to disk. Current tape technology would easily accomodate higher blockings. Sun recommends a blocking of 126 for Exabytes and 96 for DATs. We were told that for some DLT drives, the blocking should be a multiple of 4Kb, preferably 64Kb (@w{@kbd{-b 128}}) or 256 for decent performance. Other manufacturers may use different recommendations for the same tapes. This might also depends of the buffering techniques used inside modern tape controllers. Some imposes a minimum blocking, or a maximum blocking. Others request blocking to be some exponent of two. X So, there is no fixed rule for blocking. But blocking at read time should ideally be the same as blocking used at write time. At one place I know, with a wide variety of equipment, they found it best to use a blocking of 32 to guarantee that their tapes are fully interchangeable. X I was also told that, for recycled tapes, prior erasure (by the same drive unit that will be used to create the archives) sometimes lowers the error rates observed at rewriting time. X I might also use @samp{--number-blocks} instead of @samp{--block-number}, so @samp{--block} will then expand to @samp{--blocking-factor} unambiguously. X @node Many, Using Multiple Tapes, Blocking, Media @section Many Archives on One Tape X @FIXME{Appropriate options should be moved here from elsewhere.} X @findex ntape @r{device} Most tape devices have two entries in the @file{/dev} directory, or entries that come in pairs, which differ only in the minor number for this device. Let's take for example @file{/dev/tape}, which often points to the only or usual tape device of a given system. There might be a corresponding @file{/dev/nrtape} or @file{/dev/ntape}. The simpler name is the @emph{rewinding} version of the device, while the name having @samp{nr} in it is the @emph{no rewinding} version of the same device. X A rewinding tape device will bring back the tape to its beginning point automatically when this device is opened or closed. Since @code{tar} opens the archive file before using it and closes it afterwards, this means that a simple: X @example $ @kbd{tar cf /dev/tape @var{directory}} @end example X @noindent will reposition the tape to its beginning both prior and after saving @var{directory} contents to it, thus erasing prior tape contents and making it so that any subsequent write operation will destroy what has just been saved. X @cindex tape positioning So, a rewinding device is normally meant to hold one and only one file. If you want to put more than one @code{tar} archive on a given tape, you will need to avoid using the rewinding version of the tape device. You will also have to pay special attention to tape positioning. Errors in positionning may overwrite the valuable data already on your tape. Many people, burnt by past experiences, will only use rewinding devices and limit themselves to one file per tape, precisely to avoid the risk of such errors. Be fully aware that writing at the wrong position on a tape loses all information past this point and most probably until the end of the tape, and this destroyed information @emph{cannot} be recovered. X To save @var{directory-1} as a first archive at the beginning of a tape, and leave that tape ready for a second archive, you should use: X @example $ @kbd{mt -f /dev/nrtape rewind} $ @kbd{tar cf /dev/nrtape @var{directory-1}} @end example X @cindex tape marks @dfn{Tape marks} are special magnetic patterns written on the tape media, which are later recognizable by the reading hardware. These marks are used after each file, when there are many on a single tape. An empty file (that is to say, two tape marks in a row) signal the logical end of the tape, after which no file exist. Usually, non-rewinding tape device drivers will react to the close request issued by @code{tar} by first writing two tape marks after your archive, and by backspacing over one of these. So, if you remove the tape at that time from the tape drive, it is properly terminated. But if you write another file at the current position, the second tape mark will be erased by the new information, leaving only one tape mark between files. X So, you may now save @var{directory-2} as a second archive after the first on the same tape by issuing the command: X @example $ @kbd{tar cf /dev/nrtape @var{directory-2}} @end example X @noindent and so on for all the archives you want to put on the same tape. X Another usual case is that you do not write all the archives the same day, and you need to remove and store the tape between two archive sessions. In general, you must remember how many files are already saved on your tape. Suppose your tape already has 16 files on it, and that you are ready to write the 17th. You have to take care of skipping the first 16 tape marks before saving @var{directory-17}, say, by using these commands: X @example $ @kbd{mt -f /dev/nrtape rewind} $ @kbd{mt -f /dev/nrtape fsf 16} $ @kbd{tar cf /dev/nrtape @var{directory-17}} @end example X In all the previous examples, we put aside blocking considerations, but you should do the proper things for that as well. @xref{Blocking}. X @menu * Tape Positioning:: Tape Positions and Tape Marks * mt:: The @code{mt} Utility @end menu X @node Tape Positioning, mt, Many, Many @subsection Tape Positions and Tape Marks @UNREVISED X Just as archives can store more than one file from the file system, tapes can store more than one archive file. To keep track of where archive files (or any other type of file stored on tape) begin and end, tape archive devices write magnetic @dfn{tape marks} on the archive media. Tape drives write one tape mark between files, two at the end of all the file entries. X If you think of data as a series of records "rrrr"'s, and tape marks as "*"'s, a tape might look like the following: X @example rrrr*rrrrrr*rrrrr*rr*rrrrr**------------------------- @end example X Tape devices read and write tapes using a read/write @dfn{tape head}---a physical part of the device which can only access one point on the tape at a time. When you use @code{tar} to read or write archive data from a tape device, the device will begin reading or writing from wherever on the tape the tape head happens to be, regardless of which archive or what part of the archive the tape head is on. Before writing an archive, you should make sure that no data on the tape will be overwritten (unless it is no longer needed). Before reading an archive, you should make sure the tape head is at the beginning of the archive you want to read. (The @code{restore} script will find the archive automatically. @FIXME{There is no such restore script!}. @FIXME-xref{Scripted Restoration}). @xref{mt}, for an explanation of the tape moving utility. X If you want to add new archive file entries to a tape, you should advance the tape to the end of the existing file entries, backspace over the last tape mark, and write the new archive file. If you were to add two archives to the example above, the tape might look like the following: X @example rrrr*rrrrrr*rrrrr*rr*rrrrr*rrr*rrrr**---------------- @end example X @node mt, , Tape Positioning, Many @subsection The @code{mt} Utility @UNREVISED X @FIXME{Is it true that this only works on non-block devices? should explain the difference, (fixed or variable).} @value{xref-blocking-factor}. X You can use the @code{mt} utility to advance or rewind a tape past a specified number of archive files on the tape. This will allow you to move to the beginning of an archive before extracting or reading it, or to the end of all the archives before writing a new one. @FIXME{Why isn't there an "advance 'til you find two tape marks together"?} X The syntax of the @code{mt} command is: X @example @kbd{mt [-f @var{tapename}] @var{operation} [@var{number}]} @end example X where @var{tapename} is the name of the tape device, @var{number} is the number of times an operation is performed (with a default of one), and @var{operation} is one of the following: X @FIXME{is there any use for record operations?} X @table @kbd @item eof @itemx weof Writes @var{number} tape marks at the current position on the tape. X @item fsf Moves tape position forward @var{number} files. X @item bsf Moves tape position back @var{number} files. X @item rewind Rewinds the tape. (Ignores @var{number}). X @item offline @itemx rewoff1 Rewinds the tape and takes the tape device off-line. (Ignores @var{number}). X @item status Prints status information about the tape unit. X @end table X @FIXME{Is there a better way to frob the spacing on the list?} X If you don't specify a @var{tapename}, @code{mt} uses the environment variable TAPE; if TAPE does not exist, @code{mt} uses the device @file{/dev/rmt12}. X @code{mt} returns a 0 exit status when the operation(s) were successful, 1 if the command was unrecognized, and 2 if an operation failed. X @FIXME{New node on how to find an archive?} X If you use @value{op-extract} with the @value{op-label} option specified, @code{tar} will read an archive label (the tape head has to be positioned on it) and print an error if the archive label doesn't match the @var{archive-name} specified. @var{archive-name} can be any regular expression. If the labels match, @code{tar} extracts the archive. @value{xref-label}. @FIXME-xref{Matching Format Parameters}. @FIXME{fix cross references} @samp{tar --list --label} will cause @code{tar} to print the label. X @FIXME{Program to list all the labels on a tape?} X @node Using Multiple Tapes, label, Many, Media @section Using Multiple Tapes @UNREVISED X Often you might want to write a large archive, one larger than will fit on the actual tape you are using. In such a case, you can run multiple @code{tar} commands, but this can be inconvenient, particularly if you are using options like @value{op-exclude} or dumping entire filesystems. Therefore, @code{tar} supports multiple tapes automatically. X Use @value{op-multi-volume} on the command line, and then @code{tar} will, when it reaches the end of the tape, prompt for another tape, and continue the archive. Each tape will have an independent archive, and can be read without needing the other. (As an exception to this, the file that @code{tar} was archiving when it ran out of tape will usually be split between the two archives; in this case you need to extract from the first archive, using @value{op-multi-volume}, and then put in the second tape when prompted, so @code{tar} can restore both halves of the file.) X GNU @code{tar} multi-volume archives do not use a truly portable format. You need GNU @code{tar} at both end to process them properly. X When prompting for a new tape, @code{tar} accepts any of the following responses: X @table @kbd @item ? Request @code{tar} to explain possible responses @item q Request @code{tar} to exit immediately. @item n @var{file name} Request @code{tar} to write the next volume on the file @var{file name}. @item ! Request @code{tar} to run a subshell. @item y Request @code{tar} to begin writing the next volume. @end table X (You should only type @samp{y} after you have changed the tape; otherwise @code{tar} will write over the volume it just finished.) X If you want more elaborate behavior than this, give @code{tar} the @value{op-info-script} option. The file @var{script-name} is expected to be a program (or shell script) to be run instead of the normal prompting procedure. When the program finishes, @code{tar} will immediately begin writing the next volume. The behavior of the @samp{n} response to the normal tape-change prompt is not available if you use @value{op-info-script}. X The method @code{tar} uses to detect end of tape is not perfect, and fails on some operating systems or on some devices. You can use the @value{op-tape-length} option if @code{tar} can't detect the end of the tape itself. This option selects @value{op-multi-volume} automatically. The @var{size} argument should then be the usable size of the tape. But for many devices, and floppy disks in particular, this option is never required for real, as far as we know. X The volume number used by @code{tar} in its tape-change prompt can be changed; if you give the @value{op-volno-file} option, then @var{file-of-number} should be an unexisting file to be created, or else, a file already containing a decimal number. That number will be used as the volume number of the first volume written. When @code{tar} is finished, it will rewrite the file with the now-current volume number. (This does not change the volume number written on a tape label, as per @value{ref-label}, it @emph{only} affects the number used in the prompt.) X If you want @code{tar} to cycle through a series of tape drives, then you can use the @samp{n} response to the tape-change prompt. This is error prone, however, and doesn't work at all with @value{op-info-script}. Therefore, if you give @code{tar} multiple @value{op-file} options, then the specified files will be used, in sequence, as the successive volumes of the archive. Only when the first one in the sequence needs to be used again will @code{tar} prompt for a tape change (or run the info script). X Multi-volume archives X With @value{op-multi-volume}, @code{tar} will not abort when it cannot read or write any more data. Instead, it will ask you to prepare a new volume. If the archive is on a magnetic tape, you should change tapes now; if the archive is on a floppy disk, you should change disks, etc. X Each volume of a multi-volume archive is an independent @code{tar} archive, complete in itself. For example, you can list or extract any volume alone; just don't specify @value{op-multi-volume}. However, if one file in the archive is split across volumes, the only way to extract it successfully is with a multi-volume extract command @samp{--extract --multi-volume} (@samp{-xM}) starting on or before the volume where the file begins. X For example, let's presume someone has two tape drives on a system named @file{/dev/tape0} and @file{/dev/tape1}. For having GNU @code{tar} to switch to the second drive when it needs to write the second tape, and then back to the first tape, etc., just do either of: X @smallexample $ @kbd{tar --create --multi-volume --file=/dev/tape0 --file=/dev/tape1 @var{files}} $ @kbd{tar cMff /dev/tape0 /dev/tape1 @var{files}} @end smallexample X @menu * Multi-Volume Archives:: Archives Longer than One Tape or Disk * Tape Files:: Tape Files @end menu X @node Multi-Volume Archives, Tape Files, Using Multiple Tapes, Using Multiple Tapes @subsection Archives Longer than One Tape or Disk @cindex Multi-volume archives @UNREVISED X To create an archive that is larger than will fit on a single unit of the media, use the @value{op-multi-volume} option in conjunction with the @value{op-create} option (@pxref{create}). A @dfn{multi-volume} archive can be manipulated like any other archive (provided the @value{op-multi-volume} option is specified), but is stored on more than one tape or disk. X When you specify @value{op-multi-volume}, @code{tar} does not report an error when it comes to the end of an archive volume (when reading), or the end of the media (when writing). Instead, it prompts you to load a new storage volume. If the archive is on a magnetic tape, you should change tapes when you see the prompt; if the archive is on a floppy disk, you should change disks; etc. X You can read each individual volume of a multi-volume archive as if it were an archive by itself. For example, to list the contents of one volume, use @value{op-list}, without @value{op-multi-volume} specified. To extract an archive member from one volume (assuming it is described that volume), use @value{op-extract}, again without @value{op-multi-volume}. X If an archive member is split across volumes (ie. its entry begins on one volume of the media and ends on another), you need to specify @value{op-multi-volume} to extract it successfully. In this case, you should load the volume where the archive member starts, and use @samp{tar --extract --multi-volume}---@code{tar} will prompt for later volumes as it needs them. @xref{extracting archives}, for more information about extracting archives. X @value{op-info-script} is like @value{op-multi-volume}, except that @code{tar} does not prompt you directly to change media volumes when a volume is full---instead, @code{tar} runs commands you have stored in @var{script-name}. For example, this option can be used to eject cassettes, or to broadcast messages such as @samp{Someone please come change my tape} when performing unattended backups. When @var{script-name} is done, @code{tar} will assume that the media has been changed. X Multi-volume archives can be modified like any other archive. To add files to a multi-volume archive, you need to only mount the last volume of the archive media (and new volumes, if needed). For all other operations, you need to use the entire archive. X If a multi-volume archive was labeled using @value{op-label} (@value{pxref-label}) when it was created, @code{tar} will not automatically label volumes which are added later. To label subsequent volumes, specify @value{op-label} again in conjunction with the @value{op-append}, @value{op-update} or @value{op-concatenate} operation. X @cindex Labelling multi-volume archives @FIXME{example} X @FIXME{There should be a sample program here, including an exit before end. Is the exit status even checked in tar? :-(} X @table @kbd @item --multi-volume @itemx -M Creates a multi-volume archive, when used in conjunction with @value{op-create}. To perform any other operation on a multi-volume archive, specify @value{op-multi-volume} in conjunction with that operation. X @item --info-script=@var{program-file} @itemx -F @var{program-file} Creates a multi-volume archive via a script. Used in conjunction with @value{op-create}. @end table X Beware that there is @emph{no} real standard about the proper way, for a @code{tar} archive, to span volume boundaries. If you have a multi-volume created by some vendor's @code{tar}, there is almost no chance you could read all the volumes with GNU @code{tar}. The converse is also true: you may not expect multi-volume archives created by GNU @code{tar} to be fully recovered by vendor's @code{tar}. Since there is little chance that, in mixed system configurations, some vendor's @code{tar} will work on another vendor's machine, and there is a great chance that GNU @code{tar} will work on most of them, your best bet is to install GNU @code{tar} on all machines between which you know exchange of files is possible. X @node Tape Files, , Multi-Volume Archives, Using Multiple Tapes @subsection Tape Files @UNREVISED X To give the archive a name which will be recorded in it, use the @value{op-label} option. This will write a special block identifying @var{volume-label} as the name of the archive to the front of the archive which will be displayed when the archive is listed with @value{op-list}. If you are creating a multi-volume archive with @value{op-multi-volume} (@FIXME-pxref{Using Multiple Tapes}), then the volume label will have @samp{Volume @var{nnn}} appended to the name you give, where @var{nnn} is the number of the volume of the archive. (If you use the @value{op-label} option when reading an archive, it checks to make sure the label on the tape matches the one you give. @value{xref-label}. X When @code{tar} writes an archive to tape, it creates a single tape file. If multiple archives are written to the same tape, one after the other, they each get written as separate tape files. When extracting, it is necessary to position the tape at the right place before running @code{tar}. To do this, use the @code{mt} command. For more information on the @code{mt} command and on the organization of tapes into a sequence of tape files, see @ref{mt}. X People seem to often do: X @example @kbd{--label="@var{some-prefix} `date +@var{some-format}`"} @end example X or such, for pushing a common date in all volumes or an archive set. X @node label, verify, Using Multiple Tapes, Media @section Including a Label in the Archive @cindex Labeling an archive @cindex Labels on the archive media @UNREVISED X @table @kbd @item -V @var{name} @itemx --label=@var{name} Create archive with volume name @var{name}. @end table X This option causes @code{tar} to write out a @dfn{volume header} at the beginning of the archive. If @value{op-multi-volume} is used, each volume of the archive will have a volume header of @samp{@var{name} Volume @var{n}}, where @var{n} is 1 for the first volume, 2 for the next, and so on. X @FIXME{Should the arg to --label be a quoted string?? No.} X To avoid problems caused by misplaced paper labels on the archive media, you can include a @dfn{label} entry---an archive member which contains the name of the archive---in the archive itself. Use the @value{op-label} option in conjunction with the @value{op-create} operation to include a label entry in the archive as it is being created. X If you create an archive using both @value{op-label} and @value{op-multi-volume}, each volume of the archive will have an archive label of the form @samp{@var{archive-label} Volume @var{n}}, where @var{n} is 1 for the first volume, 2 for the next, and so on. @FIXME-xref{Multi-Volume Archives}, for information on creating multiple volume archives. X If you list or extract an archive using @value{op-label}, @code{tar} will print an error if the archive label doesn't match the @var{archive-label} specified, and will then not list nor extract the archive. In those cases, @var{archive-label} argument is interpreted as a globbing-style pattern which must match the actual magnetic volume label. @xref{exclude}, for a precise description of how match is attempted@footnote{Previous versions of @code{tar} used full regular expression matching, or before that, only exact string matching, instead of wildcard matchers. We decided for the sake of simplicity to use a uniform matching device through @code{tar}.}. If the switch @value{op-multi-volume} is being used, the volume label matcher will also suffix @var{archive-label} by @w{@samp{ Volume [1-9]*}} if the initial match fails, before giving up. Since the volume numbering is automatically added in labels at creation time, it sounded logical to equally help the user taking care of it when the archive is being read. X The @value{op-label} was once called @samp{--volume}, but is not available under that name anymore. X To find out an archive's label entry (or to find out if an archive has a label at all), use @samp{tar --list --verbose}. @code{tar} will print the label first, and then print archive member information, as in the example below: X @example $ @kbd{tar --verbose --list --file=iamanarchive} V--------- 0 0 0 1992-03-07 12:01 iamalabel--Volume Header-- -rw-rw-rw- ringo user 40 1990-05-21 13:30 iamafilename @end example X @table @kbd @item --label=@var{archive-label} @itemx -V @var{archive-label} Includes an @dfn{archive-label} at the beginning of the archive when the archive is being created, when used in conjunction with the @value{op-create} option. Checks to make sure the archive label matches the one specified (when used in conjunction with the @value{op-extract} option. @end table X To get a common information on all tapes of a series, use the @value{op-label} option. For having this information different in each series created through a single script used on a regular basis, just manage to get some date string as part of the label. For example: X @example $ @kbd{tar cfMV /dev/tape "Daily backup for `date +%Y-%m-%d`"} $ @kbd{tar --create --file=/dev/tape --multi-volume \ X --volume="Daily backup for `date +%Y-%m-%d`"} @end example X Also note that each label has its own date and time, which corresponds to when GNU @code{tar} initially attempted to write it, often soon after the operator launches @code{tar} or types the carriage return telling that the next tape is ready. Comparing date labels does give an idea of tape throughput only if the delays for rewinding tapes and the operator switching them were negligible, which is ususally not the case. X @FIXME{was --volume} X @node verify, Write Protection, label, Media @section Verifying Data as It is Stored @cindex Verifying a write operation @cindex Double-checking a write operation X @table @kbd @item -W @itemx --verify Attempt to verify the archive after writing. @end table X This option causes @code{tar} to verify the archive after writing it. Each volume is checked after it is written, and any discrepancies are recorded on the standard error output. X Verification requires that the archive be on a back-space-able medium. This means pipes, some cartridge tape drives, and some other devices cannot be verified. X You can insure the accuracy of an archive by comparing files in the system with archive members. @code{tar} can compare an archive to the file system as the archive is being written, to verify a write operation, or can compare a previously written archive, to insure that it is up to date. X To check for discrepancies in an archive immediately after it is written, use the @value{op-verify} option in conjunction with the @value{op-create} operation. When this option is specified, @code{tar} checks archive members against their counterparts in the file system, and reports discrepancies on the standard error. In multi-volume archives, each volume is verified after it is written, before the next volume is written. X To verify an archive, you must be able to read it from before the end of the last written entry. This option is useful for detecting data errors on some tapes. Archives written to pipes, some cartridge tape drives, and some other devices cannot be verified. X One can explicitely compare an already made archive with the file system by using the @value{op-compare} option, instead of using the more automatic @value{op-verify} option. @value{xref-compare}. X Note that these two options have a slightly different intent. The @value{op-compare} option how identical are the logical contents of some archive with what is on your disks, while the @value{op-verify} option is really for checking if the physical contents agree and if the recording media itself is of dependable quality. So, for the @value{op-verify} operation, @code{tar} tries to defeat all in-memory cache pertaining to the archive, while it lets the speed optimization undisturbed for the @value{op-compare} option. If you nevertheless use @value{op-compare} for media verification, you may have to defeat the in-memory cache yourself, maybe by opening and reclosing the door latch of your recording unit, forcing some doubt in your operating system about the fact this is really the same volume as the one just written or read. X The @value{op-verify} option would not be necessary if drivers were indeed able to detect dependably all write failures. This sometimes require many magnetic heads, some able to read after the writes occurred. One would not say that drivers unable to detect all cases are necessarily flawed, as long as programming is concerned. X @node Write Protection, , verify, Media @section Write Protection X Almost all tapes and diskettes, and in a few rare cases, even disks can be @dfn{write protected}, to protect data on them from being changed. Once an archive is written, you should write protect the media to prevent the archive from being accidently overwritten or deleted. (This will protect the archive from being changed with a tape or floppy drive---it will not protect it from magnet fields or other physical hazards). X The write protection device itself is usually an integral part of the physical media, and can be a two position (write enabled/write disabled) switch, a notch which can be popped out or covered, a ring which can be removed from the center of a tape reel, or some other changeable feature. X @node Index, , Media, Top @unnumbered Index X @printindex cp X @summarycontents @contents @bye X @c Local variables: @c texinfo-column-for-description: 32 @c End: SHAR_EOF $shar_touch -am 0424091997 'tar-1.12/doc/tar.texi' && chmod 0644 'tar-1.12/doc/tar.texi' || $echo 'restore of' 'tar-1.12/doc/tar.texi' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/doc/tar.texi:' 'MD5 check failed' fa6da5c65301c2ea1e2d667d4b10281f tar-1.12/doc/tar.texi SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/doc/tar.texi'`" test 354244 -eq "$shar_count" || $echo 'tar-1.12/doc/tar.texi:' 'original size' '354244,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/doc/convtexi.pl ============== if test -f 'tar-1.12/doc/convtexi.pl' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/doc/convtexi.pl' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/doc/convtexi.pl' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/doc/convtexi.pl M(R$O=7-R+VQO8V%L+V)I;B]P97)L("TM"0D)"0DC("TJ+5!E2!A(%1E>&EN9F\@9FEL92P@7)I9VAT(*D@ M,3DY-B!&PH@("`@:68@*"]>7$!C*"DD+R!\?"`O7EQ` M8R`H+BHI+R!\?"`O7EQ`*&EN8VQU9&4@+BHI+RD*("`@('L*"6EF("@D=&]P MUQ`7$!C?2`D,5QN(CL*"2`@("`D7R`](#P^.PH)("`@('=H M:6QE("@O7$!C("@N*BDO*0H)("`@('L*"0EPUQ`7$!C?2`D,5QN M(CL*"2`@("`D7R`](#P^.PH)("`@('=H:6QE("@O7$!C("@N*BDO*0H)("`@ M('L*"0DD9&5L87D@+CT@(EQ`UQ`7$!C?2`D,5QN(CL*"0DD7R`] M(#P^.PH)("`@('T*"2`@("`D9&5L87D@+CT@(EQ`96YD(&9OPH)<')I M;G0["B,)<')I;G0@)&1E;&%Y.PH))&1E;&%Y(#T@)R<["@DD=&]P7$!M86-R;R`O*0H@ M("`@>PH))%\@/2`\/B!W:&EL92`H)%\@)B8@(2`O7EQ`96YD(&UA8W)O+RD[ M"@DD7R`](#P^.PH@("`@?0H@("`@96QS:68@*"]>7$!S970@*%M>(%TK*2`H M+BHI+RD*("`@('L*"21S971[)#%](#T@)#(["@DD7R`](#P^.PH@("`@?0H@ M("`@96QS:68@*"]>7$!53E)%5DE3140O*0H@("`@>PH)<')I;G0@(EQ`<75O M=&%T:6]N7&XB.PH)<')I;G0@(EQ`96UP:'LH5&AI7'U=*BE]+RD*"7L* M"2`@("!I9B`H9&5F:6YE9"`DR0Q?2D*"2`@("!["@D))%\@/2`B)&`D MR0Q?20G(CL*"2`@("!]"@D@("`@96QS90H)("`@('L*"0DD7R`]("(D M8%Q`SQ53D1%1DE.140^?20Q7$!S=')O;F=[/"]53D1%1DE.140^ M?20G(CL*"2`@("!]"@E]"@EW:&EL92`H+UQ`1DE8344M/RA;82UZ72HI7'LO M*0H)>PH)("`@("1T86<@/2`D,2!E<2`G)R`_("=F:7AM92<@.B`D,3L*"2`@ M("`D=&%G(#U^('DO82UZ+T$M6B\["@D@("`@<')I;G0@(B1@7$!S=')O;F=[ M/"1T86<^?2(["@D@("`@)%\@/2`D)SL*"2`@("`D;&5V96P@/2`Q.PH)("`@ M('=H:6QE("@D;&5V96P@/B`P*0H)("`@('L*"0EI9B`H+RA;>WU=*2\I"@D) M>PH)"2`@("!I9B`H)#$@97$@)WLG*0H)"2`@("!["@D)"21L979E;"LK.PH) M"0EPR(["@D)"21?(#T@)"<["@D)("`@('T*"0D@("`@96QS M:68@*"1L979E;"`^(#$I"@D)("`@('L*"0D))&QE=F5L+2T["@D)"7!R:6YT M("(D8%Q](CL*"0D))%\@/2`D)SL*"0D@("`@?0H)"2`@("!E;'-E"@D)("`@ M('L*"0D))&QE=F5L(#T@,#L*"0D)<')I;G0@(B1@7$!S=')O;F=[/"\D=&%G M/GTB.PH)"0DD7R`]("0G.PH)"2`@("!]"@D)?0H)"65L 'tar-1.12/doc/getdate.texi' && @node Date input formats @chapter Date input formats X @cindex date input formats @findex getdate X @quotation Our units of temporal measurement, from seconds on up to months, are so complicated, asymmetrical and disjunctive so as to make coherent mental reckoning in time all but impossible. Indeed, had some tyrannical god contrived to enslave our minds to time, to make it all but impossible for us to escape subjection to sodden routines and unpleasant surprises, he could hardly have done better than handing down our present system. It is like a set of trapezoidal building blocks, with no vertical or horizontal surfaces, like a language in which the simplest thought demands ornate constructions, useless particles and lengthy circumlocutions. Unlike the more successful patterns of language and science, which enable us to face experience boldly or at least level-headedly, our system of temporal calculation silently and persistently encourages our terror of time. X @dots{} It is as though architects had to measure length in feet, width in meters and height in ells; as though basic instruction manuals demanded a knowledge of five different languages. It is no wonder then that we often look into our own immediate past or future, last Tuesday or a week from Sunday, with feelings of helpless confusion. @dots{} X --- Robert Grudin, @cite{Time and the Art of Living}. @end quotation X This section describes the textual date representations that GNU programs accept. These are the strings you, as a user, can supply as arguments to the various programs. The C interface (via the @code{getdate} function) is not described here. X @cindex beginning of time, for Unix @cindex epoch, for Unix Although the date syntax here can represent any possible time since zero A.D., computer integers are not big enough for such a (comparatively) long time. The earliest date semantically allowed on Unix systems is midnight, 1 January 1970 UCT. X @menu * General date syntax:: Common rules. * Calendar date item:: 19 Dec 1994. * Time of day item:: 9:20pm. * Timezone item:: EST, DST, BST, UCT, AHST, ... * Day of week item:: Monday and others. * Relative item in date strings:: next tuesday, 2 years ago. * Pure numbers in date strings:: 19931219, 1440. * Authors of getdate:: Bellovin, Salz, Berets, et al. @end menu X X @node General date syntax @section General date syntax X @cindex general date syntax X @cindex items in date strings A @dfn{date} is a string, possibly empty, containing many items separated by whitespace. The whitespace may be omitted when no ambiguity arises. The empty string means the beginning of today (i.e., midnight). Order of the items is immaterial. A date string may contain many flavors of items: X @itemize @bullet @item calendar date items @item time of the day items @item time zone items @item day of the week items @item relative items @item pure numbers. @end itemize X @noindent We describe each of these item types in turn, below. X @cindex numbers, written-out @cindex ordinal numbers @findex first @r{in date strings} @findex next @r{in date strings} @findex last @r{in date strings} A few numbers may be written out in words in most contexts. This is most useful for specifying day of the week items or relative items (see below). Here is the list: @samp{first} for 1, @samp{next} for 2, @samp{third} for 3, @samp{fourth} for 4, @samp{fifth} for 5, @samp{sixth} for 6, @samp{seventh} for 7, @samp{eighth} for 8, @samp{ninth} for 9, @samp{tenth} for 10, @samp{eleventh} for 11 and @samp{twelfth} for 12. Also, @samp{last} means exactly @math{-1}. X @cindex months, written-out When a month is written this way, it is still considered to be written numerically, instead of being ``spelled in full''; this changes the allowed strings. X @cindex case, ignored in dates @cindex comments, in dates Alphabetic case is completely ignored in dates. Comments may be introduced between round parentheses, as long as included parentheses are properly nested. Hyphens not followed by a digit are currently ignored. Leading zeros on numbers are ignored. X X @node Calendar date item @section Calendar date item X @cindex calendar date item X A @dfn{calendar date item} specifies a day of the year. It is specified differently, depending on whether the month is specified numerically or literally. All these strings specify the same calendar date: X @example 1970-09-17 # ISO 8601. 70-9-17 # This century assumed by default. 70-09-17 # Leading zeros are ignored. 9/17/72 # Common U.S. writing. 24 September 1972 24 Sept 72 # September has a special abbreviation. 24 Sep 72 # Three-letter abbreviations always allowed. Sep 24, 1972 24-sep-72 24sep72 @end example X The year can also be omitted. In this case, the last specified year is used, or the current year if none. For example: X @example 9/17 sep 17 @end example X Here are the rules. X @cindex ISO 8601 date format @cindex date format, ISO 8601 For numeric months, the ISO 8601 format @samp{@var{year}-@var{month}-@var{day}} is allowed, where @var{year} is any positive number, @var{month} is a number between 01 and 12, and @var{day} is a number between 01 and 31. A leading zero must be present if a number is less than ten. If @var{year} is less than 100, then 1900 is added to it to force a date in this century. The construct @samp{@var{month}/@var{day}/@var{year}}, popular in the United States, is accepted. Also @samp{@var{month}/@var{day}}, omitting the year. X @cindex month names in date strings @cindex abbreviations for months Literal months may be spelled out in full: @samp{January}, @samp{February}, @samp{March}, @samp{April}, @samp{May}, @samp{June}, @samp{July}, @samp{August}, @samp{September}, @samp{October}, @samp{November} or @samp{December}. Literal months may be abbreviated to their first three letters, possibly followed by an abbreviating dot. It is also permitted to write @samp{Sept} instead of @samp{September}. X When months are written literally, the calendar date may be given as any of the following: X @example @var{day} @var{month} @var{year} @var{day} @var{month} @var{month} @var{day} @var{year} @var{day}-@var{month}-@var{year} @end example X Or, omitting the year: X @example @var{month} @var{day} @end example X X @node Time of day item @section Time of day item X @cindex time of day item X A @dfn{time of day item} in date strings specifies the time on a given day. Here are some examples, all of which represent the same time: X @example 20:02:0 20:02 8:02pm 20:02-0500 # In EST (Eastern U.S. Standard Time). @end example X More generally, the time of the day may be given as @samp{@var{hour}:@var{minute}:@var{second}}, where @var{hour} is a number between 0 and 23, @var{minute} is a number between 0 and 59, and @var{second} is a number between 0 and 59. Alternatively, @samp{:@var{second}} can be omitted, in which case it is taken to be zero. X @findex am @r{in date strings} @findex pm @r{in date strings} @findex midnight @r{in date strings} @findex noon @r{in date strings} If the time is followed by @samp{am} or @samp{pm} (or @samp{a.m.} or @samp{p.m.}), @var{hour} is restricted to run from 1 to 12, and @samp{:@var{minute}} may be omitted (taken to be zero). @samp{am} indicates the first half of the day, @samp{pm} indicates the second half of the day. In this notation, 12 is the predecessor of 1: midnight is @samp{12am} while noon is @samp{12pm}. X @cindex timezone correction @cindex minutes, timezone correction by The time may alternatively be followed by a timezone correction, expressed as @samp{@var{s}@var{hh}@var{mm}}, where @var{s} is @samp{+} or @samp{-}, @var{hh} is a number of zone hours and @var{mm} is a number of zone minutes. When a timezone correction is given this way, it forces interpretation of the time in UTC, overriding any previous specification for the timezone or the local timezone. The @var{minute} part of the time of the day may not be elided when a timezone correction is used. This is the only way to specify a timezone correction by fractional parts of an hour. X Either @samp{am}/@samp{pm} or a timezone correction may be specified, but not both. X X @node Timezone item @section Timezone item X @cindex timezone item X A @dfn{timezone item} specifies an international timezone, indicated by a small set of letters. Any included period is ignored. Military timezone designations use a single letter. Currently, only integral zone hours may be represented in a timezone item. See the previous section for a finer control over the timezone correction. X Here are many non-daylight-savings-time timezones, indexed by the zone hour value. X @table @asis @item +000 @cindex Greenwich Mean Time @cindex Universal Coordinated Time @cindex Western European Time @samp{GMT} for Greenwich Mean, @samp{UT} or @samp{UTC} for Universal (Coordinated), @samp{WET} for Western European and @samp{Z} for militaries. @item +100 @cindex West African Time @samp{WAT} for West Africa and @samp{A} for militaries. @item +200 @cindex Azores Time @samp{AT} for Azores and @samp{B} for militaries. @item +300 @samp{C} for militaries. @item +400 @cindex Atlantic Standard Time @samp{AST} for Atlantic Standard and @samp{D} for militaries. @item +500 @cindex Eastern Standard Time @samp{E} for militaries and @samp{EST} for Eastern Standard. @item +600 @cindex Central Standard Time @samp{CST} for Central Standard and @samp{F} for militaries. @item +700 @cindex Mountain Standard Time @samp{G} for militaries and @samp{MST} for Mountain Standard. @item +800 @cindex Pacific Standard Time @samp{H} for militaries and @samp{PST} for Pacific Standard. @item +900 @cindex Yukon Standard Time @samp{I} for militaries and @samp{YST} for Yukon Standard. @item +1000 @cindex Alaska-Hawaii Time @cindex Central Alaska Time @cindex Hawaii Standard Time @samp{AHST} for Alaska-Hawaii Standard, @samp{CAT} for Central Alaska, @samp{HST} for Hawaii Standard and @samp{K} for militaries. @item +1100 @cindex Nome Standard Time @samp{L} for militaries and @samp{NT} for Nome. @item +1200 @cindex International Date Line West @samp{IDLW} for International Date Line West and @samp{M} for militaries. @item -100 @cindex Central European Time @cindex Middle European Time @cindex Middle European Winter Time @cindex French Winter Time @cindex Swedish Winter Time @samp{CET} for Central European, @samp{FWT} for French Winter, @samp{MET} for Middle European, @samp{MEWT} for Middle European Winter, @samp{N} for militaries and @samp{SWT} for Swedish Winter. @item -200 @cindex Eastern European Time @cindex USSR Zone @samp{EET} for Eastern European, USSR Zone 1 and @samp{O} for militaries. @item -300 @cindex Baghdad Time @samp{BT} for Baghdad, USSR Zone 2 and @samp{P} for militaries. @item -400 @samp{Q} for militaries and @samp{ZP4} for USSR Zone 3. @item -500 @samp{R} for militaries and @samp{ZP5} for USSR Zone 4. @item -600 @samp{S} for militaries and @samp{ZP6} for USSR Zone 5. @item -700 @cindex West Australian Standard Time @samp{T} for militaries and @samp{WAST} for West Australian Standard. @item -800 @cindex China Coast Time @samp{CCT} for China Coast, USSR Zone 7 and @samp{U} for militaries. @item -900 @cindex Japan Standard Time @samp{JST} for Japan Standard, USSR Zone 8 and @samp{V} for militaries. @item -1000 @cindex East Australian Standard Time @cindex Guam Standard Time @samp{EAST} for East Australian Standard, @samp{GST} for Guam Standard, USSR Zone 9 and @samp{W} for militaries. @item -1100 @samp{X} for militaries. @item -1200 @cindex International Date Line East @cindex New Zealand Standard Time @samp{IDLE} for International Date Line East, @samp{NZST} for New Zealand Standard, @samp{NZT} for New Zealand and @samp{Y} for militaries. @end table X @cindex daylight savings time Here are many DST timezones, indexed by the zone hour value. Also, by following a non-DST timezone by the string @samp{DST} in a separate word (that is, separated by some whitespace), the corresponding DST timezone may be specified. X @table @asis @item 0 @samp{BST} for British Summer. @item +400 @samp{ADT} for Atlantic Daylight. @item +500 @samp{EDT} for Eastern Daylight. @item +600 @samp{CDT} for Central Daylight. @item +700 @samp{MDT} for Mountain Daylight. @item +800 @samp{PDT} for Pacific Daylight. @item +900 @samp{YDT} for Yukon Daylight. @item +1000 @samp{HDT} for Hawaii Daylight. @item -100 @samp{MEST} for Middle European Summer, @samp{MESZ} for Middle European Summer, @samp{SST} for Swedish Summer and @samp{FST} for French Summer. @item -700 @samp{WADT} for West Australian Daylight. @item -1000 @samp{EADT} for Eastern Australian Daylight. @item -1200 @samp{NZDT} for New Zealand Daylight. @end table X X @node Day of week item @section Day of week item X @cindex day of week item X The explicit mention of a day of the week will forward the date (only if necessary) to reach that day of the week in the future. X Days of the week may be spelled out in full: @samp{Sunday}, @samp{Monday}, @samp{Tuesday}, @samp{Wednesday}, @samp{Thursday}, @samp{Friday} or @samp{Saturday}. Days may be abbreviated to their first three letters, optionally followed by a period. The special abbreviations @samp{Tues} for @samp{Tuesday}, @samp{Wednes} for @samp{Wednesday} and @samp{Thur} or @samp{Thurs} for @samp{Thursday} are also allowed. X @findex next @var{day} @findex last @var{day} A number may precede a day of the week item to move forward supplementary weeks. It is best used in expression like @samp{third monday}. In this context, @samp{last @var{day}} or @samp{next @var{day}} is also acceptable; they move one week before or after the day that @var{day} by itself would represent. X A comma following a day of the week item is ignored. X X @node Relative item in date strings @section Relative item in date strings X @cindex relative items in date strings @cindex displacement of dates X @dfn{Relative items} adjust a date (or the current date if none) forward or backward. The effects of relative items accumulate. Here are some examples: X @example 1 year 1 year ago 3 years 2 days @end example X @findex year @r{in date strings} @findex month @r{in date strings} @findex fortnight @r{in date strings} @findex week @r{in date strings} @findex day @r{in date strings} @findex hour @r{in date strings} @findex minute @r{in date strings} The unit of time displacement may be selected by the string @samp{year} or @samp{month} for moving by whole years or months. These are fuzzy units, as years and months are not all of equal duration. More precise units are @samp{fortnight} which is worth 14 days, @samp{week} worth 7 days, @samp{day} worth 24 hours, @samp{hour} worth 60 minutes, @samp{minute} or @samp{min} worth 60 seconds, and @samp{second} or @samp{sec} worth one second. An @samp{s} suffix on these units is accepted and ignored. X @findex ago @r{in date strings} The unit of time may be preceded by a multiplier, given as an optionally signed number. Unsigned numbers are taken as positively signed. No number at all implies 1 for a multiplier. Following a relative item by the string @samp{ago} is equivalent to preceding the unit by a multiplicator with value @math{-1}. X @findex day @r{in date strings} @findex tomorrow @r{in date strings} @findex yesterday @r{in date strings} The string @samp{tomorrow} is worth one day in the future (equivalent to @samp{day}), the string @samp{yesterday} is worth one day in the past (equivalent to @samp{day ago}). X @findex now @r{in date strings} @findex today @r{in date strings} @findex this @r{in date strings} The strings @samp{now} or @samp{today} are relative items corresponding to zero-valued time displacement, these strings come from the fact a zero-valued time displacement represents the current time when not otherwise change by previous items. They may be used to stress other items, like in @samp{12:00 today}. The string @samp{this} also has the meaning of a zero-valued time displacement, but is preferred in date strings like @samp{this thursday}. X When a relative item makes the resulting date to cross the boundary between DST and non-DST (or vice-versa), the hour is adjusted according to the local time. X X @node Pure numbers in date strings @section Pure numbers in date strings X @cindex pure numbers in date strings X The precise intepretation of a pure decimal number is dependent of the context in the date string. X If the decimal number is of the form @var{yyyy}@var{mm}@var{dd} and no other calendar date item (@pxref{Calendar date item}) appears before it in the date string, then @var{yyyy} is read as the year, @var{mm} as the month number and @var{dd} as the day of the month, for the specified calendar date. X If the decimal number is of the form @var{hh}@var{mm} and no other time of day item appears before it in the date string, then @var{hh} is read as the hour of the day and @var{mm} as the minute of the hour, for the specified time of the day. @var{mm} can also be omitted. X If both a calendar date and a time of day appear to the left of a number in the date string, but no relative item, then the number overrides the year. X X @node Authors of getdate @section Authors of @code{getdate} X @cindex authors of @code{getdate} X @cindex Bellovin, Steven M. @cindex Salz, Rich @cindex Berets, Jim @cindex MacKenzie, David @cindex Meyering, Jim @code{getdate} was originally implemented by Steven M. Bellovin (@samp{smb@@research.att.com}) while at the University of North Carolina at Chapel Hill. The code was later tweaked by a couple of people on Usenet, then completely overhauled by Rich $alz (@samp{rsalz@@bbn.com}) and Jim Berets (@samp{jberets@@bbn.com}) in August, 1990. Various revisions for the GNU system were made by David MacKenzie, Jim Meyering, and others. X @cindex Pinard, F. @cindex Berry, K. This chapter was originally produced by Fran@,{c}ois Pinard (@samp{pinard@@iro.umontreal.ca}) from the @file{getdate.y} source code, and then edited by K.@: Berry (@samp{kb@@cs.umb.edu}). SHAR_EOF $shar_touch -am 0202115597 'tar-1.12/doc/getdate.texi' && chmod 0644 'tar-1.12/doc/getdate.texi' || $echo 'restore of' 'tar-1.12/doc/getdate.texi' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/doc/getdate.texi:' 'MD5 check failed' eeb627e6a6937d92f14515c1dbef63f0 tar-1.12/doc/getdate.texi SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/doc/getdate.texi'`" test 18106 -eq "$shar_count" || $echo 'tar-1.12/doc/getdate.texi:' 'original size' '18106,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/doc/header.texi ============== if test -f 'tar-1.12/doc/header.texi' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/doc/header.texi' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/doc/header.texi' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/doc/header.texi' && /* GNU tar Archive Format description. */ X /* If OLDGNU_COMPATIBILITY is not zero, tar produces archives which, by X default, are readable by older versions of GNU tar. This can be X overriden by using --posix; in this case, POSIXLY_CORRECT in environment X may be set for enforcing stricter conformance. If OLDGNU_COMPATIBILITY X is zero or undefined, tar will eventually produces archives which, by X default, POSIX compatible; then either using --posix or defining X POSIXLY_CORRECT enforces stricter conformance. X X This #define will disappear in a few years. FP, June 1995. */ #define OLDGNU_COMPATIBILITY 1 X /*---------------------------------------------. | `tar' Header Block, from POSIX 1003.1-1990. | `---------------------------------------------*/ X /* POSIX header. */ X struct posix_header @{ /* byte offset */ X char name[100]; /* 0 */ X char mode[8]; /* 100 */ X char uid[8]; /* 108 */ X char gid[8]; /* 116 */ X char size[12]; /* 124 */ X char mtime[12]; /* 136 */ X char chksum[8]; /* 148 */ X char typeflag; /* 156 */ X char linkname[100]; /* 157 */ X char magic[6]; /* 257 */ X char version[2]; /* 263 */ X char uname[32]; /* 265 */ X char gname[32]; /* 297 */ X char devmajor[8]; /* 329 */ X char devminor[8]; /* 337 */ X char prefix[155]; /* 345 */ X /* 500 */ @}; X #define TMAGIC "ustar" /* ustar and a null */ #define TMAGLEN 6 #define TVERSION "00" /* 00 and no null */ #define TVERSLEN 2 X /* Values used in typeflag field. */ #define REGTYPE '0' /* regular file */ #define AREGTYPE '\0' /* regular file */ #define LNKTYPE '1' /* link */ #define SYMTYPE '2' /* reserved */ #define CHRTYPE '3' /* character special */ #define BLKTYPE '4' /* block special */ #define DIRTYPE '5' /* directory */ #define FIFOTYPE '6' /* FIFO special */ #define CONTTYPE '7' /* reserved */ X /* Bits used in the mode field, values in octal. */ #define TSUID 04000 /* set UID on execution */ #define TSGID 02000 /* set GID on execution */ #define TSVTX 01000 /* reserved */ X /* file permissions */ #define TUREAD 00400 /* read by owner */ #define TUWRITE 00200 /* write by owner */ #define TUEXEC 00100 /* execute/search by owner */ #define TGREAD 00040 /* read by group */ #define TGWRITE 00020 /* write by group */ #define TGEXEC 00010 /* execute/search by group */ #define TOREAD 00004 /* read by other */ #define TOWRITE 00002 /* write by other */ #define TOEXEC 00001 /* execute/search by other */ X /*-------------------------------------. | `tar' Header Block, GNU extensions. | `-------------------------------------*/ X /* In GNU tar, SYMTYPE is for to symbolic links, and CONTTYPE is for X contiguous files, so maybe disobeying the `reserved' comment in POSIX X header description. I suspect these were meant to be used this way, and X should not have really been `reserved' in the published standards. */ X /* *BEWARE* *BEWARE* *BEWARE* that the following information is still X boiling, and may change. Even if the OLDGNU format description should be X accurate, the so-called GNU format is not yet fully decided. It is X surely meant to use only extensions allowed by POSIX, but the sketch X below repeats some ugliness from the OLDGNU format, which should rather X go away. Sparse files should be saved in such a way that they do *not* X require two passes at archive creation time. Huge files get some POSIX X fields to overflow, alternate solutions have to be sought for this. */ X /* Descriptor for a single file hole. */ X struct sparse @{ /* byte offset */ X char offset[12]; /* 0 */ X char numbytes[12]; /* 12 */ X /* 24 */ @}; X /* Sparse files are not supported in POSIX ustar format. For sparse files X with a POSIX header, a GNU extra header is provided which holds overall X sparse information and a few sparse descriptors. When an old GNU header X replaces both the POSIX header and the GNU extra header, it holds some X sparse descriptors too. Whether POSIX or not, if more sparse descriptors X are still needed, they are put into as many successive sparse headers as X necessary. The following constants tell how many sparse descriptors fit X in each kind of header able to hold them. */ X #define SPARSES_IN_EXTRA_HEADER 16 #define SPARSES_IN_OLDGNU_HEADER 4 #define SPARSES_IN_SPARSE_HEADER 21 X /* The GNU extra header contains some information GNU tar needs, but not X foreseen in POSIX header format. It is only used after a POSIX header X (and never with old GNU headers), and immediately follows this POSIX X header, when typeflag is a letter rather than a digit, so signaling a GNU X extension. */ X struct extra_header @{ /* byte offset */ X char atime[12]; /* 0 */ X char ctime[12]; /* 12 */ X char offset[12]; /* 24 */ X char realsize[12]; /* 36 */ X char longnames[4]; /* 48 */ X char unused_pad1[68]; /* 52 */ X struct sparse sp[SPARSES_IN_EXTRA_HEADER]; X /* 120 */ X char isextended; /* 504 */ X /* 505 */ @}; X /* Extension header for sparse files, used immediately after the GNU extra X header, and used only if all sparse information cannot fit into that X extra header. There might even be many such extension headers, one after X the other, until all sparse information has been recorded. */ X struct sparse_header @{ /* byte offset */ X struct sparse sp[SPARSES_IN_SPARSE_HEADER]; X /* 0 */ X char isextended; /* 504 */ X /* 505 */ @}; X /* The old GNU format header conflicts with POSIX format in such a way that X POSIX archives may fool old GNU tar's, and POSIX tar's might well be X fooled by old GNU tar archives. An old GNU format header uses the space X used by the prefix field in a POSIX header, and cumulates information X normally found in a GNU extra header. With an old GNU tar header, we X never see any POSIX header nor GNU extra header. Supplementary sparse X headers are allowed, however. */ X struct oldgnu_header @{ /* byte offset */ X char unused_pad1[345]; /* 0 */ X char atime[12]; /* 345 */ X char ctime[12]; /* 357 */ X char offset[12]; /* 369 */ X char longnames[4]; /* 381 */ X char unused_pad2; /* 385 */ X struct sparse sp[SPARSES_IN_OLDGNU_HEADER]; X /* 386 */ X char isextended; /* 482 */ X char realsize[12]; /* 483 */ X /* 495 */ @}; X /* OLDGNU_MAGIC uses both magic and version fields, which are contiguous. X Found in an archive, it indicates an old GNU header format, which will be X hopefully become obsolescent. With OLDGNU_MAGIC, uname and gname are X valid, though the header is not truly POSIX conforming. */ #define OLDGNU_MAGIC "ustar " /* 7 chars and a null */ X /* The standards committee allows only capital A through capital Z for X user-defined expansion. */ X /* This is a dir entry that contains the names of files that were in the X dir at the time the dump was made. */ #define GNUTYPE_DUMPDIR 'D' X /* Identifies the *next* file on the tape as having a long linkname. */ #define GNUTYPE_LONGLINK 'K' X /* Identifies the *next* file on the tape as having a long name. */ #define GNUTYPE_LONGNAME 'L' X /* This is the continuation of a file that began on another volume. */ #define GNUTYPE_MULTIVOL 'M' X /* For storing filenames that do not fit into the main header. */ #define GNUTYPE_NAMES 'N' X /* This is for sparse files. */ #define GNUTYPE_SPARSE 'S' X /* This file is a tape/volume header. Ignore it on extraction. */ #define GNUTYPE_VOLHDR 'V' X /*--------------------------------------. | tar Header Block, overall structure. | `--------------------------------------*/ X /* tar files are made in basic blocks of this size. */ #define BLOCKSIZE 512 X enum archive_format @{ X DEFAULT_FORMAT, /* format to be decided later */ X V7_FORMAT, /* old V7 tar format */ X OLDGNU_FORMAT, /* GNU format as per before tar 1.12 */ X POSIX_FORMAT, /* restricted, pure POSIX format */ X GNU_FORMAT /* POSIX format with GNU extensions */ @}; X union block @{ X char buffer[BLOCKSIZE]; X struct posix_header header; X struct extra_header extra_header; X struct oldgnu_header oldgnu_header; X struct sparse_header sparse_header; @}; X /* End of Format description. */ SHAR_EOF $shar_touch -am 0415182897 'tar-1.12/doc/header.texi' && chmod 0644 'tar-1.12/doc/header.texi' || $echo 'restore of' 'tar-1.12/doc/header.texi' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/doc/header.texi:' 'MD5 check failed' 2ccb80036ede1fc52d5b4f17fc463337 tar-1.12/doc/header.texi SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/doc/header.texi'`" test 9241 -eq "$shar_count" || $echo 'tar-1.12/doc/header.texi:' 'original size' '9241,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/doc/tar.info ============== if test -f 'tar-1.12/doc/tar.info' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/doc/tar.info' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/doc/tar.info' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/doc/tar.info M5&AI7)I9VAT M(&YO=&EC92!A;F0@=&AI2!A;F0@9&ES=')I8G5T92!M;V1I9FEE9"!V97)S:6]N6EN9RP@<')O=FED960@=&AA=`IT:&4@96YT:7)E(')E&-E<'0@=&AA="!T:&ES('!E2!B92!S=&%T960@:6X@80IT2!T:&4@1F]U;F1A=&EO;BX*"B`@(%1H:7,@9FEL92!D;V-U;65N=',@1TY5 M(&!T87(G+"!W:&EC:"!I6QE'1R86-T(&]P=&EO;G-_,3(P,#,T"DYO9&4Z(%)E861I;F=_,3(P.3,X"DYO M9&4Z(')E860@9G5L;"!R96-O&-L=61E?S$W-#,Y,`I.;V1E.B!7:6QD M8V%R9'-_,37\Q.#8S M-S0*3F]D93H@86)S;VQU=&5_,3@Y,#4R"DYO9&4Z($1A=&4@:6YP=70@9F]R M;6%T'\Q.30T,34* M3F]D93H@0V%L96YD87(@9&%T92!I=&5M?S$Y-3@X-PI.;V1E.B!4:6UE(&]F M(&1A>2!I=&5M?S$Y-S@S-@I.;V1E.B!4:6UE>F]N92!I=&5M?S$Y.30S.`I. M;V1E.B!$87D@;V8@=V5E:R!I=&5M?S(P,C7\R,#FEP?S(R-#8S,PI.;V1E.B!S<&%R M'1E;G-I;VYS?S(V-#7\S,#(R,S8*3F]D M93H@5&%P92!0;W-I=&EO;FEN9W\S,#8P,C8*3F]D93H@;71_,S`W.#DW"DYO M9&4Z(%5S:6YG($UU;'1I<&QE(%1A<&5S?S,P.3&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/doc/tar.info:' 'MD5 check failed' 534a3778b1b563b9b5ba71070a5d3d45 tar-1.12/doc/tar.info SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/doc/tar.info'`" test 5100 -eq "$shar_count" || $echo 'tar-1.12/doc/tar.info:' 'original size' '5100,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/doc/tar.info-1 ============== if test -f 'tar-1.12/doc/tar.info-1' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/doc/tar.info-1' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/doc/tar.info-1' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/doc/tar.info-1 M5&AI7)I9VAT M(&YO=&EC92!A;F0@=&AI2!A;F0@9&ES=')I8G5T92!M;V1I9FEE9"!V97)S:6]N6EN9RP@<')O=FED960@=&AA=`IT:&4@96YT:7)E(')E&-E<'0@=&AA="!T:&ES('!E2!B92!S=&%T960@:6X@80IT2!T:&4@1F]U;F1A=&EO;BX*"B`@(%1H:7,@9FEL92!D;V-U;65N=',@1TY5 M(&!T87(G+"!W:&EC:"!I'0Z($EN=')O9'5C=&EO;BP@(%!R978Z("AD:7(I+"`@57`Z("AD:7(I M"@HJ($UE;G4Z"@HJ($EN=')O9'5C=&EO;CHZ"BH@5'5T;W)I86PZ.@HJ('1A M'1R86-T($UE;6)E6QE6QE3HZ"@I'3E4@ M8'1A2!@+2UE>'1R86-T)PH**B!296%D:6YG.CH@ M("`@("`@("`@("`@("`@("`@("!/<'1I;VYS('1O($AE;'`@4F5A9"!!&%M<&QE(%1E>'0@;V8@8$)A8VMU<"US<&5C6YT87@@9F]R(&!"86-K=7`M&-L=61E.CH@("`@("`@("`@("`@("`@("`@("!%>&-L M=61I;F<@4V]M92!&:6QE&-L=61I;F<@4V]M92!&:6QE M3HZ("`@("`@("`@("`@("`@ M("`@($-H86YG:6YG($1I0HJ(&%B6UB;VQI8R!,:6YK3HZ M("`@("`@("`@("`@("`@("`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=&]R960N"@H@("!);FET:6%L;'DL(&!T87(G(&%R8VAI=F5S M('=E7,N("!792!W86YT M('1O('-T6]U(&-A;B!M;W9E('1H2!P97)T86EN:6YG('1O(&UA;GD@=7-E7-T M96TL('1R86YS9F5R(&ET('1O(&%N;W1H97(*("`@("!S>7-T96TL(&%N9"!E M>'1R86-T('1H92!C;VYT96YT"!C;VUP;&EA;F-E+"`@ M4')E=CH@5VAA="!T87(@1&]E2!F;W(@8'1A2P@8G5T M('1H:7,@;6%N=6%L"F9O;&QO=W,@=&AA="!C;VYV96YT:6]N(&EN(&]R9&5R M('1O(&%C8W5S=&]M(')E861E2!R969E"!C;VUP;&EA;F-E+"`@3F5X=#H@075T:&]R6]U('!H&%M<&QE+"!'3E4*8'1A6]U('-E="!T:&ES(&5N M=FER;VYM96YT"G9A2!W:71H(%!/4TE8('-T86YD87)D'1E;G-I;VYS('=I;&P@8F4@86QL;W=E9"X*"A\*1FEL M93H@=&%R+FEN9F\L("!.;V1E.B!!=71H;W)S+"`@3F5X=#H@4F5P;W)T2!P96]P;&4N("!4:&4@1TY5(&5N:&%N8V5M M96YT2!+ M96YD86QL+"!A;F0@=&AE('=H;VQE('!A8VMA9V4@:&%S(&)E96X@9G5R=&AE M2!&96YL87-O;B!P=70@=&]G M971H97(@82!D2!C;VYT2!A=71H;W(@;V8@*DYO=&4*0F%C:W5P6]U('1H&%M<&QE M6QI6]U('-T87)T('1O('=O M6]U('-H;W5L9"!U;F1E6]U"B`@("`@7-T96TN M("!9;W4@6]U('=I;&P*("`@("!C M2!N86UE9"!B>2!T:&%T('!A=&@@;F%M93L@=&AE('-U M8F1I2!I2!O;B!A(&AA2!O=&AE&%M<&QE'0@8VAA<'1E65D(&EN(&%N>0IO M=&AE&%M<&QE(&]F(&$@;&EN92!W:&EC:"!W;W5L9"!O=&AE M6QI2!O9B!A2!A;F0@9&5F:6YE"G1H92!A8W1I;VYS(&ET('=I;&P@:&%V92!O M;B!T:&4@<&%R=&EC=6QA2!I;G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Z(&5X=')A8W0*"D5X=')A8W1I;F<@86X@16YT:7)E($%R8VAI=F4*+2TM M+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+0H*("`@5&\@97AT2!T:&4@87)C:&EV92!F:6QE(&YA;64@ M;VYL>2P*=VET:"!N;R!I;F1I=FED=6%L(&9I;&4@;F%M97,@87,@87)G=6UE M;G1S+B`@1F]R(&5X86UP;&4L"@H@("`@("0@=&%R("UX=F8@8V]L;&5C=&EO M;BYT87(*"G!R;V1U8V5S('1H:7,Z"@H@("`@("UR=RUR=RUR=RT@;64@=7-E M'1R86-T:6YG(&9I;&5S M+"`@3F5X=#H@97AT'1R86-T:6YG(&%R8VAI M=F5S+"`@57`Z(&5X=')A8W0*"D5X=')A8W1I;F<@4W!E8VEF:6,@1FEL97,* M+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+0H*("`@5&\@97AT2!@+2UL:7-T)R`H M8"UT)RDN("!)9B!Y;W4@:&%D(&UI6]U(&-A;B!E M>'1R86-T(&ET(&9R;VT@=&AE(&%R8VAI=F4@=VET:&]U="!C:&%N9VEN9PIT M:&4@87)C:&EV92=S('-T6]U(&%R92!I;B!T:&4@8'!R86-T M:6-E)R!D:7)E8W1O6]U(&]R:6=I;F%L;'D@<&QA8V5D(&ET(&EN('1H92!A7-T96TL"FAO=V5V97(L('=I M;&P@*FYO="H@:&%V92!B965N(&UA9&4@=&\@=&AE(&%R8VAI=F4@;65M8F5R M+BD@(%1H92!A6]U(&5X=')A8W1E9`I@8FQU97,G M+B`@66]U(&-A;B!C;VYF:7)M('1H:7,@8GD@&%C="!M96UB97(* M;F%M92!I6]U(&UU2!@=&%R("TM97AT M6]U(&=I=F4@=&AE(&`M+79E"&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/doc/tar.info-1:' 'MD5 check failed' 24eddfd679ffdd31d9cc7af62eaf69ff tar-1.12/doc/tar.info-1 SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/doc/tar.info-1'`" test 49912 -eq "$shar_count" || $echo 'tar-1.12/doc/tar.info-1:' 'original size' '49912,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/doc/tar.info-2 ============== if test -f 'tar-1.12/doc/tar.info-2' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/doc/tar.info-2' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/doc/tar.info-2' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/doc/tar.info-2 M5&AI7)I9VAT M(&YO=&EC92!A;F0@=&AI2!A;F0@9&ES=')I8G5T92!M;V1I9FEE9"!V97)S:6]N6EN9RP@<')O=FED960@=&AA=`IT:&4@96YT:7)E(')E&-E<'0@=&AA="!T:&ES('!E2!B92!S=&%T960@:6X@80IT2!T:&4@1F]U;F1A=&EO;BX*"B`@(%1H:7,@9FEL92!D;V-U;65N=',@1TY5 M(&!T87(G+"!W:&EC:"!I'1R86-T:6YG(&1I'1R M86-T:6YG(&]T:&5R(&9I;&5S+B`@5&AE(&UA:6X@9&EF9F5R96YC92!T;R!B M92!A=V%R92!O9B!I'1R86-T960@9&ER96-T;W)Y M(&AA2!D:7)E8W1O2!I M;@IT:&4@=V]R:VEN9R!D:7)E8W1O6]U(&5X=')A M8W0L('1H92!F:6QE'1R86-T960@87)C:&EV92!W:6QL M(&]V97)W2!I;B!T:&4@=V]R:VEN9R!D M:7)E8W1O2!W97)E(&UO2!N86UE(&%S('!A2!W:&5N('1H92!F M:6QE(&ES(&5X=')A8W1E9"P@8'1A2X*"B`@(%=E(&-A;B!D96UO;G-T6]U(&UA>2!E>'1R86-T(&]N;'D@=&AE(&9I;&5S"GEO=2!J=7-T(&1E M;&5T960N("!4;R!E>'1R86-T('1H92!E;G1I0IT:&4@ M9FEL97,@>6]U(&1E;&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N M"`U,3(@8GET97,@<&5R"B`@("`@6]U('1O(&1I3U$25(G"F`M0R!$25(G M"B`@("`@5VAE;B!T:&ES(&]P=&EO;B!I&-L=61E/5!!5%1%4DXG M"B`@("`@5VAE;B!P97)F;W)M:6YG(&]P97)A=&EO;G,L(&!T87(G('=I;&P@ M&-E<'0@8'1A6UB;VQI8R!N86UE+"!B=70@:68@=&AIFEP)PI@ M+2UU;F=Z:7`G"F`M>B<*("`@("!4:&ES(&]P=&EO;B!T96QLF5R;V5D(&)L;V-K2!S:6=N86QS($5/ M1BX@("I.;W1E(%)E861I;F2X@("X*"F`M+6EN9F\M'1R86-T M:6YG(&9I;&5S(&9R;VT@86X@87)C:&EV92P@8'1A'1R86-T:6YG(&]R(&QI`H@("`@(&9O2X@ M($9O&%M<&QE+"!T:&4@=F%L=64@8&$K&5C=71A8FQE(&)I=',@;VX@9&ER96-T;W)I97,@ M;W(@;VX@86YY(&]T:&5R(&9I;&4@86QR96%D>2!M87)K960*("`@("!A&5C=71A8FQE+@H*8"TM;75L=&DM=F]L=6UE)PI@+4TG"B`@("`@26YF;W)M M2!A9&0@9FEL97,@=&AA="!H879E"B`@("`@8VAA;F=E9"!S:6YC92!$051% M+B`@+@H*8"TM;F5W97(M;71I;64G"B`@("`@26X@8V]N:G5N8W1I;VX@=VET M:"!@+2UN97=E2!A9&0@9FEL97,@=VAO2!S=&%T=7,@:6YF;W)M871I;VX@:&%S(&-H86YG M960I+@H*8"TM;F\M2!I'!L:6-I=&QY(&YA;65D(&%S(&%N M(&%R9W5M96YT('1O(&!T87(G+B`@+@H*8"TM;G5L;"<*("`@("!7:&5N(&!T M87(G(&ES('5S:6YG('1H92!@+2UF:6QE2!@=&%R)R!T:&%T(&ET('-H;W5L9"!U2X@("X*"F`M+6]W M;F5R/55315(G"B`@("`@4W!E8VEF:65S('1H870@8'1A0H@("`@(&UE86YS(&!R;V]T)RX@(%-O;64@<&5O<&QE(&QI:V4@=&\@9F]R M8V4@8#`G(&%S('1H92!V86QU92!T;R!O9F9E<@H@("`@(&EN('1H96ER(&1I M6UO=7,@86YY=V%Y+"!S;R!T M:&%T(&UI9VAT(&%S('=E;&P@8F4@=&AE(&]W;F5R(&]F"B`@("`@86YO;GEM M;W5S(&%R8VAI=F5S+@H*8"TM<&]R=&%B:6QI='DG"F`M+6]L9"UA"!6-PH@("`@(&!T87(G+B`@ M+@H*8"TM<&]S:7@G"B`@("`@26YS=')U8W1S(&!T87(G('1O(&-R96%T92!A M(%!/4TE8(&-O;7!L:6%N="!@=&%R)R!A'1R86-T:6YG(&%N(&%R8VAI=F4L(&ET(&YO6EN9R!T:&ES(&]P=&EO;B!I M;G-T2!I;7!L96UE;G1A=&EO;G,N("`J3F]T92!296%D:6YG.CHN"@I@+2UR M96-O71E&ES=&EN9PH@("`@(&1I2!H:65R87)C:&EE7-T96T@869T97(*("`@("!A<'!E;F1I M;F<@:70@=&\@86X@87)C:&EV92X@("X*"F`M+7)S:"UC;VUM86YD/4--1"<* M("`@("!.;W1I9FEEF%T:6]N(&9O2X@("X*"F`M+7-T87)T:6YG+69I;&4]3D%-12<*8"U+($Y!344G"B`@ M("`@5&AI'1R86-T:6]N(&]N;'D[(&!T87(G M('=I;&P@'1R86-T:6YG"B`@("`@9FEL97,@:6X@=&AE(&%R8VAI M=F4@=6YT:6P@:70@9FEN9',@;VYE('1H870@;6%T8VAE#U3549&25@G"B`@("`@06QT M97)S('1H92!S=69F:7@@8'1A"`Q,#(T(&)Y=&5S(&QO;F'1R86-T(&9I M;&5S('1O('-T9&]U="!R871H97(@=&AA;@H@("`@('1O('1H92!F:6QE('-Y M'1R86-T960@ M9FEL97,@=&\@=&AE(&5X=')A8W1I;VX*("`@("!T:6UE+"!R871H97(@=&AA M;B!T:&4@;6]D:69I8V%T:6]N('1I;64@FEP)SL@+BD*"F`M+75N;&EN:RUF:7)S="<*8"U5)PH@("`@($1I7-T96T*("`@("!B969O65D+B`@+@H*8"TM=F5R:69Y)PI@+52<*"F`M6"<*("`@("!@+2UE>&-L=61E+69R;VTG"@I@ M+5HG"B`@("`@8"TM8V]M<')E7-T96TG"@I@ M+6TG"B`@("`@8"TM=&]U8V@G"@I@+6\G"B`@("`@8"TM<&]R=&%B:6QI='DG M"@I@+7`G"B`@("`@8"TM<')E"<*("`@("!@+2UE>'1R86-T)PH*8"UZ)PH@("`@(&`M+6=Z:7`G"@H?"D9I M;&4Z('1A'0Z('9E6]U(&%R92!U6]U(&%R92!U71H:6YG(&5L&%M<&QE+"!@2!A(&)R:65F('-U;6UA2!B92!S979E M6]U(&QI:V4@=7-I;F<@ M8&QE2!T:&4@<&5R=&EN96YT(&QI;F5S+@H*("`@ M5&AE('!E6]U(')E86QL>2!W;VYD97(A"@H@("!4:&4@6]U(&%R92!R96%D:6YG"G1H:7,@<&%R86=R87!H+"!Y M;W4@86QR96%D>2!H879E('1H92!@=&%R)R!M86YU86P@:6X@2`H8V]N=&%C="!Y M;W5R(&QO8V%L(&=U2!I;G-T86QL960@870@>6]U6]U(&]B2P@:68@=V4@97AC97!T+"!O9@IC;W5R7!I8V%L;'DL(&!T87(G('!E'1R86-T)R`H M8"TM9V5T)RP@8"UX)RDL(&`M+79E2!P'9V(&%R8VAI=F4N=&%R"@H@("!697)B;W-E(&]U='!U="!A<'!E87)S(&]N M('1H92!S=&%N9&%R9"!O=71P=70@97AC97!T('=H96X@86X@87)C:&EV90II M2!M86MI;F<@9F]R M=V%R9"!P"2!I;B!T:&4@87)C:&EV92!W:&EC:"!I&-L=61E9"!B>2!T:&4@=7-E(&]F('1H M92!@+2UE>&-L=61E/5!!5%1%4DXG"F]P=&EO;BP@;W(@2!P7!I8V%L;'DL(&!T87(G(&-A2!E>&-L=61I;F<@8V5R=&%I;B!F:6QE222<@=&\@2!S M96YT('1O('-T86YD87)D(&]U='!U="P@2!T;R!A=F]I9`IU2X@(%-O;64@<&5O<&QE(&9E M;'0@=&AE(&YE960@;V8@<')O9'5C:6YG(&%N"F%R8VAI=F4@;VX@&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/doc/tar.info-2:' 'MD5 check failed' c534520e551d41fb229c5c88e5a26d1d tar-1.12/doc/tar.info-2 SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/doc/tar.info-2'`" test 48116 -eq "$shar_count" || $echo 'tar-1.12/doc/tar.info-2:' 'original size' '48116,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/doc/tar.info-3 ============== if test -f 'tar-1.12/doc/tar.info-3' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/doc/tar.info-3' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/doc/tar.info-3' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/doc/tar.info-3 M5&AI7)I9VAT M(&YO=&EC92!A;F0@=&AI2!A;F0@9&ES=')I8G5T92!M;V1I9FEE9"!V97)S:6]N6EN9RP@<')O=FED960@=&AA=`IT:&4@96YT:7)E(')E&-E<'0@=&AA="!T:&ES('!E2!B92!S=&%T960@:6X@80IT2!T:&4@1F]U;F1A=&EO;BX*"B`@(%1H:7,@9FEL92!D;V-U;65N=',@1TY5 M(&!T87(G+"!W:&EC:"!I'0Z($%D=F%N8V5D('1A2!AF4@86X@96UP='D@87)C:&EV92!A;F0@ M;&%T97(@=7-E(&`M+6%P<&5N9"<@*&`M2!F;W(@8'1A2!A M(&UA9VYE=&EC('1A<&4@=VET:"!A;B!E;7!T>0H@("`@(&%R8VAI=F4H,2DN M("!4:&4@='=O(&UO3H@:V5Y6)O87)D+B`@26YS=&5A9"!O9B!B96EN9R!U;G!A8VME9"P@=&AE"B`@ M("`@("`@("!A65D+B`@ M5VAE;B!U2!UFEN9R!T:&4@9G5L M;"!C;VYS97%U96YC92!O9B!D;VEN9R!S;RX@(%1H90H@("`@("`@("`@=7-U M86P@8V]NFEN9R!T:&4@;&EK96QI:&]O M9"!A;F0@=&AE(&-A=&%S=')O<&AI8V%L(&YA='5R92!O9@H@("`@('1H97-E M(&5R2!S=&EL;`H@("`@('5S92P@ M87,@=&AE('9A;'5E(&9O2P@<&5O<&QE('EO=2!S:&]U;&0@9V5T M('5S960@=&\@25-/(#@V,#$@9&%T97,N("!,;V-A;`H@("`@($%M97)I8V%N M(&1A=&5S('-H;W5L9"!B92!M861E(&%V86EL86)L92!A9V%I;B!W:71H(&9U M;&P@9&%T90H@("`@(&QO8V%L:7-A=&EO;B!S=7!P;W)T+"!O;F-E(')E861Y M+B`@26X@=&AE(&UE86YT:6UE+"!P2!T;R!G;RX* M"B`@("`@3&]O:R!U<"!@:'1T<#HO+W=W=RYF="YU;FDM97)L86YG96XN9&4O M?FUS:W5H;B]I'!L86YA=&EO;B!O9B!T:&4@ M25-/"B`@("`@.#8P,2!S=&%N9&%R9"X*"B`@("TM+2TM+2TM+2T@1F]O=&YO M=&5S("TM+2TM+2TM+2T*"B`@("@Q*2`@5&AI"UH871E2!3:6US;VX*1V%R9FEN M:V5L+"!$86YI96P@5V5I6]U"G!R;V)A8FQY('=O;B=T('5S92!O;B!A M(&1A:6QY(&)A2!A2!A;F0@9FEL97,@=&AA="!Y;W4@8W)E871E9"!I;@IT:&4@;&%S="!C M:&%P=&5R+B`@07,@>6]U(&UA>2!R96-A;&PL('1H92!D:7)E8W1OGHG+"!@8FQU M97,G+"!@9F]L:R6]U"F9O;&QO=R!I;B!T:&ES(&-H87!T97(@=VEL;"!T86ME('!L M86-E(&EN('1H92!@<')A8W1I8V4G(&1I2!T:&%T"GEO=2!C6]U(&]F('1H92!S=&%T92!O9B!T:&4@97AA;7!L97,* M=VAE2!E>&ES=',N"@I@+2UU<&1A M=&4G"F`M2!E>&ES="X*"F`M+6-O;F-A=&5N871E)PI@+2UC871E;F%T92<*8"U! M)PH@("`@($%D9"!O;F4@;W(@;6]R92!P&ES=&EN9R!!6]U(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A6]U(&YE960@ M=&\@'0Z(&1E;&5T92P@(%!R978Z('5P9&%T92P@(%5P.B!!9'9A;F-E9"!T87(* M"D-O;6)I;FEN9R!!6]U('-H;W5L9"!U6]U(&1O;B=T(&QIGHN=&%R)RP@=7-I;F<@=&AE(')E;&5V86YT(&9I;&5S"F9R;VT@8'!R86-T M:6-E)SH*"B`@("`@)"!T87(@+6-V9B!B;'5EGHN=&%R(&9O;&L@:F%Z>@H@("`@(&9O;&L*("`@("!J87IZ"@I) M9B!Y;W4@;&EK92P@66]U(&-A;B!R=6X@8'1AGIF;VQK+G1A<@H*("`@268@>6]U(&YO=R!L:7-T('1H M92!C;VYT96YT6]U('=I;&P@ MF9O;&LN=&%R)SH*"B`@("`@)"!T87(@+2UL:7-T("TM M9FEL93UB;'5E@H@("`@(&9O;&L*"B`@(%=H96X@>6]U('5S92!@+2UC;VYC871E;F%T M926]U('1O('=A;G0@;W(@=')Y('1O('5S92!@8V%T)R!T;PIC;VYC871E M;F%T92!T=V\@87)C:&EV97,@:6YS=&5A9"!O9B!U2!F;W(@8V]M8FEN:6YG(&9I;&5S+@H*("`@2&]W979E2!T:&4@2!T:&4@=&%R9V5T"F%R8VAI=F4L(&!T87(G('5S97,@=&AE('9A;'5E M(&]F('1H92!E;G9I2!T:&4@;F%M92!O9B!T:&4@87)C:&EV92!W:71H(&`M+69I;&4] M05)#2$E612U.04U%)PHH8"UF($%20TA)5D4M3D%-12'1R86-T)R`H M8"TM9V5T)RP@8"UX)RDL('EO=0IM=7-T(&=I=F4@=&AE(&5X86-T(&UE;6)E M2!T;PIS8W)A;6)L92!T:&4@87)C:&EV92!A;F0@9&%M M86=E('EO=7(@=&%P92X@(%1H97)E(&ES(&YO('-A9F4@=V%Y"BAE>&-E<'0@ M8GD@8V]M<&QE=&5L>2!R92UWGH*("`@("!R;V-K"B`@("`@<')A8W1I8V4O8FQU M97,*("`@("!P@H@("`@ M('!R86-T:6-E+W)O8VL*("`@("!P@H@("`@(')O8VL*("`@("`D"@H@("!4:&4@8"TM9&5L971E)R!O M<'1I;VX@:&%S(&)E96X@2!W:&5N M(&!T87(G"F%C=',@87,@82!F:6QT97(@9G)O;2!@F4L(&UO9&4L(&]W;F5R M+"!M;V1I9FEC871I;VX@9&%T92!A;F0@8V]N=&5N=',N"EEO=2!S:&]U;&0@ M*F]N;'DJ('-P96-I9GD@87)C:&EV92!M96UB97(@;F%M97,L(&YO="!F:6QE M(&YA;65S+B`@268@>6]U"F1O(&YO="!N86UE(&%N>2!M96UB97)S+"!T:&5N M(&!T87(G('=I;&P@8V]M<&%R92!T:&4@96YT:7)E(&%R8VAI=F4N"DEF(&$@ M9FEL92!I7-T96T@=&AA="!D;R!N;W0@ M:&%V90IC;W)R97-P;VYD:6YG(&UE;6)E7-T96T@=VAE6]U(&%R92!R=6YN:6YG(&!T87(G(&%N M9"!T:&4@=F5R2!H879E M(&$@9&EF9F5R96YT(&5R"'0Z(%=R:71I;F'1R86-T(&]P=&EO;G,L("!5<#H@97AT6]U"F]B=&%I;B!A(&9U;&P@'1R86-T)R`H8"TM9V5T)RP@8"UX)RD@;W(@8"TM;&ES="<* M*&`M="2!D969A=6QT('=H96X*8'1A"!S>7-T96US+"!A='1E;7!T M:6YG('1O(')E860@82!P:7!E(')E='5R;G,*:&]W979E6]U)W)E M(&YO="!S=7)E(&]F('1H92!B;&]C:VEN9R!F86-T;W(@;V8@86X@87)C:&EV M92P@>6]U(&-A;@IR96%D('1H92!A'0Z M($EG;F]R92!:97)O"2P@8'1A2!I;F1I8V%T97,@=&AE(&5N9"!O9B!T M:&4@87)C:&EV92DN"F`M+6EG;F]R92UZ97)OF5R;W,G"F`M:2<*("`@("!4;R!I9VYO'1R86-T)R`H8"TM M9V5T)RP@8"UX)RD@;W(@8"TM;&ES="<@*&`M="'1R86-T M(&]P=&EO;G,*"D-H86YG:6YG($AO=R!@=&%R)R!77-T96T[(&DN92XL M(&9I;&5S('=I=&@@=&AE('-A;64*;F%M97,@87,@87)C:&EV92!M96U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6]U&%M<&QE+"!S=7!P;W-E(&]N92!H M87,@86X*87)C:&EV92!I;B!W:&EC:"!@=7-R+VQO8V%L)R!I6UB;VQI M8R!L:6YK+"!F;W(@97AA;7!L92P@8G5T("IO;FQY(&EF*B!@+2UR96-U2!R M96UO=F5D+@H*'PI&:6QE.B!T87(N:6YF;RP@($YO9&4Z($UO9&EF:6-A=&EO M;B!4:6UE'0Z(%-E='1I;F<@06-C97-S(%!E'1R86-T960@9FEL97,@ M8GD@=&AE(&-U"'1R86-T960@ M87)C:&EV92!M96UB97)S('1O('1H92!T:6UE"B`@("`@=&AE>2!W97)E(&5X M=')A8W1E9"P@;F]T('1H92!T:6UE(')E8V]R9&5D(&9O"7-T96TL('5S92!@+2UT M;RUS=&1O=70G("A@+4\G*2!I;@IC;VYJ=6YC=&EO;B!W:71H(&`M+65X=')A M8W0G("A@+2UG970G+"!@+7@G*2X@(%1H:7,@;W!T:6]N(&ES('5S969U;"!I M9@IY;W4@87)E(&5X=')A8W1I;F<@9FEL97,@=&\@7-T96TN("!)9B!Y;W4@97AT2!A2!B92!U6]U(&%R92!O;FQY(&5X=')A M8W1I;F<@=&AE(&9I;&5S"B`@("`@:6X@;W)D97(@=&\@'1R86-T)R`H8"TM9V5T)RP@8"UX)RD@;W(@8"TM;&ES M="<@*&`M="6]U(&%R92!N;W<@ M97AT7-T96TL(&%N9"!T M:&5N(')E2X@(%5S92!I;B!C;VYJ M=6YC=&EO;B!W:71H(&`M+6-O;7!A'1R86-T960@:7,@2!B92!C'1R86-T(&]P=&EO M;G,L("!5<#H@;W!E'1R86-T960@;65M8F5R2!P7-T96US(&AA=FEN9R!F:6QE(&YA;64@;&EM:71A=&EO;G,L(&UA M:VEN9R!D:69F97)E;G0*;65M8F5R2!I9B!W92!H879E(&$@9V]O M9"!S8VAE;64@9F]R('1R=6YC871E9`IB86-K=7`@;F%M97,L('=H:6-H($DG M;2!N;W0@2!E>&ES=&EN9R!F:6QE(&ES(&)A8VME M9"!U<"!B969O2!B90IR96YA M;65D('1O(&)E('5N:7%U92P@86YD('1H92!T2!T:&4@;&%S="!F:6QE"F]F(&$@2!W:&%T(&AA<'!E;G,N"@H@("!!="!T:&4@9&5T86EL(&QE M=F5L+"!S;VUE(&1E8VES:6]N2!A;F0@969F:6-I96YC>2P@8F%C M:W5P0IR96YA;6EN9R!O;&0@9FEL97,@<')I;W(@=&\@ M8W)E871I;VX@;W(@97AT2!C;W!Y:6YG+@I4 M:&4@;W)I9VEN86P@;F%M92!I&ES=&EN9R<*("`@ M("`@("`@($UA:V4@;G5M8F5R960@8F%C:W5P'!R97-S('1H92!D97-I2!D969I;FEN9R!S;VUE(&MI;F0@;V8@86QI87,@ M;W(@2!A6QE(&]P=&EO;G,@6QE(&]P=&EO M;G,L('EO=2!M87D@2!B>2!M86EL*2X*0F]T:"!M86-H:6YE&%M<&QE+"!H97)E(&ES(&AO=R!Y;W4@;6EG:'0@8V]P>2!A(&1I2=S(&-O;G1E;G1S(&9R;VT*;VYE(&1I"!R961I&8@+2D*"E1H92!C;VUM86YD(&%L'1R86-T M("TM9FEL93TM*0H*5&AI'!E8W0@=&\@87)C:&EV92!T:&4@2!L:7-T(&]N('1H92!C;VUM86YD(&QI;F4L"GEO=2!C86X@;&ES="!T:&4@ M;F%M97,@:6X@82!F:6QE+"!A;F0@8'1A7,@ M;V8@8V%U2!B92!S871I2!A2!*86UE2!5;FEX('-YF4*("`@("`N("`M(&%C='5A;"!T97AT(&]F('-CF5S(&%N9"!T>7!E2!O2!D96QE=&5D*2X@($9I;&4@&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/doc/tar.info-3:' 'MD5 check failed' c2d0ceffc7bf95a8dc940fef23a5fe14 tar-1.12/doc/tar.info-3 SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/doc/tar.info-3'`" test 46885 -eq "$shar_count" || $echo 'tar-1.12/doc/tar.info-3:' 'original size' '46885,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/doc/tar.info-4 ============== if test -f 'tar-1.12/doc/tar.info-4' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/doc/tar.info-4' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/doc/tar.info-4' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/doc/tar.info-4 M5&AI7)I9VAT M(&YO=&EC92!A;F0@=&AI2!A;F0@9&ES=')I8G5T92!M;V1I9FEE9"!V97)S:6]N6EN9RP@<')O=FED960@=&AA=`IT:&4@96YT:7)E(')E&-E<'0@=&AA="!T:&ES('!E2!B92!S=&%T960@:6X@80IT2!T:&4@1F]U;F1A=&EO;BX*"B`@(%1H:7,@9FEL92!D;V-U;65N=',@1TY5 M(&!T87(G+"!W:&EC:"!I2!N M;W0@8F4@6]U(&-A;@IT96QL('=H870@=&AI7-T96TG("A@+6PG*2!O<'1I M;VX@=&\@<')E=F5N="!@=&%R)R!F7-T96T@ M8F]U;F1A2!O9B!E=F5R>71H M:6YG(&EN('1H92!F:6QE2X@(%1H:7,@=VEL;"!A M;'-O"F1E=&5C="!C87-E2X*"B`@ M(&`M+6QI&ES M=',L('5S97,@=&AA="!F:6QE('1O('-E90IW:&%T(&AA7-T M96TN("!7:&5N('1H92!@+2UI;F-R96UE;G1A;"<@*&`M1R2!N;W0@8F4@2!A(&YU;&P* M8VAA2!A;B!A M9&1I=&EO;F%L(&YU;&P@86YD(&$*;F5W;&EN92!T;R!I;F1I8V%T92!T:&4@ M96YD(&]F('1H92!D871A+@H*("`@268@=&AE(&`M+6EN8W)E;65N=&%L)R`H M8"U')RD@;W!T:6]N(&ES('5S960@=VET:"!@+2UE>'1R86-T)PHH8"TM9V5T M)RP@8"UX)RDL('1H96X@=VAE;B!T:&4@96YT6]U(&%R92!R97-T;W)I M;F<@82!D86UA9V5D(&9I;&4*6]U(&1O;B=T('5S M92!@+2UI;F-R96UE;G1A;"<@*&`M1R7-T96T@=VEL M;`IP2!F:6QL('5P('=I=&@@9FEL97,@=&AA="!S:&]U;&1N)W0@ M97AI2!N86UE2!W2H@9'5M<"!O;F-E(&$@=V5E:R!O9B!E M=F5R>71H:6YG('-I;F-E('1H92!L87-T(&UO;G1H;'D@86YD(&$**F1A:6QY M*B!E=F5R>2!D87D@;V8@979E2!O9B!T M:&4@2!T;R!B92!U2=S"FEN8W)E;65N=&%L(&1U;7`@=VEL;"`J;F]T*B!S=&]R92!F:6QE M2!T:&4*87)C:&EV92!I2!T M:&4@:&EG:"!B;&]C:VEN9R!F86-T;W(@*#$R-BD@:7,*=7-E9"X@(%1H92!T M87!E(&1R:79E(&UU7-T96US+B`@06X@87)C:&EV92!C86YN;W0@8F4@97AT2!B92!U2!F;W(@ M82!D:7)E8W1O2!A="!T:&4@=&EM92!T:&4*87)C:&EV92!W87,@ M8W)E871E9"!A;F0@82!F;&%G(&9O7-T96T@=&AA="!D:60@;F]T M"F5X:7-T(&EN('1H96ER(&1I7-T96T@=VEL;"!P0IF:6QL('5P('=I=&@@9FEL97,@=&AA M="!S:&]U;&1N)W0@97AI2!I M;B!T:&4@87)C:&EV92P@=&AE(&QI2!F;W(@:'5M86YS('1O(')E860L(&)U="!W:&EC:`II2!E:71H97(@80I@62<@:68@=&AE(&9I;&4@:7,@<')E7-T96T@870@=&AE('1I;64@;V8*=&AE(&QA&ES="!W M:&5N('1H:7,@;W!T:6]N(&ES('-P96-I9FEE9"P@8'1A7-T96T@:7,@8V%L;&5D(&$*(F9U;&P@8F%C:W5P(B!O6]U2X@(%1H:7,@0IR92UA7!I8V%L(&1U;7`@2X@(%1H:7,@;65A;G,@2`H9G5L;"D@9'5M<"!A;F0@=&AE(&QA2!I6]U('5S92!T M:&5S92!S8W)I<'1S+"!Y;W4@;F5E9"!T;R!E9&ET('1H92!F:6QE"F!B86-K M=7`M'1R86-T960@=7-I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T@2!D97-C96YD2!H879E('1O('5S92!T:&4*8"$@+60G(&]P=&EO;B!T M;R!@9FEN9"<@(&%S('1H97D@=7-U86QL>2!D;R!N;W0@=V%N="!A;&P@=&AE M(&9I;&5S(&EN(&$*9&ER96-T;W)Y+B`@5&AE>2!T:&5N('5S92!T:&4@>TYO M(%9A;'5E($9O0IE;G1R M:65S(&=I=F5N('1O(&ET+"!A9&1I;F<@;F\@;F5W(&9I;&5S(&]N(&ET2!A=71O;6%T:6-A M;&QY(&-R;W-S(&9I;&4@2!A9F9E8W1S(&9I;&5S('1H870@87)E M"F%R8VAI=F5D(&)E8V%U2!A2!R97-I M9&4N"@I@+2UO;F4M9FEL92US>7-T96TG"F`M;"<*("`@("!02!W2!I=',@;F]R;6%L"F)E M:&%V:6]R(&EN(&%R8VAI=FEN9R!T:&4@8V]N=&5N=',@;V8@9&ER96-T;W)I M97,N("!)9B!A(&9I;&4@:6X@80ID:7)E8W1O7-T96T@87,@=&AE(&1I2!I='-E;&8L('1H96X* M8'1A2!I='-E;&8L"F!T87(G('=I;&P@;F]T(&%R8VAI M=F4@86YY=&AI;F<@8F5N96%T:"!I=#L@:6X@;W1H97(@=V]R9',L(&!T87(G M('=I;&P*;F]T(&-R;W-S(&UO=6YT('!O:6YT3HZ("`@("`@("`@("`@("`@("`@($-H86YG:6YG($1I M0HJ(&%B0HM+2TM+2TM+2TM+2TM M+2TM+2TM+2TM+2TM+2TM+2T*"B`@("`@*BA4:&ES(&UE2!T:&4@9FEL92!@8VAE2!U2!S97!A223L@:68@=&AE M(&%R8VAI=F4@:7,@97AT2X*"B`@($-O;G1R87-T('1H:7,@=VET:"!T:&4@ M8V]M;6%N9"P*"B`@("`@)"!T87(@+6,@+68@:F%M'1R86-T960@=7-I M;F<@8'1A2<@;W!T:6]N+@H*("`@5VAE;B!U2<@;W!T:6]N&-E<'0@:70@86QS;R!T=7)N'1R86-T960@=VAE M6]U('=A;G0L(&EN'1R86-T:6YG('1H92!M96UB97(@:6X@=&AE(&5X86-T(&1I2!N86UE9`II;B!T:&4@87)C:&EV92X@($9O&%M<&QE+"!I9B!T:&4@ M87)C:&EV92!M96UB97(@:&%S('1H92!N86UE"F`O971C+W!A0I@971C+W!A2!W:6QL(&)E(&1I9F9I8W5L=`IF;W(@;W1H97(@<&5O<&QE('=I=&@@ M82!N;VXM1TY5(&!T87(G('!R;V=R86T@=&\@=7-E+B`@5&AE6]U(&%S:R!@=&%R)R!T;R!A9&0@=&AE M"F9I;&4@8"]B:6XO;',G('1O(&%N(&%R8VAI=F4L(&ET('=I;&P@9&\@'1R86-T(&9I;&5S(')E;&%T:79E M('1O('1H92!R;V]T(&1I2P@0IT:&4@8"TM86)S;VQU M=&4M;F%M97,G("A@+5`G*2!O<'1I;VXN"@H@("!.;W)M86QL>2P@8'1A2!N86UE6]U(&]N;'D@:6YV;VME9"!@=&%R)R!F M2!Y;W4@=V]U;&0@;F5V97(@;F5E9`IT M:&4@8"TM86)S;VQU=&4M;F%M97,G("A@+5`G*2!O<'1I;VXL(&)U="!U2!F:7)S="P@86YD('1H96X@879O:60@86)S;VQU=&4@ M;F]T871I;VXN("!&;W(@97AA;7!L93H*"B`@("`@)"`H8V0@+R`F)B!T87(@ M+6,@+68@87)C:&EV92YT87(@:&]M92D*("`@("`D('1A&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/doc/tar.info-4:' 'MD5 check failed' 2d804166589c4c98db2127b7a9b4345e tar-1.12/doc/tar.info-4 SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/doc/tar.info-4'`" test 50645 -eq "$shar_count" || $echo 'tar-1.12/doc/tar.info-4:' 'original size' '50645,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/doc/tar.info-5 ============== if test -f 'tar-1.12/doc/tar.info-5' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/doc/tar.info-5' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/doc/tar.info-5' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/doc/tar.info-5 M5&AI7)I9VAT M(&YO=&EC92!A;F0@=&AI2!A;F0@9&ES=')I8G5T92!M;V1I9FEE9"!V97)S:6]N6EN9RP@<')O=FED960@=&AA=`IT:&4@96YT:7)E(')E&-E<'0@=&AA="!T:&ES('!E2!B92!S=&%T960@:6X@80IT2!T:&4@1F]U;F1A=&EO;BX*"B`@(%1H:7,@9FEL92!D;V-U;65N=',@1TY5 M(&!T87(G+"!W:&EC:"!I'0Z($9O7)A;FYI8V%L(&=O9"!C;VYT0H@("`@(&-I7-T M96T@;V8@=&5M<&]R86P@8V%L8W5L871I;VX@2!A6YT87@@:&5R92!C86X@2!P;W-S:6)L92!T:6UE('-I;F-E"GIE2!A;&QO=V5D(&]N"E5N:7@@6YT87@L("!. M97AT.B!#86QE;F1A2!E;7!T>2P@8V]N=&%I;FEN9R!M86YY(&ET96US M"G-E<&%R871E9"!B>2!W:&ET97-P86-E+B`@5&AE('=H:71E2!I=&5M7!E2!O9B!T M:&4@=V5E:R!I=&5M&%C=&QY("TQ+@H*("`@5VAE;B!A(&UO;G1H(&ES('=R:71T M96X@=&AI2!I9VYO6YT87@L("!5<#H@1&%T M92!I;G!U="!F;W)M871S"@I#86QE;F1A2!O9B!T:&4@>65A2P@9&5P96YD:6YG(&]N('=H971H97(@=&AE(&UO;G1H(&ES('-P96-I M9FEE9"!N=6UE2!O<@IL:71E2!D969A=6QT M+@H@("`@(#&%M<&QE.@H*("`@("`Y+S$W"B`@ M("`@2!P;W-I=&EV92!N M=6UB97(L($U/3E1((&ES(&$@;G5M8F5R(&)E='=E96X@,#$@86YD(#$R+`IA M;F0@1$%9(&ES(&$@;G5M8F5R(&)E='=E96X@,#$@86YD(#,Q+B`@02!L96%D M:6YG('IE22!I=&5M+"`@3F5X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0@870@=&AA=`IT:6UE*2!'3E4@8'1A2!G2!C:&]I8V4@=V]U;&0@8F4@=&\@9')O<"!@871I;64G(&%N9`I@8W1I M;64G('-U<'!O0ID969A M=6QT+"!)('1H:6YK('1H870@8F5F;W)E(')E<&QY:6YG('1O('1H96TL('=E M(&AA=F4@=&\@9&5C:61E(&EF('=E"G=A;G0@1TY5(&!T87(G('1O(&=O(&-L M;W-E2!P;VEN="!O9B!N;W0@=')Y:6YG('1O M('-A=F4*9FEL97,@87,@'1E;G-I;VX@8FQO8VLL(&EN65A'1E;F1E9"!A'1E;G-I;VYS M+`IU"<@9FQA9R!F;W)C:6YG('1H92!U2!03U-)6"!H M96%D97)S+"!A;F0@"<@86YD(&]T:&5R(%!/4TE8(&!T87(G+@H*("`@ M26X@82!F97<@>65A0IL;VYG(&9I;&4@;W(@;&EN:R!N86UE M'1E;G-I;VYS('=I M;&P*=7-E(%!/4TE8(&AE861E"2P@=W)O;F=L>2!D96-I9&4@=&AO6EN9R!T M:&%T(&$@;&]T(&]F('!E;W!L92!M87D@9V\@87)O=6YD"F1O:6YG(&)A8VMU M<"!O9B!T:&5I2P@1TY5(&!T87(G(&AA7-T96TL('1H M97D@FEN9R!T:&%T('1H92!C M:&5C:W-U;7,*=V5R92!C;VUP=71E9"!D:69F97)E;G1L>2P@8F5C875S92!O M9B!A(&-H86YG92!I;B!T:&4@9&5F875L="!S:6=N:6YG"F]F(&!C:&%R)R=S M(&EN('1H96ER(&-O;7!I;&5R+B`@4V\@=&AE>2!S=&%R=&5D(&-O;7!U=&EN M9R!C:&5C:W-U;7,*=W)O;F=L>2X@(%=H96X@=&AE>2!L871E2!D96-I9&5D"G1O('-T87D@ M8V]M<&%T:6)L92!W:71H(&ET+"!A;F0@=VET:"!T:&5M'0Z($%T=')I8G5T97,L("!0 M2P@(%5P.B!&;W)M871S"@I5'0Z('-P87)S92P@(%!R978Z($-O;7!R97-S:6]N+"`@57`Z M($-O;7!R97-S:6]N"@I#B<*8"TM9WII<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P)R`H8"TM9W5N>FEP M)RP@8"TM=6YG>FEP)RP@8"UZ)RD@;W(@8"TM8V]M<')EFEP+"`@57`Z($-O;7!R97-S:6]N"@I! M2!I9B!T:&5Y(&%R92X@(%1H92!@+2US<&%R2!@9&)M)R!F:6QE2!B92!R96UO=F5D+"!A;F0@=&AE('1E2!H879E(")H;VQE2!F:6QE('5S:6YG(&QE'1R86-T:6]N("AU6]U"G5S92!@ M+2US<&%R0IT:&4@8"TM7-T96T@8F%C:W5P'!A;F1E9"!F;W)M2!I;B!T:&4@2!B M90H@("`@(&-R96%T960@:6X@=&AE(&9U='5R92X@($EF('EO=2!U7-T96T@ M8F%C:W5P2!M87D@ M2!B92!S;6%L;"X@("A/;F4@=7-E M71E2!A8F]U="`S(&UE9V%B>71E M2`J M;F]T*B!U0IE>&%M:6YI;F<@=&AE(&9I;&4@ M&%C=&QY('=H97)E('1H92!H;VQE2!D871A(&ET(&YE960@ M2!D M:69F:6-U;'0@=&AA="!I="!D;V5S(&]T:&5R=VES92X@($5L:7IA8F5T:"!: M=VEC:WD@=W)I=&5S('1O"F!C;VUP+G5N:7@N:6YT97)N86QS)RP@;VX@,3DY M,"TQ,BTQ,#H*"B`@("`@5VAA="!)(&1I9"!S87D@:7,@=&AA="!Y;W4@8V%N M;F]T('1E;&P@=&AE(&1I9F9E2P@8V%R90H@("`@('=H870@8'-T7V)L;V-K&%M<&QE M2!I M;6%G:6YA8FQE*2X*"B`@("`@22!C;VYC;'5D92!F6]U('=A;G0@82!P;W)T86)L M92!P&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/doc/tar.info-5:' 'MD5 check failed' 2732ae4a72a4db6ef66d0bdc1c8aeb44 tar-1.12/doc/tar.info-5 SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/doc/tar.info-5'`" test 46268 -eq "$shar_count" || $echo 'tar-1.12/doc/tar.info-5:' 'original size' '46268,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/doc/tar.info-6 ============== if test -f 'tar-1.12/doc/tar.info-6' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/doc/tar.info-6' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/doc/tar.info-6' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/doc/tar.info-6 M5&AI7)I9VAT M(&YO=&EC92!A;F0@=&AI2!A;F0@9&ES=')I8G5T92!M;V1I9FEE9"!V97)S:6]N6EN9RP@<')O=FED960@=&AA=`IT:&4@96YT:7)E(')E&-E<'0@=&AA="!T:&ES('!E2!B92!S=&%T960@:6X@80IT2!T:&4@1F]U;F1A=&EO;BX*"B`@(%1H:7,@9FEL92!D;V-U;65N=',@1TY5 M(&!T87(G+"!W:&EC:"!I2!W97)E(')E860L('5S92!T:&4@8"TM871I;64M M<')E6]U(&1O;B=T(&]W;BP@=6YL97-S('EO=2=R92!R;V]T+"!A;F0* M:70@9&]E2`H*FYO=&4@0F%C:W5P'1R86-T M960L"B`@("`@:6YS=&5A9"!O9B!S971T:6YG(&ET('1O('1H92!T:6UE(')E M8V]R9&5D(&EN('1H92!A2!F;W(@;F]N+7)O;W0@=7-E&5C=71E9"!O;B!T:&]S92!S>7-T96US M(&%B;&4@=&\@9VEV92!F:6QE2!P96]P;&4L(&%T(&QE M87-T"B`@("`@8F5C875S92!I="!M86ME2!O8V-U<'DN("!!;'-O+"!T:&4@8'-U:60G(&]R(&!S9VED)R!A M='1R:6)U=&5S"B`@("`@;V8@9FEL97,@87)E(&5A2!A;F0@'1R86-T M:6]N('5S:6YG('1H92!N=6UE2!W:71H(&1I9F9E M2!T:&4@=W)I=&4@<&5R;6ES'1R86-T(&%L M;"!P'1R86-T960@9FEL97,N"@H@("`@ M(%1H:7,@;W!T:6]N(&ES(&UE86YI;F=L97-S('=I=&@@8"TM;&ES="<@*&`M M="'1E;G-I;VYS+"`@4')E=CH@ M071T2!F:6QE2!O=&AE2!D97-C2!B92!T:&]U9VAT(&]F(&%S"F)E:6YG(&]N(&UA9VYE M=&EC('1A<&4L(&]T:&5R(&UE9&EA(&%R92!O9G1E;B!UF5R M;R!OF5R;W,@87,@ M86X@96YD+6]F+69I;&4@;6%R:V5R+B`@02!R96%S;VYA8FQE('-YF4L('=I=&@@8FQO8VMS M(&%F=&5R('1H92!Z97)O(&)L;V-K(&-O;G1A:6YI;F<*86QL('IE7-T96T@ MF5R;R!B;&]C:RX*"B`@ M(%1H92!H96%D97(@8FQO8VL@:7,@9&5F:6YE9"!I;B!#(&%S(&9O;&QO=W,N M("!);B!T:&4@1TY5(&!T87(G"F1I2!U2!B92!S970@9F]R(&5N9F]R8VEN9R!S=')I8W1EF5R;R!O M"!O65A%LQ-35=.R`@("`@("`@("`@("`O*B`S-#4@*B\*("`@("`@("`@ M("`@("`@("`@("`@("`@("`@("`@("`@("`@("\J(#4P,"`J+PH@("`@('T[ M"B`@("`@"B`@("`@(V1E9FEN92!434%'24,@("`B=7-T87(B("`@("`@("`O M*B!U2`J+PH@("`@("-D969I;F4@1DE&3U194$4@)S8G M("`@("`@("`@("`@+RH@1DE&3R!S<&5C:6%L("HO"B`@("`@(V1E9FEN92!# M3TY45%E012`G-R<@("`@("`@("`@("`O*B!R97-E&5C=71E+W-E87)C:"!B>2!O=VYE2!G2!O=&AE'1E;G-I;VYS+B`@?`H@("`@ M(&`M+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM*B\*("`@ M("`*("`@("`O*B!);B!'3E4@=&%R+"!364U465!%(&ES(&9O6UB M;VQI8R!L:6YK6)E(&1I2!M96%N="!T;R!U2!E>'1E;G-I;VYS(&%L;&]W960@8GD@4$]325@L(&)U="!T:&4@2!D;R`J;F]T*@H@("`@("`@(')E<75I7!E M9FQA9R!I'1E;G-I;VXN("`J+PH@("`@(`H@("`@ M('-T'1R85]H96%D97(*("`@("![("`@("`@("`@("`@("`@("`@ M("`@("`@("`@("`@("\J(&)Y=&4@;V9F2!A9G1E'1R82!H96%D97(N("!4:&5R92!M:6=H="!E=F5N(&)E(&UA M;GD@'1E;G-I;VX@:&5A9&5R2!F;V]L(&]L9"!'3E4@=&%R)W,L(&%N9"!03U-)6"!T M87(G2!T:&4@<')E9FEX(&9I96QD(&EN M(&$@4$]325@@:&5A9&5R+"!A;F0@8W5M=6QA=&5S(&EN9F]R;6%T:6]N"B`@ M("`@("`@;F]R;6%L;'D@9F]U;F0@:6X@82!'3E4@97AT2!03U-)6"!H96%D97(@;F]R($=.52!E>'1R82!H96%D97(N("!3 M=7!P;&5M96YT87)Y('-P87)S90H@("`@("`@(&AE861ER`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`O*B!B M>71E(&]F9G-E="`J+PH@("`@("`@8VAAF5;,3)=.R`@("`@("`@("`@("\J(#0X,R`J+PH@("`@("`@ M("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@+RH@-#DU("HO"B`@("`@ M?3L*("`@("`*("`@("`O*B!/3$1'3E5?34%'24,@=7-E2!B96-O;64@;V)S;VQE'0J(&9I;&4@;VX@=&AE('1A<&4@87,@:&%V:6YG(&$@;&]N9R!N86UE+B`@ M*B\*("`@("`C9&5F:6YE($=.55194$5?3$].1TY!344@)TPG"B`@("`@"B`@ M("`@+RH@5&AIPH@ M("`@("`@8VAA'1R85]H96%D97(["B`@("`@("!S=')U8W0@;VQD9VYU7VAE861E71E'0@9FEL97,@9G)O;2!B:6YA2!N86UE6EN M9R!T:&]S92!S<&5C:6%L('!E2!T:&4@;W!EF4@;V8@=&AE(&9I;&4@:6X@ M8GET97,[(&QI;FME9"!F:6QEF5D('1O('IE7!E+"!T M:&4@9FEL92!W:6QL(&)E(&5X=')A8W1E9"!A2!S=&]R92P@2!T:&4@8"TM;75L=&DM=F]L=6UE)R`H8"U-)RD@;W!T:6]N+"!W:&5N"FUA M:VEN9R!A(&UU;'1I+79O;'5M92!A2!F7!E M(&9I;&5S"G=H:6-H(&AA=F4@9&%T82!A="!S;VUE('!O:6YT2!L87)G92!W:&5N(&%N(&!L M2X@(%1H=7,L('-P87)S92!F:6QE2!I="!L;V]K960@8F5F;W)E:&%N9"X@(%1H M92!F;VQL;W=I;F<@:7,@80ID97-C2!O9B!@71E2!E;&5M96YT+@H*("`@5&AE(&AE M861E'1E;F1E9"<@ M9FQA9R!I2!S970@:6X@=&AE M(&5V96YT('1H870*=&AE(&1E2X*("`@("!/<&5R871I;F<@&EM=6T@ M;G5M8F5R(&]F(&)Y=&5S("AW:&EC:"!M87D@8F4@0H@("`@(&AO;&0N("!!(&!S:7IE)R!F:65L M9"!O9B!Z97)O(&EN9&EC871EF4G(&9I96QD+@H* M8$9)1D]465!%)PH@("`@(%1H:7,@&ES=&5N8V4@;V8@=&AI7-T96US('=H:6-H('-U<'!O2!T2X@($EF(&9O=6YD+"!T:&4@=7-E'1E;G-I M;VYS+"`@3F5X=#H@8W!I;RP@(%!R978Z(%-T86YD87)D+"`@57`Z($9O7!E2!T:&4*("`@("!@+2UI M;F-R96UE;G1A;"<@*&`M1R2!E:71H97(@82!@62<@*'1H92!F:6QE('-H;W5L9"!B92!I;B!T:&ES M(&%R8VAI=F4I(&]R(&%N(&!.)RX*("`@("`H5&AE(&9I;&4@:7,@82!D:7)E M8W1O71E7!E(&ES('5S960@=&\@;6%R:R!T:&4@=F]L=6UE(&AE861EF4G(&9I96QD(&ES('IE'1E;G-I;VYS+"`@ M57`Z($9O&EM=6T@<&%T:&YA;64*;&5N9W1H6UL:6YK7-T96T@=VET:&]U="!E;FAA;F-I;F<@8&-P:6\G('1O(&MN;W<@86)O=70@ M=&AE;2X@($]T:&5R2!O M=&AE6UB;VQI8R!L:6YK71H:6YG('1O"F5N:&%N8V4@8'1A7-T96T@24E)+"!3>7-T96T@5BP@86YD(&QA=&5R M($)31"`H-"XS+71A:&]E(&%N9`IL871E2!O M9B!H86YD;&EN9R!M=6QT:7!L92!H87)D(&QI;FMS('1O(&$@9FEL92!C86X@ M:&%N9&QE"F9I;&4@6]U('1O('!L87D@7-T96T@240O:2UN=6UB97(@<&%I6]U(&-A;B!U2D@ M:7,@=7-E9"P@86YD(&AO=R!I2!@8W!I;R<@=V%S(&UA9&4@=VAE;B!@=&%R M)R!W87,@<')E2UA=F%I;&%B;&4@=F5R2!V97)S:6]N('1H870@=V%S(&=E;F5R86QL>2!A=F%I;&%B;&4@*G=I=&AI M;B!!5"94*B!H860*8'1A2!T;R!R97-T;W)E('1H M92!R97-T"F]F('1H92!F:6QE6YT87@@86YD(&AE861E71H:6YG(&ES(&)L;V-K960*=&\@2!D:69F97)E;F-E M2!I="!S:&]U;&0@8F4@96%S M:65R('5N9&5R(&!T87(G('-I;F-E('1H92!B;&]C:VEN9PIL971S('EO=2!F M:6YD(&$@:&5A9&5R('=I=&@@2!R96%S M;VX@9F]R(&=E='1I;F<@;W5T(&]F('-Y;F,*=6YL97-S(&$@9FEL92!C:&%N M9V5D('-I>F5S('=H:6QE('EO=2!W97)E('=R:71I;F<@=&AE(&%R8VAI=F4N M"@H@("`@($EF(&%N>6]N92!K;F]W"!S8V5N92P@ M<&QE87-E('1E;&P@;64@86)O=70@=&AI2!B M96-A=7-E(&ET(&ES(&UO2!N;W0@8FQO M8VMI;F<*979E2!T:&4@7,@=7-E2!A=F%I;&%B;&4@86QT97)N871I=F5S+B`@ M5&AE"FUA:F]R(&]N97,@87)E(&!A9FEO)RP@1TY5(&!T87(G+"!A;F0@8'!A M>"'0Z($EN9&5X+"`@4')E=CH@1F]R;6%T2!C;VUP;&5X:71I97,@2!S;6%L;&5R($5804)95$4@ M=&%P92!C87)T71E2!G96YE2!D:7-K('1O(&$@9FEL:6YG(&-A8FEN970@=7-I;F<@82!M86=N970@ M:7,@<')O8F%B;'D*;F]T(&$@9V]O9"!I9&5A+@H**B!-96YU.@H**B!$979I M8V4Z.B`@("`@("`@("`@("`@("`@("`@("!$979I8V4@2!T:&4@9FEL92!N86UE M(&]F('1H92!A'1R86-T:6YG*2P@ M;W(@=W)I=&5S(&ET('1O('-T86YD87)D(&]U='!U="`H=VAE;@IC2!O9B!T:&4@2!A;GEM;W)E"G-U<'!O2!I;B!T;V\@;6%N>2!C87-E2!L969T('1O('1H92!I;G-T86QL97(@ M=&\@;W9E2!A;B!O=71P=70@9FEL92!N86UE M+2UE2P@86YD('-O(&UA;GD@8V]N=')A9&EC=&EN9R!R M97%U97-T2!S;W5N9',@;&EK M90IT:&4@;VYL>2!C;&5A;B!C:&]I8V4@;&5F="P@86YD(&$@=F5R>2!U2!B;&]C:R!D979I8V5S(&%R92!P7,O;71I;RYH/B2!D969I;FEN M9R!T:&4@96YV:7)O;FUE;G0@=F%R:6%B;&4@8%)32"<@*F%T"B`@("`@:6YS M=&%L;&%T:6]N('1I;64J+@H*8"U;,"TW75ML;6A=)PH@("`@(%-P96-I9GD@ M9')I=F4@86YD(&1E;G-I='DN"@I@+4TG"F`M+6UU;'1I+79O;'5M92<*("`@ M("!#'1R86-T(&UU;'1I+79O;'5M92!A2!B92!L87)G M97(@=&AA;B!W:6QL(&9I="!O;B!T:&4@;65D:75M('5S960@=&\@:&]L9"!I M="X*("`@("`J3F]T92!-=6QT:2U6;VQU;64@07)C:&EV97,Z.BX*"F`M3"!. M54TG"F`M+71A<&4M;&5N9W1H/4Y532<*("`@("!#:&%N9V4@=&%P92!A9G1E M2!B96EN9R!S;&EG:'1L>2!C;VYS97)V871I=F4@;VX*("`@("!T:&4@ M;6%X:6UU;2!T87!E(&QE;F=T:"P@>6]U(&UI9VAT(&%V;VED('1H92!P'0Z($-O;6UO;B!02!O9B!#86QI9F]R;FEA(&%T M"D)E2!M86-H:6YE('=H;W-E('1A M<&4@9')I=F4@>6]U('=A;G0@=&\@=7-E+B`@8'1A2!R=6YN:6YG(&%N(&!R6]U('5S92!T:&4@8"TM86)S;VQU=&4M;F%M M97,G("A@+5`G*2!O<'1I;VXL($=.52!@=&%R)R!W:6QL"FYO="!A;&QO=R!Y M;W4@=&\@8W)E871E(&%N(&%R8VAI=F4@=&AA="!C;VYT86EN2!E>'1R86-T2P@=V4@=V5R92!U;FAA<'!Y"F%B;W5T(&AA=FEN M9R!T;R!R96-O=F5R('1H92!F:6QE('-Y&%M<&QE+"!I9B!T:&4@87)C:&EV92!C;VYT86EN960@ M82!F:6QE(&`O=7-R+V)I;B]C;VUP=71O>2'1R86-T('1H92!F:6QE('1O(&!U6]U('=A;G0@=&\@ M97AT"`H56QT2!F86EL960N("!4:&ES('=I;&P@2!C:&5C:W-U;2!E M>7-T96TZ"FDO;R!E0H* ` end SHAR_EOF $shar_touch -am 0425160597 'tar-1.12/doc/tar.info-6' && chmod 0644 'tar-1.12/doc/tar.info-6' || $echo 'restore of' 'tar-1.12/doc/tar.info-6' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/doc/tar.info-6:' 'MD5 check failed' 5f82e60c9786bfe1c3ec6fff6e84ad61 tar-1.12/doc/tar.info-6 SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/doc/tar.info-6'`" test 46875 -eq "$shar_count" || $echo 'tar-1.12/doc/tar.info-6:' 'original size' '46875,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/doc/tar.info-7 ============== if test -f 'tar-1.12/doc/tar.info-7' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/doc/tar.info-7' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/doc/tar.info-7' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/doc/tar.info-7 M5&AI7)I9VAT M(&YO=&EC92!A;F0@=&AI2!A;F0@9&ES=')I8G5T92!M;V1I9FEE9"!V97)S:6]N6EN9RP@<')O=FED960@=&AA=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:7IE(&]F('1H92!D979I8V4@8V]N=&%I;FEN9R!T M:&4@87)C:&EV92P@;W(@8GD@=&AE(&%M;W5N=`H@("`@(&]F(&%V86EL86)L M92!V:7)T=6%L(&UE;6]R>2X*"B`@("`@2&]W979E2!A=F]I9&5D(&EN(&$@'!L:6-I=&5L>2!S<&5C:69I960@;VX@=&AE(&!T M87(G(&EN=F]C871I;VXN"@H@("`@($EN('!R979I;W5S('9E2!T;R!A"B`@("`@;&]C86P@9&ES:RP@86YD M(&YO="!T:')O=6=H('-T9&]U="P@=&AE;B!T:&4@;&%S="!W'1E;F1E9"!T;R!A(&9U;&P@F4N("!/=&AE M2!H879I;F<@=&\@=7-E(&!04D]' M("UD)R!F;W(@9&5C;VUP2!N=6UB M97(@;V8@=')A:6QI;F<*("`@("`@("`@('IE2P@8GD@2!A9&1S(&=A2!R96-O9VYI>F5D(&ET2!I9VYOFEP("UD("UQ)R!W M:6QL(&)E('-I;&5N="!A8F]U="!T:&4@=')A:6QI;F<@>F5R;W,@:6YD965D M+`H@("`@("`@("`@8G5T('=I;&P@&ET:6YG(&ETF5R;W,@:6X@87)C:&EV92`H;65A M;G,@14]&*2X*"B`@("`@5&AE(&`M+6EG;F]R92UZ97)O2!@8V%T)RUI;F<@"!S>7-T96US+"!A(')E M860@;V8@82!P:7!E('=I;&P@2!B92!M;W)E(&1I9F9I8W5L="!F;W(@ M=&AE('-Y2!D969A=6QT(&$*8FQO8VMI;F<@ M;V8@,C`@9F]R(&AI2!M871T97(*=VAE;B!R96%D:6YG(&]R('=R:71I;F<@=&\@9&ES M:RX@($-U0IA8V-O M;6]D871E(&AI9VAE2`V-$MB("A@+6(@,3(X)RD@;W(@,C4V"F9O2!O9B!E<75I<&UE;G0L('1H97D@9F]U;F0@:70@8F5S="!T;R!U2P@($YE>'0Z(%5S:6YG($UU;'1I<&QE(%1A M<&5S+"`@4')E=CH@0FQO8VMI;F2P@;W(*96YT2!W:&%T(&AA6]U('=A M;G0@=&\@<'5T(&UO2!S<&5C:6%L(&%T=&5N=&EO;B!T;R!T87!E('!O M2!O=F5R=W)I M=&4@=&AE('9A;'5A8FQE(&1A=&$@86QR96%D>2!O;B!Y;W5R"G1A<&4N("!- M86YY('!E;W!L92P@8G5R;G0@8GD@<&%S="!E>'!E2!U;G1I;"!T:&4@96YD(&]F('1H92!T87!E+"!A;F0@=&AI2!T:&4@2!O;B!A('-I;F=L92!T87!E M+@I!;B!E;7!T>2!F:6QE("AT:&%T(&ES('1O('-A>2P@='=O('1A<&4@;6%R M:W,@:6X@82!R;W0IB86-K6]U(&UA>2!N;W<@6]U('=A;G0@=&\@<'5T(&]N('1H92!S86UE('1A M<&4N"@H@("!!;F]T:&5R('5S=6%L(&-A6]U M(&YE960@=&\@6]U(&UU6]U M2!H87,@,38@9FEL M97,@;VX@:70L(&%N9`IT:&%T('EO=2!A2P@8GD@=7-I;F<@=&AE0H*5&%P92!0;W-I=&EO M;G,@86YD(%1A<&4@36%R:W,*+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM M+2T*"B`@("`@*BA4:&ES(&UE6]U('-H;W5L9"!M86ME('-U6]U M('=A;G0@=&\@861D(&YE=R!A&ES=&EN9R!F:6QE(&5N=')I97,L(&)A8VMS<&%C90IO=F5R('1H M92!L87-T('1A<&4@;6%R:RP@86YD('=R:71E('1H92!N97<@87)C:&EV92!F M:6QE+B`@268@>6]U('=E"!O9B!T:&4@8&UT)R!C;VUM86YD(&ES.@H*("`@("!M="!;+68@5$%0 M14Y!345=($]015)!5$E/3B!;3E5-0D5270H*("`@=VAE2!A(%1!4$5. M04U%+"!@;70G('5S97,@=&AE(&5N=FER;VYM96YT('9AF5D+"!A;F0@,B!I9B!A;B!O M<&5R871I;VX@9F%I;&5D+@H*("`@268@>6]U('5S92!@+2UE>'1R86-T)R`H M8"TM9V5T)RP@8"UX)RD@=VET:"!T:&4*8"TM;&%B96P]05)#2$E612U,04)% M3"<@*&`M5B!!4D-(259%+4Q!0D5,)RD@;W!T:6]N('-P96-I9FEE9"P@8'1A M'!R97-S:6]N+B`@268@=&AE(&QA8F5L6]U(&UI9VAT M('=A;G0@=&\@=W)I=&4@82!L87)G92!A6]U(&-A;B!R=6X*;75L=&EP;&4@8'1A7-T96US+B`@ M5&AE&-E<'1I;VX@=&\@=&AI2!B M90IS<&QI="!B971W965N('1H92!T=V\@87)C:&EV97,[(&EN('1H:7,@8V%S M92!Y;W4@;F5E9"!T;R!E>'1R86-T(&9R;VT*=&AE(&9I2!O9B!T:&4@ M9F]L;&]W:6YG"G)E2X*"F!N($9)3$4@3D%-12<* M("`@("!297%U97-T(&!T87(G('1O('=R:71E('1H92!N97AT('9O;'5M92!O M;B!T:&4@9FEL92!&24Q%($Y!344N"@I@(2<*("`@("!297%U97-T(&!T87(G M('1O(')U;B!A('-U8G-H96QL+@H*8'DG"B`@("`@4F5Q=65S="!@=&%R)R!T M;R!B96=I;B!W2<@869T97(@>6]U(&AA=F4@8VAA;F=E9"!T:&4@ M=&%P93L@;W1H97)W:7-E"F!T87(G('=I;&P@=W)I=&4@;W9E6]U('=A;G0@;6]R92!E M;&%B;W)A=&4@8F5H879I;W(@=&AA;B!T:&ES+"!G:79E(&!T87(G('1H90I@ M+2UI;F9O+7-C2!B96=I;B!WF4*;V8@=&AE('1A<&4N("!"=70@9F]R(&UA;GD@9&5V:6-E2!D:7-K2!C;VYT86EN M:6YG(&$@9&5C:6UA;"!N=6UB97(N("!4:&%T(&YU;6)E6-L92!T:')O=6=H M(&$@6]U('1O('!R97!A&%M<&QE+"!Y;W4@8V%N(&QI2!@ M+2UM=6QT:2UV;VQU;64G("A@+4TG*2P@8'1A6]U('-H;W5L9"!C:&%N9V4@9&ES:W,[ M(&5T8RX*"B`@(%EO=2!C86X@&%M<&QE+"!T;R!L:7-T('1H92!C M;VYT96YT'1R86-T:6YG(&%R M8VAI=F5S+@H*("`@8"TM:6YF;RUS8W)I<'0]4T-225!4+4Y!344G("A@+2UN M97&%M<&QE+"!T:&ES(&]P=&EO;B!C86X@8F4@ M=7-E9"!T;R!E:F5C="!C87-S971T97,L(&]R('1O(&)R;V%D8V%S=`IM97-S M86=E2!T M87!E)R!W:&5N('!E2!O=&AE2!L M86)E;"!V;VQU;65S('=H:6-H(&%R92!A9&1E9"!L871E2!@+2UL86)E;#U!4D-(259% M+4Q!0D5,)R`H8"U6"D%20TA)5D4M3$%"14PG*2!A9V%I;B!I;B!C;VYJ=6YC M=&EO;B!W:71H('1H92!@+2UA<'!E;F0G("A@+7(G*2P*8"TM=7!D871E)R`H M8"UU)RD@;W(@8"TM8V]N8V%T96YA=&4G("A@+2UC871E;F%T922!V96YD;W(G6]U(&=I=F4L('=H97)E($Y.3B!I6]U('5S M92!T:&4@8"TM;&%B96P]05)#2$E612U,04)%3"<**&`M5B!!4D-(259%+4Q! M0D5,)RD@;W!T:6]N('=H96X@6]U(&=I=F4N("`J3F]T92!L86)E;#HZ+@H*("`@5VAE;B!@ M=&%R)R!W2!E86-H(&=E="!W6]U(&QI2!@(%9O;'5M M92!;,2TY72HG"FEF('1H92!I;FET:6%L(&UA=&-H(&9A:6QS+"!B969O2!A9&1E9"!I;B!L86)E;',@870@8W)E871I;VX@=&EM92P@ M:70@'1R86-T)R`H8"TM9V5T)RP@8"UX)RD@;W!T:6]N+@H*("`@ M5&\@9V5T(&$@8V]M;6]N(&EN9F]R;6%T:6]N(&]N(&%L;"!T87!E2!B86-K=7`@9F]R(&!D871E("LE62TE;2TE9&`B M"B`@("`@)"!T87(@+2UC7!E'!R97-S:6]N"FUA M=&-H:6YG+"!O2!E>&%C="!S=')I;F<@;6%T M8VAI;F2<*("`@("!!='1E;7!T('1O('9E2!T:&4@ M87)C:&EV92!A9G1E2!T:&4@87)C:&EV92!A9G1E2!O9B!A;B!A M7-T96T@87,@=&AE(&%R8VAI=F4@:7,@8F5I;F<@ M=W)I='1E;BP@=&\@=F5R:69Y(&$@=W)I=&4@;W!E2!A9G1E2<@*&`M5R7-T96TL"F%N9"!R97!O'0*=F]L=6UE(&ES('=R:71T M96XN"@H@("!4;R!V97)I9GD@86X@87)C:&EV92P@>6]U(&UU2X@(%1H:7,@;W!T:6]N(&ES('5S969U;"!F;W(@9&5T M96-T:6YG(&1A=&$*97)R;W)S(&]N('-O;64@=&%P97,N("!!2!M861E M(&%R8VAI=F4@=VET:"!T:&4@9FEL90IS>7-T96T@8GD@=7-I;F<@=&AE(&`M M+6-O;7!A2!F;W(@8VAE8VMI M;F<@:68@=&AE('!H>7-I8V%L"F-O;G1E;G1S(&%G6]U(&YE=F5R=&AE M;&5S6]U6)E(&)Y(&]P96YI;F<@86YD M(')E8VQO6]U2<@*&`M5R2!A;&P@=W)I=&4@9F%I;'5R97,N("!4:&ES('-O;65T:6UE2!T:&%T(&1R:79E2P@(%5P.B!-961I80H*5W)I=&4@ M4')O=&5C=&EO;@H]/3T]/3T]/3T]/3T]/3T]"@H@("!!;&UO2!O=F5R=W)I='1E;B!O0ID&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/doc/tar.info-7:' 'MD5 check failed' 494ec090f87572b3267ff476202f5e5e tar-1.12/doc/tar.info-7 SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/doc/tar.info-7'`" test 46645 -eq "$shar_count" || $echo 'tar-1.12/doc/tar.info-7:' 'original size' '46645,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/doc/tar.info-8 ============== if test -f 'tar-1.12/doc/tar.info-8' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/doc/tar.info-8' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/doc/tar.info-8' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/doc/tar.info-8 M5&AI7)I9VAT M(&YO=&EC92!A;F0@=&AI2!A;F0@9&ES=')I8G5T92!M;V1I9FEE9"!V97)S:6]N6EN9RP@<')O=FED960@=&AA=`IT:&4@96YT:7)E(')E&-E<'0@=&AA="!T:&ES('!E2!B92!S=&%T960@:6X@80IT2!T:&4@1F]U;F1A=&EO;BX*"B`@(%1H:7,@9FEL92!D;V-U;65N=',@1TY5 M(&!T87(G+"!W:&EC:"!I`HJ*BHJ*@H**B!-96YU M.@H**B`M+6QI"X**B!C870@=G,@8V]N8V%T96YA=&4Z("`@("`@("`@("`@("`@("`@ M("!C;VYC871E;F%T92X**B!#96YTF]N92!I=&5M+@HJ($-E;G1R86P@175R;W!E86X@ M5&EM93H@("`@("`@("`@("`@("`@(%1I;65Z;VYE(&ET96TN"BH@0V5N=')A M;"!3=&%N9&%R9"!4:6UE.B`@("`@("`@("`@("`@("`@5&EM97IO;F4@:71E M;2X**B!#:&%N9VEN9R!D:7)E8W1O&-L=61I;F<@8VAA6YT87@N"BH@0V]M<')EFEP+@HJ(&-OF]N92!I=&5M+@HJ M($1E;&5T:6YG(&9I;&5S(&9R;VT@86X@87)C:&EV93H@("`@("`@(&1E;&5T M92X**B!$96QE=&EN9R!F2X**B!D=6UPF]N92!I M=&5M+@HJ($5A&-L=61I;F<@8VAA&-L=61I;F<@9FEL97,@8GD@ M;F%M92!A;F0@<&%T=&5R;CH@("!E>&-L=61E+@HJ(&5X:7-T:6YG(&)A8VMU M<"!M971H;V0Z("`@("`@("`@("`@("`@(&)A8VMU<"X**B!E>&ET('-T871U M6YO<'-I'1R M86-T:6]N.B`@("`@("`@("`@("`@("`@("`@("`@("`@("!E>'1R86-T+@HJ M(&5X=')A8W1I;VXZ("`@("`@("`@("`@("`@("`@("`@("`@("`@($1E9FEN M:71I;VYS+@HJ($9E961B86-K(&9R;VT@=&%R.B`@("`@("`@("`@("`@("`@ M("`@('9E7-T96T@8F]U;F1A6YT87@N"BH@1F]R;6%T($]P=&EO;G,Z("`@("`@("`@("`@ M("`@("`@("`@("`@1F]R;6%T(%9AF]N92!I=&5M+@HJ($AA=V%I:2!3=&%N9&%R9"!4 M:6UE.B`@("`@("`@("`@("`@("`@(%1I;65Z;VYE(&ET96TN"BH@:&]UF]N92!I=&5M+@HJ($E33R`X M-C`Q(&1A=&4@9F]R;6%T.B`@("`@("`@("`@("`@("`@($-A;&5N9&%R(&1A M=&4@:71E;2X**B!I=&5M3H@("`@("`@ M5&EM92!O9B!D87D@:71E;2X**B!-;V1E'1R86-T960@9FEL97,Z M("`@("`@("`@("`@("!7&-L=61I;F<@9FEL97,@8GDZ(&%F=&5R+@HJ($UO9&EF:6-A=&EO;B!T:6UE M'1R86-T960@9FEL97,Z(%=R:71I;F6YT87@N M"BH@36]U;G1A:6X@4W1A;F1AF]N92!I=&5M+@HJ M(&YE>'0@1$%9.B`@("`@("`@("`@("`@("`@("`@("`@("`@("`@($1A>2!O M9B!W965K(&ET96TN"BH@;F5X="!I;B!D871E('-T"X**B!.;VUE(%-T86YD87)D M(%1I;64Z("`@("`@("`@("`@("`@("`@("!4:6UE>F]N92!I=&5M+@HJ(&YO M;VX@:6X@9&%T92!S=')I;F=S.B`@("`@("`@("`@("`@("`@(%1I;64@;V8@ M9&%Y(&ET96TN"BH@;F]W(&EN(&1A=&4@2X**B!.54P@ M=&5R;6EN871E9"!F:6QE(&YA;65S.B`@("`@("`@("`@("!N=6PN"BH@3G5M M8F5R(&]F(&)L;V-K71E"X**B!/ M;&0@6QE(&9O6YT87@L('1R861I=&EO;F%L.B`@("`@("`@("`@($]L9"!/ M<'1I;VYS+@HJ($]P=&EO;G,@=VAE;B!R96%D:6YG(&%R8VAI=F5S.B`@("`@ M("`@(%)E861I;F6EN9SH@("`@1F]R;6%T(%9A"X**B!/=F5R=W)I=&EN9R!O;&0@9FEL97,L('!R979E M;G1I;VXZ("`@("!7'1R86-T+@HJ(%)E=')I979I;F<@9FEL97,@9G)O;2!A;B!AF]N92!I=&5M+@HJ(%-Y;6)O;&EC M(&QI;FL@87,@9FEL92!N86UE.B`@("`@("`@("`@(&1EF]N92!C;W)R96-T M:6]N.B`@("`@("`@("`@("`@("`@("!4:6UE(&]F(&1A>2!I=&5M+@HJ('1I M;65Z;VYE(&ET96TZ("`@("`@("`@("`@("`@("`@("`@("`@(%1I;65Z;VYE M(&ET96TN"BH@=&]D87D@:6X@9&%T92!S=')I;F=S.B`@("`@("`@("`@("`@ M("`@4F5L871I=F4@:71E;2!I;B!D871E('-T6EN9R!T:&4@8W5R2!I M;B!D871E('-T&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/doc/tar.info-8:' 'MD5 check failed' 8a050216757c6ff711c04e210b735586 tar-1.12/doc/tar.info-8 SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/doc/tar.info-8'`" test 14742 -eq "$shar_count" || $echo 'tar-1.12/doc/tar.info-8:' 'original size' '14742,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/PORTS ============== if test -f 'tar-1.12/PORTS' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/PORTS' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/PORTS' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/PORTS' && * Ports of GNU tar and other micro-tars -*- outline -*- X X Please write tar-bugs@gnu.ai.mit.edu if you are aware of various ports X of GNU tar to non-Unix systems not listed here, or for corrections. X Please provide the goal system, a complete and stable URL, the maintainer X name and address, the tar version used as a base, and your comments. X X.* Amiga X X. + ftp://ftp.wustl.edu/systems/amiga/aminet/util/arc/GNUtar-1.11.8.lha X maintained by Enrico Forestieri X Based on tar 1.11.8. X X. + ftp://ftp.ninemoons.com/pub/ade/current/amiga-bin/tar-1.11.8-bin.lha X maintained by the ADE group X Based on tar 1.11.8, needs ixemul.library. X X. + ftp://ftp.wustl.edu/systems/amiga/aminet/util/arc/gnutar.lha X maintained by X X.* DEC alpha (NT) X X. + ftp://ftp.cdrom.com/.20/windows/archiver/tar.zip X maintained by Drew Bliss & Geoff Voelker X X.* DEC VAX (VMS) X X. + http://www.lp.se/free/vmstar/ X maintained by Richard Levitte X This is not GNU tar, but a separate implementation. X X. + maintained by William Bader X For V4.7. Based on an old PDtar. Requires compatible shared libraries X to run V5 or V6 executables. X X.* IBM/PC (DV/X) X X. + ftp://qdeck.com/ (?) X maintained by David Ronis X For Desqview/X. Everything works besides compression. Copy of hacked X sources available, some of DV/X's programmer's library also needed. X X.* IBM/PC (MSDOS) X X. + http://www.simtel.net/simtel.net/ X http://www.leo.org/pub/comp/platforms/pc/gnuish (Germany) X ftp://ftp.simtel.net/simtelnet/gnu X ftp://ftp.leo.org/pub/comp/platforms/pc/gnuish X maintained by Darrel Hankerson X You get many GNU tools, not only `tar'. The GNUish project is described X in `gnuish_t.htm'. X X. + The DJGPP development tools also include some `tar' utilities. X X. + ftp://ftp.mcs.com/mcsnet.users/les/dos-gnutar/ X maintained by Leslie Mikesell X Based on tar 1.11.2. Support for SCSI (via ASPI) and network (rsh over X packet driver). No support for win95 long file names. X X. + ftp://ftp.wu-wien.ac.at:pub/src/PCmisc/aspi-tar/* X maintained by Christoph Splittgerber X Based on tar 1.10. Support for SCSI (via ASPI). X X. + ftp://wuarchive (?) X Several DOS version based on PDtar. John Gilmore says X he has copies of several vintages saved. X X. + ftp://ftp.cdrom.com/.14/languages/ada/toolkit/msdos/gtar/gtar.exe X ftp://ftp.cdrom.com/.14/languages/ada/toolkit/msdos/gtar/gtar.taz X ftp://ftp.cdrom.com/.14/languages/ada/toolkit/msdos/gtar/gtar.zip X X. + ftp://ftp.cdrom.com/.4/os2/archiver/tar.zip X Based on PDtar. X X. + ftp://ftp.cdrom.com/.20/windows/archiver/tar.zip X maintained by Drew Bliss & Geoff Voelker X GNU tar for NT (intel and Alpha platforms). X X. + ftp://garbo.uwasa.fi/pc/unix/untgz095.zip X maintained by Tillmann Steinbrecher X The `untgz' program is a fast .tar or .tar.gz (.tgz) extractor. X X. + http://people.darmstadt.netsurf.de/tst/tar.htm X maintained by Tillmann Steinbrecher X This is not a `tar' port, but an index of them. X X.* IBM/PC (OS/2) X X. + http://www.leo.org/pub/comp/os/os2/leo/gnu/archiver/gtar254.zip X http://www.leo.org/pub/comp/os/os2/leo/gnu/archiver/gtak254.zip X maintained by Andreas Kaiser X Version 2.54. Based on tar 1.10. The second archive contains SCSI X drivers (DAT streamers notably) and rmt-type programs. X X. + ftp://garbo.uwasa.fi/pc/unix/untgz095.zip X maintained by Tillmann Steinbrecher X The `untgz' program is a fast .tar or .tar.gz (.tgz) extractor. X X.* IBM/PC (Win32: Windows 95, NT 3.5 or NT 4.0) X X. + ftp://ftp.cygnus.com:~ftp/pub/sac/win32/usersrc/* X maintained by Cygnus X GNU-Win32 B17.1 distribution. Download all files, `cat' them together, X and `untar' the result. You get many GNU tools, not only `tar'. X Based on tar 1.11.2. X X. + ftp://ftp.cdrom.com/.20/windows/archiver/tar.zip X maintained by Drew Bliss & Geoff Voelker X GNU tar for NT (intel and Alpha platforms). X X. + ftp://garbo.uwasa.fi/pc/unix/untgz095.zip X maintained by Tillmann Steinbrecher X The `untgz' program is a fast .tar or .tar.gz (.tgz) extractor. X X.* IBM/PC (Windows 3.1) X X. + ftp://ftp.mcs.com/mcsnet.users/les/win-gnutar/ X maintained by Leslie Mikesell X Support for network (rsh over winsock). No support for win95 long X file names. X X. + ftp://ftp.gamesdomain.ru/.1/os/windows/programr/tar.zip X Based on GNU tar 1.11.2. X X.* Macintosh X X. + There is a tar in Stuffit Expander which is available many places and X comes with MacOS. It creates some spurious files but works on average. X X. + There is an excellent GNU tar bundled in Tenon MachTen, but it does not X seem to be available separately. SHAR_EOF $shar_touch -am 0425084097 'tar-1.12/PORTS' && chmod 0644 'tar-1.12/PORTS' || $echo 'restore of' 'tar-1.12/PORTS' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/PORTS:' 'MD5 check failed' c9e7335c48293695e7ffd036412ba8b0 tar-1.12/PORTS SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/PORTS'`" test 5022 -eq "$shar_count" || $echo 'tar-1.12/PORTS:' 'original size' '5022,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/rebox.el ============== if test -f 'tar-1.12/rebox.el' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/rebox.el' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/rebox.el' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/rebox.el M.SL[($AA;F1L:6YG(&]F(&-O;6UE;G0@8F]X97,N"CL[.R!#;W!Y&5S+"!I;B!C;V1E(&9R;VT*.SL[(%=A"!A6EN9R!C;VUM96YT"P@8VAA;F=E(&ET6QE M('-E;&5C=&EO;BX*"CL[.R!&;W(@;6]S="!%;6%C6]U(&UA>2!R961E9FEN92!T:&4@32UQ M(&-O;6UA;F0@86YD(&QI;FL@:70@=&\*.SL[('1H:7,@9FEL92X@($9O&%M<&QE+"!)('5S92!T:&ES(&EN(&UY("YE;6%C2!C+6UO9&4M;6%P(")<32UQ(B`G"UC;VUM96YT(")R96)O>"(@;FEL('0I M"CL[.PDH875T;VQO860@)W)E8F]X+7)E9VEO;B`B2!O9B!T:&5S92!C;VUM86YD"!M87D@8F4@=7-E9"!T;R!F;W)C M90H[.SL@82!P87)T:6-U;&%R(&)O>"!S='EL92X@($$@F5R;R!O"!S='EL92!T;R!I=',@86)S;VQU=&4@=F%L=64N("!:97)O(&1I9VET6QE+`H[.SL@=VAE;B!N;W0@;W9E6QE+B`@8$,M=2`M)R!D969I;F5S('1H92!S='EL92!I;G1E"!L86YG=6%G92!I"!Q=6%L:71Y(&1I M9F9E2!I;F1I8V%T97,*.SL[('1H92!T:&EC:VYE#H*.SL[('9A;'5E2`Q,"!I M7,@<')O;6]T960@=&\@,C`N("!2;W5G:&QY('-A:60L('-I;7!L M92!Q=6%L:71Y"CL[.R!B;WAE&EN9R!I&-E<'0@=&]P+`H[.SL@,R!F;W(@9G5L;'D@&5S(&9O&5S('=H:6-H(&ES(&QI:V4@='EP92`S M(&)U="!M;W)E(&)O;&0N"@H[.SL@5&AE('-P96-I86P@7,@8F5T=V5E;B!A M('-I;F=L92!O<&5N:6YG(&`O*B<*.SL[(&%N9"!A('-I;F=L92!C;&]S:6YG M(&`J+R"X* M.SL[(%1H92!I;FET:6%L(&1E9F%U;'0@6QE(&9O2]W:61T:"!I2(I"@DH*#T@<75A;&ET>2!2 M14)/6%]154%,25197U-)35!,15]/3D4I(")S<75A2!214)/6%]154%,25197U)/ M54Y$141?5$A2144I(")R;W5N9&5D(&]R(#,M=VED92(I"@DH*#T@<75A;&ET M>2!214)/6%]154%,25197U-405)2141?1D]54BD@(G-T87)R960@;W(@-"UW M:61E(BD*"2AT("(\56YK;F]W;B!1=6%L:71Y/B(I*2D*"BAD969C;VYS="!2 M14)/6%](14Q07T9/4E]465!%"B`@(D)O>"!T>7!E(&ES(#$M;W!E;BP@,BUH M86QF+7-I;F=L92P@,RUS:6YG;&4L(#0M:&%L9BUD;W5B;&4@;W(@-2UD;W5B M;&4B*0HH9&5F8V]N"UH96QP+7-T7!E(%)%0D]87U194$5?3U!% M3BD@(F]P96YE9"!B;W@B*0H)*"@]('1Y<&4@4D5"3UA?5%E015](04Q&7U-) M3D=,12D@(FAA;&8@;F]R;6%L(BD*"2@H/2!T>7!E(%)%0D]87U194$5?4TE. M1TQ%*2`B9G5L;"!N;W)M86PB*0H)*"@]('1Y<&4@4D5"3UA?5%E015](04Q& M7T1/54),12D@(FAA;&8@8F]L9"(I"@DH*#T@='EP92!214)/6%]465!%7T1/ M54),12D@(F9U;&P@8F]L9"(I"@DH="`B/%5N:VYO=VX@5'EP93XB*2DI"@HH M9&5F8V]N'0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5?4TE.1TQ%*0H)"0D@*'-E='$@ M;G<@(B\J("(I("AS971Q(&YN(#\M*2`H2!214)/ M6%]154%,25197U)/54Y$141?5%=/*0H)"2`@("`@("@]('%U86QI='D@4D5" M3UA?455!3$E465]23U5.1$5$7U1(4D5%*2D*"0D@(#L[("T@<&QA;FEF>2!A M(')O=6YD960@0R!C;VUM96YT"@H)"2`@*&-O;F0@*"@]('1Y<&4@4D5"3UA? M5%E015]/4$5.*0H)"0D@.SL@8&!O<&5N(')O=6YD960G)R!I7!E(%)%0D]87U194$5? M1$]50DQ%*0H)"0D@*'-E='$@;G<@(B\J(B`I("AS971Q(&YN(#\]*2`H7!E(%)%0D]87U194$5? M3U!%3BD*"0D)("AS971Q(&YW("(O*B`B*2`H7!E(%)%0D]87U194$5?2$%,1E]324Y'3$4I M"@D)"2`H7!E(%)%0D]87U194$5?1$]5 M0DQ%*0H)"0D@*'-E='$@;G<@(B\J*B(@*2`H2!214)/6%]154%,25197U-)35!,15]/3D4I*0H)("`@("`@ M("AS971Q('%U86QI='D@4D5"3UA?455!3$E465]23U5.1$5$7U173RDI"@D@ M("`H'@@(B`B*2D*"2`@("AC;VYD("@H/2!T M>7!E(%)%0D]87U194$5?3U!%3BD*"0D@("AS971Q(&YW("(B*2`H"DI"@D)("`H7!E(%)%0D]87U19 M4$5?2$%,1E]$3U5"3$4I"@D)("`H"DI M"@D)("`H"`H;6%K92US=')I;F<@*#$K("@O('%U86QI='D@,3`I M*2!X*2D*"0D@("AS971Q(&YW("(B*0H)"2`@*'-E='$@'@I("AS971Q M('-S('@I("AS971Q('-E('AX*2D*"0D@*"@]('1Y<&4@4D5"3UA?5%E015]$ M3U5"3$4I"@D)("`H"DI"@D)("`H"`H;6%K92US=')I;F<@*#$K("@O('%U86QI='D@,3`I*2!X*2D*"0D@ M("AS971Q(&YW('AX*2`H"D*"0D@("AS M971Q('-W('AX*2`H"DI*2DI"@H@("`@ M.SL@+2!P;W-S:6)L>2!R969I;&PL(&%N9"!A9&IU"`H;6%K92US M=')I;F<@;6%R9VEN(#\@*2D*"2`@("`@("AF:6QL+6-O;'5M;B`H+2!F:6QL M+6-O;'5M;B`H*R`H;&5N9W1H('=W*2`H;&5N9W1H(&5E*2DI*2D*"2`@*&9I M;&PM"UR:6=H="UM87)G:6XI("AL96YG M=&@@=W2!214)/6%]154%,25197U)/54Y$141? M5%=/*0H)"2`H/2!Q=6%L:71Y(%)%0D]87U%504Q)5%E?4D]53D1%1%]42%)% M12DI"@D@("`@("@]('1Y<&4@4D5"3UA?5%E015]/4$5.*2D*"2APF5R;W`@ M*&QE;F=T:"!S92DI*2D*"0DH:6YS97)T("AM86ME+7-T"DI M"@H@("`@.SL@4F5M;W9E(&%L;"!T:&4@8V]M;65N="!M87)K2!R96-O M9VYI>FEN9R!T:&4@8F]X('-T>6QE+"!S879I;F<@:71S('%U86QI='D*("`@ M(#L[(&EN(%%504Q)5%D@86YD(&ET7!E(&EN(%194$4N("`H3$%.1U5! M1T4@:7,@86QR96%D>2!G=65S6QE(#$J*B!B;WAE7!E(%)%0D]87U194$5?4TE.1TQ%*0H)("`@("AR97!L M86-E+6UA=&-H("(B('0@="DI"@DH:68@*&QO;VMI;F("I;8%PK M7%Q=/RI<7"@]/2M<7'PC(RM<7'P[.RM<7"D@*EQN(BD*"2`@("`H<')O9VX* M"2`@("`@("AI9B`H/2!T>7!E(%)%0D]87U194$5?3U!%3BD*"0D@("AS971Q M('1Y<&4@4D5"3UA?5%E015](04Q&7T1/54),12DI"@D@("`@("`H2!214)/6%]154%,25197U-405)2141?1D]54BD*"0DH7!E(%)% M0D]87U194$5?2$%,1E]324Y'3$4I"@D)*')E<&QA8V4M;6%T8V@@(B(@="!T M*2D*"2`@("`H:68@*&QO;VMI;F"UL969T+6UA M6QE(&%C8V]R9&EN9R!T M;R!&3$%'(&]R(&-H;W-E;B!D969A=6QT('-T>6QE+@H@("`@.SL@16QS92P@ M=7-E(&5I=&AEF5D('-T>6QE(&5L96UE;G1S(&]R(&)U:6QT M+6EN(&1E9F%U;'1S+@H*("`@("AC;VYD("@H86YD("AN=6UB97)P(&9L86F5R;W`@<75A;&ET>2D*"2`@("AS971Q('%U86QI='D@4D5"3UA?455!3$E4 M65]23U5.1$5$7U173RDI*0H*("`@("AC;VYD("@H86YD("AN=6UB97)P(&9L M867!E M("@E(&9L86<@,3`I*2D*"2`@*"AN;W0@*'IE7!E M(#$I*2D*"B`@("`[.R!0;W-S:6)L>2!R969I;&PL('1H96X@"UR96-O;G-T2!T>7!E*2D*"B`@("`[.R!2971A8FEF>2!T M;R!T:&4@;&5F="!O;FQY("AA9&%P=&5D(&9R;VT@=&%B:69Y+F5L*2X*"B`@ M("`H:68@:6YD96YT+71A8G,M;6]D90H)*'!R;V=N"@D@("AG;W1O+6-H87(@ M*'!O:6YT+6UI;BDI"@D@("AW:&EL92`H6QE"B`@("`@("AP M"UE;F=I M;F4@9FQA9RDI*2D*"CL[.R!296)O>"!T:&4@"UC;VUM96YT("AF;&%G*0H@("AI;G1E"UA M6QE*2DI"B`@*&EF("AR96)O>"UV86QI9&%T92UF;&%G(&9L M86&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/rebox.el:' 'MD5 check failed' f84eaa838291fb0453756f26b6d89088 tar-1.12/rebox.el SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/rebox.el'`" test 29642 -eq "$shar_count" || $echo 'tar-1.12/rebox.el:' 'original size' '29642,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/lib/ChangeLog ============== if test ! -d 'tar-1.12/lib'; then $echo 'x -' 'creating directory' 'tar-1.12/lib' mkdir 'tar-1.12/lib' fi if test -f 'tar-1.12/lib/ChangeLog' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/lib/ChangeLog' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/lib/ChangeLog' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/lib/ChangeLog M,3DY-RTP-"TR-2`@1G)A;N=O:7,@4&EN87)D("`\<&EN87)D0&ER;RYU;6]N M=')E86PN8V$^"@H)*B!296QE87-E(#$N,3(N"@HQ.3DW+3`T+3$V("!&2P@;F]T(&=E=&1A=&4N8RX*"2A% M6%1205]$25-4*3H@1&\@;F]T(&EN8VQU9&4@9V5T9&%T92YY(&%N>6UO2`D*'-R8V1I2!"6%N="!&=6II;6]T;R!A;F0@5V]L9G)A;2!786=N97(N"@HQ.3DW+3`T M+3$Q("!&2!S=&1I;R$*"C$Y.38M,#DM M,38@($9R86[G;VES(%!I;F%R9"`@/'!I;F%R9$!I2!*:6T@365Y97)I;F2P@87,@075T;VUA:V4@;F]W(&AA;F1L97,@ M:70@875T;VUA=&EC86QL>2X*"C$Y.38M,#2YC('1H97)E+"!F2!*:6T@365Y97)I;F&5C;'`I.B!.972X*"@DJ(')M9&ER+F,Z($YE=RP@ M"X*"5)E<&]R=&5D(&)Y(%!E9&5R($-H2!!;F1R96%S(%-C:'=A8BX*"@DJ(&9I;&5B M;&]C:W,N8SH@3F5W+"!F2!S;VQV960@8GD@9V]I;F<@=&\@86X@=7!D871E9"!V97)S:6]N(&]F M(&=E=&1A=&4N>2X*"5)E<&]R=&5D(&)Y($%N9')E>2!!+B!#:&5R;F]V+"!" M&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/lib/ChangeLog:' 'MD5 check failed' dfdcd9adbb8960822b66a0f2e421ada2 tar-1.12/lib/ChangeLog SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/lib/ChangeLog'`" test 8095 -eq "$shar_count" || $echo 'tar-1.12/lib/ChangeLog:' 'original size' '8095,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/lib/Makefile.am ============== if test -f 'tar-1.12/lib/Makefile.am' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/lib/Makefile.am' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/lib/Makefile.am' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/lib/Makefile.am' && # Makefile for GNU tar library. # Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc. X # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. X # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. X # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. X AUTOMAKE_OPTIONS = gnits X noinst_LIBRARIES = libtar.a X EXTRA_DIST = \ alloca.c fileblocks.c fnmatch.c ftruncate.c execlp.c gmalloc.c \ memset.c mkdir.c modechange.h rename.c rmdir.c stpcpy.c strstr.c X noinst_HEADERS = \ argmatch.h backupfile.h error.h fnmatch.h getopt.h getdate.h getpagesize.h \ pathmax.h X libtar_a_SOURCES = \ argmatch.c backupfile.c error.c getdate.y getopt.c getopt1.c getversion.c \ modechange.c msleep.c xgetcwd.c xmalloc.c xstrdup.c X INCLUDES = -I.. -I$(srcdir) -I../intl X libtar_a_LIBADD = @ALLOCA@ @LIBOBJS@ libtar_a_DEPENDENCIES = $(libtar_a_LIBADD) X # Say $(srcdir), so GNU make does not report an ambiguity with the .y.c rule. $(srcdir)/getdate.c: getdate.y X @echo Expect 13 shift/reduce conflicts... X cd $(srcdir) && \ X $(YACC) $(YFLAGS) getdate.y; \ X mv -f y.tab.c getdate.c SHAR_EOF $shar_touch -am 0416153097 'tar-1.12/lib/Makefile.am' && chmod 0644 'tar-1.12/lib/Makefile.am' || $echo 'restore of' 'tar-1.12/lib/Makefile.am' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/lib/Makefile.am:' 'MD5 check failed' 160045d2a0cefac6dca9daaa2a827633 tar-1.12/lib/Makefile.am SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/lib/Makefile.am'`" test 1600 -eq "$shar_count" || $echo 'tar-1.12/lib/Makefile.am:' 'original size' '1600,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/lib/Makefile.in ============== if test -f 'tar-1.12/lib/Makefile.in' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/lib/Makefile.in' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/lib/Makefile.in' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/lib/Makefile.in' && # Makefile.in generated automatically by automake 1.1n from Makefile.am X # Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. X # Makefile for GNU tar library. # Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc. X # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. X # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. X # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. X X SHELL = /bin/sh X srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ X bindir = @bindir@ sbindir = @sbindir@ libexecdir = @libexecdir@ datadir = @datadir@ sysconfdir = @sysconfdir@ sharedstatedir = @sharedstatedir@ localstatedir = @localstatedir@ libdir = @libdir@ infodir = @infodir@ mandir = @mandir@ includedir = @includedir@ oldincludedir = /usr/include X pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ X top_builddir = .. X ACLOCAL = @ACLOCAL@ AUTOCONF = @AUTOCONF@ AUTOMAKE = @AUTOMAKE@ AUTOHEADER = @AUTOHEADER@ X INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ transform = @program_transform_name@ X NORMAL_INSTALL = true PRE_INSTALL = true POST_INSTALL = true NORMAL_UNINSTALL = true PRE_UNINSTALL = true POST_UNINSTALL = true ACLOCAL = @ACLOCAL@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ DATADIRNAME = @DATADIRNAME@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ GENCAT = @GENCAT@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GT_NO = @GT_NO@ GT_YES = @GT_YES@ INSTOBJEXT = @INSTOBJEXT@ INTLDEPS = @INTLDEPS@ INTLLIBS = @INTLLIBS@ INTLOBJS = @INTLOBJS@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ PACKAGE = @PACKAGE@ POFILES = @POFILES@ POSUB = @POSUB@ RANLIB = @RANLIB@ RMT = @RMT@ U = @U@ USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ YACC = @YACC@ X AUTOMAKE_OPTIONS = gnits X noinst_LIBRARIES = libtar.a X EXTRA_DIST = \ alloca.c fileblocks.c fnmatch.c ftruncate.c execlp.c gmalloc.c \ memset.c mkdir.c modechange.h rename.c rmdir.c stpcpy.c strstr.c X noinst_HEADERS = \ argmatch.h backupfile.h error.h fnmatch.h getopt.h getdate.h getpagesize.h \ pathmax.h X libtar_a_SOURCES = \ argmatch.c backupfile.c error.c getdate.y getopt.c getopt1.c getversion.c \ modechange.c msleep.c xgetcwd.c xmalloc.c xstrdup.c X INCLUDES = -I.. -I$(srcdir) -I../intl X libtar_a_LIBADD = @ALLOCA@ @LIBOBJS@ libtar_a_DEPENDENCIES = $(libtar_a_LIBADD) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = ../config.h CONFIG_CLEAN_FILES = LIBRARIES = $(noinst_LIBRARIES) X X DEFS = @DEFS@ -I. -I$(srcdir) -I.. CPPFLAGS = @CPPFLAGS@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ libtar_a_OBJECTS = argmatch.o backupfile.o error.o getdate.o getopt.o \ getopt1.o getversion.o modechange.o msleep.o xgetcwd.o xmalloc.o \ xstrdup.o AR = ar CFLAGS = @CFLAGS@ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) LINK = $(CC) $(LDFLAGS) -o $@ HEADERS = $(noinst_HEADERS) X DIST_COMMON = ChangeLog Makefile.am Makefile.in alloca.c basename.c \ dirname.c execlp.c fileblocks.c fnmatch.c ftruncate.c getdate.c \ gmalloc.c memset.c mkdir.c rename.c rmdir.c strstr.c X X DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) X TAR = tar GZIP = --best SOURCES = $(libtar_a_SOURCES) OBJECTS = $(libtar_a_OBJECTS) X default: all X X.SUFFIXES: X.SUFFIXES: .c .o .y $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) X cd $(top_srcdir) && $(AUTOMAKE) --gnits lib/Makefile X Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) X cd $(top_builddir) \ X && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status X X mostlyclean-noinstLIBRARIES: X clean-noinstLIBRARIES: X test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) X distclean-noinstLIBRARIES: X maintainer-clean-noinstLIBRARIES: X X.c.o: X $(COMPILE) -c $< X mostlyclean-compile: X rm -f *.o core X clean-compile: X distclean-compile: X rm -f *.tab.c X maintainer-clean-compile: X libtar.a: $(libtar_a_OBJECTS) $(libtar_a_DEPENDENCIES) X rm -f libtar.a X $(AR) cru libtar.a $(libtar_a_OBJECTS) $(libtar_a_LIBADD) X $(RANLIB) libtar.a X.y.c: X $(YACC) $(YFLAGS) $< && mv y.tab.c $@ X if test -f y.tab.h; then \ X if cmp -s y.tab.h $*.h; then rm -f y.tab.h; else mv y.tab.h $*.h; fi; \ X else :; fi X tags: TAGS X ID: $(HEADERS) $(SOURCES) X here=`pwd` && cd $(srcdir) && mkid -f$$here/ID $(SOURCES) $(HEADERS) X TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) X tags=; \ X here=`pwd`; \ X list='$(SUBDIRS)'; for subdir in $$list; do \ X test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ X done; \ X test -z "$(ETAGS_ARGS)$(SOURCES)$(HEADERS)$$tags" \ X || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $(SOURCES) $(HEADERS) -o $$here/TAGS) X mostlyclean-tags: X clean-tags: X distclean-tags: X rm -f TAGS ID X maintainer-clean-tags: X distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) X subdir = lib distdir: $(DISTFILES) X @for file in $(DISTFILES); do \ X d=$(srcdir); \ X test -f $(distdir)/$$file \ X || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ X || cp -p $$d/$$file $(distdir)/$$file; \ X done alloca.o alloca.lo: alloca.c ../config.h argmatch.o argmatch.lo: argmatch.c ../config.h backupfile.o backupfile.lo: backupfile.c ../config.h backupfile.h basename.o basename.lo: basename.c ../config.h dirname.o dirname.lo: dirname.c ../config.h error.o error.lo: error.c ../config.h error.h execlp.o execlp.lo: execlp.c ../config.h fileblocks.o fileblocks.lo: fileblocks.c ../config.h fnmatch.o fnmatch.lo: fnmatch.c ../config.h fnmatch.h ftruncate.o ftruncate.lo: ftruncate.c ../config.h getdate.o getdate.lo: getdate.c ../config.h getdate.h getopt.o getopt.lo: getopt.c ../config.h getopt.h getopt1.o getopt1.lo: getopt1.c ../config.h getopt.h getversion.o getversion.lo: getversion.c ../config.h backupfile.h gmalloc.o gmalloc.lo: gmalloc.c ../config.h memset.o memset.lo: memset.c mkdir.o mkdir.lo: mkdir.c ../config.h modechange.o modechange.lo: modechange.c ../config.h modechange.h msleep.o msleep.lo: msleep.c ../config.h rename.o rename.lo: rename.c ../config.h rmdir.o rmdir.lo: rmdir.c ../config.h strstr.o strstr.lo: strstr.c xgetcwd.o xgetcwd.lo: xgetcwd.c ../config.h pathmax.h xmalloc.o xmalloc.lo: xmalloc.c ../config.h error.h xstrdup.o xstrdup.lo: xstrdup.c ../config.h X info: dvi: check: all X $(MAKE) installcheck: install-exec: X @$(NORMAL_INSTALL) X install-data: X @$(NORMAL_INSTALL) X install: install-exec install-data all X @: X uninstall: X all: $(LIBRARIES) $(HEADERS) Makefile X install-strip: X $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install installdirs: X X mostlyclean-generic: X test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) X clean-generic: X test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) X distclean-generic: X rm -f Makefile $(DISTCLEANFILES) X rm -f config.cache config.log stamp-h X test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) X maintainer-clean-generic: X test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) X test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) mostlyclean: mostlyclean-noinstLIBRARIES mostlyclean-compile \ X mostlyclean-tags mostlyclean-generic X clean: clean-noinstLIBRARIES clean-compile clean-tags clean-generic \ X mostlyclean X distclean: distclean-noinstLIBRARIES distclean-compile distclean-tags \ X distclean-generic clean X rm -f config.status X maintainer-clean: maintainer-clean-noinstLIBRARIES \ X maintainer-clean-compile maintainer-clean-tags \ X maintainer-clean-generic distclean X @echo "This command is intended for maintainers to use;" X @echo "it deletes files that may require special tools to rebuild." X X.PHONY: default mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \ clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \ mostlyclean-compile distclean-compile clean-compile \ maintainer-clean-compile tags mostlyclean-tags distclean-tags \ clean-tags maintainer-clean-tags distdir info dvi installcheck \ install-exec install-data install uninstall all installdirs \ mostlyclean-generic distclean-generic clean-generic \ maintainer-clean-generic clean mostlyclean distclean maintainer-clean X X # Say $(srcdir), so GNU make does not report an ambiguity with the .y.c rule. $(srcdir)/getdate.c: getdate.y X @echo Expect 13 shift/reduce conflicts... X cd $(srcdir) && \ X $(YACC) $(YFLAGS) getdate.y; \ X mv -f y.tab.c getdate.c X # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. X.NOEXPORT: SHAR_EOF $shar_touch -am 0425202297 'tar-1.12/lib/Makefile.in' && chmod 0644 'tar-1.12/lib/Makefile.in' || $echo 'restore of' 'tar-1.12/lib/Makefile.in' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/lib/Makefile.in:' 'MD5 check failed' 4bd04d65a09e729d06822e3730577790 tar-1.12/lib/Makefile.in SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/lib/Makefile.in'`" test 9289 -eq "$shar_count" || $echo 'tar-1.12/lib/Makefile.in:' 'original size' '9289,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/lib/alloca.c ============== if test -f 'tar-1.12/lib/alloca.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/lib/alloca.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/lib/alloca.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/lib/alloca.c' && /* alloca.c -- allocate automatically reclaimed memory X (Mostly) portable public-domain implementation -- D A Gwyn X X This implementation of the PWB library alloca function, X which is used to allocate space off the run-time stack so X that it is automatically reclaimed upon procedure exit, X was inspired by discussions with J. Q. Johnson of Cornell. X J.Otto Tennant contributed the Cray support. X X There are some preprocessor constants that can X be defined when compiling for your specific system, for X improved efficiency; however, the defaults should be okay. X X The general concept of this implementation is to keep X track of all alloca-allocated blocks, and reclaim any X that are found to be deeper in the stack than the current X invocation. This heuristic does not reclaim storage as X soon as it becomes invalid, but it will do so eventually. X X As a special case, alloca(0) reclaims storage without X allocating any. It is a good idea to use alloca(0) in X your main control loop, etc. to force garbage collection. */ X #ifdef HAVE_CONFIG_H #include #endif X #ifdef HAVE_STRING_H #include #endif #ifdef HAVE_STDLIB_H #include #endif X #ifdef emacs #include "blockinput.h" #endif X /* If compiling with GCC 2, this file's not needed. */ #if !defined (__GNUC__) || __GNUC__ < 2 X /* If someone has defined alloca as a macro, X there must be some other way alloca is supposed to work. */ #ifndef alloca X #ifdef emacs #ifdef static /* actually, only want this if static is defined as "" X -- this is for usg, in which emacs must undefine static X in order to make unexec workable X */ #ifndef STACK_DIRECTION you lose -- must know STACK_DIRECTION at compile-time #endif /* STACK_DIRECTION undefined */ #endif /* static */ #endif /* emacs */ X /* If your stack is a linked list of frames, you have to X provide an "address metric" ADDRESS_FUNCTION macro. */ X #if defined (CRAY) && defined (CRAY_STACKSEG_END) long i00afunc (); #define ADDRESS_FUNCTION(arg) (char *) i00afunc (&(arg)) #else #define ADDRESS_FUNCTION(arg) &(arg) #endif X #if __STDC__ typedef void *pointer; #else typedef char *pointer; #endif X #ifndef NULL #define NULL 0 #endif X /* Different portions of Emacs need to call different versions of X malloc. The Emacs executable needs alloca to call xmalloc, because X ordinary malloc isn't protected from input signals. On the other X hand, the utilities in lib-src need alloca to call malloc; some of X them are very simple, and don't have an xmalloc routine. X X Non-Emacs programs expect this to call xmalloc. X X Callers below should use malloc. */ X #ifndef emacs #define malloc xmalloc #endif extern pointer malloc (); X /* Define STACK_DIRECTION if you know the direction of stack X growth for your system; otherwise it will be automatically X deduced at run-time. X X STACK_DIRECTION > 0 => grows toward higher addresses X STACK_DIRECTION < 0 => grows toward lower addresses X STACK_DIRECTION = 0 => direction of growth unknown */ X #ifndef STACK_DIRECTION #define STACK_DIRECTION 0 /* Direction unknown. */ #endif X #if STACK_DIRECTION != 0 X #define STACK_DIR STACK_DIRECTION /* Known at compile-time. */ X #else /* STACK_DIRECTION == 0; need run-time code. */ X static int stack_dir; /* 1 or -1 once known. */ #define STACK_DIR stack_dir X static void find_stack_direction () { X static char *addr = NULL; /* Address of first `dummy', once known. */ X auto char dummy; /* To get stack address. */ X X if (addr == NULL) X { /* Initial entry. */ X addr = ADDRESS_FUNCTION (dummy); X X find_stack_direction (); /* Recurse once. */ X } X else X { X /* Second entry. */ X if (ADDRESS_FUNCTION (dummy) > addr) X stack_dir = 1; /* Stack grew upward. */ X else X stack_dir = -1; /* Stack grew downward. */ X } } X #endif /* STACK_DIRECTION == 0 */ X /* An "alloca header" is used to: X (a) chain together all alloca'ed blocks; X (b) keep track of stack depth. X X It is very important that sizeof(header) agree with malloc X alignment chunk size. The following default should work okay. */ X #ifndef ALIGN_SIZE #define ALIGN_SIZE sizeof(double) #endif X typedef union hdr { X char align[ALIGN_SIZE]; /* To force sizeof(header). */ X struct X { X union hdr *next; /* For chaining headers. */ X char *deep; /* For stack depth measure. */ X } h; } header; X static header *last_alloca_header = NULL; /* -> last alloca header. */ X /* Return a pointer to at least SIZE bytes of storage, X which will be automatically reclaimed upon exit from X the procedure that called alloca. Originally, this space X was supposed to be taken from the current stack frame of the X caller, but that method cannot be made to work for some X implementations of C, for example under Gould's UTX/32. */ X pointer alloca (size) X unsigned size; { X auto char probe; /* Probes stack depth: */ X register char *depth = ADDRESS_FUNCTION (probe); X #if STACK_DIRECTION == 0 X if (STACK_DIR == 0) /* Unknown growth direction. */ X find_stack_direction (); #endif X X /* Reclaim garbage, defined as all alloca'd storage that X was allocated from deeper in the stack than currently. */ X X { X register header *hp; /* Traverses linked list. */ X #ifdef emacs X BLOCK_INPUT; #endif X X for (hp = last_alloca_header; hp != NULL;) X if ((STACK_DIR > 0 && hp->h.deep > depth) X || (STACK_DIR < 0 && hp->h.deep < depth)) X { X register header *np = hp->h.next; X X free ((pointer) hp); /* Collect garbage. */ X X hp = np; /* -> next header. */ X } X else X break; /* Rest are not deeper. */ X X last_alloca_header = hp; /* -> last valid storage. */ X #ifdef emacs X UNBLOCK_INPUT; #endif X } X X if (size == 0) X return NULL; /* No allocation required. */ X X /* Allocate combined header + user data storage. */ X X { X register pointer new = malloc (sizeof (header) + size); X /* Address of header. */ X X if (new == 0) X abort(); X X ((header *) new)->h.next = last_alloca_header; X ((header *) new)->h.deep = depth; X X last_alloca_header = (header *) new; X X /* User storage begins just after header. */ X X return (pointer) ((char *) new + sizeof (header)); X } } X #if defined (CRAY) && defined (CRAY_STACKSEG_END) X #ifdef DEBUG_I00AFUNC #include #endif X #ifndef CRAY_STACK #define CRAY_STACK #ifndef CRAY2 /* Stack structures for CRAY-1, CRAY X-MP, and CRAY Y-MP */ struct stack_control_header X { X long shgrow:32; /* Number of times stack has grown. */ X long shaseg:32; /* Size of increments to stack. */ X long shhwm:32; /* High water mark of stack. */ X long shsize:32; /* Current size of stack (all segments). */ X }; X /* The stack segment linkage control information occurs at X the high-address end of a stack segment. (The stack X grows from low addresses to high addresses.) The initial X part of the stack segment linkage control information is X 0200 (octal) words. This provides for register storage X for the routine which overflows the stack. */ X struct stack_segment_linkage X { X long ss[0200]; /* 0200 overflow words. */ X long sssize:32; /* Number of words in this segment. */ X long ssbase:32; /* Offset to stack base. */ X long:32; X long sspseg:32; /* Offset to linkage control of previous X segment of stack. */ X long:32; X long sstcpt:32; /* Pointer to task common address block. */ X long sscsnm; /* Private control structure number for X microtasking. */ X long ssusr1; /* Reserved for user. */ X long ssusr2; /* Reserved for user. */ X long sstpid; /* Process ID for pid based multi-tasking. */ X long ssgvup; /* Pointer to multitasking thread giveup. */ X long sscray[7]; /* Reserved for Cray Research. */ X long ssa0; X long ssa1; X long ssa2; X long ssa3; X long ssa4; X long ssa5; X long ssa6; X long ssa7; X long sss0; X long sss1; X long sss2; X long sss3; X long sss4; X long sss5; X long sss6; X long sss7; X }; X #else /* CRAY2 */ /* The following structure defines the vector of words X returned by the STKSTAT library routine. */ struct stk_stat X { X long now; /* Current total stack size. */ X long maxc; /* Amount of contiguous space which would X be required to satisfy the maximum X stack demand to date. */ X long high_water; /* Stack high-water mark. */ X long overflows; /* Number of stack overflow ($STKOFEN) calls. */ X long hits; /* Number of internal buffer hits. */ X long extends; /* Number of block extensions. */ X long stko_mallocs; /* Block allocations by $STKOFEN. */ X long underflows; /* Number of stack underflow calls ($STKRETN). */ X long stko_free; /* Number of deallocations by $STKRETN. */ X long stkm_free; /* Number of deallocations by $STKMRET. */ X long segments; /* Current number of stack segments. */ X long maxs; /* Maximum number of stack segments so far. */ X long pad_size; /* Stack pad size. */ X long current_address; /* Current stack segment address. */ X long current_size; /* Current stack segment size. This X number is actually corrupted by STKSTAT to X include the fifteen word trailer area. */ X long initial_address; /* Address of initial segment. */ X long initial_size; /* Size of initial segment. */ X }; X /* The following structure describes the data structure which trails X any stack segment. I think that the description in 'asdef' is X out of date. I only describe the parts that I am sure about. */ X struct stk_trailer X { X long this_address; /* Address of this block. */ X long this_size; /* Size of this block (does not include X this trailer). */ X long unknown2; X long unknown3; X long link; /* Address of trailer block of previous X segment. */ X long unknown5; X long unknown6; X long unknown7; X long unknown8; X long unknown9; X long unknown10; X long unknown11; X long unknown12; X long unknown13; X long unknown14; X }; X #endif /* CRAY2 */ #endif /* not CRAY_STACK */ X #ifdef CRAY2 /* Determine a "stack measure" for an arbitrary ADDRESS. X I doubt that "lint" will like this much. */ X static long i00afunc (long *address) { X struct stk_stat status; X struct stk_trailer *trailer; X long *block, size; X long result = 0; X X /* We want to iterate through all of the segments. The first X step is to get the stack status structure. We could do this X more quickly and more directly, perhaps, by referencing the X $LM00 common block, but I know that this works. */ X X STKSTAT (&status); X X /* Set up the iteration. */ X X trailer = (struct stk_trailer *) (status.current_address X + status.current_size X - 15); X X /* There must be at least one stack segment. Therefore it is X a fatal error if "trailer" is null. */ X X if (trailer == 0) X abort (); X X /* Discard segments that do not contain our argument address. */ X X while (trailer != 0) X { X block = (long *) trailer->this_address; X size = trailer->this_size; X if (block == 0 || size == 0) X abort (); X trailer = (struct stk_trailer *) trailer->link; X if ((block <= address) && (address < (block + size))) X break; X } X X /* Set the result to the offset in this segment and add the sizes X of all predecessor segments. */ X X result = address - block; X X if (trailer == 0) X { X return result; X } X X do X { X if (trailer->this_size <= 0) X abort (); X result += trailer->this_size; X trailer = (struct stk_trailer *) trailer->link; X } X while (trailer != 0); X X /* We are done. Note that if you present a bogus address (one X not in any segment), you will get a different number back, formed X from subtracting the address of the first block. This is probably X not what you want. */ X X return (result); } X #else /* not CRAY2 */ /* Stack address function for a CRAY-1, CRAY X-MP, or CRAY Y-MP. X Determine the number of the cell within the stack, X given the address of the cell. The purpose of this X routine is to linearize, in some sense, stack addresses X for alloca. */ X static long i00afunc (long address) { X long stkl = 0; X X long size, pseg, this_segment, stack; X long result = 0; X X struct stack_segment_linkage *ssptr; X X /* Register B67 contains the address of the end of the X current stack segment. If you (as a subprogram) store X your registers on the stack and find that you are past X the contents of B67, you have overflowed the segment. X X B67 also points to the stack segment linkage control X area, which is what we are really interested in. */ X X stkl = CRAY_STACKSEG_END (); X ssptr = (struct stack_segment_linkage *) stkl; X X /* If one subtracts 'size' from the end of the segment, X one has the address of the first word of the segment. X X If this is not the first segment, 'pseg' will be X nonzero. */ X X pseg = ssptr->sspseg; X size = ssptr->sssize; X X this_segment = stkl - size; X X /* It is possible that calling this routine itself caused X a stack overflow. Discard stack segments which do not X contain the target address. */ X X while (!(this_segment <= address && address <= stkl)) X { #ifdef DEBUG_I00AFUNC X fprintf (stderr, "%011o %011o %011o\n", this_segment, address, stkl); #endif X if (pseg == 0) X break; X stkl = stkl - pseg; X ssptr = (struct stack_segment_linkage *) stkl; X size = ssptr->sssize; X pseg = ssptr->sspseg; X this_segment = stkl - size; X } X X result = address - this_segment; X X /* If you subtract pseg from the current end of the stack, X you get the address of the previous stack segment's end. X This seems a little convoluted to me, but I'll bet you save X a cycle somewhere. */ X X while (pseg != 0) X { #ifdef DEBUG_I00AFUNC X fprintf (stderr, "%011o %011o\n", pseg, size); #endif X stkl = stkl - pseg; X ssptr = (struct stack_segment_linkage *) stkl; X size = ssptr->sssize; X pseg = ssptr->sspseg; X result += size; X } X return (result); } X #endif /* not CRAY2 */ #endif /* CRAY */ X #endif /* no alloca */ #endif /* not GCC version 2 */ SHAR_EOF $shar_touch -am 0406140397 'tar-1.12/lib/alloca.c' && chmod 0644 'tar-1.12/lib/alloca.c' || $echo 'restore of' 'tar-1.12/lib/alloca.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/lib/alloca.c:' 'MD5 check failed' 40d256586327b856901be3004425e920 tar-1.12/lib/alloca.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/lib/alloca.c'`" test 14234 -eq "$shar_count" || $echo 'tar-1.12/lib/alloca.c:' 'original size' '14234,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/lib/basename.c ============== if test -f 'tar-1.12/lib/basename.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/lib/basename.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/lib/basename.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/lib/basename.c' && /* basename.c -- return the last element in a path X Copyright (C) 1990 Free Software Foundation, Inc. X X This program is free software; you can redistribute it and/or modify X it under the terms of the GNU General Public License as published by X the Free Software Foundation; either version 2, or (at your option) X any later version. X X This program is distributed in the hope that it will be useful, X but WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the X GNU General Public License for more details. X X You should have received a copy of the GNU General Public License X along with this program; if not, write to the Free Software Foundation, X Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X #ifdef HAVE_CONFIG_H # include #endif X /* Return NAME with any leading path stripped off. X Don't use strrchr/rindex. */ X char * basename (name) X const char *name; { X const char *base = name; X X while (*name) X { X if (*name == '/') X base = name + 1; X ++name; X } X return (char *) base; } SHAR_EOF $shar_touch -am 0714234796 'tar-1.12/lib/basename.c' && chmod 0444 'tar-1.12/lib/basename.c' || $echo 'restore of' 'tar-1.12/lib/basename.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/lib/basename.c:' 'MD5 check failed' f3a267ce30b56b4d24a9909057fff544 tar-1.12/lib/basename.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/lib/basename.c'`" test 1126 -eq "$shar_count" || $echo 'tar-1.12/lib/basename.c:' 'original size' '1126,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/lib/dirname.c ============== if test -f 'tar-1.12/lib/dirname.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/lib/dirname.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/lib/dirname.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/lib/dirname.c' && /* dirname.c -- return all but the last element in a path X Copyright (C) 1990 Free Software Foundation, Inc. X X This program is free software; you can redistribute it and/or modify X it under the terms of the GNU General Public License as published by X the Free Software Foundation; either version 2, or (at your option) X any later version. X X This program is distributed in the hope that it will be useful, X but WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the X GNU General Public License for more details. X X You should have received a copy of the GNU General Public License X along with this program; if not, write to the Free Software Foundation, X Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X #ifdef HAVE_CONFIG_H #include #endif X #ifdef STDC_HEADERS # include #else char *malloc (); #endif X #if defined(STDC_HEADERS) || defined(HAVE_STRING_H) # include #else # include # ifndef strrchr # define strrchr rindex # endif #endif X /* Return the leading directories part of PATH, X allocated with malloc. If out of memory, return 0. X Assumes that trailing slashes have already been X removed. */ X char * dirname (path) X char *path; { X char *newpath; X char *slash; X int length; /* Length of result, not including NUL. */ X X slash = strrchr (path, '/'); X if (slash == 0) X { X /* File is in the current directory. */ X path = "."; X length = 1; X } X else X { X /* Remove any trailing slashes from the result. */ X while (slash > path && *slash == '/') X --slash; X X length = slash - path + 1; X } X newpath = (char *) malloc (length + 1); X if (newpath == 0) X return 0; X strncpy (newpath, path, length); X newpath[length] = 0; X return newpath; } SHAR_EOF $shar_touch -am 0416212797 'tar-1.12/lib/dirname.c' && chmod 0644 'tar-1.12/lib/dirname.c' || $echo 'restore of' 'tar-1.12/lib/dirname.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/lib/dirname.c:' 'MD5 check failed' bc4209702c35efc07905adf149d2f937 tar-1.12/lib/dirname.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/lib/dirname.c'`" test 1860 -eq "$shar_count" || $echo 'tar-1.12/lib/dirname.c:' 'original size' '1860,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/lib/execlp.c ============== if test -f 'tar-1.12/lib/execlp.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/lib/execlp.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/lib/execlp.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/lib/execlp.c' && /* Provide an execlp replacement for Minix. X Copyright (C) 1988, 1994, 1995, 1997 Free Software Foundation, Inc. X X This file is part of GNU Tar. X X GNU Tar is free software; you can redistribute it and/or modify X it under the terms of the GNU General Public License as published by X the Free Software Foundation; either version 2, or (at your option) X any later version. X X GNU Tar is distributed in the hope that it will be useful, X but WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the X GNU General Public License for more details. X X You should have received a copy of the GNU General Public License X along with GNU Tar; see the file COPYING. If not, write to the Free X Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, X USA. */ X #if HAVE_CONFIG_H # include #endif X /* For defining NULL. */ #include X #if STDC_HEADERS # include #else char *getenv (); char *malloc (); #endif X #include #ifndef errno extern int errno; #endif X #include #include X #if STDC_HEADERS || HAVE_STRING_H # include #else # include # ifndef strchr # define strchr index # endif #endif X /* Synopsis: execlp (file, arg0, arg1... argN, (char *) NULL) X X Exec a program, automatically searching for the program through all the X directories on the PATH. X X This version is naive about variable argument lists and assumes a quite X straightforward C calling sequence. It will not work on systems having X odd stacks. */ X int execlp (filename, arg0) X char *filename; X char *arg0; { X register char *p, *path; X register char *fnbuffer; X char **argstart = &arg0; X struct stat statbuf; X extern char **environ; X X if (p = getenv ("PATH"), p == NULL) X { X /* Could not find path variable -- try to exec given filename. */ X X return execve (filename, argstart, environ); X } X X /* Make a place to build the filename. We malloc larger than we need, X but we know it will fit in this. */ X X fnbuffer = malloc (strlen (p) + 1 + strlen (filename)); X if (fnbuffer == NULL) X { X errno = ENOMEM; X return -1; X } X X /* Try each component of the path to see if the file's there and X executable. */ X X for (path = p; path; path = p) X { X X /* Construct full path name to try. */ X X if (p = strchr (path, ':'), !p) X strcpy (fnbuffer, path); X else X { X strncpy (fnbuffer, path, p - path); X fnbuffer[p - path] = '\0'; X p++; /* skip : for next time */ X } X if (strlen (fnbuffer) != 0) X strcat (fnbuffer, "/"); X strcat (fnbuffer, filename); X X /* Check to see if file is there and is a normal file. */ X X if (stat (fnbuffer, &statbuf) < 0) X { X if (errno == ENOENT) X continue; /* file not there,keep on looking */ X else X goto fail; /* failed for some reason, return */ X } X if (!S_ISREG (statbuf.st_mode)) X continue; X X if (execve (fnbuffer, argstart, environ) < 0 X && errno != ENOENT X && errno != ENOEXEC) X { X /* Failed, for some other reason besides "file. */ X X goto fail; X } X X /* If we got error ENOEXEC, the file is executable but is not an X object file. Try to execute it as a shell script, returning X error if we can't execute /bin/sh. X X FIXME, this code is broken in several ways. Shell scripts X should not in general be executed by the user's SHELL variable X program. On more mature systems, the script can specify with X #!/bin/whatever. Also, this code clobbers argstart[-1] if the X exec of the shell fails. */ X X if (errno == ENOEXEC) X { X char *shell; X X /* Try to execute command "sh arg0 arg1 ...". */ X X if (shell = getenv ("SHELL"), shell == NULL) X shell = "/bin/sh"; X argstart[-1] = shell; X argstart[0] = fnbuffer; X execve (shell, &argstart[-1], environ); X goto fail; /* exec didn't work */ X } X X /* If we succeeded, the execve() doesn't return, so we can only be X here is if the file hasn't been found yet. Try the next place X on the path. */ X X } X X /* All attempts failed to locate the file. Give up. */ X X errno = ENOENT; X fail: X free (fnbuffer); X return -1; } SHAR_EOF $shar_touch -am 0407220897 'tar-1.12/lib/execlp.c' && chmod 0644 'tar-1.12/lib/execlp.c' || $echo 'restore of' 'tar-1.12/lib/execlp.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/lib/execlp.c:' 'MD5 check failed' fe0bc98a742377a73853b91be161a04c tar-1.12/lib/execlp.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/lib/execlp.c'`" test 4226 -eq "$shar_count" || $echo 'tar-1.12/lib/execlp.c:' 'original size' '4226,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/lib/fileblocks.c ============== if test -f 'tar-1.12/lib/fileblocks.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/lib/fileblocks.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/lib/fileblocks.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/lib/fileblocks.c' && /* Convert file size to number of blocks on System V-like machines. X Copyright (C) 1990 Free Software Foundation, Inc. X X This program is free software; you can redistribute it and/or modify X it under the terms of the GNU General Public License as published by X the Free Software Foundation; either version 2, or (at your option) X any later version. X X This program is distributed in the hope that it will be useful, X but WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the X GNU General Public License for more details. X X You should have received a copy of the GNU General Public License X along with this program; if not, write to the Free Software Foundation, X Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X /* Written by Brian L. Matthews, blm@6sceng.UUCP. */ X #ifdef HAVE_CONFIG_H # include #endif X #if !defined (HAVE_ST_BLOCKS) && !defined(_POSIX_VERSION) # include # include X # ifndef NINDIR /* Some SysV's, like Irix, seem to lack these. Hope they're correct. */ /* Size of a indirect block, in bytes. */ # ifndef BSIZE # define BSIZE 1024 # endif X /* Number of inode pointers per indirect block. */ # define NINDIR (BSIZE/sizeof(daddr_t)) # endif /* !NINDIR */ X /* Number of direct block addresses in an inode. */ # define NDIR 10 X /* Return the number of 512-byte blocks in a file of SIZE bytes. */ X long st_blocks (size) X long size; { X long datablks = (size + 512 - 1) / 512; X long indrblks = 0; X X if (datablks > NDIR) X { X indrblks = (datablks - NDIR - 1) / NINDIR + 1; X X if (datablks > NDIR + NINDIR) X { X indrblks += (datablks - NDIR - NINDIR - 1) / (NINDIR * NINDIR) + 1; X X if (datablks > NDIR + NINDIR + NINDIR * NINDIR) X indrblks++; X } X } X X return datablks + indrblks; } #else /* This declaration is solely to ensure that after preprocessing X this file is never empty. */ extern int textutils_fileblocks_unused; #endif SHAR_EOF $shar_touch -am 0714233596 'tar-1.12/lib/fileblocks.c' && chmod 0444 'tar-1.12/lib/fileblocks.c' || $echo 'restore of' 'tar-1.12/lib/fileblocks.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/lib/fileblocks.c:' 'MD5 check failed' cf8e5a55c6aa7c1dbcfaec9d73f64dcc tar-1.12/lib/fileblocks.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/lib/fileblocks.c'`" test 2026 -eq "$shar_count" || $echo 'tar-1.12/lib/fileblocks.c:' 'original size' '2026,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/lib/fnmatch.c ============== if test -f 'tar-1.12/lib/fnmatch.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/lib/fnmatch.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/lib/fnmatch.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/lib/fnmatch.c' && /* Copyright (C) 1991, 1992, 1993, 1996, 1997 Free Software Foundation, Inc. X X This program is free software; you can redistribute it and/or modify X it under the terms of the GNU General Public License as published by X the Free Software Foundation; either version 2, or (at your option) X any later version. X X This program is distributed in the hope that it will be useful, X but WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the X GNU General Public License for more details. X X You should have received a copy of the GNU General Public License X along with this program; if not, write to the Free Software Foundation, X Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X #if HAVE_CONFIG_H # include #endif X /* Enable GNU extensions in fnmatch.h. */ #ifndef _GNU_SOURCE # define _GNU_SOURCE 1 #endif X #include #include #include X X /* Comment out all this code if we are using the GNU C Library, and are not X actually compiling the library itself. This code is part of the GNU C X Library, but also included in many other GNU distributions. Compiling X and linking in this code is a waste when using the GNU C library X (especially if it is a shared library). Rather than having every GNU X program understand `configure --with-gnu-libc' and omit the object files, X it is simpler to just do this in the source for each such file. */ X #if defined _LIBC || !defined __GNU_LIBRARY__ X X # if defined STDC_HEADERS || !defined isascii # define ISASCII(c) 1 # else # define ISASCII(c) isascii(c) # endif X # define ISUPPER(c) (ISASCII (c) && isupper (c)) X X # ifndef errno extern int errno; # endif X /* Match STRING against the filename pattern PATTERN, returning zero if X it matches, nonzero if not. */ int fnmatch (pattern, string, flags) X const char *pattern; X const char *string; X int flags; { X register const char *p = pattern, *n = string; X register char c; X /* Note that this evaluates C many times. */ # define FOLD(c) ((flags & FNM_CASEFOLD) && ISUPPER (c) ? tolower (c) : (c)) X X while ((c = *p++) != '\0') X { X c = FOLD (c); X X switch (c) X { X case '?': X if (*n == '\0') X return FNM_NOMATCH; X else if ((flags & FNM_FILE_NAME) && *n == '/') X return FNM_NOMATCH; X else if ((flags & FNM_PERIOD) && *n == '.' && X (n == string || ((flags & FNM_FILE_NAME) && n[-1] == '/'))) X return FNM_NOMATCH; X break; X X case '\\': X if (!(flags & FNM_NOESCAPE)) X { X c = *p++; X if (c == '\0') X /* Trailing \ loses. */ X return FNM_NOMATCH; X c = FOLD (c); X } X if (FOLD (*n) != c) X return FNM_NOMATCH; X break; X X case '*': X if ((flags & FNM_PERIOD) && *n == '.' && X (n == string || ((flags & FNM_FILE_NAME) && n[-1] == '/'))) X return FNM_NOMATCH; X X for (c = *p++; c == '?' || c == '*'; c = *p++) X { X if ((flags & FNM_FILE_NAME) && *n == '/') X /* A slash does not match a wildcard under FNM_FILE_NAME. */ X return FNM_NOMATCH; X else if (c == '?') X { X /* A ? needs to match one character. */ X if (*n == '\0') X /* There isn't another character; no match. */ X return FNM_NOMATCH; X else X /* One character of the string is consumed in matching X this ? wildcard, so *??? won't match if there are X less than three characters. */ X ++n; X } X } X X if (c == '\0') X return 0; X X { X char c1 = (!(flags & FNM_NOESCAPE) && c == '\\') ? *p : c; X c1 = FOLD (c1); X for (--p; *n != '\0'; ++n) X if ((c == '[' || FOLD (*n) == c1) && X fnmatch (p, n, flags & ~FNM_PERIOD) == 0) X return 0; X return FNM_NOMATCH; X } X X case '[': X { X /* Nonzero if the sense of the character class is inverted. */ X register int not; X X if (*n == '\0') X return FNM_NOMATCH; X X if ((flags & FNM_PERIOD) && *n == '.' && X (n == string || ((flags & FNM_FILE_NAME) && n[-1] == '/'))) X return FNM_NOMATCH; X X not = (*p == '!' || *p == '^'); X if (not) X ++p; X X c = *p++; X for (;;) X { X register char cstart = c, cend = c; X X if (!(flags & FNM_NOESCAPE) && c == '\\') X { X if (*p == '\0') X return FNM_NOMATCH; X cstart = cend = *p++; X } X X cstart = cend = FOLD (cstart); X X if (c == '\0') X /* [ (unterminated) loses. */ X return FNM_NOMATCH; X X c = *p++; X c = FOLD (c); X X if ((flags & FNM_FILE_NAME) && c == '/') X /* [/] can never match. */ X return FNM_NOMATCH; X X if (c == '-' && *p != ']') X { X cend = *p++; X if (!(flags & FNM_NOESCAPE) && cend == '\\') X cend = *p++; X if (cend == '\0') X return FNM_NOMATCH; X cend = FOLD (cend); X X c = *p++; X } X X if (FOLD (*n) >= cstart && FOLD (*n) <= cend) X goto matched; X X if (c == ']') X break; X } X if (!not) X return FNM_NOMATCH; X break; X X matched:; X /* Skip the rest of the [...] that already matched. */ X while (c != ']') X { X if (c == '\0') X /* [... (unterminated) loses. */ X return FNM_NOMATCH; X X c = *p++; X if (!(flags & FNM_NOESCAPE) && c == '\\') X { X if (*p == '\0') X return FNM_NOMATCH; X /* XXX 1003.2d11 is unclear if this is right. */ X ++p; X } X } X if (not) X return FNM_NOMATCH; X } X break; X X default: X if (c != FOLD (*n)) X return FNM_NOMATCH; X } X X ++n; X } X X if (*n == '\0') X return 0; X X if ((flags & FNM_LEADING_DIR) && *n == '/') X /* The FNM_LEADING_DIR flag says that "foo*" matches "foobar/frobozz". */ X return 0; X X return FNM_NOMATCH; X # undef FOLD } X #endif /* _LIBC or not __GNU_LIBRARY__. */ SHAR_EOF $shar_touch -am 0215052897 'tar-1.12/lib/fnmatch.c' && chmod 0644 'tar-1.12/lib/fnmatch.c' || $echo 'restore of' 'tar-1.12/lib/fnmatch.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/lib/fnmatch.c:' 'MD5 check failed' 4b9edea49c64ea457474a494130d0858 tar-1.12/lib/fnmatch.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/lib/fnmatch.c'`" test 5702 -eq "$shar_count" || $echo 'tar-1.12/lib/fnmatch.c:' 'original size' '5702,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/lib/ftruncate.c ============== if test -f 'tar-1.12/lib/ftruncate.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/lib/ftruncate.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/lib/ftruncate.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/lib/ftruncate.c' && /* ftruncate emulations that work on some System V's. X This file is in the public domain. */ X #ifdef HAVE_CONFIG_H #include #endif X #include #include X #ifdef F_CHSIZE X int ftruncate (fd, length) X int fd; X off_t length; { X return fcntl (fd, F_CHSIZE, length); } X #else /* not F_CHSIZE */ #ifdef F_FREESP X /* By William Kucharski . */ X #include #include #ifdef HAVE_UNISTD_H #include #endif X int ftruncate (fd, length) X int fd; X off_t length; { X struct flock fl; X struct stat filebuf; X X if (fstat (fd, &filebuf) < 0) X return -1; X X if (filebuf.st_size < length) X { X /* Extend file length. */ X if (lseek (fd, (length - 1), SEEK_SET) < 0) X return -1; X X /* Write a "0" byte. */ X if (write (fd, "", 1) != 1) X return -1; X } X else X { X X /* Truncate length. */ X X fl.l_whence = 0; X fl.l_len = 0; X fl.l_start = length; X fl.l_type = F_WRLCK; /* write lock on file space */ X X /* This relies on the *undocumented* F_FREESP argument to fcntl, X which truncates the file so that it ends at the position X indicated by fl.l_start. Will minor miracles never cease? */ X X if (fcntl (fd, F_FREESP, &fl) < 0) X return -1; X } X X return 0; } X #else /* not F_CHSIZE nor F_FREESP */ #ifdef HAVE_CHSIZE X int ftruncate (fd, length) X int fd; X off_t length; { X return chsize (fd, length); } X #else /* not F_CHSIZE nor F_FREESP nor HAVE_CHSIZE */ X #include #ifndef errno extern int errno; #endif X int ftruncate (fd, length) X int fd; X off_t length; { X errno = EIO; X return -1; } X #endif /* not HAVE_CHSIZE */ #endif /* not F_FREESP */ #endif /* not F_CHSIZE */ SHAR_EOF $shar_touch -am 0926172594 'tar-1.12/lib/ftruncate.c' && chmod 0644 'tar-1.12/lib/ftruncate.c' || $echo 'restore of' 'tar-1.12/lib/ftruncate.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/lib/ftruncate.c:' 'MD5 check failed' df5146927e8a82f85e0d56bdc49ca232 tar-1.12/lib/ftruncate.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/lib/ftruncate.c'`" test 1743 -eq "$shar_count" || $echo 'tar-1.12/lib/ftruncate.c:' 'original size' '1743,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/lib/getdate.c ============== if test -f 'tar-1.12/lib/getdate.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/lib/getdate.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/lib/getdate.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/lib/getdate.c' && X /* A Bison parser, made from getdate.y X by GNU Bison version 1.25 X */ X #define YYBISON 1 /* Identify Bison output. */ X #define tAGO 258 #define tDAY 259 #define tDAY_UNIT 260 #define tDAYZONE 261 #define tDST 262 #define tHOUR_UNIT 263 #define tID 264 #define tMERIDIAN 265 #define tMINUTE_UNIT 266 #define tMONTH 267 #define tMONTH_UNIT 268 #define tSEC_UNIT 269 #define tSNUMBER 270 #define tUNUMBER 271 #define tYEAR_UNIT 272 #define tZONE 273 X #line 1 "getdate.y" X /* ** Originally written by Steven M. Bellovin while ** at the University of North Carolina at Chapel Hill. Later tweaked by ** a couple of people on Usenet. Completely overhauled by Rich $alz ** and Jim Berets in August, 1990; ** ** This grammar has 13 shift/reduce conflicts. ** ** This code is in the public domain and has no copyright. */ X #ifdef HAVE_CONFIG_H # include # ifdef FORCE_ALLOCA_H # include # endif #endif X /* Since the code of getdate.y is not included in the Emacs executable X itself, there is no need to #define static in this file. Even if X the code were included in the Emacs executable, it probably X wouldn't do any harm to #undef it here; this will only cause X problems if we try to write to a static variable, which I don't X think this code needs to do. */ #ifdef emacs # undef static #endif X #include #include X #if defined (STDC_HEADERS) || (!defined (isascii) && !defined (HAVE_ISASCII)) # define IN_CTYPE_DOMAIN(c) 1 #else # define IN_CTYPE_DOMAIN(c) isascii(c) #endif X #define ISSPACE(c) (IN_CTYPE_DOMAIN (c) && isspace (c)) #define ISALPHA(c) (IN_CTYPE_DOMAIN (c) && isalpha (c)) #define ISUPPER(c) (IN_CTYPE_DOMAIN (c) && isupper (c)) #define ISDIGIT_LOCALE(c) (IN_CTYPE_DOMAIN (c) && isdigit (c)) X /* ISDIGIT differs from ISDIGIT_LOCALE, as follows: X - Its arg may be any int or unsigned int; it need not be an unsigned char. X - It's guaranteed to evaluate its argument exactly once. X - It's typically faster. X Posix 1003.2-1992 section 2.5.2.1 page 50 lines 1556-1558 says that X only '0' through '9' are digits. Prefer ISDIGIT to ISDIGIT_LOCALE unless X it's important to use the locale's definition of `digit' even when the X host does not conform to Posix. */ #define ISDIGIT(c) ((unsigned) (c) - '0' <= 9) X #include "getdate.h" X #if defined (STDC_HEADERS) || defined (USG) # include #endif X /* Some old versions of bison generate parsers that use bcopy. X That loses on systems that don't provide the function, so we have X to redefine it here. */ #if !defined (HAVE_BCOPY) && defined (HAVE_MEMCPY) && !defined (bcopy) # define bcopy(from, to, len) memcpy ((to), (from), (len)) #endif X extern struct tm *gmtime (); extern struct tm *localtime (); extern time_t mktime (); X /* Remap normal yacc parser interface names (yyparse, yylex, yyerror, etc), X as well as gratuitiously global symbol names, so we can have multiple X yacc generated parsers in the same program. Note that these are only X the variables produced by yacc. If other parser generators (bison, X byacc, etc) produce additional global names that conflict at link time, X then those parser generators need to be fixed instead of adding those X names to this list. */ X #define yymaxdepth gd_maxdepth #define yyparse gd_parse #define yylex gd_lex #define yyerror gd_error #define yylval gd_lval #define yychar gd_char #define yydebug gd_debug #define yypact gd_pact #define yyr1 gd_r1 #define yyr2 gd_r2 #define yydef gd_def #define yychk gd_chk #define yypgo gd_pgo #define yyact gd_act #define yyexca gd_exca #define yyerrflag gd_errflag #define yynerrs gd_nerrs #define yyps gd_ps #define yypv gd_pv #define yys gd_s #define yy_yys gd_yys #define yystate gd_state #define yytmp gd_tmp #define yyv gd_v #define yy_yyv gd_yyv #define yyval gd_val #define yylloc gd_lloc #define yyreds gd_reds /* With YYDEBUG defined */ #define yytoks gd_toks /* With YYDEBUG defined */ #define yylhs gd_yylhs #define yylen gd_yylen #define yydefred gd_yydefred #define yydgoto gd_yydgoto #define yysindex gd_yysindex #define yyrindex gd_yyrindex #define yygindex gd_yygindex #define yytable gd_yytable #define yycheck gd_yycheck X static int yylex (); static int yyerror (); X #define EPOCH 1970 #define HOUR(x) ((x) * 60) X #define MAX_BUFF_LEN 128 /* size of buffer to read the date into */ X /* ** An entry in the lexical lookup table. */ typedef struct _TABLE { X const char *name; X int type; X int value; } TABLE; X X /* ** Meridian: am, pm, or 24-hour style. */ typedef enum _MERIDIAN { X MERam, MERpm, MER24 } MERIDIAN; X X /* ** Global variables. We could get rid of most of these by using a good ** union as the yacc stack. (This routine was originally written before ** yacc had the %union construct.) Maybe someday; right now we only use ** the %union very rarely. */ static const char *yyInput; static int yyDayOrdinal; static int yyDayNumber; static int yyHaveDate; static int yyHaveDay; static int yyHaveRel; static int yyHaveTime; static int yyHaveZone; static int yyTimezone; static int yyDay; static int yyHour; static int yyMinutes; static int yyMonth; static int yySeconds; static int yyYear; static MERIDIAN yyMeridian; static int yyRelDay; static int yyRelHour; static int yyRelMinutes; static int yyRelMonth; static int yyRelSeconds; static int yyRelYear; X X #line 175 "getdate.y" typedef union { X int Number; X enum _MERIDIAN Meridian; } YYSTYPE; #include X #ifndef __cplusplus #ifndef __STDC__ #define const #endif #endif X X X #define YYFINAL 61 #define YYFLAG -32768 #define YYNTBASE 22 X #define YYTRANSLATE(x) ((unsigned)(x) <= 273 ? yytranslate[x] : 32) X static const char yytranslate[] = { 0, X 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, X 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, X 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, X 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, X 2, 2, 2, 20, 2, 2, 21, 2, 2, 2, X 2, 2, 2, 2, 2, 2, 2, 19, 2, 2, X 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, X 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, X 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, X 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, X 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, X 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, X 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, X 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, X 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, X 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, X 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, X 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, X 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, X 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, X 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, X 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, X 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, X 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, X 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, X 2, 2, 2, 2, 2, 1, 2, 3, 4, 5, X 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, X 16, 17, 18 }; X #if YYDEBUG != 0 static const short yyprhs[] = { 0, X 0, 1, 4, 6, 8, 10, 12, 14, 16, 19, X 24, 29, 36, 43, 45, 47, 50, 52, 55, 58, X 62, 68, 72, 76, 79, 84, 87, 91, 94, 96, X 99, 102, 104, 107, 110, 112, 115, 118, 120, 123, X 126, 128, 131, 134, 136, 139, 142, 144, 146, 147 }; X static const short yyrhs[] = { -1, X 22, 23, 0, 24, 0, 25, 0, 27, 0, 26, X 0, 28, 0, 30, 0, 16, 10, 0, 16, 19, X 16, 31, 0, 16, 19, 16, 15, 0, 16, 19, X 16, 19, 16, 31, 0, 16, 19, 16, 19, 16, X 15, 0, 18, 0, 6, 0, 18, 7, 0, 4, X 0, 4, 20, 0, 16, 4, 0, 16, 21, 16, X 0, 16, 21, 16, 21, 16, 0, 16, 15, 15, X 0, 16, 12, 15, 0, 12, 16, 0, 12, 16, X 20, 16, 0, 16, 12, 0, 16, 12, 16, 0, X 29, 3, 0, 29, 0, 16, 17, 0, 15, 17, X 0, 17, 0, 16, 13, 0, 15, 13, 0, 13, X 0, 16, 5, 0, 15, 5, 0, 5, 0, 16, X 8, 0, 15, 8, 0, 8, 0, 16, 11, 0, X 15, 11, 0, 11, 0, 16, 14, 0, 15, 14, X 0, 14, 0, 16, 0, 0, 10, 0 }; X #endif X #if YYDEBUG != 0 static const short yyrline[] = { 0, X 191, 192, 195, 198, 201, 204, 207, 210, 213, 219, X 225, 234, 240, 252, 255, 258, 264, 268, 272, 278, X 282, 300, 306, 312, 316, 321, 325, 332, 340, 343, X 346, 349, 352, 355, 358, 361, 364, 367, 370, 373, X 376, 379, 382, 385, 388, 391, 394, 399, 432, 436 }; #endif X X #if YYDEBUG != 0 || defined (YYERROR_VERBOSE) X static const char * const yytname[] = { "$","error","$undefined.","tAGO","tDAY", "tDAY_UNIT","tDAYZONE","tDST","tHOUR_UNIT","tID","tMERIDIAN","tMINUTE_UNIT", "tMONTH","tMONTH_UNIT","tSEC_UNIT","tSNUMBER","tUNUMBER","tYEAR_UNIT","tZONE", "':'","','","'/'","spec","item","time","zone","day","date","rel","relunit","number", "o_merid", NULL }; #endif X static const short yyr1[] = { 0, X 22, 22, 23, 23, 23, 23, 23, 23, 24, 24, X 24, 24, 24, 25, 25, 25, 26, 26, 26, 27, X 27, 27, 27, 27, 27, 27, 27, 28, 28, 29, X 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, X 29, 29, 29, 29, 29, 29, 29, 30, 31, 31 }; X static const short yyr2[] = { 0, X 0, 2, 1, 1, 1, 1, 1, 1, 2, 4, X 4, 6, 6, 1, 1, 2, 1, 2, 2, 3, X 5, 3, 3, 2, 4, 2, 3, 2, 1, 2, X 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, X 1, 2, 2, 1, 2, 2, 1, 1, 0, 1 }; X static const short yydefact[] = { 1, X 0, 17, 38, 15, 41, 44, 0, 35, 47, 0, X 48, 32, 14, 2, 3, 4, 6, 5, 7, 29, X 8, 18, 24, 37, 40, 43, 34, 46, 31, 19, X 36, 39, 9, 42, 26, 33, 45, 0, 30, 0, X 0, 16, 28, 0, 23, 27, 22, 49, 20, 25, X 50, 11, 0, 10, 0, 49, 21, 13, 12, 0, X 0 }; X static const short yydefgoto[] = { 1, X 14, 15, 16, 17, 18, 19, 20, 21, 54 }; X static const short yypact[] = {-32768, X 0, -19,-32768,-32768,-32768,-32768, -13,-32768,-32768, 30, X 15,-32768, 14,-32768,-32768,-32768,-32768,-32768,-32768, 19, -32768,-32768, 4,-32768,-32768,-32768,-32768,-32768,-32768,-32768, -32768,-32768,-32768,-32768, -6,-32768,-32768, 16,-32768, 17, X 23,-32768,-32768, 24,-32768,-32768,-32768, 27, 28,-32768, -32768,-32768, 29,-32768, 32, -8,-32768,-32768,-32768, 50, -32768 }; X static const short yypgoto[] = {-32768, -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, -5 }; X X #define YYLAST 51 X X static const short yytable[] = { 60, X 22, 51, 23, 2, 3, 4, 58, 5, 45, 46, X 6, 7, 8, 9, 10, 11, 12, 13, 30, 31, X 42, 43, 32, 44, 33, 34, 35, 36, 37, 38, X 47, 39, 48, 40, 24, 41, 51, 25, 49, 50, X 26, 52, 27, 28, 56, 53, 29, 57, 55, 61, X 59 }; X static const short yycheck[] = { 0, X 20, 10, 16, 4, 5, 6, 15, 8, 15, 16, X 11, 12, 13, 14, 15, 16, 17, 18, 4, 5, X 7, 3, 8, 20, 10, 11, 12, 13, 14, 15, X 15, 17, 16, 19, 5, 21, 10, 8, 16, 16, X 11, 15, 13, 14, 16, 19, 17, 16, 21, 0, X 56 }; /* -*-C-*- Note some compilers choke on comments on `#line' lines. */ #line 3 "/usr/local/share/bison.simple" X /* Skeleton output parser for bison, X Copyright (C) 1984, 1989, 1990 Free Software Foundation, Inc. X X This program is free software; you can redistribute it and/or modify X it under the terms of the GNU General Public License as published by X the Free Software Foundation; either version 2, or (at your option) X any later version. X X This program is distributed in the hope that it will be useful, X but WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the X GNU General Public License for more details. X X You should have received a copy of the GNU General Public License X along with this program; if not, write to the Free Software X Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ X /* As a special exception, when this file is copied by Bison into a X Bison output file, you may use that output file without restriction. X This special exception was added by the Free Software Foundation X in version 1.24 of Bison. */ X #ifndef alloca #ifdef __GNUC__ #define alloca __builtin_alloca #else /* not GNU C. */ #if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) || defined (__sparc) || defined (__sgi) #include #else /* not sparc */ #if defined (MSDOS) && !defined (__TURBOC__) #include #else /* not MSDOS, or __TURBOC__ */ #if defined(_AIX) #include X #pragma alloca #else /* not MSDOS, __TURBOC__, or _AIX */ #ifdef __hpux #include #ifdef _ULONG_T /* defined in on HP-UX 10 */ #include #else /* earlier HP-UX versions have alloca as a library function */ #ifdef __cplusplus extern "C" { void *alloca (unsigned int); }; #else /* not __cplusplus */ #define alloca __builtin_alloca #endif /* not __cplusplus */ #endif /* HP-UX <= 9 */ #endif /* __hpux */ #endif /* not _AIX */ #endif /* not MSDOS, or __TURBOC__ */ #endif /* not sparc. */ #endif /* not GNU C. */ #endif /* alloca not defined. */ X /* This is the parser code that is written into each bison parser X when the %semantic_parser declaration is not specified in the grammar. X It was written by Richard Stallman by simplifying the hairy parser X used when %semantic_parser is specified. */ X /* Note: there must be only one dollar sign in this file. X It is replaced by the list of actions, each action X as one case of the switch. */ X #define yyerrok (yyerrstatus = 0) #define yyclearin (yychar = YYEMPTY) #define YYEMPTY -2 #define YYEOF 0 #define YYACCEPT return(0) #define YYABORT return(1) #define YYERROR goto yyerrlab1 /* Like YYERROR except do call yyerror. X This remains here temporarily to ease the X transition to the new meaning of YYERROR, for GCC. X Once GCC version 2 has supplanted version 1, this can go. */ #define YYFAIL goto yyerrlab #define YYRECOVERING() (!!yyerrstatus) #define YYBACKUP(token, value) \ do \ X if (yychar == YYEMPTY && yylen == 1) \ X { yychar = (token), yylval = (value); \ X yychar1 = YYTRANSLATE (yychar); \ X YYPOPSTACK; \ X goto yybackup; \ X } \ X else \ X { yyerror ("syntax error: cannot back up"); YYERROR; } \ while (0) X #define YYTERROR 1 #define YYERRCODE 256 X #ifndef YYPURE #define YYLEX yylex() #endif X #ifdef YYPURE #ifdef YYLSP_NEEDED #ifdef YYLEX_PARAM #define YYLEX yylex(&yylval, &yylloc, YYLEX_PARAM) #else #define YYLEX yylex(&yylval, &yylloc) #endif #else /* not YYLSP_NEEDED */ #ifdef YYLEX_PARAM #define YYLEX yylex(&yylval, YYLEX_PARAM) #else #define YYLEX yylex(&yylval) #endif #endif /* not YYLSP_NEEDED */ #endif X /* If nonreentrant, generate the variables here */ X #ifndef YYPURE X int yychar; /* the lookahead symbol */ YYSTYPE yylval; /* the semantic value of the */ X /* lookahead symbol */ X #ifdef YYLSP_NEEDED YYLTYPE yylloc; /* location data for the lookahead */ X /* symbol */ #endif X int yynerrs; /* number of parse errors so far */ #endif /* not YYPURE */ X #if YYDEBUG != 0 int yydebug; /* nonzero means print parse trace */ /* Since this is uninitialized, it does not stop multiple parsers X from coexisting. */ #endif X /* YYINITDEPTH indicates the initial size of the parser's stacks */ X #ifndef YYINITDEPTH #define YYINITDEPTH 200 #endif X /* YYMAXDEPTH is the maximum size the stacks can grow to X (effective only if the built-in stack extension method is used). */ X #if YYMAXDEPTH == 0 #undef YYMAXDEPTH #endif X #ifndef YYMAXDEPTH #define YYMAXDEPTH 10000 #endif X /* Prevent warning if -Wstrict-prototypes. */ #ifdef __GNUC__ int yyparse (void); #endif X /* Define __yy_memcpy. Note that the size argument X should be passed with type unsigned int, because that is what the non-GCC X definitions require. With GCC, __builtin_memcpy takes an arg X of type size_t, but it can handle unsigned int. */ X #if __GNUC__ > 1 /* GNU C and GNU C++ define this. */ #define __yy_memcpy(TO,FROM,COUNT) __builtin_memcpy(TO,FROM,COUNT) #else /* not GNU C or C++ */ #ifndef __cplusplus X /* This is the most reliable way to avoid incompatibilities X in available built-in functions on various systems. */ static void __yy_memcpy (to, from, count) X char *to; X char *from; X unsigned int count; { X register char *f = from; X register char *t = to; X register int i = count; X X while (i-- > 0) X *t++ = *f++; } X #else /* __cplusplus */ X /* This is the most reliable way to avoid incompatibilities X in available built-in functions on various systems. */ static void __yy_memcpy (char *to, char *from, unsigned int count) { X register char *f = from; X register char *t = to; X register int i = count; X X while (i-- > 0) X *t++ = *f++; } X #endif #endif X #line 196 "/usr/local/share/bison.simple" X /* The user can define YYPARSE_PARAM as the name of an argument to be passed X into yyparse. The argument should have type void *. X It should actually point to an object. X Grammar actions can access the variable by casting it X to the proper pointer type. */ X #ifdef YYPARSE_PARAM #ifdef __cplusplus #define YYPARSE_PARAM_ARG void *YYPARSE_PARAM #define YYPARSE_PARAM_DECL #else /* not __cplusplus */ #define YYPARSE_PARAM_ARG YYPARSE_PARAM #define YYPARSE_PARAM_DECL void *YYPARSE_PARAM; #endif /* not __cplusplus */ #else /* not YYPARSE_PARAM */ #define YYPARSE_PARAM_ARG #define YYPARSE_PARAM_DECL #endif /* not YYPARSE_PARAM */ X int yyparse(YYPARSE_PARAM_ARG) X YYPARSE_PARAM_DECL { X register int yystate; X register int yyn; X register short *yyssp; X register YYSTYPE *yyvsp; X int yyerrstatus; /* number of tokens to shift before error messages enabled */ X int yychar1 = 0; /* lookahead token as an internal (translated) token number */ X X short yyssa[YYINITDEPTH]; /* the state stack */ X YYSTYPE yyvsa[YYINITDEPTH]; /* the semantic value stack */ X X short *yyss = yyssa; /* refer to the stacks thru separate pointers */ X YYSTYPE *yyvs = yyvsa; /* to allow yyoverflow to reallocate them elsewhere */ X #ifdef YYLSP_NEEDED X YYLTYPE yylsa[YYINITDEPTH]; /* the location stack */ X YYLTYPE *yyls = yylsa; X YYLTYPE *yylsp; X #define YYPOPSTACK (yyvsp--, yyssp--, yylsp--) #else #define YYPOPSTACK (yyvsp--, yyssp--) #endif X X int yystacksize = YYINITDEPTH; X #ifdef YYPURE X int yychar; X YYSTYPE yylval; X int yynerrs; #ifdef YYLSP_NEEDED X YYLTYPE yylloc; #endif #endif X X YYSTYPE yyval; /* the variable used to return */ X /* semantic values from the action */ X /* routines */ X X int yylen; X #if YYDEBUG != 0 X if (yydebug) X fprintf(stderr, "Starting parse\n"); #endif X X yystate = 0; X yyerrstatus = 0; X yynerrs = 0; X yychar = YYEMPTY; /* Cause a token to be read. */ X X /* Initialize stack pointers. X Waste one element of value and location stack X so that they stay on the same level as the state stack. X The wasted elements are never initialized. */ X X yyssp = yyss - 1; X yyvsp = yyvs; #ifdef YYLSP_NEEDED X yylsp = yyls; #endif X /* Push a new state, which is found in yystate . */ /* In all cases, when you get here, the value and location stacks X have just been pushed. so pushing a state here evens the stacks. */ yynewstate: X X *++yyssp = yystate; X X if (yyssp >= yyss + yystacksize - 1) X { X /* Give user a chance to reallocate the stack */ X /* Use copies of these so that the &'s don't force the real ones into memory. */ X YYSTYPE *yyvs1 = yyvs; X short *yyss1 = yyss; #ifdef YYLSP_NEEDED X YYLTYPE *yyls1 = yyls; #endif X X /* Get the current used size of the three stacks, in elements. */ X int size = yyssp - yyss + 1; X #ifdef yyoverflow X /* Each stack pointer address is followed by the size of X the data in use in that stack, in bytes. */ #ifdef YYLSP_NEEDED X /* This used to be a conditional around just the two extra args, X but that might be undefined if yyoverflow is a macro. */ X yyoverflow("parser stack overflow", X &yyss1, size * sizeof (*yyssp), X &yyvs1, size * sizeof (*yyvsp), X &yyls1, size * sizeof (*yylsp), X &yystacksize); #else X yyoverflow("parser stack overflow", X &yyss1, size * sizeof (*yyssp), X &yyvs1, size * sizeof (*yyvsp), X &yystacksize); #endif X X yyss = yyss1; yyvs = yyvs1; #ifdef YYLSP_NEEDED X yyls = yyls1; #endif #else /* no yyoverflow */ X /* Extend the stack our own way. */ X if (yystacksize >= YYMAXDEPTH) X { X yyerror("parser stack overflow"); X return 2; X } X yystacksize *= 2; X if (yystacksize > YYMAXDEPTH) X yystacksize = YYMAXDEPTH; X yyss = (short *) alloca (yystacksize * sizeof (*yyssp)); X __yy_memcpy ((char *)yyss, (char *)yyss1, X (unsigned int) size * sizeof (*yyssp)); X yyvs = (YYSTYPE *) alloca (yystacksize * sizeof (*yyvsp)); X __yy_memcpy ((char *)yyvs, (char *)yyvs1, X (unsigned int) size * sizeof (*yyvsp)); #ifdef YYLSP_NEEDED X yyls = (YYLTYPE *) alloca (yystacksize * sizeof (*yylsp)); X __yy_memcpy ((char *)yyls, (char *)yyls1, X (unsigned int) size * sizeof (*yylsp)); #endif #endif /* no yyoverflow */ X X yyssp = yyss + size - 1; X yyvsp = yyvs + size - 1; #ifdef YYLSP_NEEDED X yylsp = yyls + size - 1; #endif X #if YYDEBUG != 0 X if (yydebug) X fprintf(stderr, "Stack size increased to %d\n", yystacksize); #endif X X if (yyssp >= yyss + yystacksize - 1) X YYABORT; X } X #if YYDEBUG != 0 X if (yydebug) X fprintf(stderr, "Entering state %d\n", yystate); #endif X X goto yybackup; X yybackup: X /* Do appropriate processing given the current state. */ /* Read a lookahead token if we need one and don't already have one. */ /* yyresume: */ X X /* First try to decide what to do without reference to lookahead token. */ X X yyn = yypact[yystate]; X if (yyn == YYFLAG) X goto yydefault; X X /* Not known => get a lookahead token if don't already have one. */ X X /* yychar is either YYEMPTY or YYEOF X or a valid token in external form. */ X X if (yychar == YYEMPTY) X { #if YYDEBUG != 0 X if (yydebug) X fprintf(stderr, "Reading a token: "); #endif X yychar = YYLEX; X } X X /* Convert token to internal form (in yychar1) for indexing tables with */ X X if (yychar <= 0) /* This means end of input. */ X { X yychar1 = 0; X yychar = YYEOF; /* Don't call YYLEX any more */ X #if YYDEBUG != 0 X if (yydebug) X fprintf(stderr, "Now at end of input.\n"); #endif X } X else X { X yychar1 = YYTRANSLATE(yychar); X #if YYDEBUG != 0 X if (yydebug) X { X fprintf (stderr, "Next token is %d (%s", yychar, yytname[yychar1]); X /* Give the individual parser a way to print the precise meaning X of a token, for further debugging info. */ #ifdef YYPRINT X YYPRINT (stderr, yychar, yylval); #endif X fprintf (stderr, ")\n"); X } #endif X } X X yyn += yychar1; X if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != yychar1) X goto yydefault; X X yyn = yytable[yyn]; X X /* yyn is what to do for this token type in this state. X Negative => reduce, -yyn is rule number. X Positive => shift, yyn is new state. X New state is final state => don't bother to shift, X just return success. X 0, or most negative number => error. */ X X if (yyn < 0) X { X if (yyn == YYFLAG) X goto yyerrlab; X yyn = -yyn; X goto yyreduce; X } X else if (yyn == 0) X goto yyerrlab; X X if (yyn == YYFINAL) X YYACCEPT; X X /* Shift the lookahead token. */ X #if YYDEBUG != 0 X if (yydebug) X fprintf(stderr, "Shifting token %d (%s), ", yychar, yytname[yychar1]); #endif X X /* Discard the token being shifted unless it is eof. */ X if (yychar != YYEOF) X yychar = YYEMPTY; X X *++yyvsp = yylval; #ifdef YYLSP_NEEDED X *++yylsp = yylloc; #endif X X /* count tokens shifted since error; after three, turn off error status. */ X if (yyerrstatus) yyerrstatus--; X X yystate = yyn; X goto yynewstate; X /* Do the default action for the current state. */ yydefault: X X yyn = yydefact[yystate]; X if (yyn == 0) X goto yyerrlab; X /* Do a reduction. yyn is the number of a rule to reduce with. */ yyreduce: X yylen = yyr2[yyn]; X if (yylen > 0) X yyval = yyvsp[1-yylen]; /* implement default value of the action */ X #if YYDEBUG != 0 X if (yydebug) X { X int i; X X fprintf (stderr, "Reducing via rule %d (line %d), ", X yyn, yyrline[yyn]); X X /* Print the symbols being reduced, and their result. */ X for (i = yyprhs[yyn]; yyrhs[i] > 0; i++) X fprintf (stderr, "%s ", yytname[yyrhs[i]]); X fprintf (stderr, " -> %s\n", yytname[yyr1[yyn]]); X } #endif X X X switch (yyn) { X case 3: #line 195 "getdate.y" { X yyHaveTime++; X ; X break;} case 4: #line 198 "getdate.y" { X yyHaveZone++; X ; X break;} case 5: #line 201 "getdate.y" { X yyHaveDate++; X ; X break;} case 6: #line 204 "getdate.y" { X yyHaveDay++; X ; X break;} case 7: #line 207 "getdate.y" { X yyHaveRel++; X ; X break;} case 9: #line 213 "getdate.y" { X yyHour = yyvsp[-1].Number; X yyMinutes = 0; X yySeconds = 0; X yyMeridian = yyvsp[0].Meridian; X ; X break;} case 10: #line 219 "getdate.y" { X yyHour = yyvsp[-3].Number; X yyMinutes = yyvsp[-1].Number; X yySeconds = 0; X yyMeridian = yyvsp[0].Meridian; X ; X break;} case 11: #line 225 "getdate.y" { X yyHour = yyvsp[-3].Number; X yyMinutes = yyvsp[-1].Number; X yyMeridian = MER24; X yyHaveZone++; X yyTimezone = (yyvsp[0].Number < 0 X ? -yyvsp[0].Number % 100 + (-yyvsp[0].Number / 100) * 60 X : - (yyvsp[0].Number % 100 + (yyvsp[0].Number / 100) * 60)); X ; X break;} case 12: #line 234 "getdate.y" { X yyHour = yyvsp[-5].Number; X yyMinutes = yyvsp[-3].Number; X yySeconds = yyvsp[-1].Number; X yyMeridian = yyvsp[0].Meridian; X ; X break;} case 13: #line 240 "getdate.y" { X yyHour = yyvsp[-5].Number; X yyMinutes = yyvsp[-3].Number; X yySeconds = yyvsp[-1].Number; X yyMeridian = MER24; X yyHaveZone++; X yyTimezone = (yyvsp[0].Number < 0 X ? -yyvsp[0].Number % 100 + (-yyvsp[0].Number / 100) * 60 X : - (yyvsp[0].Number % 100 + (yyvsp[0].Number / 100) * 60)); X ; X break;} case 14: #line 252 "getdate.y" { X yyTimezone = yyvsp[0].Number; X ; X break;} case 15: #line 255 "getdate.y" { X yyTimezone = yyvsp[0].Number - 60; X ; X break;} case 16: #line 259 "getdate.y" { X yyTimezone = yyvsp[-1].Number - 60; X ; X break;} case 17: #line 264 "getdate.y" { X yyDayOrdinal = 1; X yyDayNumber = yyvsp[0].Number; X ; X break;} case 18: #line 268 "getdate.y" { X yyDayOrdinal = 1; X yyDayNumber = yyvsp[-1].Number; X ; X break;} case 19: #line 272 "getdate.y" { X yyDayOrdinal = yyvsp[-1].Number; X yyDayNumber = yyvsp[0].Number; X ; X break;} case 20: #line 278 "getdate.y" { X yyMonth = yyvsp[-2].Number; X yyDay = yyvsp[0].Number; X ; X break;} case 21: #line 282 "getdate.y" { X /* Interpret as YYYY/MM/DD if $1 >= 1000, otherwise as MM/DD/YY. X The goal in recognizing YYYY/MM/DD is solely to support legacy X machine-generated dates like those in an RCS log listing. If X you want portability, use the ISO 8601 format. */ X if (yyvsp[-4].Number >= 1000) X { X yyYear = yyvsp[-4].Number; X yyMonth = yyvsp[-2].Number; X yyDay = yyvsp[0].Number; X } X else X { X yyMonth = yyvsp[-4].Number; X yyDay = yyvsp[-2].Number; X yyYear = yyvsp[0].Number; X } X ; X break;} case 22: #line 300 "getdate.y" { X /* ISO 8601 format. yyyy-mm-dd. */ X yyYear = yyvsp[-2].Number; X yyMonth = -yyvsp[-1].Number; X yyDay = -yyvsp[0].Number; X ; X break;} case 23: #line 306 "getdate.y" { X /* e.g. 17-JUN-1992. */ X yyDay = yyvsp[-2].Number; X yyMonth = yyvsp[-1].Number; X yyYear = -yyvsp[0].Number; X ; X break;} case 24: #line 312 "getdate.y" { X yyMonth = yyvsp[-1].Number; X yyDay = yyvsp[0].Number; X ; X break;} case 25: #line 316 "getdate.y" { X yyMonth = yyvsp[-3].Number; X yyDay = yyvsp[-2].Number; X yyYear = yyvsp[0].Number; X ; X break;} case 26: #line 321 "getdate.y" { X yyMonth = yyvsp[0].Number; X yyDay = yyvsp[-1].Number; X ; X break;} case 27: #line 325 "getdate.y" { X yyMonth = yyvsp[-1].Number; X yyDay = yyvsp[-2].Number; X yyYear = yyvsp[0].Number; X ; X break;} case 28: #line 332 "getdate.y" { X yyRelSeconds = -yyRelSeconds; X yyRelMinutes = -yyRelMinutes; X yyRelHour = -yyRelHour; X yyRelDay = -yyRelDay; X yyRelMonth = -yyRelMonth; X yyRelYear = -yyRelYear; X ; X break;} case 30: #line 343 "getdate.y" { X yyRelYear += yyvsp[-1].Number * yyvsp[0].Number; X ; X break;} case 31: #line 346 "getdate.y" { X yyRelYear += yyvsp[-1].Number * yyvsp[0].Number; X ; X break;} case 32: #line 349 "getdate.y" { X yyRelYear += yyvsp[0].Number; X ; X break;} case 33: #line 352 "getdate.y" { X yyRelMonth += yyvsp[-1].Number * yyvsp[0].Number; X ; X break;} case 34: #line 355 "getdate.y" { X yyRelMonth += yyvsp[-1].Number * yyvsp[0].Number; X ; X break;} case 35: #line 358 "getdate.y" { X yyRelMonth += yyvsp[0].Number; X ; X break;} case 36: #line 361 "getdate.y" { X yyRelDay += yyvsp[-1].Number * yyvsp[0].Number; X ; X break;} case 37: #line 364 "getdate.y" { X yyRelDay += yyvsp[-1].Number * yyvsp[0].Number; X ; X break;} case 38: #line 367 "getdate.y" { X yyRelDay += yyvsp[0].Number; X ; X break;} case 39: #line 370 "getdate.y" { X yyRelHour += yyvsp[-1].Number * yyvsp[0].Number; X ; X break;} case 40: #line 373 "getdate.y" { X yyRelHour += yyvsp[-1].Number * yyvsp[0].Number; X ; X break;} case 41: #line 376 "getdate.y" { X yyRelHour += yyvsp[0].Number; X ; X break;} case 42: #line 379 "getdate.y" { X yyRelMinutes += yyvsp[-1].Number * yyvsp[0].Number; X ; X break;} case 43: #line 382 "getdate.y" { X yyRelMinutes += yyvsp[-1].Number * yyvsp[0].Number; X ; X break;} case 44: #line 385 "getdate.y" { X yyRelMinutes += yyvsp[0].Number; X ; X break;} case 45: #line 388 "getdate.y" { X yyRelSeconds += yyvsp[-1].Number * yyvsp[0].Number; X ; X break;} case 46: #line 391 "getdate.y" { X yyRelSeconds += yyvsp[-1].Number * yyvsp[0].Number; X ; X break;} case 47: #line 394 "getdate.y" { X yyRelSeconds += yyvsp[0].Number; X ; X break;} case 48: #line 400 "getdate.y" { X if (yyHaveTime && yyHaveDate && !yyHaveRel) X yyYear = yyvsp[0].Number; X else X { X if (yyvsp[0].Number>10000) X { X yyHaveDate++; X yyDay= (yyvsp[0].Number)%100; X yyMonth= (yyvsp[0].Number/100)%100; X yyYear = yyvsp[0].Number/10000; X } X else X { X yyHaveTime++; X if (yyvsp[0].Number < 100) X { X yyHour = yyvsp[0].Number; X yyMinutes = 0; X } X else X { X yyHour = yyvsp[0].Number / 100; X yyMinutes = yyvsp[0].Number % 100; X } X yySeconds = 0; X yyMeridian = MER24; X } X } X ; X break;} case 49: #line 433 "getdate.y" { X yyval.Meridian = MER24; X ; X break;} case 50: #line 437 "getdate.y" { X yyval.Meridian = yyvsp[0].Meridian; X ; X break;} } X /* the action file gets copied in in place of this dollarsign */ #line 498 "/usr/local/share/bison.simple" X X yyvsp -= yylen; X yyssp -= yylen; #ifdef YYLSP_NEEDED X yylsp -= yylen; #endif X #if YYDEBUG != 0 X if (yydebug) X { X short *ssp1 = yyss - 1; X fprintf (stderr, "state stack now"); X while (ssp1 != yyssp) X fprintf (stderr, " %d", *++ssp1); X fprintf (stderr, "\n"); X } #endif X X *++yyvsp = yyval; X #ifdef YYLSP_NEEDED X yylsp++; X if (yylen == 0) X { X yylsp->first_line = yylloc.first_line; X yylsp->first_column = yylloc.first_column; X yylsp->last_line = (yylsp-1)->last_line; X yylsp->last_column = (yylsp-1)->last_column; X yylsp->text = 0; X } X else X { X yylsp->last_line = (yylsp+yylen-1)->last_line; X yylsp->last_column = (yylsp+yylen-1)->last_column; X } #endif X X /* Now "shift" the result of the reduction. X Determine what state that goes to, X based on the state we popped back to X and the rule number reduced by. */ X X yyn = yyr1[yyn]; X X yystate = yypgoto[yyn - YYNTBASE] + *yyssp; X if (yystate >= 0 && yystate <= YYLAST && yycheck[yystate] == *yyssp) X yystate = yytable[yystate]; X else X yystate = yydefgoto[yyn - YYNTBASE]; X X goto yynewstate; X yyerrlab: /* here on detecting error */ X X if (! yyerrstatus) X /* If not already recovering from an error, report this error. */ X { X ++yynerrs; X #ifdef YYERROR_VERBOSE X yyn = yypact[yystate]; X X if (yyn > YYFLAG && yyn < YYLAST) X { X int size = 0; X char *msg; X int x, count; X X count = 0; X /* Start X at -yyn if nec to avoid negative indexes in yycheck. */ X for (x = (yyn < 0 ? -yyn : 0); X x < (sizeof(yytname) / sizeof(char *)); x++) X if (yycheck[x + yyn] == x) X size += strlen(yytname[x]) + 15, count++; X msg = (char *) malloc(size + 15); X if (msg != 0) X { X strcpy(msg, "parse error"); X X if (count < 5) X { X count = 0; X for (x = (yyn < 0 ? -yyn : 0); X x < (sizeof(yytname) / sizeof(char *)); x++) X if (yycheck[x + yyn] == x) X { X strcat(msg, count == 0 ? ", expecting `" : " or `"); X strcat(msg, yytname[x]); X strcat(msg, "'"); X count++; X } X } X yyerror(msg); X free(msg); X } X else X yyerror ("parse error; also virtual memory exceeded"); X } X else #endif /* YYERROR_VERBOSE */ X yyerror("parse error"); X } X X goto yyerrlab1; yyerrlab1: /* here on error raised explicitly by an action */ X X if (yyerrstatus == 3) X { X /* if just tried and failed to reuse lookahead token after an error, discard it. */ X X /* return failure if at end of input */ X if (yychar == YYEOF) X YYABORT; X #if YYDEBUG != 0 X if (yydebug) X fprintf(stderr, "Discarding token %d (%s).\n", yychar, yytname[yychar1]); #endif X X yychar = YYEMPTY; X } X X /* Else will try to reuse lookahead token X after shifting the error token. */ X X yyerrstatus = 3; /* Each real token shifted decrements this */ X X goto yyerrhandle; X yyerrdefault: /* current state does not do anything special for the error token. */ X #if 0 X /* This is wrong; only states that explicitly want error tokens X should shift them. */ X yyn = yydefact[yystate]; /* If its default is to accept any token, ok. Otherwise pop it.*/ X if (yyn) goto yydefault; #endif X yyerrpop: /* pop the current state because it cannot handle the error token */ X X if (yyssp == yyss) YYABORT; X yyvsp--; X yystate = *--yyssp; #ifdef YYLSP_NEEDED X yylsp--; #endif X #if YYDEBUG != 0 X if (yydebug) X { X short *ssp1 = yyss - 1; X fprintf (stderr, "Error: state stack now"); X while (ssp1 != yyssp) X fprintf (stderr, " %d", *++ssp1); X fprintf (stderr, "\n"); X } #endif X yyerrhandle: X X yyn = yypact[yystate]; X if (yyn == YYFLAG) X goto yyerrdefault; X X yyn += YYTERROR; X if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != YYTERROR) X goto yyerrdefault; X X yyn = yytable[yyn]; X if (yyn < 0) X { X if (yyn == YYFLAG) X goto yyerrpop; X yyn = -yyn; X goto yyreduce; X } X else if (yyn == 0) X goto yyerrpop; X X if (yyn == YYFINAL) X YYACCEPT; X #if YYDEBUG != 0 X if (yydebug) X fprintf(stderr, "Shifting error token, "); #endif X X *++yyvsp = yylval; #ifdef YYLSP_NEEDED X *++yylsp = yylloc; #endif X X yystate = yyn; X goto yynewstate; } #line 442 "getdate.y" X X /* Month and day table. */ static TABLE const MonthDayTable[] = { X { "january", tMONTH, 1 }, X { "february", tMONTH, 2 }, X { "march", tMONTH, 3 }, X { "april", tMONTH, 4 }, X { "may", tMONTH, 5 }, X { "june", tMONTH, 6 }, X { "july", tMONTH, 7 }, X { "august", tMONTH, 8 }, X { "september", tMONTH, 9 }, X { "sept", tMONTH, 9 }, X { "october", tMONTH, 10 }, X { "november", tMONTH, 11 }, X { "december", tMONTH, 12 }, X { "sunday", tDAY, 0 }, X { "monday", tDAY, 1 }, X { "tuesday", tDAY, 2 }, X { "tues", tDAY, 2 }, X { "wednesday", tDAY, 3 }, X { "wednes", tDAY, 3 }, X { "thursday", tDAY, 4 }, X { "thur", tDAY, 4 }, X { "thurs", tDAY, 4 }, X { "friday", tDAY, 5 }, X { "saturday", tDAY, 6 }, X { NULL } }; X /* Time units table. */ static TABLE const UnitsTable[] = { X { "year", tYEAR_UNIT, 1 }, X { "month", tMONTH_UNIT, 1 }, X { "fortnight", tDAY_UNIT, 14 }, X { "week", tDAY_UNIT, 7 }, X { "day", tDAY_UNIT, 1 }, X { "hour", tHOUR_UNIT, 1 }, X { "minute", tMINUTE_UNIT, 1 }, X { "min", tMINUTE_UNIT, 1 }, X { "second", tSEC_UNIT, 1 }, X { "sec", tSEC_UNIT, 1 }, X { NULL } }; X /* Assorted relative-time words. */ static TABLE const OtherTable[] = { X { "tomorrow", tMINUTE_UNIT, 1 * 24 * 60 }, X { "yesterday", tMINUTE_UNIT, -1 * 24 * 60 }, X { "today", tMINUTE_UNIT, 0 }, X { "now", tMINUTE_UNIT, 0 }, X { "last", tUNUMBER, -1 }, X { "this", tMINUTE_UNIT, 0 }, X { "next", tUNUMBER, 2 }, X { "first", tUNUMBER, 1 }, /* { "second", tUNUMBER, 2 }, */ X { "third", tUNUMBER, 3 }, X { "fourth", tUNUMBER, 4 }, X { "fifth", tUNUMBER, 5 }, X { "sixth", tUNUMBER, 6 }, X { "seventh", tUNUMBER, 7 }, X { "eighth", tUNUMBER, 8 }, X { "ninth", tUNUMBER, 9 }, X { "tenth", tUNUMBER, 10 }, X { "eleventh", tUNUMBER, 11 }, X { "twelfth", tUNUMBER, 12 }, X { "ago", tAGO, 1 }, X { NULL } }; X /* The timezone table. */ static TABLE const TimezoneTable[] = { X { "gmt", tZONE, HOUR ( 0) }, /* Greenwich Mean */ X { "ut", tZONE, HOUR ( 0) }, /* Universal (Coordinated) */ X { "utc", tZONE, HOUR ( 0) }, X { "wet", tZONE, HOUR ( 0) }, /* Western European */ X { "bst", tDAYZONE, HOUR ( 0) }, /* British Summer */ X { "wat", tZONE, HOUR ( 1) }, /* West Africa */ X { "at", tZONE, HOUR ( 2) }, /* Azores */ #if 0 X /* For completeness. BST is also British Summer, and GST is X * also Guam Standard. */ X { "bst", tZONE, HOUR ( 3) }, /* Brazil Standard */ X { "gst", tZONE, HOUR ( 3) }, /* Greenland Standard */ #endif #if 0 X { "nft", tZONE, HOUR (3.5) }, /* Newfoundland */ X { "nst", tZONE, HOUR (3.5) }, /* Newfoundland Standard */ X { "ndt", tDAYZONE, HOUR (3.5) }, /* Newfoundland Daylight */ #endif X { "ast", tZONE, HOUR ( 4) }, /* Atlantic Standard */ X { "adt", tDAYZONE, HOUR ( 4) }, /* Atlantic Daylight */ X { "est", tZONE, HOUR ( 5) }, /* Eastern Standard */ X { "edt", tDAYZONE, HOUR ( 5) }, /* Eastern Daylight */ X { "cst", tZONE, HOUR ( 6) }, /* Central Standard */ X { "cdt", tDAYZONE, HOUR ( 6) }, /* Central Daylight */ X { "mst", tZONE, HOUR ( 7) }, /* Mountain Standard */ X { "mdt", tDAYZONE, HOUR ( 7) }, /* Mountain Daylight */ X { "pst", tZONE, HOUR ( 8) }, /* Pacific Standard */ X { "pdt", tDAYZONE, HOUR ( 8) }, /* Pacific Daylight */ X { "yst", tZONE, HOUR ( 9) }, /* Yukon Standard */ X { "ydt", tDAYZONE, HOUR ( 9) }, /* Yukon Daylight */ X { "hst", tZONE, HOUR (10) }, /* Hawaii Standard */ X { "hdt", tDAYZONE, HOUR (10) }, /* Hawaii Daylight */ X { "cat", tZONE, HOUR (10) }, /* Central Alaska */ X { "ahst", tZONE, HOUR (10) }, /* Alaska-Hawaii Standard */ X { "nt", tZONE, HOUR (11) }, /* Nome */ X { "idlw", tZONE, HOUR (12) }, /* International Date Line West */ X { "cet", tZONE, -HOUR (1) }, /* Central European */ X { "met", tZONE, -HOUR (1) }, /* Middle European */ X { "mewt", tZONE, -HOUR (1) }, /* Middle European Winter */ X { "mest", tDAYZONE, -HOUR (1) }, /* Middle European Summer */ X { "mesz", tDAYZONE, -HOUR (1) }, /* Middle European Summer */ X { "swt", tZONE, -HOUR (1) }, /* Swedish Winter */ X { "sst", tDAYZONE, -HOUR (1) }, /* Swedish Summer */ X { "fwt", tZONE, -HOUR (1) }, /* French Winter */ X { "fst", tDAYZONE, -HOUR (1) }, /* French Summer */ X { "eet", tZONE, -HOUR (2) }, /* Eastern Europe, USSR Zone 1 */ X { "bt", tZONE, -HOUR (3) }, /* Baghdad, USSR Zone 2 */ #if 0 X { "it", tZONE, -HOUR (3.5) },/* Iran */ #endif X { "zp4", tZONE, -HOUR (4) }, /* USSR Zone 3 */ X { "zp5", tZONE, -HOUR (5) }, /* USSR Zone 4 */ #if 0 X { "ist", tZONE, -HOUR (5.5) },/* Indian Standard */ #endif X { "zp6", tZONE, -HOUR (6) }, /* USSR Zone 5 */ #if 0 X /* For completeness. NST is also Newfoundland Standard, and SST is X * also Swedish Summer. */ X { "nst", tZONE, -HOUR (6.5) },/* North Sumatra */ X { "sst", tZONE, -HOUR (7) }, /* South Sumatra, USSR Zone 6 */ #endif /* 0 */ X { "wast", tZONE, -HOUR (7) }, /* West Australian Standard */ X { "wadt", tDAYZONE, -HOUR (7) }, /* West Australian Daylight */ #if 0 X { "jt", tZONE, -HOUR (7.5) },/* Java (3pm in Cronusland!) */ #endif X { "cct", tZONE, -HOUR (8) }, /* China Coast, USSR Zone 7 */ X { "jst", tZONE, -HOUR (9) }, /* Japan Standard, USSR Zone 8 */ #if 0 X { "cast", tZONE, -HOUR (9.5) },/* Central Australian Standard */ X { "cadt", tDAYZONE, -HOUR (9.5) },/* Central Australian Daylight */ #endif X { "east", tZONE, -HOUR (10) }, /* Eastern Australian Standard */ X { "eadt", tDAYZONE, -HOUR (10) }, /* Eastern Australian Daylight */ X { "gst", tZONE, -HOUR (10) }, /* Guam Standard, USSR Zone 9 */ X { "nzt", tZONE, -HOUR (12) }, /* New Zealand */ X { "nzst", tZONE, -HOUR (12) }, /* New Zealand Standard */ X { "nzdt", tDAYZONE, -HOUR (12) }, /* New Zealand Daylight */ X { "idle", tZONE, -HOUR (12) }, /* International Date Line East */ X { NULL } }; X /* Military timezone table. */ static TABLE const MilitaryTable[] = { X { "a", tZONE, HOUR ( 1) }, X { "b", tZONE, HOUR ( 2) }, X { "c", tZONE, HOUR ( 3) }, X { "d", tZONE, HOUR ( 4) }, X { "e", tZONE, HOUR ( 5) }, X { "f", tZONE, HOUR ( 6) }, X { "g", tZONE, HOUR ( 7) }, X { "h", tZONE, HOUR ( 8) }, X { "i", tZONE, HOUR ( 9) }, X { "k", tZONE, HOUR ( 10) }, X { "l", tZONE, HOUR ( 11) }, X { "m", tZONE, HOUR ( 12) }, X { "n", tZONE, HOUR (- 1) }, X { "o", tZONE, HOUR (- 2) }, X { "p", tZONE, HOUR (- 3) }, X { "q", tZONE, HOUR (- 4) }, X { "r", tZONE, HOUR (- 5) }, X { "s", tZONE, HOUR (- 6) }, X { "t", tZONE, HOUR (- 7) }, X { "u", tZONE, HOUR (- 8) }, X { "v", tZONE, HOUR (- 9) }, X { "w", tZONE, HOUR (-10) }, X { "x", tZONE, HOUR (-11) }, X { "y", tZONE, HOUR (-12) }, X { "z", tZONE, HOUR ( 0) }, X { NULL } }; X X X X /* ARGSUSED */ static int yyerror (s) X char *s; { X return 0; } X static int ToHour (Hours, Meridian) X int Hours; X MERIDIAN Meridian; { X switch (Meridian) X { X case MER24: X if (Hours < 0 || Hours > 23) X return -1; X return Hours; X case MERam: X if (Hours < 1 || Hours > 12) X return -1; X if (Hours == 12) X Hours = 0; X return Hours; X case MERpm: X if (Hours < 1 || Hours > 12) X return -1; X if (Hours == 12) X Hours = 0; X return Hours + 12; X default: X abort (); X } X /* NOTREACHED */ } X static int ToYear (Year) X int Year; { X if (Year < 0) X Year = -Year; X X /* XPG4 suggests that years 00-68 map to 2000-2068, and X years 69-99 map to 1969-1999. */ X if (Year < 69) X Year += 2000; X else if (Year < 100) X Year += 1900; X X return Year; } X static int LookupWord (buff) X char *buff; { X register char *p; X register char *q; X register const TABLE *tp; X int i; X int abbrev; X X /* Make it lowercase. */ X for (p = buff; *p; p++) X if (ISUPPER (*p)) X *p = tolower (*p); X X if (strcmp (buff, "am") == 0 || strcmp (buff, "a.m.") == 0) X { X yylval.Meridian = MERam; X return tMERIDIAN; X } X if (strcmp (buff, "pm") == 0 || strcmp (buff, "p.m.") == 0) X { X yylval.Meridian = MERpm; X return tMERIDIAN; X } X X /* See if we have an abbreviation for a month. */ X if (strlen (buff) == 3) X abbrev = 1; X else if (strlen (buff) == 4 && buff[3] == '.') X { X abbrev = 1; X buff[3] = '\0'; X } X else X abbrev = 0; X X for (tp = MonthDayTable; tp->name; tp++) X { X if (abbrev) X { X if (strncmp (buff, tp->name, 3) == 0) X { X yylval.Number = tp->value; X return tp->type; X } X } X else if (strcmp (buff, tp->name) == 0) X { X yylval.Number = tp->value; X return tp->type; X } X } X X for (tp = TimezoneTable; tp->name; tp++) X if (strcmp (buff, tp->name) == 0) X { X yylval.Number = tp->value; X return tp->type; X } X X if (strcmp (buff, "dst") == 0) X return tDST; X X for (tp = UnitsTable; tp->name; tp++) X if (strcmp (buff, tp->name) == 0) X { X yylval.Number = tp->value; X return tp->type; X } X X /* Strip off any plural and try the units table again. */ X i = strlen (buff) - 1; X if (buff[i] == 's') X { X buff[i] = '\0'; X for (tp = UnitsTable; tp->name; tp++) X if (strcmp (buff, tp->name) == 0) X { X yylval.Number = tp->value; X return tp->type; X } X buff[i] = 's'; /* Put back for "this" in OtherTable. */ X } X X for (tp = OtherTable; tp->name; tp++) X if (strcmp (buff, tp->name) == 0) X { X yylval.Number = tp->value; X return tp->type; X } X X /* Military timezones. */ X if (buff[1] == '\0' && ISALPHA (*buff)) X { X for (tp = MilitaryTable; tp->name; tp++) X if (strcmp (buff, tp->name) == 0) X { X yylval.Number = tp->value; X return tp->type; X } X } X X /* Drop out any periods and try the timezone table again. */ X for (i = 0, p = q = buff; *q; q++) X if (*q != '.') X *p++ = *q; X else X i++; X *p = '\0'; X if (i) X for (tp = TimezoneTable; tp->name; tp++) X if (strcmp (buff, tp->name) == 0) X { X yylval.Number = tp->value; X return tp->type; X } X X return tID; } X static int yylex () { X register char c; X register char *p; X char buff[20]; X int Count; X int sign; X X for (;;) X { X while (ISSPACE (*yyInput)) X yyInput++; X X if (ISDIGIT (c = *yyInput) || c == '-' || c == '+') X { X if (c == '-' || c == '+') X { X sign = c == '-' ? -1 : 1; X if (!ISDIGIT (*++yyInput)) X /* skip the '-' sign */ X continue; X } X else X sign = 0; X for (yylval.Number = 0; ISDIGIT (c = *yyInput++);) X yylval.Number = 10 * yylval.Number + c - '0'; X yyInput--; X if (sign < 0) X yylval.Number = -yylval.Number; X return sign ? tSNUMBER : tUNUMBER; X } X if (ISALPHA (c)) X { X for (p = buff; (c = *yyInput++, ISALPHA (c)) || c == '.';) X if (p < &buff[sizeof buff - 1]) X *p++ = c; X *p = '\0'; X yyInput--; X return LookupWord (buff); X } X if (c != '(') X return *yyInput++; X Count = 0; X do X { X c = *yyInput++; X if (c == '\0') X return c; X if (c == '(') X Count++; X else if (c == ')') X Count--; X } X while (Count > 0); X } } X #define TM_YEAR_ORIGIN 1900 X /* Yield A - B, measured in seconds. */ static long difftm (a, b) X struct tm *a, *b; { X int ay = a->tm_year + (TM_YEAR_ORIGIN - 1); X int by = b->tm_year + (TM_YEAR_ORIGIN - 1); X long days = ( X /* difference in day of year */ X a->tm_yday - b->tm_yday X /* + intervening leap days */ X + ((ay >> 2) - (by >> 2)) X - (ay / 100 - by / 100) X + ((ay / 100 >> 2) - (by / 100 >> 2)) X /* + difference in years * 365 */ X + (long) (ay - by) * 365 X ); X return (60 * (60 * (24 * days + (a->tm_hour - b->tm_hour)) X + (a->tm_min - b->tm_min)) X + (a->tm_sec - b->tm_sec)); } X time_t get_date (p, now) X const char *p; X const time_t *now; { X struct tm tm, tm0, *tmp; X time_t Start; X X yyInput = p; X Start = now ? *now : time ((time_t *) NULL); X tmp = localtime (&Start); X yyYear = tmp->tm_year + TM_YEAR_ORIGIN; X yyMonth = tmp->tm_mon + 1; X yyDay = tmp->tm_mday; X yyHour = tmp->tm_hour; X yyMinutes = tmp->tm_min; X yySeconds = tmp->tm_sec; X yyMeridian = MER24; X yyRelSeconds = 0; X yyRelMinutes = 0; X yyRelHour = 0; X yyRelDay = 0; X yyRelMonth = 0; X yyRelYear = 0; X yyHaveDate = 0; X yyHaveDay = 0; X yyHaveRel = 0; X yyHaveTime = 0; X yyHaveZone = 0; X X if (yyparse () X || yyHaveTime > 1 || yyHaveZone > 1 || yyHaveDate > 1 || yyHaveDay > 1) X return -1; X X tm.tm_year = ToYear (yyYear) - TM_YEAR_ORIGIN + yyRelYear; X tm.tm_mon = yyMonth - 1 + yyRelMonth; X tm.tm_mday = yyDay + yyRelDay; X if (yyHaveTime || (yyHaveRel && !yyHaveDate && !yyHaveDay)) X { X tm.tm_hour = ToHour (yyHour, yyMeridian); X if (tm.tm_hour < 0) X return -1; X tm.tm_min = yyMinutes; X tm.tm_sec = yySeconds; X } X else X { X tm.tm_hour = tm.tm_min = tm.tm_sec = 0; X } X tm.tm_hour += yyRelHour; X tm.tm_min += yyRelMinutes; X tm.tm_sec += yyRelSeconds; X tm.tm_isdst = -1; X tm0 = tm; X X Start = mktime (&tm); X X if (Start == (time_t) -1) X { X X /* Guard against falsely reporting errors near the time_t boundaries X when parsing times in other time zones. For example, if the min X time_t value is 1970-01-01 00:00:00 UTC and we are 8 hours ahead X of UTC, then the min localtime value is 1970-01-01 08:00:00; if X we apply mktime to 1970-01-01 00:00:00 we will get an error, so X we apply mktime to 1970-01-02 08:00:00 instead and adjust the time X zone by 24 hours to compensate. This algorithm assumes that X there is no DST transition within a day of the time_t boundaries. */ X if (yyHaveZone) X { X tm = tm0; X if (tm.tm_year <= EPOCH - TM_YEAR_ORIGIN) X { X tm.tm_mday++; X yyTimezone -= 24 * 60; X } X else X { X tm.tm_mday--; X yyTimezone += 24 * 60; X } X Start = mktime (&tm); X } X X if (Start == (time_t) -1) X return Start; X } X X if (yyHaveDay && !yyHaveDate) X { X tm.tm_mday += ((yyDayNumber - tm.tm_wday + 7) % 7 X + 7 * (yyDayOrdinal - (0 < yyDayOrdinal))); X Start = mktime (&tm); X if (Start == (time_t) -1) X return Start; X } X X if (yyHaveZone) X { X long delta = yyTimezone * 60L + difftm (&tm, gmtime (&Start)); X if ((Start + delta < Start) != (delta < 0)) X return -1; /* time_t overflow */ X Start += delta; X } X X return Start; } X #if defined (TEST) X /* ARGSUSED */ int main (ac, av) X int ac; X char *av[]; { X char buff[MAX_BUFF_LEN + 1]; X time_t d; X X (void) printf ("Enter date, or blank line to exit.\n\t> "); X (void) fflush (stdout); X X buff[MAX_BUFF_LEN] = 0; X while (fgets (buff, MAX_BUFF_LEN, stdin) && buff[0]) X { X d = get_date (buff, (time_t *) NULL); X if (d == -1) X (void) printf ("Bad format - couldn't convert.\n"); X else X (void) printf ("%s", ctime (&d)); X (void) printf ("\t> "); X (void) fflush (stdout); X } X exit (0); X /* NOTREACHED */ } #endif /* defined (TEST) */ SHAR_EOF $shar_touch -am 0424081897 'tar-1.12/lib/getdate.c' && chmod 0644 'tar-1.12/lib/getdate.c' || $echo 'restore of' 'tar-1.12/lib/getdate.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/lib/getdate.c:' 'MD5 check failed' 3f00b4f8f6cf496456c1f8a1e4555cb6 tar-1.12/lib/getdate.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/lib/getdate.c'`" test 52519 -eq "$shar_count" || $echo 'tar-1.12/lib/getdate.c:' 'original size' '52519,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/lib/gmalloc.c ============== if test -f 'tar-1.12/lib/gmalloc.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/lib/gmalloc.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/lib/gmalloc.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/lib/gmalloc.c' && /* DO NOT EDIT THIS FILE -- it is automagically generated. -*- C -*- */ X #define _MALLOC_INTERNAL X /* The malloc headers and source files from the C library follow here. */ X /* Declarations for `malloc' and friends. X Copyright 1990, 1991, 1992, 1993 Free Software Foundation, Inc. X Written May 1989 by Mike Haertel. X This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. X This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. X You should have received a copy of the GNU Library General Public License along with this library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. X X The author may be reached (Email) at the address mike@ai.mit.edu, X or (US mail) as Mike Haertel c/o Free Software Foundation. */ X #ifndef _MALLOC_H X #define _MALLOC_H 1 X #ifdef _MALLOC_INTERNAL X #ifdef HAVE_CONFIG_H #include #endif X #if defined(_LIBC) || defined(STDC_HEADERS) || defined(USG) #include #else #ifndef memset #define memset(s, zero, n) bzero ((s), (n)) #endif #ifndef memcpy #define memcpy(d, s, n) bcopy ((s), (d), (n)) #endif #endif X #if defined(__GNU_LIBRARY__) || __STDC__ #include #else #define CHAR_BIT 8 #endif X #ifdef HAVE_UNISTD_H #include #endif X #endif /* _MALLOC_INTERNAL. */ X X #ifdef __cplusplus extern "C" { #endif X #if defined (__cplusplus) || __STDC__ #undef __P #define __P(args) args #undef __ptr_t #define __ptr_t void * #else /* Not C++ or ANSI C. */ #undef __P #define __P(args) () #undef const #define const #undef __ptr_t #define __ptr_t char * #endif /* C++ or ANSI C. */ X #if __STDC__ #include #else #undef size_t #define size_t unsigned int #undef ptrdiff_t #define ptrdiff_t int #endif X #ifndef NULL #define NULL 0 #endif X X /* Allocate SIZE bytes of memory. */ extern __ptr_t malloc __P ((size_t __size)); /* Re-allocate the previously allocated block X in __ptr_t, making the new block SIZE bytes long. */ extern __ptr_t realloc __P ((__ptr_t __ptr, size_t __size)); /* Allocate NMEMB elements of SIZE bytes each, all initialized to 0. */ extern __ptr_t calloc __P ((size_t __nmemb, size_t __size)); /* Free a block allocated by `malloc', `realloc' or `calloc'. */ extern void free __P ((__ptr_t __ptr)); X /* Allocate SIZE bytes allocated to ALIGNMENT bytes. */ extern __ptr_t memalign __P ((size_t __alignment, size_t __size)); X /* Allocate SIZE bytes on a page boundary. */ extern __ptr_t valloc __P ((size_t __size)); X X #ifdef _MALLOC_INTERNAL X /* The allocator divides the heap into blocks of fixed size; large X requests receive one or more whole blocks, and small requests X receive a fragment of a block. Fragment sizes are powers of two, X and all fragments of a block are the same size. When all the X fragments in a block have been freed, the block itself is freed. */ #define INT_BIT (CHAR_BIT * sizeof(int)) #define BLOCKLOG (INT_BIT > 16 ? 12 : 9) #define BLOCKSIZE (1 << BLOCKLOG) #define BLOCKIFY(SIZE) (((SIZE) + BLOCKSIZE - 1) / BLOCKSIZE) X /* Determine the amount of memory spanned by the initial heap table X (not an absolute limit). */ #define HEAP (INT_BIT > 16 ? 4194304 : 65536) X /* Number of contiguous free blocks allowed to build up at the end of X memory before they will be returned to the system. */ #define FINAL_FREE_BLOCKS 8 X /* Data structure giving per-block information. */ typedef union X { X /* Heap information for a busy block. */ X struct X { X /* Zero for a large block, or positive giving the X logarithm to the base two of the fragment size. */ X int type; X union X { X struct X { X size_t nfree; /* Free fragments in a fragmented block. */ X size_t first; /* First free fragment of the block. */ X } frag; X /* Size (in blocks) of a large cluster. */ X size_t size; X } info; X } busy; X /* Heap information for a free block X (that may be the first of a free cluster). */ X struct X { X size_t size; /* Size (in blocks) of a free cluster. */ X size_t next; /* Index of next free cluster. */ X size_t prev; /* Index of previous free cluster. */ X } free; X } malloc_info; X /* Pointer to first block of the heap. */ extern char *_heapbase; X /* Table indexed by block number giving per-block information. */ extern malloc_info *_heapinfo; X /* Address to block number and vice versa. */ #define BLOCK(A) (((char *) (A) - _heapbase) / BLOCKSIZE + 1) #define ADDRESS(B) ((__ptr_t) (((B) - 1) * BLOCKSIZE + _heapbase)) X /* Current search index for the heap table. */ extern size_t _heapindex; X /* Limit of valid info table indices. */ extern size_t _heaplimit; X /* Doubly linked lists of free fragments. */ struct list X { X struct list *next; X struct list *prev; X }; X /* Free list headers for each fragment size. */ extern struct list _fraghead[]; X /* List of blocks allocated with `memalign' (or `valloc'). */ struct alignlist X { X struct alignlist *next; X __ptr_t aligned; /* The address that memaligned returned. */ X __ptr_t exact; /* The address that malloc returned. */ X }; extern struct alignlist *_aligned_blocks; X /* Instrumentation. */ extern size_t _chunks_used; extern size_t _bytes_used; extern size_t _chunks_free; extern size_t _bytes_free; X /* Internal version of `free' used in `morecore' (malloc.c). */ extern void _free_internal __P ((__ptr_t __ptr)); X #endif /* _MALLOC_INTERNAL. */ X /* Underlying allocation function; successive calls should X return contiguous pieces of memory. */ extern __ptr_t (*__morecore) __P ((ptrdiff_t __size)); X /* Default value of `__morecore'. */ extern __ptr_t __default_morecore __P ((ptrdiff_t __size)); X /* If not NULL, this function is called after each time X `__morecore' is called to increase the data size. */ extern void (*__after_morecore_hook) __P ((void)); X /* Nonzero if `malloc' has been called and done its initialization. */ extern int __malloc_initialized; X /* Hooks for debugging versions. */ extern void (*__free_hook) __P ((__ptr_t __ptr)); extern __ptr_t (*__malloc_hook) __P ((size_t __size)); extern __ptr_t (*__realloc_hook) __P ((__ptr_t __ptr, size_t __size)); X /* Return values for `mprobe': these are the kinds of inconsistencies that X `mcheck' enables detection of. */ enum mcheck_status X { X MCHECK_DISABLED = -1, /* Consistency checking is not turned on. */ X MCHECK_OK, /* Block is fine. */ X MCHECK_FREE, /* Block freed twice. */ X MCHECK_HEAD, /* Memory before the block was clobbered. */ X MCHECK_TAIL /* Memory after the block was clobbered. */ X }; X /* Activate a standard collection of debugging hooks. This must be called X before `malloc' is ever called. ABORTFUNC is called with an error code X (see enum above) when an inconsistency is detected. If ABORTFUNC is X null, the standard function prints on stderr and then calls `abort'. */ extern int mcheck __P ((void (*__abortfunc) __P ((enum mcheck_status)))); X /* Check for aberrations in a particular malloc'd block. You must have X called `mcheck' already. These are the same checks that `mcheck' does X when you free or reallocate a block. */ extern enum mcheck_status mprobe __P ((__ptr_t __ptr)); X /* Activate a standard collection of tracing hooks. */ extern void mtrace __P ((void)); X /* Statistics available to the user. */ struct mstats X { X size_t bytes_total; /* Total size of the heap. */ X size_t chunks_used; /* Chunks allocated by the user. */ X size_t bytes_used; /* Byte total of user-allocated chunks. */ X size_t chunks_free; /* Chunks in the free list. */ X size_t bytes_free; /* Byte total of chunks in the free list. */ X }; X /* Pick up the current statistics. */ extern struct mstats mstats __P ((void)); X /* Call WARNFUN with a warning message when memory usage is high. */ extern void memory_warnings __P ((__ptr_t __start, X void (*__warnfun) __P ((const char *)))); X X /* Relocating allocator. */ X /* Allocate SIZE bytes, and store the address in *HANDLEPTR. */ extern __ptr_t r_alloc __P ((__ptr_t *__handleptr, size_t __size)); X /* Free the storage allocated in HANDLEPTR. */ extern void r_alloc_free __P ((__ptr_t *__handleptr)); X /* Adjust the block at HANDLEPTR to be SIZE bytes long. */ extern __ptr_t r_re_alloc __P ((__ptr_t *__handleptr, size_t __size)); X X #ifdef __cplusplus } #endif X #endif /* malloc.h */ /* Allocate memory on a page boundary. X Copyright (C) 1991, 1992, 1993 Free Software Foundation, Inc. X This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. X This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. X You should have received a copy of the GNU Library General Public License along with this library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. X X The author may be reached (Email) at the address mike@ai.mit.edu, X or (US mail) as Mike Haertel c/o Free Software Foundation. */ X #if defined (__GNU_LIBRARY__) || defined (_LIBC) #include #include extern size_t __getpagesize __P ((void)); #else #include "getpagesize.h" #define __getpagesize() getpagesize() #endif X #ifndef _MALLOC_INTERNAL #define _MALLOC_INTERNAL #include #endif X static size_t pagesize; X __ptr_t valloc (size) X size_t size; { X if (pagesize == 0) X pagesize = __getpagesize (); X X return memalign (pagesize, size); } /* Memory allocator `malloc'. X Copyright 1990, 1991, 1992, 1993, 1994 Free Software Foundation X Written May 1989 by Mike Haertel. X This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. X This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. X You should have received a copy of the GNU Library General Public License along with this library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. X X The author may be reached (Email) at the address mike@ai.mit.edu, X or (US mail) as Mike Haertel c/o Free Software Foundation. */ X #ifndef _MALLOC_INTERNAL #define _MALLOC_INTERNAL #include #endif X /* How to really get more memory. */ __ptr_t (*__morecore) __P ((ptrdiff_t __size)) = __default_morecore; X /* Debugging hook for `malloc'. */ __ptr_t (*__malloc_hook) __P ((size_t __size)); X /* Pointer to the base of the first block. */ char *_heapbase; X /* Block information table. Allocated with align/__free (not malloc/free). */ malloc_info *_heapinfo; X /* Number of info entries. */ static size_t heapsize; X /* Search index in the info table. */ size_t _heapindex; X /* Limit of valid info table indices. */ size_t _heaplimit; X /* Free lists for each fragment size. */ struct list _fraghead[BLOCKLOG]; X /* Instrumentation. */ size_t _chunks_used; size_t _bytes_used; size_t _chunks_free; size_t _bytes_free; X /* Are you experienced? */ int __malloc_initialized; X void (*__after_morecore_hook) __P ((void)); X /* Aligned allocation. */ static __ptr_t align __P ((size_t)); static __ptr_t align (size) X size_t size; { X __ptr_t result; X unsigned long int adj; X X result = (*__morecore) (size); X adj = (unsigned long int) ((unsigned long int) ((char *) result - X (char *) NULL)) % BLOCKSIZE; X if (adj != 0) X { X adj = BLOCKSIZE - adj; X (void) (*__morecore) (adj); X result = (char *) result + adj; X } X X if (__after_morecore_hook) X (*__after_morecore_hook) (); X X return result; } X /* Set everything up and remember that we have. */ static int initialize __P ((void)); static int initialize () { X heapsize = HEAP / BLOCKSIZE; X _heapinfo = (malloc_info *) align (heapsize * sizeof (malloc_info)); X if (_heapinfo == NULL) X return 0; X memset (_heapinfo, 0, heapsize * sizeof (malloc_info)); X _heapinfo[0].free.size = 0; X _heapinfo[0].free.next = _heapinfo[0].free.prev = 0; X _heapindex = 0; X _heapbase = (char *) _heapinfo; X X /* Account for the _heapinfo block itself in the statistics. */ X _bytes_used = heapsize * sizeof (malloc_info); X _chunks_used = 1; X X __malloc_initialized = 1; X return 1; } X /* Get neatly aligned memory, initializing or X growing the heap info table as necessary. */ static __ptr_t morecore __P ((size_t)); static __ptr_t morecore (size) X size_t size; { X __ptr_t result; X malloc_info *newinfo, *oldinfo; X size_t newsize; X X result = align (size); X if (result == NULL) X return NULL; X X /* Check if we need to grow the info table. */ X if ((size_t) BLOCK ((char *) result + size) > heapsize) X { X newsize = heapsize; X while ((size_t) BLOCK ((char *) result + size) > newsize) X newsize *= 2; X newinfo = (malloc_info *) align (newsize * sizeof (malloc_info)); X if (newinfo == NULL) X { X (*__morecore) (-size); X return NULL; X } X memcpy (newinfo, _heapinfo, heapsize * sizeof (malloc_info)); X memset (&newinfo[heapsize], 0, X (newsize - heapsize) * sizeof (malloc_info)); X oldinfo = _heapinfo; X newinfo[BLOCK (oldinfo)].busy.type = 0; X newinfo[BLOCK (oldinfo)].busy.info.size X = BLOCKIFY (heapsize * sizeof (malloc_info)); X _heapinfo = newinfo; X /* Account for the _heapinfo block itself in the statistics. */ X _bytes_used += newsize * sizeof (malloc_info); X ++_chunks_used; X _free_internal (oldinfo); X heapsize = newsize; X } X X _heaplimit = BLOCK ((char *) result + size); X return result; } X /* Allocate memory from the heap. */ __ptr_t malloc (size) X size_t size; { X __ptr_t result; X size_t block, blocks, lastblocks, start; X register size_t i; X struct list *next; X X /* ANSI C allows `malloc (0)' to either return NULL, or to return a X valid address you can realloc and free (though not dereference). X X It turns out that some extant code (sunrpc, at least Ultrix's version) X expects `malloc (0)' to return non-NULL and breaks otherwise. X Be compatible. */ X #if 0 X if (size == 0) X return NULL; #endif X X if (__malloc_hook != NULL) X return (*__malloc_hook) (size); X X if (!__malloc_initialized) X if (!initialize ()) X return NULL; X X if (size < sizeof (struct list)) X size = sizeof (struct list); X #ifdef SUNOS_LOCALTIME_BUG X if (size < 16) X size = 16; #endif X X /* Determine the allocation policy based on the request size. */ X if (size <= BLOCKSIZE / 2) X { X /* Small allocation to receive a fragment of a block. X Determine the logarithm to base two of the fragment size. */ X register size_t log = 1; X --size; X while ((size /= 2) != 0) X ++log; X X /* Look in the fragment lists for a X free fragment of the desired size. */ X next = _fraghead[log].next; X if (next != NULL) X { X /* There are free fragments of this size. X Pop a fragment out of the fragment list and return it. X Update the block's nfree and first counters. */ X result = (__ptr_t) next; X next->prev->next = next->next; X if (next->next != NULL) X next->next->prev = next->prev; X block = BLOCK (result); X if (--_heapinfo[block].busy.info.frag.nfree != 0) X _heapinfo[block].busy.info.frag.first = (unsigned long int) X ((unsigned long int) ((char *) next->next - (char *) NULL) X % BLOCKSIZE) >> log; X X /* Update the statistics. */ X ++_chunks_used; X _bytes_used += 1 << log; X --_chunks_free; X _bytes_free -= 1 << log; X } X else X { X /* No free fragments of the desired size, so get a new block X and break it into fragments, returning the first. */ X result = malloc (BLOCKSIZE); X if (result == NULL) X return NULL; X X /* Link all fragments but the first into the free list. */ X for (i = 1; i < (size_t) (BLOCKSIZE >> log); ++i) X { X next = (struct list *) ((char *) result + (i << log)); X next->next = _fraghead[log].next; X next->prev = &_fraghead[log]; X next->prev->next = next; X if (next->next != NULL) X next->next->prev = next; X } X X /* Initialize the nfree and first counters for this block. */ X block = BLOCK (result); X _heapinfo[block].busy.type = log; X _heapinfo[block].busy.info.frag.nfree = i - 1; X _heapinfo[block].busy.info.frag.first = i - 1; X X _chunks_free += (BLOCKSIZE >> log) - 1; X _bytes_free += BLOCKSIZE - (1 << log); X _bytes_used -= BLOCKSIZE - (1 << log); X } X } X else X { X /* Large allocation to receive one or more blocks. X Search the free list in a circle starting at the last place visited. X If we loop completely around without finding a large enough X space we will have to get more memory from the system. */ X blocks = BLOCKIFY (size); X start = block = _heapindex; X while (_heapinfo[block].free.size < blocks) X { X block = _heapinfo[block].free.next; X if (block == start) X { X /* Need to get more from the system. Check to see if X the new core will be contiguous with the final free X block; if so we don't need to get as much. */ X block = _heapinfo[0].free.prev; X lastblocks = _heapinfo[block].free.size; X if (_heaplimit != 0 && block + lastblocks == _heaplimit && X (*__morecore) (0) == ADDRESS (block + lastblocks) && X (morecore ((blocks - lastblocks) * BLOCKSIZE)) != NULL) X { X /* Which block we are extending (the `final free X block' referred to above) might have changed, if X it got combined with a freed info table. */ X block = _heapinfo[0].free.prev; X _heapinfo[block].free.size += (blocks - lastblocks); X _bytes_free += (blocks - lastblocks) * BLOCKSIZE; X continue; X } X result = morecore (blocks * BLOCKSIZE); X if (result == NULL) X return NULL; X block = BLOCK (result); X _heapinfo[block].busy.type = 0; X _heapinfo[block].busy.info.size = blocks; X ++_chunks_used; X _bytes_used += blocks * BLOCKSIZE; X return result; X } X } X X /* At this point we have found a suitable free list entry. X Figure out how to remove what we need from the list. */ X result = ADDRESS (block); X if (_heapinfo[block].free.size > blocks) X { X /* The block we found has a bit left over, X so relink the tail end back into the free list. */ X _heapinfo[block + blocks].free.size X = _heapinfo[block].free.size - blocks; X _heapinfo[block + blocks].free.next X = _heapinfo[block].free.next; X _heapinfo[block + blocks].free.prev X = _heapinfo[block].free.prev; X _heapinfo[_heapinfo[block].free.prev].free.next X = _heapinfo[_heapinfo[block].free.next].free.prev X = _heapindex = block + blocks; X } X else X { X /* The block exactly matches our requirements, X so just remove it from the list. */ X _heapinfo[_heapinfo[block].free.next].free.prev X = _heapinfo[block].free.prev; X _heapinfo[_heapinfo[block].free.prev].free.next X = _heapindex = _heapinfo[block].free.next; X --_chunks_free; X } X X _heapinfo[block].busy.type = 0; X _heapinfo[block].busy.info.size = blocks; X ++_chunks_used; X _bytes_used += blocks * BLOCKSIZE; X _bytes_free -= blocks * BLOCKSIZE; X } X X return result; } X #ifndef _LIBC X /* On some ANSI C systems, some libc functions call _malloc, _free X and _realloc. Make them use the GNU functions. */ X __ptr_t _malloc (size) X size_t size; { X return malloc (size); } X void _free (ptr) X __ptr_t ptr; { X free (ptr); } X __ptr_t _realloc (ptr, size) X __ptr_t ptr; X size_t size; { X return realloc (ptr, size); } X #endif /* Free a block of memory allocated by `malloc'. X Copyright 1990, 1991, 1992 Free Software Foundation X Written May 1989 by Mike Haertel. X This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. X This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. X You should have received a copy of the GNU Library General Public License along with this library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. X X The author may be reached (Email) at the address mike@ai.mit.edu, X or (US mail) as Mike Haertel c/o Free Software Foundation. */ X #ifndef _MALLOC_INTERNAL #define _MALLOC_INTERNAL #include #endif X /* Debugging hook for free. */ void (*__free_hook) __P ((__ptr_t __ptr)); X /* List of blocks allocated by memalign. */ struct alignlist *_aligned_blocks = NULL; X /* Return memory to the heap. X Like `free' but don't call a __free_hook if there is one. */ void _free_internal (ptr) X __ptr_t ptr; { X int type; X size_t block, blocks; X register size_t i; X struct list *prev, *next; X X block = BLOCK (ptr); X X type = _heapinfo[block].busy.type; X switch (type) X { X case 0: X /* Get as many statistics as early as we can. */ X --_chunks_used; X _bytes_used -= _heapinfo[block].busy.info.size * BLOCKSIZE; X _bytes_free += _heapinfo[block].busy.info.size * BLOCKSIZE; X X /* Find the free cluster previous to this one in the free list. X Start searching at the last block referenced; this may benefit X programs with locality of allocation. */ X i = _heapindex; X if (i > block) X while (i > block) X i = _heapinfo[i].free.prev; X else X { X do X i = _heapinfo[i].free.next; X while (i > 0 && i < block); X i = _heapinfo[i].free.prev; X } X X /* Determine how to link this block into the free list. */ X if (block == i + _heapinfo[i].free.size) X { X /* Coalesce this block with its predecessor. */ X _heapinfo[i].free.size += _heapinfo[block].busy.info.size; X block = i; X } X else X { X /* Really link this block back into the free list. */ X _heapinfo[block].free.size = _heapinfo[block].busy.info.size; X _heapinfo[block].free.next = _heapinfo[i].free.next; X _heapinfo[block].free.prev = i; X _heapinfo[i].free.next = block; X _heapinfo[_heapinfo[block].free.next].free.prev = block; X ++_chunks_free; X } X X /* Now that the block is linked in, see if we can coalesce it X with its successor (by deleting its successor from the list X and adding in its size). */ X if (block + _heapinfo[block].free.size == _heapinfo[block].free.next) X { X _heapinfo[block].free.size X += _heapinfo[_heapinfo[block].free.next].free.size; X _heapinfo[block].free.next X = _heapinfo[_heapinfo[block].free.next].free.next; X _heapinfo[_heapinfo[block].free.next].free.prev = block; X --_chunks_free; X } X X /* Now see if we can return stuff to the system. */ X blocks = _heapinfo[block].free.size; X if (blocks >= FINAL_FREE_BLOCKS && block + blocks == _heaplimit X && (*__morecore) (0) == ADDRESS (block + blocks)) X { X register size_t bytes = blocks * BLOCKSIZE; X _heaplimit -= blocks; X (*__morecore) (-bytes); X _heapinfo[_heapinfo[block].free.prev].free.next X = _heapinfo[block].free.next; X _heapinfo[_heapinfo[block].free.next].free.prev X = _heapinfo[block].free.prev; X block = _heapinfo[block].free.prev; X --_chunks_free; X _bytes_free -= bytes; X } X X /* Set the next search to begin at this block. */ X _heapindex = block; X break; X X default: X /* Do some of the statistics. */ X --_chunks_used; X _bytes_used -= 1 << type; X ++_chunks_free; X _bytes_free += 1 << type; X X /* Get the address of the first free fragment in this block. */ X prev = (struct list *) ((char *) ADDRESS (block) + X (_heapinfo[block].busy.info.frag.first << type)); X X if (_heapinfo[block].busy.info.frag.nfree == (BLOCKSIZE >> type) - 1) X { X /* If all fragments of this block are free, remove them X from the fragment list and free the whole block. */ X next = prev; X for (i = 1; i < (size_t) (BLOCKSIZE >> type); ++i) X next = next->next; X prev->prev->next = next; X if (next != NULL) X next->prev = prev->prev; X _heapinfo[block].busy.type = 0; X _heapinfo[block].busy.info.size = 1; X X /* Keep the statistics accurate. */ X ++_chunks_used; X _bytes_used += BLOCKSIZE; X _chunks_free -= BLOCKSIZE >> type; X _bytes_free -= BLOCKSIZE; X X free (ADDRESS (block)); X } X else if (_heapinfo[block].busy.info.frag.nfree != 0) X { X /* If some fragments of this block are free, link this X fragment into the fragment list after the first free X fragment of this block. */ X next = (struct list *) ptr; X next->next = prev->next; X next->prev = prev; X prev->next = next; X if (next->next != NULL) X next->next->prev = next; X ++_heapinfo[block].busy.info.frag.nfree; X } X else X { X /* No fragments of this block are free, so link this X fragment into the fragment list and announce that X it is the first free fragment of this block. */ X prev = (struct list *) ptr; X _heapinfo[block].busy.info.frag.nfree = 1; X _heapinfo[block].busy.info.frag.first = (unsigned long int) X ((unsigned long int) ((char *) ptr - (char *) NULL) X % BLOCKSIZE >> type); X prev->next = _fraghead[type].next; X prev->prev = &_fraghead[type]; X prev->prev->next = prev; X if (prev->next != NULL) X prev->next->prev = prev; X } X break; X } } X /* Return memory to the heap. */ void free (ptr) X __ptr_t ptr; { X register struct alignlist *l; X X if (ptr == NULL) X return; X X for (l = _aligned_blocks; l != NULL; l = l->next) X if (l->aligned == ptr) X { X l->aligned = NULL; /* Mark the slot in the list as free. */ X ptr = l->exact; X break; X } X X if (__free_hook != NULL) X (*__free_hook) (ptr); X else X _free_internal (ptr); } /* Copyright (C) 1991, 1993, 1994 Free Software Foundation, Inc. This file is part of the GNU C Library. X The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. X The GNU C Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. X You should have received a copy of the GNU Library General Public License along with the GNU C Library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X #ifndef _MALLOC_INTERNAL #define _MALLOC_INTERNAL #include #endif X #ifdef _LIBC X #include #include X #undef cfree X function_alias(cfree, free, void, (ptr), X DEFUN(cfree, (ptr), PTR ptr)) X #else X void cfree (ptr) X __ptr_t ptr; { X free (ptr); } X #endif /* Change the size of a block allocated by `malloc'. X Copyright 1990, 1991, 1992, 1993, 1994 Free Software Foundation, Inc. X Written May 1989 by Mike Haertel. X This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. X This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. X You should have received a copy of the GNU Library General Public License along with this library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. X X The author may be reached (Email) at the address mike@ai.mit.edu, X or (US mail) as Mike Haertel c/o Free Software Foundation. */ X #ifndef _MALLOC_INTERNAL #define _MALLOC_INTERNAL #include #endif X #if (defined (MEMMOVE_MISSING) || \ X !defined(_LIBC) && !defined(STDC_HEADERS) && !defined(USG)) X /* Snarfed directly from Emacs src/dispnew.c: X XXX Should use system bcopy if it handles overlap. */ #ifndef emacs X /* Like bcopy except never gets confused by overlap. */ X static void safe_bcopy (from, to, size) X char *from, *to; X int size; { X if (size <= 0 || from == to) X return; X X /* If the source and destination don't overlap, then bcopy can X handle it. If they do overlap, but the destination is lower in X memory than the source, we'll assume bcopy can handle that. */ X if (to < from || from + size <= to) X bcopy (from, to, size); X X /* Otherwise, we'll copy from the end. */ X else X { X register char *endf = from + size; X register char *endt = to + size; X X /* If TO - FROM is large, then we should break the copy into X nonoverlapping chunks of TO - FROM bytes each. However, if X TO - FROM is small, then the bcopy function call overhead X makes this not worth it. The crossover point could be about X anywhere. Since I don't think the obvious copy loop is too X bad, I'm trying to err in its favor. */ X if (to - from < 64) X { X do X *--endt = *--endf; X while (endf != from); X } X else X { X for (;;) X { X endt -= (to - from); X endf -= (to - from); X X if (endt < to) X break; X X bcopy (endf, endt, to - from); X } X X /* If SIZE wasn't a multiple of TO - FROM, there will be a X little left over. The amount left over is X (endt + (to - from)) - to, which is endt - from. */ X bcopy (from, to, endt - from); X } X } } #endif /* Not emacs. */ X #define memmove(to, from, size) safe_bcopy ((from), (to), (size)) X #endif X X #define min(A, B) ((A) < (B) ? (A) : (B)) X /* Debugging hook for realloc. */ __ptr_t (*__realloc_hook) __P ((__ptr_t __ptr, size_t __size)); X /* Resize the given region to the new size, returning a pointer X to the (possibly moved) region. This is optimized for speed; X some benchmarks seem to indicate that greater compactness is X achieved by unconditionally allocating and copying to a X new region. This module has incestuous knowledge of the X internals of both free and malloc. */ __ptr_t realloc (ptr, size) X __ptr_t ptr; X size_t size; { X __ptr_t result; X int type; X size_t block, blocks, oldlimit; X X if (size == 0) X { X free (ptr); X return malloc (0); X } X else if (ptr == NULL) X return malloc (size); X X if (__realloc_hook != NULL) X return (*__realloc_hook) (ptr, size); X X block = BLOCK (ptr); X X type = _heapinfo[block].busy.type; X switch (type) X { X case 0: X /* Maybe reallocate a large block to a small fragment. */ X if (size <= BLOCKSIZE / 2) X { X result = malloc (size); X if (result != NULL) X { X memcpy (result, ptr, size); X _free_internal (ptr); X return result; X } X } X X /* The new size is a large allocation as well; X see if we can hold it in place. */ X blocks = BLOCKIFY (size); X if (blocks < _heapinfo[block].busy.info.size) X { X /* The new size is smaller; return X excess memory to the free list. */ X _heapinfo[block + blocks].busy.type = 0; X _heapinfo[block + blocks].busy.info.size X = _heapinfo[block].busy.info.size - blocks; X _heapinfo[block].busy.info.size = blocks; X /* We have just created a new chunk by splitting a chunk in two. X Now we will free this chunk; increment the statistics counter X so it doesn't become wrong when _free_internal decrements it. */ X ++_chunks_used; X _free_internal (ADDRESS (block + blocks)); X result = ptr; X } X else if (blocks == _heapinfo[block].busy.info.size) X /* No size change necessary. */ X result = ptr; X else X { X /* Won't fit, so allocate a new region that will. X Free the old region first in case there is sufficient X adjacent free space to grow without moving. */ X blocks = _heapinfo[block].busy.info.size; X /* Prevent free from actually returning memory to the system. */ X oldlimit = _heaplimit; X _heaplimit = 0; X _free_internal (ptr); X _heaplimit = oldlimit; X result = malloc (size); X if (result == NULL) X { X /* Now we're really in trouble. We have to unfree X the thing we just freed. Unfortunately it might X have been coalesced with its neighbors. */ X if (_heapindex == block) X (void) malloc (blocks * BLOCKSIZE); X else X { X __ptr_t previous = malloc ((block - _heapindex) * BLOCKSIZE); X (void) malloc (blocks * BLOCKSIZE); X _free_internal (previous); X } X return NULL; X } X if (ptr != result) X memmove (result, ptr, blocks * BLOCKSIZE); X } X break; X X default: X /* Old size is a fragment; type is logarithm X to base two of the fragment size. */ X if (size > (size_t) (1 << (type - 1)) && size <= (size_t) (1 << type)) X /* The new size is the same kind of fragment. */ X result = ptr; X else X { X /* The new size is different; allocate a new space, X and copy the lesser of the new size and the old. */ X result = malloc (size); X if (result == NULL) X return NULL; X memcpy (result, ptr, min (size, (size_t) 1 << type)); X free (ptr); X } X break; X } X X return result; } /* Copyright (C) 1991, 1992 Free Software Foundation, Inc. X This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. X This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. X You should have received a copy of the GNU Library General Public License along with this library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. X X The author may be reached (Email) at the address mike@ai.mit.edu, X or (US mail) as Mike Haertel c/o Free Software Foundation. */ X #ifndef _MALLOC_INTERNAL #define _MALLOC_INTERNAL #include #endif X /* Allocate an array of NMEMB elements each SIZE bytes long. X The entire array is initialized to zeros. */ __ptr_t calloc (nmemb, size) X register size_t nmemb; X register size_t size; { X register __ptr_t result = malloc (nmemb * size); X X if (result != NULL) X (void) memset (result, 0, nmemb * size); X X return result; } /* Copyright (C) 1991, 1992, 1993 Free Software Foundation, Inc. This file is part of the GNU C Library. X The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. X The GNU C Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. X You should have received a copy of the GNU General Public License along with the GNU C Library; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X #ifndef _MALLOC_INTERNAL #define _MALLOC_INTERNAL #include #endif X #ifndef __GNU_LIBRARY__ #define __sbrk sbrk #endif X #ifdef __GNU_LIBRARY__ /* It is best not to declare this and cast its result on foreign operating X systems with potentially hostile include files. */ extern __ptr_t __sbrk __P ((int increment)); #endif X #ifndef NULL #define NULL 0 #endif X /* Allocate INCREMENT more bytes of data space, X and return the start of data space, or NULL on errors. X If INCREMENT is negative, shrink data space. */ __ptr_t __default_morecore (increment) X ptrdiff_t increment; { X __ptr_t result = (__ptr_t) __sbrk ((int) increment); X if (result == (__ptr_t) -1) X return NULL; X return result; } /* Copyright (C) 1991, 1992, 1993 Free Software Foundation, Inc. X This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. X This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. X You should have received a copy of the GNU Library General Public License along with this library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X #ifndef _MALLOC_INTERNAL #define _MALLOC_INTERNAL #include #endif X __ptr_t memalign (alignment, size) X size_t alignment; X size_t size; { X __ptr_t result; X unsigned long int adj; X X size = ((size + alignment - 1) / alignment) * alignment; X X result = malloc (size); X if (result == NULL) X return NULL; X adj = (unsigned long int) ((unsigned long int) ((char *) result - X (char *) NULL)) % alignment; X if (adj != 0) X { X struct alignlist *l; X for (l = _aligned_blocks; l != NULL; l = l->next) X if (l->aligned == NULL) X /* This slot is free. Use it. */ X break; X if (l == NULL) X { X l = (struct alignlist *) malloc (sizeof (struct alignlist)); X if (l == NULL) X { X free (result); X return NULL; X } X l->next = _aligned_blocks; X _aligned_blocks = l; X } X l->exact = result; X result = l->aligned = (char *) result + alignment - adj; X } X X return result; } SHAR_EOF $shar_touch -am 0622231695 'tar-1.12/lib/gmalloc.c' && chmod 0644 'tar-1.12/lib/gmalloc.c' || $echo 'restore of' 'tar-1.12/lib/gmalloc.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/lib/gmalloc.c:' 'MD5 check failed' 1d8c0c5a6e6f2b4df0c7b1eb404bda87 tar-1.12/lib/gmalloc.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/lib/gmalloc.c'`" test 38998 -eq "$shar_count" || $echo 'tar-1.12/lib/gmalloc.c:' 'original size' '38998,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/lib/memset.c ============== if test -f 'tar-1.12/lib/memset.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/lib/memset.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/lib/memset.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/lib/memset.c' && /* memset.c -- set an area of memory to a given value X Copyright (C) 1991 Free Software Foundation, Inc. X X This program is free software; you can redistribute it and/or modify X it under the terms of the GNU General Public License as published by X the Free Software Foundation; either version 2, or (at your option) X any later version. X X This program is distributed in the hope that it will be useful, X but WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the X GNU General Public License for more details. X X You should have received a copy of the GNU General Public License X along with this program; if not, write to the Free Software Foundation, X Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X char * memset (str, c, len) X char *str; X int c; X unsigned len; { X register char *st = str; X X while (len-- > 0) X *st++ = c; X return str; } SHAR_EOF $shar_touch -am 0714224096 'tar-1.12/lib/memset.c' && chmod 0444 'tar-1.12/lib/memset.c' || $echo 'restore of' 'tar-1.12/lib/memset.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/lib/memset.c:' 'MD5 check failed' c038b33381997210ed2a389c7969aadf tar-1.12/lib/memset.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/lib/memset.c'`" test 964 -eq "$shar_count" || $echo 'tar-1.12/lib/memset.c:' 'original size' '964,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/lib/mkdir.c ============== if test -f 'tar-1.12/lib/mkdir.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/lib/mkdir.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/lib/mkdir.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/lib/mkdir.c' && /* BSD compatible make directory function for System V X Copyright (C) 1988, 1990 Free Software Foundation, Inc. X X This program is free software; you can redistribute it and/or modify X it under the terms of the GNU General Public License as published by X the Free Software Foundation; either version 2, or (at your option) X any later version. X X This program is distributed in the hope that it will be useful, X but WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the X GNU General Public License for more details. X X You should have received a copy of the GNU General Public License X along with this program; if not, write to the Free Software Foundation, X Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X #if HAVE_CONFIG_H # include #endif X #include #include #include #ifndef errno extern int errno; #endif X #if STAT_MACROS_BROKEN # undef S_ISDIR #endif X #if !defined(S_ISDIR) && defined(S_IFDIR) # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) #endif X /* mkdir adapted from GNU tar. */ X /* Make directory DPATH, with permission mode DMODE. X X Written by Robert Rother, Mariah Corporation, August 1985 X (sdcsvax!rmr or rmr@uscd). If you want it, it's yours. X X Severely hacked over by John Gilmore to make a 4.2BSD compatible X subroutine. 11Mar86; hoptoad!gnu X X Modified by rmtodd@uokmax 6-28-87 -- when making an already existing dir, X subroutine didn't return EEXIST. It does now. */ X int mkdir (dpath, dmode) X char *dpath; X int dmode; { X int cpid, status; X struct stat statbuf; X X if (stat (dpath, &statbuf) == 0) X { X errno = EEXIST; /* stat worked, so it already exists. */ X return -1; X } X X /* If stat fails for a reason other than non-existence, return error. */ X if (errno != ENOENT) X return -1; X X cpid = fork (); X switch (cpid) X { X case -1: /* Cannot fork. */ X return -1; /* errno is already set. */ X X case 0: /* Child process. */ X /* Cheap hack to set mode of new directory. Since this child X process is going away anyway, we zap its umask. X This won't suffice to set SUID, SGID, etc. on this X directory, so the parent process calls chmod afterward. */ X status = umask (0); /* Get current umask. */ X umask (status | (0777 & ~dmode)); /* Set for mkdir. */ X execl ("/bin/mkdir", "mkdir", dpath, (char *) 0); X _exit (1); X X default: /* Parent process. */ X /* Wait for kid to finish. */ X while (wait (&status) != cpid) X /* Do nothing. */ ; X X if (status & 0xFFFF) X { X /* /bin/mkdir failed. */ X errno = EIO; X return -1; X } X return chmod (dpath, dmode); X } } SHAR_EOF $shar_touch -am 1104125796 'tar-1.12/lib/mkdir.c' && chmod 0644 'tar-1.12/lib/mkdir.c' || $echo 'restore of' 'tar-1.12/lib/mkdir.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/lib/mkdir.c:' 'MD5 check failed' b51e0764edbaaecc0013a20e9d3fb763 tar-1.12/lib/mkdir.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/lib/mkdir.c'`" test 2759 -eq "$shar_count" || $echo 'tar-1.12/lib/mkdir.c:' 'original size' '2759,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/lib/rename.c ============== if test -f 'tar-1.12/lib/rename.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/lib/rename.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/lib/rename.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/lib/rename.c' && /* BSD compatible rename and directory rename function for System V. X Copyright (C) 1988, 1990 Free Software Foundation, Inc. X X This program is free software; you can redistribute it and/or modify X it under the terms of the GNU General Public License as published by X the Free Software Foundation; either version 2, or (at your option) X any later version. X X This program is distributed in the hope that it will be useful, X but WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the X GNU General Public License for more details. X X You should have received a copy of the GNU General Public License X along with this program; if not, write to the Free Software Foundation, X Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X #if HAVE_CONFIG_H # include #endif X #include #include #include #ifndef errno extern int errno; #endif X #if STAT_MACROS_BROKEN # undef S_ISDIR #endif X #if !defined(S_ISDIR) && defined(S_IFDIR) # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) #endif X /* Rename file FROM to file TO. X Return 0 if successful, -1 if not. */ X int rename (from, to) X char *from; X char *to; { X struct stat from_stats, to_stats; X int pid, status; X X if (stat (from, &from_stats)) X return -1; X X /* Be careful not to unlink `from' if it happens to be equal to `to' or X (on filesystems that silently truncate filenames after 14 characters) X if `from' and `to' share the significant characters. */ X if (stat (to, &to_stats)) X { X if (errno != ENOENT) X return -1; X } X else X { X if ((from_stats.st_dev == to_stats.st_dev) X && (from_stats.st_ino == to_stats.st_ino)) X /* `from' and `to' designate the same file on that filesystem. */ X return 0; X X if (unlink (to) && errno != ENOENT) X return -1; X } X #ifdef MVDIR X /* If MVDIR is defined, it should be the full filename of a setuid root X program able to link and unlink directories. If MVDIR is not defined, X then the capability of renaming directories may be missing. */ X X if (S_ISDIR (from_stats.st_mode)) X { X /* Need a setuid root process to link and unlink directories. */ X pid = fork (); X switch (pid) X { X case -1: /* Error. */ X error (1, errno, "cannot fork"); X X case 0: /* Child. */ X execl (MVDIR, "mvdir", from, to, (char *) 0); X error (255, errno, "cannot run `%s'", MVDIR); X X default: /* Parent. */ X while (wait (&status) != pid) X /* Do nothing. */ ; X X errno = 0; /* mvdir printed the system error message. */ X if (status) X return -1; X } X } X else X #endif /* MVDIR */ X X { X if (link (from, to)) X return -1; X if (unlink (from) && errno != ENOENT) X { X unlink (to); X return -1; X } X } X return 0; } SHAR_EOF $shar_touch -am 1104082196 'tar-1.12/lib/rename.c' && chmod 0644 'tar-1.12/lib/rename.c' || $echo 'restore of' 'tar-1.12/lib/rename.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/lib/rename.c:' 'MD5 check failed' 1a97f27291a03da438b77fdbc56fb410 tar-1.12/lib/rename.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/lib/rename.c'`" test 2857 -eq "$shar_count" || $echo 'tar-1.12/lib/rename.c:' 'original size' '2857,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/lib/rmdir.c ============== if test -f 'tar-1.12/lib/rmdir.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/lib/rmdir.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/lib/rmdir.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/lib/rmdir.c' && /* BSD compatible remove directory function for System V X Copyright (C) 1988, 1990 Free Software Foundation, Inc. X X This program is free software; you can redistribute it and/or modify X it under the terms of the GNU General Public License as published by X the Free Software Foundation; either version 2, or (at your option) X any later version. X X This program is distributed in the hope that it will be useful, X but WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the X GNU General Public License for more details. X X You should have received a copy of the GNU General Public License X along with this program; if not, write to the Free Software Foundation, X Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X #if HAVE_CONFIG_H # include #endif X #include #include X #include #ifndef errno extern int errno; #endif X #if STAT_MACROS_BROKEN # undef S_ISDIR #endif X #if !defined(S_ISDIR) && defined(S_IFDIR) # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) #endif X /* rmdir adapted from GNU tar. */ X /* Remove directory DPATH. X Return 0 if successful, -1 if not. */ X int rmdir (dpath) X char *dpath; { X int cpid, status; X struct stat statbuf; X X if (stat (dpath, &statbuf) != 0) X return -1; /* errno already set */ X X if (!S_ISDIR (statbuf.st_mode)) X { X errno = ENOTDIR; X return -1; X } X X cpid = fork (); X switch (cpid) X { X case -1: /* cannot fork */ X return -1; /* errno already set */ X X case 0: /* child process */ X execl ("/bin/rmdir", "rmdir", dpath, (char *) 0); X _exit (1); X X default: /* parent process */ X X /* Wait for kid to finish. */ X X while (wait (&status) != cpid) X /* Do nothing. */ ; X X if (status & 0xFFFF) X { X X /* /bin/rmdir failed. */ X X errno = EIO; X return -1; X } X return 0; X } } SHAR_EOF $shar_touch -am 1104125696 'tar-1.12/lib/rmdir.c' && chmod 0644 'tar-1.12/lib/rmdir.c' || $echo 'restore of' 'tar-1.12/lib/rmdir.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/lib/rmdir.c:' 'MD5 check failed' ad2b631f11d6c2f3e06d473f60ebc5de tar-1.12/lib/rmdir.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/lib/rmdir.c'`" test 1943 -eq "$shar_count" || $echo 'tar-1.12/lib/rmdir.c:' 'original size' '1943,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/lib/strstr.c ============== if test -f 'tar-1.12/lib/strstr.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/lib/strstr.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/lib/strstr.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/lib/strstr.c' && /* strstr.c -- return the offset of one string within another X Copyright (C) 1989, 1990 Free Software Foundation, Inc. X X This program is free software; you can redistribute it and/or modify X it under the terms of the GNU General Public License as published by X the Free Software Foundation; either version 2, or (at your option) X any later version. X X This program is distributed in the hope that it will be useful, X but WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the X GNU General Public License for more details. X X You should have received a copy of the GNU General Public License X along with this program; if not, write to the Free Software Foundation, X Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X /* Written by Mike Rendell . */ X /* Return the starting address of string S2 in S1; X return 0 if it is not found. */ X char * strstr (s1, s2) X char *s1; X char *s2; { X int i; X char *p1; X char *p2; X char *s = s1; X X for (p2 = s2, i = 0; *s; p2 = s2, i++, s++) X { X for (p1 = s; *p1 && *p2 && *p1 == *p2; p1++, p2++) X ; X if (!*p2) X break; X } X if (!*p2) X return s1 + i; X X return 0; } SHAR_EOF $shar_touch -am 0714234396 'tar-1.12/lib/strstr.c' && chmod 0644 'tar-1.12/lib/strstr.c' || $echo 'restore of' 'tar-1.12/lib/strstr.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/lib/strstr.c:' 'MD5 check failed' 7383e84942efbf0c34cad197e9d37e20 tar-1.12/lib/strstr.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/lib/strstr.c'`" test 1255 -eq "$shar_count" || $echo 'tar-1.12/lib/strstr.c:' 'original size' '1255,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/lib/argmatch.c ============== if test -f 'tar-1.12/lib/argmatch.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/lib/argmatch.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/lib/argmatch.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/lib/argmatch.c' && /* argmatch.c -- find a match for a string in an array X Copyright (C) 1990 Free Software Foundation, Inc. X X This program is free software; you can redistribute it and/or modify X it under the terms of the GNU General Public License as published by X the Free Software Foundation; either version 2, or (at your option) X any later version. X X This program is distributed in the hope that it will be useful, X but WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the X GNU General Public License for more details. X X You should have received a copy of the GNU General Public License X along with this program; if not, write to the Free Software Foundation, X Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X /* Written by David MacKenzie */ X #ifdef HAVE_CONFIG_H # include #endif X #include X #include #ifdef STDC_HEADERS # include #endif X extern char *program_name; X /* If ARG is an unambiguous match for an element of the X null-terminated array OPTLIST, return the index in OPTLIST X of the matched element, else -1 if it does not match any element X or -2 if it is ambiguous (is a prefix of more than one element). */ X int argmatch (arg, optlist) X const char *arg; X const char *const *optlist; { X int i; /* Temporary index in OPTLIST. */ X size_t arglen; /* Length of ARG. */ X int matchind = -1; /* Index of first nonexact match. */ X int ambiguous = 0; /* If nonzero, multiple nonexact match(es). */ X X arglen = strlen (arg); X X /* Test all elements for either exact match or abbreviated matches. */ X for (i = 0; optlist[i]; i++) X { X if (!strncmp (optlist[i], arg, arglen)) X { X if (strlen (optlist[i]) == arglen) X /* Exact match found. */ X return i; X else if (matchind == -1) X /* First nonexact match found. */ X matchind = i; X else X /* Second nonexact match found. */ X ambiguous = 1; X } X } X if (ambiguous) X return -2; X else X return matchind; } X /* Error reporting for argmatch. X KIND is a description of the type of entity that was being matched. X VALUE is the invalid value that was given. X PROBLEM is the return value from argmatch. */ X void invalid_arg (kind, value, problem) X const char *kind; X const char *value; X int problem; { X fprintf (stderr, "%s: ", program_name); X if (problem == -1) X fprintf (stderr, "invalid"); X else /* Assume -2. */ X fprintf (stderr, "ambiguous"); X fprintf (stderr, " %s `%s'\n", kind, value); } SHAR_EOF $shar_touch -am 0928140996 'tar-1.12/lib/argmatch.c' && chmod 0444 'tar-1.12/lib/argmatch.c' || $echo 'restore of' 'tar-1.12/lib/argmatch.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/lib/argmatch.c:' 'MD5 check failed' 8ab448cdbd7cd39d563ad42c6b5333e5 tar-1.12/lib/argmatch.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/lib/argmatch.c'`" test 2605 -eq "$shar_count" || $echo 'tar-1.12/lib/argmatch.c:' 'original size' '2605,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/lib/backupfile.c ============== if test -f 'tar-1.12/lib/backupfile.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/lib/backupfile.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/lib/backupfile.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/lib/backupfile.c' && /* backupfile.c -- make Emacs style backup file names X Copyright (C) 1990, 1997 Free Software Foundation, Inc. X X This program is free software; you can redistribute it and/or modify it X under the terms of the GNU General Public License as published by the X Free Software Foundation; either version 2, or (at your option) any later X version. X X This program is distributed in the hope that it will be useful, but X WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General X Public License for more details. X X You should have received a copy of the GNU General Public License along X with this program; if not, write to the Free Software Foundation, Inc., X 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X /* David MacKenzie . X Some algorithms adapted from GNU Emacs. */ X #if HAVE_CONFIG_H # include #endif X #include #include #include #include "backupfile.h" X #if HAVE_STRING_H # include #else # include # ifndef strrchr # define strrchr rindex # endif #endif X #if HAVE_DIRENT_H # include # define NLENGTH(Direct) (strlen((Direct)->d_name)) #else # define dirent direct # define NLENGTH(Direct) ((Direct)->d_namlen) # if HAVE_SYS_NDIR_H # include # endif # if HAVE_SYS_DIR_H # include # endif # if HAVE_NDIR_H # include # endif #endif X #if CLOSEDIR_VOID /* Fake a return value. */ # define CLOSEDIR(d) (closedir (d), 0) #else # define CLOSEDIR(d) closedir (d) #endif X #if STDC_HEADERS # include #else char *malloc (); #endif X #if defined (STDC_HEADERS) || (!defined (isascii) && !defined (HAVE_ISASCII)) # define IN_CTYPE_DOMAIN(Char) 1 #else # define IN_CTYPE_DOMAIN(Char) isascii(Char) #endif X #define ISDIGIT(Char) (IN_CTYPE_DOMAIN ((unsigned char) (Char)) \ X && isdigit ((unsigned char) (Char))) X #if HAVE_UNISTD_H # include #endif X #ifdef _POSIX_VERSION /* POSIX does not require that the d_ino field be present, and some X systems do not provide it. */ # define REAL_DIR_ENTRY(Dp) 1 #else # define REAL_DIR_ENTRY(Dp) ((Dp)->d_ino != 0) #endif X /* Which type of backup file names are generated. */ enum backup_type backup_type = none; X /* The extension added to file names to produce a simple (as opposed X to numbered) backup file name. */ char *simple_backup_suffix = "~"; X static char *concat (); char *find_backup_file_name (); static char *make_version_name (); static int max_backup_version (); static int version_number (); X /* Return the name of the new backup file for file FILE, X allocated with malloc. Return 0 if out of memory. X FILE must not end with a '/' unless it is the root directory. X Do not call this function if backup_type == none. */ X char * find_backup_file_name (file) X const char *file; { X char *copy; X char *base; X const char *dir; X char *base_versions; X int highest_backup; X X if (backup_type == simple) X return concat (file, simple_backup_suffix); X X copy = malloc (strlen (file) + 1); X if (copy == 0) X return 0; X strcpy (copy, file); X X base = strrchr (copy, '/'); X if (base == 0) X { X base = copy; X dir = "."; X } X else X { X *base++ = '\0'; X dir = copy; X } X X base_versions = concat (base, ".~"); X if (base_versions == 0) X { X free (copy); X return 0; X } X X highest_backup = max_backup_version (base_versions, dir); X free (copy); X free (base_versions); X X if (backup_type == numbered_existing && highest_backup == 0) X return concat (file, simple_backup_suffix); X X return make_version_name (file, highest_backup + 1); } X /* Return the number of the highest-numbered backup file for file X FILE in directory DIR. If there are no numbered backups X of FILE in DIR, or an error occurs reading DIR, return 0. X FILE should already have ".~" appended to it. */ X static int max_backup_version (file, dir) X const char *file; X const char *dir; { X DIR *dirp; X struct dirent *dp; X int highest_version; X int this_version; X size_t file_name_length; X X dirp = opendir (dir); X if (!dirp) X return 0; X X highest_version = 0; X file_name_length = strlen (file); X X while ((dp = readdir (dirp)) != 0) X { X if (!REAL_DIR_ENTRY (dp) || NLENGTH (dp) <= file_name_length) X continue; X X this_version = version_number (file, dp->d_name, file_name_length); X if (this_version > highest_version) X highest_version = this_version; X } X if (CLOSEDIR (dirp)) X return 0; X return highest_version; } X /* Return a string, allocated with malloc, containing X "FILE.~VERSION~". Return 0 if out of memory. */ X static char * make_version_name (file, version) X const char *file; X int version; { X char *backup_name; X X backup_name = malloc (strlen (file) + 16); X if (backup_name == 0) X return 0; X sprintf (backup_name, "%s.~%d~", file, version); X return backup_name; } X /* If BACKUP is a numbered backup of BASE, return its version number; X otherwise return 0. BASE_LENGTH is the length of BASE. X BASE should already have ".~" appended to it. */ X static int version_number (base, backup, base_length) X const char *base; X const char *backup; X int base_length; { X int version; X const char *p; X X version = 0; X if (!strncmp (base, backup, base_length) && ISDIGIT (backup[base_length])) X { X for (p = &backup[base_length]; ISDIGIT (*p); ++p) X version = version * 10 + *p - '0'; X if (p[0] != '~' || p[1]) X version = 0; X } X return version; } X /* Return the newly-allocated concatenation of STR1 and STR2. X If out of memory, return 0. */ X static char * concat (str1, str2) X const char *str1; X const char *str2; { X char *newstr; X int str1_length = strlen (str1); X X newstr = malloc (str1_length + strlen (str2) + 1); X if (newstr == 0) X return 0; X strcpy (newstr, str1); X strcpy (newstr + str1_length, str2); X return newstr; } SHAR_EOF $shar_touch -am 0416211797 'tar-1.12/lib/backupfile.c' && chmod 0644 'tar-1.12/lib/backupfile.c' || $echo 'restore of' 'tar-1.12/lib/backupfile.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/lib/backupfile.c:' 'MD5 check failed' befd407bdfc45e97652e499927de1369 tar-1.12/lib/backupfile.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/lib/backupfile.c'`" test 5993 -eq "$shar_count" || $echo 'tar-1.12/lib/backupfile.c:' 'original size' '5993,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/lib/error.c ============== if test -f 'tar-1.12/lib/error.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/lib/error.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/lib/error.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/lib/error.c' && /* error.c -- error handler for noninteractive utilities X Copyright (C) 1990, 91, 92, 93, 94, 95, 96 Free Software Foundation, Inc. X X This program is free software; you can redistribute it and/or modify X it under the terms of the GNU General Public License as published by X the Free Software Foundation; either version 2, or (at your option) X any later version. X X This program is distributed in the hope that it will be useful, X but WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the X GNU General Public License for more details. X X You should have received a copy of the GNU General Public License X along with this program; if not, write to the Free Software Foundation, X Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X /* Written by David MacKenzie . */ X #if HAVE_CONFIG_H # include #endif X #include X #if HAVE_VPRINTF || HAVE_DOPRNT || _LIBC # if __STDC__ # include # define VA_START(args, lastarg) va_start(args, lastarg) # else # include # define VA_START(args, lastarg) va_start(args) # endif #else # define va_alist a1, a2, a3, a4, a5, a6, a7, a8 # define va_dcl char *a1, *a2, *a3, *a4, *a5, *a6, *a7, *a8; #endif X #if STDC_HEADERS || _LIBC # include # include #else void exit (); #endif X #ifndef _ # define _(String) String #endif X /* Get prototypes for the functions defined here. */ #include X /* If NULL, error will flush stdout, then print on stderr the program X name, a colon and a space. Otherwise, error will call this X function without parameters instead. */ void (*error_print_progname) ( #if __STDC__ - 0 X void #endif X ); X /* This variable is incremented each time `error' is called. */ unsigned int error_message_count; X #ifdef _LIBC /* In the GNU C library, there is a predefined variable for this. */ X # define program_name program_invocation_name # include X #else /* not _LIBC */ X /* The calling program should define program_name and set it to the X name of the executing program. */ extern char *program_name; X # if HAVE_STRERROR # ifndef strerror /* On some systems, strerror is a macro */ char *strerror (); # endif # else static char * private_strerror (errnum) X int errnum; { X extern char *sys_errlist[]; X extern int sys_nerr; X X if (errnum > 0 && errnum <= sys_nerr) X return sys_errlist[errnum]; X return _("Unknown system error"); } # define strerror private_strerror # endif /* HAVE_STRERROR */ X #endif /* not _LIBC */ X /* Print the program name and error message MESSAGE, which is a printf-style X format string with optional args. X If ERRNUM is nonzero, print its corresponding system error message. X Exit with status STATUS if it is nonzero. */ /* VARARGS */ X void #if defined(VA_START) && __STDC__ error (int status, int errnum, const char *message, ...) #else error (status, errnum, message, va_alist) X int status; X int errnum; X char *message; X va_dcl #endif { #ifdef VA_START X va_list args; #endif X X if (error_print_progname) X (*error_print_progname) (); X else X { X fflush (stdout); X fprintf (stderr, "%s: ", program_name); X } X #ifdef VA_START X VA_START (args, message); # if HAVE_VPRINTF || _LIBC X vfprintf (stderr, message, args); # else X _doprnt (message, args, stderr); # endif X va_end (args); #else X fprintf (stderr, message, a1, a2, a3, a4, a5, a6, a7, a8); #endif X X ++error_message_count; X if (errnum) X fprintf (stderr, ": %s", strerror (errnum)); X putc ('\n', stderr); X fflush (stderr); X if (status) X exit (status); } X /* Sometimes we want to have at most one error per line. This X variable controls whether this mode is selected or not. */ int error_one_per_line; X void #if defined(VA_START) && __STDC__ error_at_line (int status, int errnum, const char *file_name, X unsigned int line_number, const char *message, ...) #else error_at_line (status, errnum, file_name, line_number, message, va_alist) X int status; X int errnum; X const char *file_name; X unsigned int line_number; X char *message; X va_dcl #endif { #ifdef VA_START X va_list args; #endif X X if (error_one_per_line) X { X static const char *old_file_name; X static unsigned int old_line_number; X X if (old_line_number == line_number && X (file_name == old_file_name || !strcmp (old_file_name, file_name))) X /* Simply return and print nothing. */ X return; X X old_file_name = file_name; X old_line_number = line_number; X } X X if (error_print_progname) X (*error_print_progname) (); X else X { X fflush (stdout); X fprintf (stderr, "%s:", program_name); X } X X if (file_name != NULL) X fprintf (stderr, "%s:%d: ", file_name, line_number); X #ifdef VA_START X VA_START (args, message); # if HAVE_VPRINTF || _LIBC X vfprintf (stderr, message, args); # else X _doprnt (message, args, stderr); # endif X va_end (args); #else X fprintf (stderr, message, a1, a2, a3, a4, a5, a6, a7, a8); #endif X X ++error_message_count; X if (errnum) X fprintf (stderr, ": %s", strerror (errnum)); X putc ('\n', stderr); X fflush (stderr); X if (status) X exit (status); } SHAR_EOF $shar_touch -am 1029001196 'tar-1.12/lib/error.c' && chmod 0644 'tar-1.12/lib/error.c' || $echo 'restore of' 'tar-1.12/lib/error.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/lib/error.c:' 'MD5 check failed' 919bfd370f471a02f101ca5b580b34bf tar-1.12/lib/error.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/lib/error.c'`" test 5258 -eq "$shar_count" || $echo 'tar-1.12/lib/error.c:' 'original size' '5258,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/lib/getdate.y ============== if test -f 'tar-1.12/lib/getdate.y' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/lib/getdate.y' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/lib/getdate.y' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/lib/getdate.y' && %{ /* ** Originally written by Steven M. Bellovin while ** at the University of North Carolina at Chapel Hill. Later tweaked by ** a couple of people on Usenet. Completely overhauled by Rich $alz ** and Jim Berets in August, 1990; ** ** This grammar has 13 shift/reduce conflicts. ** ** This code is in the public domain and has no copyright. */ X #ifdef HAVE_CONFIG_H # include # ifdef FORCE_ALLOCA_H # include # endif #endif X /* Since the code of getdate.y is not included in the Emacs executable X itself, there is no need to #define static in this file. Even if X the code were included in the Emacs executable, it probably X wouldn't do any harm to #undef it here; this will only cause X problems if we try to write to a static variable, which I don't X think this code needs to do. */ #ifdef emacs # undef static #endif X #include #include X #if defined (STDC_HEADERS) || (!defined (isascii) && !defined (HAVE_ISASCII)) # define IN_CTYPE_DOMAIN(c) 1 #else # define IN_CTYPE_DOMAIN(c) isascii(c) #endif X #define ISSPACE(c) (IN_CTYPE_DOMAIN (c) && isspace (c)) #define ISALPHA(c) (IN_CTYPE_DOMAIN (c) && isalpha (c)) #define ISUPPER(c) (IN_CTYPE_DOMAIN (c) && isupper (c)) #define ISDIGIT_LOCALE(c) (IN_CTYPE_DOMAIN (c) && isdigit (c)) X /* ISDIGIT differs from ISDIGIT_LOCALE, as follows: X - Its arg may be any int or unsigned int; it need not be an unsigned char. X - It's guaranteed to evaluate its argument exactly once. X - It's typically faster. X Posix 1003.2-1992 section 2.5.2.1 page 50 lines 1556-1558 says that X only '0' through '9' are digits. Prefer ISDIGIT to ISDIGIT_LOCALE unless X it's important to use the locale's definition of `digit' even when the X host does not conform to Posix. */ #define ISDIGIT(c) ((unsigned) (c) - '0' <= 9) X #include "getdate.h" X #if defined (STDC_HEADERS) || defined (USG) # include #endif X /* Some old versions of bison generate parsers that use bcopy. X That loses on systems that don't provide the function, so we have X to redefine it here. */ #if !defined (HAVE_BCOPY) && defined (HAVE_MEMCPY) && !defined (bcopy) # define bcopy(from, to, len) memcpy ((to), (from), (len)) #endif X extern struct tm *gmtime (); extern struct tm *localtime (); extern time_t mktime (); X /* Remap normal yacc parser interface names (yyparse, yylex, yyerror, etc), X as well as gratuitiously global symbol names, so we can have multiple X yacc generated parsers in the same program. Note that these are only X the variables produced by yacc. If other parser generators (bison, X byacc, etc) produce additional global names that conflict at link time, X then those parser generators need to be fixed instead of adding those X names to this list. */ X #define yymaxdepth gd_maxdepth #define yyparse gd_parse #define yylex gd_lex #define yyerror gd_error #define yylval gd_lval #define yychar gd_char #define yydebug gd_debug #define yypact gd_pact #define yyr1 gd_r1 #define yyr2 gd_r2 #define yydef gd_def #define yychk gd_chk #define yypgo gd_pgo #define yyact gd_act #define yyexca gd_exca #define yyerrflag gd_errflag #define yynerrs gd_nerrs #define yyps gd_ps #define yypv gd_pv #define yys gd_s #define yy_yys gd_yys #define yystate gd_state #define yytmp gd_tmp #define yyv gd_v #define yy_yyv gd_yyv #define yyval gd_val #define yylloc gd_lloc #define yyreds gd_reds /* With YYDEBUG defined */ #define yytoks gd_toks /* With YYDEBUG defined */ #define yylhs gd_yylhs #define yylen gd_yylen #define yydefred gd_yydefred #define yydgoto gd_yydgoto #define yysindex gd_yysindex #define yyrindex gd_yyrindex #define yygindex gd_yygindex #define yytable gd_yytable #define yycheck gd_yycheck X static int yylex (); static int yyerror (); X #define EPOCH 1970 #define HOUR(x) ((x) * 60) X #define MAX_BUFF_LEN 128 /* size of buffer to read the date into */ X /* ** An entry in the lexical lookup table. */ typedef struct _TABLE { X const char *name; X int type; X int value; } TABLE; X X /* ** Meridian: am, pm, or 24-hour style. */ typedef enum _MERIDIAN { X MERam, MERpm, MER24 } MERIDIAN; X X /* ** Global variables. We could get rid of most of these by using a good ** union as the yacc stack. (This routine was originally written before ** yacc had the %union construct.) Maybe someday; right now we only use ** the %union very rarely. */ static const char *yyInput; static int yyDayOrdinal; static int yyDayNumber; static int yyHaveDate; static int yyHaveDay; static int yyHaveRel; static int yyHaveTime; static int yyHaveZone; static int yyTimezone; static int yyDay; static int yyHour; static int yyMinutes; static int yyMonth; static int yySeconds; static int yyYear; static MERIDIAN yyMeridian; static int yyRelDay; static int yyRelHour; static int yyRelMinutes; static int yyRelMonth; static int yyRelSeconds; static int yyRelYear; X %} X %union { X int Number; X enum _MERIDIAN Meridian; } X %token tAGO tDAY tDAY_UNIT tDAYZONE tDST tHOUR_UNIT tID %token tMERIDIAN tMINUTE_UNIT tMONTH tMONTH_UNIT %token tSEC_UNIT tSNUMBER tUNUMBER tYEAR_UNIT tZONE X %type tDAY tDAY_UNIT tDAYZONE tHOUR_UNIT tMINUTE_UNIT %type tMONTH tMONTH_UNIT %type tSEC_UNIT tSNUMBER tUNUMBER tYEAR_UNIT tZONE %type tMERIDIAN o_merid X %% X spec : /* NULL */ X | spec item X ; X item : time { X yyHaveTime++; X } X | zone { X yyHaveZone++; X } X | date { X yyHaveDate++; X } X | day { X yyHaveDay++; X } X | rel { X yyHaveRel++; X } X | number X ; X time : tUNUMBER tMERIDIAN { X yyHour = $1; X yyMinutes = 0; X yySeconds = 0; X yyMeridian = $2; X } X | tUNUMBER ':' tUNUMBER o_merid { X yyHour = $1; X yyMinutes = $3; X yySeconds = 0; X yyMeridian = $4; X } X | tUNUMBER ':' tUNUMBER tSNUMBER { X yyHour = $1; X yyMinutes = $3; X yyMeridian = MER24; X yyHaveZone++; X yyTimezone = ($4 < 0 X ? -$4 % 100 + (-$4 / 100) * 60 X : - ($4 % 100 + ($4 / 100) * 60)); X } X | tUNUMBER ':' tUNUMBER ':' tUNUMBER o_merid { X yyHour = $1; X yyMinutes = $3; X yySeconds = $5; X yyMeridian = $6; X } X | tUNUMBER ':' tUNUMBER ':' tUNUMBER tSNUMBER { X yyHour = $1; X yyMinutes = $3; X yySeconds = $5; X yyMeridian = MER24; X yyHaveZone++; X yyTimezone = ($6 < 0 X ? -$6 % 100 + (-$6 / 100) * 60 X : - ($6 % 100 + ($6 / 100) * 60)); X } X ; X zone : tZONE { X yyTimezone = $1; X } X | tDAYZONE { X yyTimezone = $1 - 60; X } X | X tZONE tDST { X yyTimezone = $1 - 60; X } X ; X day : tDAY { X yyDayOrdinal = 1; X yyDayNumber = $1; X } X | tDAY ',' { X yyDayOrdinal = 1; X yyDayNumber = $1; X } X | tUNUMBER tDAY { X yyDayOrdinal = $1; X yyDayNumber = $2; X } X ; X date : tUNUMBER '/' tUNUMBER { X yyMonth = $1; X yyDay = $3; X } X | tUNUMBER '/' tUNUMBER '/' tUNUMBER { X /* Interpret as YYYY/MM/DD if $1 >= 1000, otherwise as MM/DD/YY. X The goal in recognizing YYYY/MM/DD is solely to support legacy X machine-generated dates like those in an RCS log listing. If X you want portability, use the ISO 8601 format. */ X if ($1 >= 1000) X { X yyYear = $1; X yyMonth = $3; X yyDay = $5; X } X else X { X yyMonth = $1; X yyDay = $3; X yyYear = $5; X } X } X | tUNUMBER tSNUMBER tSNUMBER { X /* ISO 8601 format. yyyy-mm-dd. */ X yyYear = $1; X yyMonth = -$2; X yyDay = -$3; X } X | tUNUMBER tMONTH tSNUMBER { X /* e.g. 17-JUN-1992. */ X yyDay = $1; X yyMonth = $2; X yyYear = -$3; X } X | tMONTH tUNUMBER { X yyMonth = $1; X yyDay = $2; X } X | tMONTH tUNUMBER ',' tUNUMBER { X yyMonth = $1; X yyDay = $2; X yyYear = $4; X } X | tUNUMBER tMONTH { X yyMonth = $2; X yyDay = $1; X } X | tUNUMBER tMONTH tUNUMBER { X yyMonth = $2; X yyDay = $1; X yyYear = $3; X } X ; X rel : relunit tAGO { X yyRelSeconds = -yyRelSeconds; X yyRelMinutes = -yyRelMinutes; X yyRelHour = -yyRelHour; X yyRelDay = -yyRelDay; X yyRelMonth = -yyRelMonth; X yyRelYear = -yyRelYear; X } X | relunit X ; X relunit : tUNUMBER tYEAR_UNIT { X yyRelYear += $1 * $2; X } X | tSNUMBER tYEAR_UNIT { X yyRelYear += $1 * $2; X } X | tYEAR_UNIT { X yyRelYear += $1; X } X | tUNUMBER tMONTH_UNIT { X yyRelMonth += $1 * $2; X } X | tSNUMBER tMONTH_UNIT { X yyRelMonth += $1 * $2; X } X | tMONTH_UNIT { X yyRelMonth += $1; X } X | tUNUMBER tDAY_UNIT { X yyRelDay += $1 * $2; X } X | tSNUMBER tDAY_UNIT { X yyRelDay += $1 * $2; X } X | tDAY_UNIT { X yyRelDay += $1; X } X | tUNUMBER tHOUR_UNIT { X yyRelHour += $1 * $2; X } X | tSNUMBER tHOUR_UNIT { X yyRelHour += $1 * $2; X } X | tHOUR_UNIT { X yyRelHour += $1; X } X | tUNUMBER tMINUTE_UNIT { X yyRelMinutes += $1 * $2; X } X | tSNUMBER tMINUTE_UNIT { X yyRelMinutes += $1 * $2; X } X | tMINUTE_UNIT { X yyRelMinutes += $1; X } X | tUNUMBER tSEC_UNIT { X yyRelSeconds += $1 * $2; X } X | tSNUMBER tSEC_UNIT { X yyRelSeconds += $1 * $2; X } X | tSEC_UNIT { X yyRelSeconds += $1; X } X ; X number : tUNUMBER X { X if (yyHaveTime && yyHaveDate && !yyHaveRel) X yyYear = $1; X else X { X if ($1>10000) X { X yyHaveDate++; X yyDay= ($1)%100; X yyMonth= ($1/100)%100; X yyYear = $1/10000; X } X else X { X yyHaveTime++; X if ($1 < 100) X { X yyHour = $1; X yyMinutes = 0; X } X else X { X yyHour = $1 / 100; X yyMinutes = $1 % 100; X } X yySeconds = 0; X yyMeridian = MER24; X } X } X } X ; X o_merid : /* NULL */ X { X $$ = MER24; X } X | tMERIDIAN X { X $$ = $1; X } X ; X %% X /* Month and day table. */ static TABLE const MonthDayTable[] = { X { "january", tMONTH, 1 }, X { "february", tMONTH, 2 }, X { "march", tMONTH, 3 }, X { "april", tMONTH, 4 }, X { "may", tMONTH, 5 }, X { "june", tMONTH, 6 }, X { "july", tMONTH, 7 }, X { "august", tMONTH, 8 }, X { "september", tMONTH, 9 }, X { "sept", tMONTH, 9 }, X { "october", tMONTH, 10 }, X { "november", tMONTH, 11 }, X { "december", tMONTH, 12 }, X { "sunday", tDAY, 0 }, X { "monday", tDAY, 1 }, X { "tuesday", tDAY, 2 }, X { "tues", tDAY, 2 }, X { "wednesday", tDAY, 3 }, X { "wednes", tDAY, 3 }, X { "thursday", tDAY, 4 }, X { "thur", tDAY, 4 }, X { "thurs", tDAY, 4 }, X { "friday", tDAY, 5 }, X { "saturday", tDAY, 6 }, X { NULL } }; X /* Time units table. */ static TABLE const UnitsTable[] = { X { "year", tYEAR_UNIT, 1 }, X { "month", tMONTH_UNIT, 1 }, X { "fortnight", tDAY_UNIT, 14 }, X { "week", tDAY_UNIT, 7 }, X { "day", tDAY_UNIT, 1 }, X { "hour", tHOUR_UNIT, 1 }, X { "minute", tMINUTE_UNIT, 1 }, X { "min", tMINUTE_UNIT, 1 }, X { "second", tSEC_UNIT, 1 }, X { "sec", tSEC_UNIT, 1 }, X { NULL } }; X /* Assorted relative-time words. */ static TABLE const OtherTable[] = { X { "tomorrow", tMINUTE_UNIT, 1 * 24 * 60 }, X { "yesterday", tMINUTE_UNIT, -1 * 24 * 60 }, X { "today", tMINUTE_UNIT, 0 }, X { "now", tMINUTE_UNIT, 0 }, X { "last", tUNUMBER, -1 }, X { "this", tMINUTE_UNIT, 0 }, X { "next", tUNUMBER, 2 }, X { "first", tUNUMBER, 1 }, /* { "second", tUNUMBER, 2 }, */ X { "third", tUNUMBER, 3 }, X { "fourth", tUNUMBER, 4 }, X { "fifth", tUNUMBER, 5 }, X { "sixth", tUNUMBER, 6 }, X { "seventh", tUNUMBER, 7 }, X { "eighth", tUNUMBER, 8 }, X { "ninth", tUNUMBER, 9 }, X { "tenth", tUNUMBER, 10 }, X { "eleventh", tUNUMBER, 11 }, X { "twelfth", tUNUMBER, 12 }, X { "ago", tAGO, 1 }, X { NULL } }; X /* The timezone table. */ static TABLE const TimezoneTable[] = { X { "gmt", tZONE, HOUR ( 0) }, /* Greenwich Mean */ X { "ut", tZONE, HOUR ( 0) }, /* Universal (Coordinated) */ X { "utc", tZONE, HOUR ( 0) }, X { "wet", tZONE, HOUR ( 0) }, /* Western European */ X { "bst", tDAYZONE, HOUR ( 0) }, /* British Summer */ X { "wat", tZONE, HOUR ( 1) }, /* West Africa */ X { "at", tZONE, HOUR ( 2) }, /* Azores */ #if 0 X /* For completeness. BST is also British Summer, and GST is X * also Guam Standard. */ X { "bst", tZONE, HOUR ( 3) }, /* Brazil Standard */ X { "gst", tZONE, HOUR ( 3) }, /* Greenland Standard */ #endif #if 0 X { "nft", tZONE, HOUR (3.5) }, /* Newfoundland */ X { "nst", tZONE, HOUR (3.5) }, /* Newfoundland Standard */ X { "ndt", tDAYZONE, HOUR (3.5) }, /* Newfoundland Daylight */ #endif X { "ast", tZONE, HOUR ( 4) }, /* Atlantic Standard */ X { "adt", tDAYZONE, HOUR ( 4) }, /* Atlantic Daylight */ X { "est", tZONE, HOUR ( 5) }, /* Eastern Standard */ X { "edt", tDAYZONE, HOUR ( 5) }, /* Eastern Daylight */ X { "cst", tZONE, HOUR ( 6) }, /* Central Standard */ X { "cdt", tDAYZONE, HOUR ( 6) }, /* Central Daylight */ X { "mst", tZONE, HOUR ( 7) }, /* Mountain Standard */ X { "mdt", tDAYZONE, HOUR ( 7) }, /* Mountain Daylight */ X { "pst", tZONE, HOUR ( 8) }, /* Pacific Standard */ X { "pdt", tDAYZONE, HOUR ( 8) }, /* Pacific Daylight */ X { "yst", tZONE, HOUR ( 9) }, /* Yukon Standard */ X { "ydt", tDAYZONE, HOUR ( 9) }, /* Yukon Daylight */ X { "hst", tZONE, HOUR (10) }, /* Hawaii Standard */ X { "hdt", tDAYZONE, HOUR (10) }, /* Hawaii Daylight */ X { "cat", tZONE, HOUR (10) }, /* Central Alaska */ X { "ahst", tZONE, HOUR (10) }, /* Alaska-Hawaii Standard */ X { "nt", tZONE, HOUR (11) }, /* Nome */ X { "idlw", tZONE, HOUR (12) }, /* International Date Line West */ X { "cet", tZONE, -HOUR (1) }, /* Central European */ X { "met", tZONE, -HOUR (1) }, /* Middle European */ X { "mewt", tZONE, -HOUR (1) }, /* Middle European Winter */ X { "mest", tDAYZONE, -HOUR (1) }, /* Middle European Summer */ X { "mesz", tDAYZONE, -HOUR (1) }, /* Middle European Summer */ X { "swt", tZONE, -HOUR (1) }, /* Swedish Winter */ X { "sst", tDAYZONE, -HOUR (1) }, /* Swedish Summer */ X { "fwt", tZONE, -HOUR (1) }, /* French Winter */ X { "fst", tDAYZONE, -HOUR (1) }, /* French Summer */ X { "eet", tZONE, -HOUR (2) }, /* Eastern Europe, USSR Zone 1 */ X { "bt", tZONE, -HOUR (3) }, /* Baghdad, USSR Zone 2 */ #if 0 X { "it", tZONE, -HOUR (3.5) },/* Iran */ #endif X { "zp4", tZONE, -HOUR (4) }, /* USSR Zone 3 */ X { "zp5", tZONE, -HOUR (5) }, /* USSR Zone 4 */ #if 0 X { "ist", tZONE, -HOUR (5.5) },/* Indian Standard */ #endif X { "zp6", tZONE, -HOUR (6) }, /* USSR Zone 5 */ #if 0 X /* For completeness. NST is also Newfoundland Standard, and SST is X * also Swedish Summer. */ X { "nst", tZONE, -HOUR (6.5) },/* North Sumatra */ X { "sst", tZONE, -HOUR (7) }, /* South Sumatra, USSR Zone 6 */ #endif /* 0 */ X { "wast", tZONE, -HOUR (7) }, /* West Australian Standard */ X { "wadt", tDAYZONE, -HOUR (7) }, /* West Australian Daylight */ #if 0 X { "jt", tZONE, -HOUR (7.5) },/* Java (3pm in Cronusland!) */ #endif X { "cct", tZONE, -HOUR (8) }, /* China Coast, USSR Zone 7 */ X { "jst", tZONE, -HOUR (9) }, /* Japan Standard, USSR Zone 8 */ #if 0 X { "cast", tZONE, -HOUR (9.5) },/* Central Australian Standard */ X { "cadt", tDAYZONE, -HOUR (9.5) },/* Central Australian Daylight */ #endif X { "east", tZONE, -HOUR (10) }, /* Eastern Australian Standard */ X { "eadt", tDAYZONE, -HOUR (10) }, /* Eastern Australian Daylight */ X { "gst", tZONE, -HOUR (10) }, /* Guam Standard, USSR Zone 9 */ X { "nzt", tZONE, -HOUR (12) }, /* New Zealand */ X { "nzst", tZONE, -HOUR (12) }, /* New Zealand Standard */ X { "nzdt", tDAYZONE, -HOUR (12) }, /* New Zealand Daylight */ X { "idle", tZONE, -HOUR (12) }, /* International Date Line East */ X { NULL } }; X /* Military timezone table. */ static TABLE const MilitaryTable[] = { X { "a", tZONE, HOUR ( 1) }, X { "b", tZONE, HOUR ( 2) }, X { "c", tZONE, HOUR ( 3) }, X { "d", tZONE, HOUR ( 4) }, X { "e", tZONE, HOUR ( 5) }, X { "f", tZONE, HOUR ( 6) }, X { "g", tZONE, HOUR ( 7) }, X { "h", tZONE, HOUR ( 8) }, X { "i", tZONE, HOUR ( 9) }, X { "k", tZONE, HOUR ( 10) }, X { "l", tZONE, HOUR ( 11) }, X { "m", tZONE, HOUR ( 12) }, X { "n", tZONE, HOUR (- 1) }, X { "o", tZONE, HOUR (- 2) }, X { "p", tZONE, HOUR (- 3) }, X { "q", tZONE, HOUR (- 4) }, X { "r", tZONE, HOUR (- 5) }, X { "s", tZONE, HOUR (- 6) }, X { "t", tZONE, HOUR (- 7) }, X { "u", tZONE, HOUR (- 8) }, X { "v", tZONE, HOUR (- 9) }, X { "w", tZONE, HOUR (-10) }, X { "x", tZONE, HOUR (-11) }, X { "y", tZONE, HOUR (-12) }, X { "z", tZONE, HOUR ( 0) }, X { NULL } }; X X X X /* ARGSUSED */ static int yyerror (s) X char *s; { X return 0; } X static int ToHour (Hours, Meridian) X int Hours; X MERIDIAN Meridian; { X switch (Meridian) X { X case MER24: X if (Hours < 0 || Hours > 23) X return -1; X return Hours; X case MERam: X if (Hours < 1 || Hours > 12) X return -1; X if (Hours == 12) X Hours = 0; X return Hours; X case MERpm: X if (Hours < 1 || Hours > 12) X return -1; X if (Hours == 12) X Hours = 0; X return Hours + 12; X default: X abort (); X } X /* NOTREACHED */ } X static int ToYear (Year) X int Year; { X if (Year < 0) X Year = -Year; X X /* XPG4 suggests that years 00-68 map to 2000-2068, and X years 69-99 map to 1969-1999. */ X if (Year < 69) X Year += 2000; X else if (Year < 100) X Year += 1900; X X return Year; } X static int LookupWord (buff) X char *buff; { X register char *p; X register char *q; X register const TABLE *tp; X int i; X int abbrev; X X /* Make it lowercase. */ X for (p = buff; *p; p++) X if (ISUPPER (*p)) X *p = tolower (*p); X X if (strcmp (buff, "am") == 0 || strcmp (buff, "a.m.") == 0) X { X yylval.Meridian = MERam; X return tMERIDIAN; X } X if (strcmp (buff, "pm") == 0 || strcmp (buff, "p.m.") == 0) X { X yylval.Meridian = MERpm; X return tMERIDIAN; X } X X /* See if we have an abbreviation for a month. */ X if (strlen (buff) == 3) X abbrev = 1; X else if (strlen (buff) == 4 && buff[3] == '.') X { X abbrev = 1; X buff[3] = '\0'; X } X else X abbrev = 0; X X for (tp = MonthDayTable; tp->name; tp++) X { X if (abbrev) X { X if (strncmp (buff, tp->name, 3) == 0) X { X yylval.Number = tp->value; X return tp->type; X } X } X else if (strcmp (buff, tp->name) == 0) X { X yylval.Number = tp->value; X return tp->type; X } X } X X for (tp = TimezoneTable; tp->name; tp++) X if (strcmp (buff, tp->name) == 0) X { X yylval.Number = tp->value; X return tp->type; X } X X if (strcmp (buff, "dst") == 0) X return tDST; X X for (tp = UnitsTable; tp->name; tp++) X if (strcmp (buff, tp->name) == 0) X { X yylval.Number = tp->value; X return tp->type; X } X X /* Strip off any plural and try the units table again. */ X i = strlen (buff) - 1; X if (buff[i] == 's') X { X buff[i] = '\0'; X for (tp = UnitsTable; tp->name; tp++) X if (strcmp (buff, tp->name) == 0) X { X yylval.Number = tp->value; X return tp->type; X } X buff[i] = 's'; /* Put back for "this" in OtherTable. */ X } X X for (tp = OtherTable; tp->name; tp++) X if (strcmp (buff, tp->name) == 0) X { X yylval.Number = tp->value; X return tp->type; X } X X /* Military timezones. */ X if (buff[1] == '\0' && ISALPHA (*buff)) X { X for (tp = MilitaryTable; tp->name; tp++) X if (strcmp (buff, tp->name) == 0) X { X yylval.Number = tp->value; X return tp->type; X } X } X X /* Drop out any periods and try the timezone table again. */ X for (i = 0, p = q = buff; *q; q++) X if (*q != '.') X *p++ = *q; X else X i++; X *p = '\0'; X if (i) X for (tp = TimezoneTable; tp->name; tp++) X if (strcmp (buff, tp->name) == 0) X { X yylval.Number = tp->value; X return tp->type; X } X X return tID; } X static int yylex () { X register char c; X register char *p; X char buff[20]; X int Count; X int sign; X X for (;;) X { X while (ISSPACE (*yyInput)) X yyInput++; X X if (ISDIGIT (c = *yyInput) || c == '-' || c == '+') X { X if (c == '-' || c == '+') X { X sign = c == '-' ? -1 : 1; X if (!ISDIGIT (*++yyInput)) X /* skip the '-' sign */ X continue; X } X else X sign = 0; X for (yylval.Number = 0; ISDIGIT (c = *yyInput++);) X yylval.Number = 10 * yylval.Number + c - '0'; X yyInput--; X if (sign < 0) X yylval.Number = -yylval.Number; X return sign ? tSNUMBER : tUNUMBER; X } X if (ISALPHA (c)) X { X for (p = buff; (c = *yyInput++, ISALPHA (c)) || c == '.';) X if (p < &buff[sizeof buff - 1]) X *p++ = c; X *p = '\0'; X yyInput--; X return LookupWord (buff); X } X if (c != '(') X return *yyInput++; X Count = 0; X do X { X c = *yyInput++; X if (c == '\0') X return c; X if (c == '(') X Count++; X else if (c == ')') X Count--; X } X while (Count > 0); X } } X #define TM_YEAR_ORIGIN 1900 X /* Yield A - B, measured in seconds. */ static long difftm (a, b) X struct tm *a, *b; { X int ay = a->tm_year + (TM_YEAR_ORIGIN - 1); X int by = b->tm_year + (TM_YEAR_ORIGIN - 1); X long days = ( X /* difference in day of year */ X a->tm_yday - b->tm_yday X /* + intervening leap days */ X + ((ay >> 2) - (by >> 2)) X - (ay / 100 - by / 100) X + ((ay / 100 >> 2) - (by / 100 >> 2)) X /* + difference in years * 365 */ X + (long) (ay - by) * 365 X ); X return (60 * (60 * (24 * days + (a->tm_hour - b->tm_hour)) X + (a->tm_min - b->tm_min)) X + (a->tm_sec - b->tm_sec)); } X time_t get_date (p, now) X const char *p; X const time_t *now; { X struct tm tm, tm0, *tmp; X time_t Start; X X yyInput = p; X Start = now ? *now : time ((time_t *) NULL); X tmp = localtime (&Start); X yyYear = tmp->tm_year + TM_YEAR_ORIGIN; X yyMonth = tmp->tm_mon + 1; X yyDay = tmp->tm_mday; X yyHour = tmp->tm_hour; X yyMinutes = tmp->tm_min; X yySeconds = tmp->tm_sec; X yyMeridian = MER24; X yyRelSeconds = 0; X yyRelMinutes = 0; X yyRelHour = 0; X yyRelDay = 0; X yyRelMonth = 0; X yyRelYear = 0; X yyHaveDate = 0; X yyHaveDay = 0; X yyHaveRel = 0; X yyHaveTime = 0; X yyHaveZone = 0; X X if (yyparse () X || yyHaveTime > 1 || yyHaveZone > 1 || yyHaveDate > 1 || yyHaveDay > 1) X return -1; X X tm.tm_year = ToYear (yyYear) - TM_YEAR_ORIGIN + yyRelYear; X tm.tm_mon = yyMonth - 1 + yyRelMonth; X tm.tm_mday = yyDay + yyRelDay; X if (yyHaveTime || (yyHaveRel && !yyHaveDate && !yyHaveDay)) X { X tm.tm_hour = ToHour (yyHour, yyMeridian); X if (tm.tm_hour < 0) X return -1; X tm.tm_min = yyMinutes; X tm.tm_sec = yySeconds; X } X else X { X tm.tm_hour = tm.tm_min = tm.tm_sec = 0; X } X tm.tm_hour += yyRelHour; X tm.tm_min += yyRelMinutes; X tm.tm_sec += yyRelSeconds; X tm.tm_isdst = -1; X tm0 = tm; X X Start = mktime (&tm); X X if (Start == (time_t) -1) X { X X /* Guard against falsely reporting errors near the time_t boundaries X when parsing times in other time zones. For example, if the min X time_t value is 1970-01-01 00:00:00 UTC and we are 8 hours ahead X of UTC, then the min localtime value is 1970-01-01 08:00:00; if X we apply mktime to 1970-01-01 00:00:00 we will get an error, so X we apply mktime to 1970-01-02 08:00:00 instead and adjust the time X zone by 24 hours to compensate. This algorithm assumes that X there is no DST transition within a day of the time_t boundaries. */ X if (yyHaveZone) X { X tm = tm0; X if (tm.tm_year <= EPOCH - TM_YEAR_ORIGIN) X { X tm.tm_mday++; X yyTimezone -= 24 * 60; X } X else X { X tm.tm_mday--; X yyTimezone += 24 * 60; X } X Start = mktime (&tm); X } X X if (Start == (time_t) -1) X return Start; X } X X if (yyHaveDay && !yyHaveDate) X { X tm.tm_mday += ((yyDayNumber - tm.tm_wday + 7) % 7 X + 7 * (yyDayOrdinal - (0 < yyDayOrdinal))); X Start = mktime (&tm); X if (Start == (time_t) -1) X return Start; X } X X if (yyHaveZone) X { X long delta = yyTimezone * 60L + difftm (&tm, gmtime (&Start)); X if ((Start + delta < Start) != (delta < 0)) X return -1; /* time_t overflow */ X Start += delta; X } X X return Start; } X #if defined (TEST) X /* ARGSUSED */ int main (ac, av) X int ac; X char *av[]; { X char buff[MAX_BUFF_LEN + 1]; X time_t d; X X (void) printf ("Enter date, or blank line to exit.\n\t> "); X (void) fflush (stdout); X X buff[MAX_BUFF_LEN] = 0; X while (fgets (buff, MAX_BUFF_LEN, stdin) && buff[0]) X { X d = get_date (buff, (time_t *) NULL); X if (d == -1) X (void) printf ("Bad format - couldn't convert.\n"); X else X (void) printf ("%s", ctime (&d)); X (void) printf ("\t> "); X (void) fflush (stdout); X } X exit (0); X /* NOTREACHED */ } #endif /* defined (TEST) */ SHAR_EOF $shar_touch -am 0407234197 'tar-1.12/lib/getdate.y' && chmod 0644 'tar-1.12/lib/getdate.y' || $echo 'restore of' 'tar-1.12/lib/getdate.y' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/lib/getdate.y:' 'MD5 check failed' e74f52e1ebe443b81336168fa6923939 tar-1.12/lib/getdate.y SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/lib/getdate.y'`" test 24863 -eq "$shar_count" || $echo 'tar-1.12/lib/getdate.y:' 'original size' '24863,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/lib/getopt.c ============== if test -f 'tar-1.12/lib/getopt.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/lib/getopt.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/lib/getopt.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/lib/getopt.c' && /* Getopt for GNU. X NOTE: getopt is now part of the C library, so if you don't know what X "Keep this file name-space clean" means, talk to roland@gnu.ai.mit.edu X before changing it! X X Copyright (C) 1987, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97 X Free Software Foundation, Inc. X X This file is part of the GNU C Library. Its master source is NOT part of X the C library, however. The master source lives in /gd/gnu/lib. X X The GNU C Library is free software; you can redistribute it and/or X modify it under the terms of the GNU Library General Public License as X published by the Free Software Foundation; either version 2 of the X License, or (at your option) any later version. X X The GNU C Library is distributed in the hope that it will be useful, X but WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU X Library General Public License for more details. X X You should have received a copy of the GNU Library General Public X License along with the GNU C Library; see the file COPYING.LIB. If not, X write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, X Boston, MA 02111-1307, USA. */ X /* This tells Alpha OSF/1 not to define a getopt prototype in . X Ditto for AIX 3.2 and . */ #ifndef _NO_PROTO #define _NO_PROTO #endif X #ifdef HAVE_CONFIG_H #include #endif X #if !defined (__STDC__) || !__STDC__ /* This is a separate conditional since some stdc systems X reject `defined (const)'. */ #ifndef const #define const #endif #endif X #include X /* Comment out all this code if we are using the GNU C Library, and are not X actually compiling the library itself. This code is part of the GNU C X Library, but also included in many other GNU distributions. Compiling X and linking in this code is a waste when using the GNU C library X (especially if it is a shared library). Rather than having every GNU X program understand `configure --with-gnu-libc' and omit the object files, X it is simpler to just do this in the source for each such file. */ X #define GETOPT_INTERFACE_VERSION 2 #if !defined (_LIBC) && defined (__GLIBC__) && __GLIBC__ >= 2 #include #if _GNU_GETOPT_INTERFACE_VERSION == GETOPT_INTERFACE_VERSION #define ELIDE_CODE #endif #endif X #ifndef ELIDE_CODE X X /* This needs to come after some library #include X to get __GNU_LIBRARY__ defined. */ #ifdef __GNU_LIBRARY__ /* Don't include stdlib.h for non-GNU C libraries because some of them X contain conflicting prototypes for getopt. */ #include #include #endif /* GNU C library. */ X #ifdef VMS #include #if HAVE_STRING_H - 0 #include #endif #endif X #if defined (WIN32) && !defined (__CYGWIN32__) /* It's not Unix, really. See? Capital letters. */ #include #define getpid() GetCurrentProcessId() #endif X #ifndef _ /* This is for other GNU distributions with internationalized messages. X When compiling libc, the _ macro is predefined. */ #ifdef HAVE_LIBINTL_H # include # define _(msgid) gettext (msgid) #else # define _(msgid) (msgid) #endif #endif X /* This version of `getopt' appears to the caller like standard Unix `getopt' X but it behaves differently for the user, since it allows the user X to intersperse the options with the other arguments. X X As `getopt' works, it permutes the elements of ARGV so that, X when it is done, all the options precede everything else. Thus X all application programs are extended to handle flexible argument order. X X Setting the environment variable POSIXLY_CORRECT disables permutation. X Then the behavior is completely standard. X X GNU application programs can use a third alternative mode in which X they can distinguish the relative order of options and other arguments. */ X #include "getopt.h" X /* For communication from `getopt' to the caller. X When `getopt' finds an option that takes an argument, X the argument value is returned here. X Also, when `ordering' is RETURN_IN_ORDER, X each non-option ARGV-element is returned here. */ X char *optarg = NULL; X /* Index in ARGV of the next element to be scanned. X This is used for communication to and from the caller X and for communication between successive calls to `getopt'. X X On entry to `getopt', zero means this is the first call; initialize. X X When `getopt' returns -1, this is the index of the first of the X non-option elements that the caller should itself scan. X X Otherwise, `optind' communicates from one call to the next X how much of ARGV has been scanned so far. */ X /* 1003.2 says this must be 1 before any call. */ int optind = 1; X /* Formerly, initialization of getopt depended on optind==0, which X causes problems with re-calling getopt as programs generally don't X know that. */ X int __getopt_initialized = 0; X /* The next char to be scanned in the option-element X in which the last option character we returned was found. X This allows us to pick up the scan where we left off. X X If this is zero, or a null string, it means resume the scan X by advancing to the next ARGV-element. */ X static char *nextchar; X /* Callers store zero here to inhibit the error message X for unrecognized options. */ X int opterr = 1; X /* Set to an option character which was unrecognized. X This must be initialized on some systems to avoid linking in the X system's own getopt implementation. */ X int optopt = '?'; X /* Describe how to deal with options that follow non-option ARGV-elements. X X If the caller did not specify anything, X the default is REQUIRE_ORDER if the environment variable X POSIXLY_CORRECT is defined, PERMUTE otherwise. X X REQUIRE_ORDER means don't recognize them as options; X stop option processing when the first non-option is seen. X This is what Unix does. X This mode of operation is selected by either setting the environment X variable POSIXLY_CORRECT, or using `+' as the first character X of the list of option characters. X X PERMUTE is the default. We permute the contents of ARGV as we scan, X so that eventually all the non-options are at the end. This allows options X to be given in any order, even with programs that were not written to X expect this. X X RETURN_IN_ORDER is an option available to programs that were written X to expect options and other ARGV-elements in any order and that care about X the ordering of the two. We describe each non-option ARGV-element X as if it were the argument of an option with character code 1. X Using `-' as the first character of the list of option characters X selects this mode of operation. X X The special argument `--' forces an end of option-scanning regardless X of the value of `ordering'. In the case of RETURN_IN_ORDER, only X `--' can cause `getopt' to return -1 with `optind' != ARGC. */ X static enum { X REQUIRE_ORDER, PERMUTE, RETURN_IN_ORDER } ordering; X /* Value of POSIXLY_CORRECT environment variable. */ static char *posixly_correct; X #ifdef __GNU_LIBRARY__ /* We want to avoid inclusion of string.h with non-GNU libraries X because there are many ways it can cause trouble. X On some systems, it contains special magic macros that don't work X in GCC. */ #include #define my_index strchr #else X /* Avoid depending on library functions or files X whose names are inconsistent. */ X char *getenv (); X static char * my_index (str, chr) X const char *str; X int chr; { X while (*str) X { X if (*str == chr) X return (char *) str; X str++; X } X return 0; } X /* If using GCC, we can safely declare strlen this way. X If not using GCC, it is ok not to declare it. */ #ifdef __GNUC__ /* Note that Motorola Delta 68k R3V7 comes with GCC but not stddef.h. X That was relevant to code that was here before. */ #if !defined (__STDC__) || !__STDC__ /* gcc with -traditional declares the built-in strlen to return int, X and has done so at least since version 2.4.5. -- rms. */ extern int strlen (const char *); #endif /* not __STDC__ */ #endif /* __GNUC__ */ X #endif /* not __GNU_LIBRARY__ */ X /* Handle permutation of arguments. */ X /* Describe the part of ARGV that contains non-options that have X been skipped. `first_nonopt' is the index in ARGV of the first of them; X `last_nonopt' is the index after the last of them. */ X static int first_nonopt; static int last_nonopt; X #ifdef _LIBC /* Bash 2.0 gives us an environment variable containing flags X indicating ARGV elements that should not be considered arguments. */ X static const char *nonoption_flags; static int nonoption_flags_len; X static int original_argc; static char *const *original_argv; X /* Make sure the environment variable bash 2.0 puts in the environment X is valid for the getopt call we must make sure that the ARGV passed X to getopt is that one passed to the process. */ static void store_args (int argc, char *const *argv) __attribute__ ((unused)); static void store_args (int argc, char *const *argv) { X /* XXX This is no good solution. We should rather copy the args so X that we can compare them later. But we must not use malloc(3). */ X original_argc = argc; X original_argv = argv; } text_set_element (__libc_subinit, store_args); #endif X /* Exchange two adjacent subsequences of ARGV. X One subsequence is elements [first_nonopt,last_nonopt) X which contains all the non-options that have been skipped so far. X The other is elements [last_nonopt,optind), which contains all X the options processed since those non-options were skipped. X X `first_nonopt' and `last_nonopt' are relocated so that they describe X the new indices of the non-options in ARGV after they are moved. */ X #if defined (__STDC__) && __STDC__ static void exchange (char **); #endif X static void exchange (argv) X char **argv; { X int bottom = first_nonopt; X int middle = last_nonopt; X int top = optind; X char *tem; X X /* Exchange the shorter segment with the far end of the longer segment. X That puts the shorter segment into the right place. X It leaves the longer segment in the right place overall, X but it consists of two parts that need to be swapped next. */ X X while (top > middle && middle > bottom) X { X if (top - middle > middle - bottom) X { X /* Bottom segment is the short one. */ X int len = middle - bottom; X register int i; X X /* Swap it with the top part of the top segment. */ X for (i = 0; i < len; i++) X { X tem = argv[bottom + i]; X argv[bottom + i] = argv[top - (middle - bottom) + i]; X argv[top - (middle - bottom) + i] = tem; X } X /* Exclude the moved bottom segment from further swapping. */ X top -= len; X } X else X { X /* Top segment is the short one. */ X int len = top - middle; X register int i; X X /* Swap it with the bottom part of the bottom segment. */ X for (i = 0; i < len; i++) X { X tem = argv[bottom + i]; X argv[bottom + i] = argv[middle + i]; X argv[middle + i] = tem; X } X /* Exclude the moved top segment from further swapping. */ X bottom += len; X } X } X X /* Update records for the slots the non-options now occupy. */ X X first_nonopt += (optind - last_nonopt); X last_nonopt = optind; } X /* Initialize the internal data when the first call is made. */ X #if defined (__STDC__) && __STDC__ static const char *_getopt_initialize (int, char *const *, const char *); #endif static const char * _getopt_initialize (argc, argv, optstring) X int argc; X char *const *argv; X const char *optstring; { X /* Start processing options with ARGV-element 1 (since ARGV-element 0 X is the program name); the sequence of previously skipped X non-option ARGV-elements is empty. */ X X first_nonopt = last_nonopt = optind = 1; X X nextchar = NULL; X X posixly_correct = getenv ("POSIXLY_CORRECT"); X X /* Determine how to handle the ordering of options and nonoptions. */ X X if (optstring[0] == '-') X { X ordering = RETURN_IN_ORDER; X ++optstring; X } X else if (optstring[0] == '+') X { X ordering = REQUIRE_ORDER; X ++optstring; X } X else if (posixly_correct != NULL) X ordering = REQUIRE_ORDER; X else X ordering = PERMUTE; X #ifdef _LIBC X if (posixly_correct == NULL X && argc == original_argc && argv == original_argv) X { X /* Bash 2.0 puts a special variable in the environment for each X command it runs, specifying which ARGV elements are the results of X file name wildcard expansion and therefore should not be X considered as options. */ X char var[100]; X sprintf (var, "_%d_GNU_nonoption_argv_flags_", getpid ()); X nonoption_flags = getenv (var); X if (nonoption_flags == NULL) X nonoption_flags_len = 0; X else X nonoption_flags_len = strlen (nonoption_flags); X } X else X nonoption_flags_len = 0; #endif X X return optstring; } X /* Scan elements of ARGV (whose length is ARGC) for option characters X given in OPTSTRING. X X If an element of ARGV starts with '-', and is not exactly "-" or "--", X then it is an option element. The characters of this element X (aside from the initial '-') are option characters. If `getopt' X is called repeatedly, it returns successively each of the option characters X from each of the option elements. X X If `getopt' finds another option character, it returns that character, X updating `optind' and `nextchar' so that the next call to `getopt' can X resume the scan with the following option character or ARGV-element. X X If there are no more option characters, `getopt' returns -1. X Then `optind' is the index in ARGV of the first ARGV-element X that is not an option. (The ARGV-elements have been permuted X so that those that are not options now come last.) X X OPTSTRING is a string containing the legitimate option characters. X If an option character is seen that is not listed in OPTSTRING, X return '?' after printing an error message. If you set `opterr' to X zero, the error message is suppressed but we still return '?'. X X If a char in OPTSTRING is followed by a colon, that means it wants an arg, X so the following text in the same ARGV-element, or the text of the following X ARGV-element, is returned in `optarg'. Two colons mean an option that X wants an optional arg; if there is text in the current ARGV-element, X it is returned in `optarg', otherwise `optarg' is set to zero. X X If OPTSTRING starts with `-' or `+', it requests different methods of X handling the non-option ARGV-elements. X See the comments about RETURN_IN_ORDER and REQUIRE_ORDER, above. X X Long-named options begin with `--' instead of `-'. X Their names may be abbreviated as long as the abbreviation is unique X or is an exact match for some defined option. If they have an X argument, it follows the option name in the same ARGV-element, separated X from the option name by a `=', or else the in next ARGV-element. X When `getopt' finds a long-named option, it returns 0 if that option's X `flag' field is nonzero, the value of the option's `val' field X if the `flag' field is zero. X X The elements of ARGV aren't really const, because we permute them. X But we pretend they're const in the prototype to be compatible X with other systems. X X LONGOPTS is a vector of `struct option' terminated by an X element containing a name which is zero. X X LONGIND returns the index in LONGOPT of the long-named option found. X It is only valid when a long-named option has been found by the most X recent call. X X If LONG_ONLY is nonzero, '-' as well as '--' can introduce X long-named options. */ X int _getopt_internal (argc, argv, optstring, longopts, longind, long_only) X int argc; X char *const *argv; X const char *optstring; X const struct option *longopts; X int *longind; X int long_only; { X optarg = NULL; X X if (!__getopt_initialized || optind == 0) X { X optstring = _getopt_initialize (argc, argv, optstring); X optind = 1; /* Don't scan ARGV[0], the program name. */ X __getopt_initialized = 1; X } X X /* Test whether ARGV[optind] points to a non-option argument. X Either it does not have option syntax, or there is an environment flag X from the shell indicating it is not an option. The later information X is only used when the used in the GNU libc. */ #ifdef _LIBC #define NONOPTION_P (argv[optind][0] != '-' || argv[optind][1] == '\0' \ X || (optind < nonoption_flags_len \ X && nonoption_flags[optind] == '1')) #else #define NONOPTION_P (argv[optind][0] != '-' || argv[optind][1] == '\0') #endif X X if (nextchar == NULL || *nextchar == '\0') X { X /* Advance to the next ARGV-element. */ X X /* Give FIRST_NONOPT & LAST_NONOPT rational values if OPTIND has been X moved back by the user (who may also have changed the arguments). */ X if (last_nonopt > optind) X last_nonopt = optind; X if (first_nonopt > optind) X first_nonopt = optind; X X if (ordering == PERMUTE) X { X /* If we have just processed some options following some non-options, X exchange them so that the options come first. */ X X if (first_nonopt != last_nonopt && last_nonopt != optind) X exchange ((char **) argv); X else if (last_nonopt != optind) X first_nonopt = optind; X X /* Skip any additional non-options X and extend the range of non-options previously skipped. */ X X while (optind < argc && NONOPTION_P) X optind++; X last_nonopt = optind; X } X X /* The special ARGV-element `--' means premature end of options. X Skip it like a null option, X then exchange with previous non-options as if it were an option, X then skip everything else like a non-option. */ X X if (optind != argc && !strcmp (argv[optind], "--")) X { X optind++; X X if (first_nonopt != last_nonopt && last_nonopt != optind) X exchange ((char **) argv); X else if (first_nonopt == last_nonopt) X first_nonopt = optind; X last_nonopt = argc; X X optind = argc; X } X X /* If we have done all the ARGV-elements, stop the scan X and back over any non-options that we skipped and permuted. */ X X if (optind == argc) X { X /* Set the next-arg-index to point at the non-options X that we previously skipped, so the caller will digest them. */ X if (first_nonopt != last_nonopt) X optind = first_nonopt; X return -1; X } X X /* If we have come to a non-option and did not permute it, X either stop the scan or describe it to the caller and pass it by. */ X X if (NONOPTION_P) X { X if (ordering == REQUIRE_ORDER) X return -1; X optarg = argv[optind++]; X return 1; X } X X /* We have found another option-ARGV-element. X Skip the initial punctuation. */ X X nextchar = (argv[optind] + 1 X + (longopts != NULL && argv[optind][1] == '-')); X } X X /* Decode the current option-ARGV-element. */ X X /* Check whether the ARGV-element is a long option. X X If long_only and the ARGV-element has the form "-f", where f is X a valid short option, don't consider it an abbreviated form of X a long option that starts with f. Otherwise there would be no X way to give the -f short option. X X On the other hand, if there's a long option "fubar" and X the ARGV-element is "-fu", do consider that an abbreviation of X the long option, just like "--fu", and not "-f" with arg "u". X X This distinction seems to be the most useful approach. */ X X if (longopts != NULL X && (argv[optind][1] == '-' X || (long_only && (argv[optind][2] || !my_index (optstring, argv[optind][1]))))) X { X char *nameend; X const struct option *p; X const struct option *pfound = NULL; X int exact = 0; X int ambig = 0; X int indfound = -1; X int option_index; X X for (nameend = nextchar; *nameend && *nameend != '='; nameend++) X /* Do nothing. */ ; X X /* Test all long options for either exact match X or abbreviated matches. */ X for (p = longopts, option_index = 0; p->name; p++, option_index++) X if (!strncmp (p->name, nextchar, nameend - nextchar)) X { X if ((unsigned int) (nameend - nextchar) X == (unsigned int) strlen (p->name)) X { X /* Exact match found. */ X pfound = p; X indfound = option_index; X exact = 1; X break; X } X else if (pfound == NULL) X { X /* First nonexact match found. */ X pfound = p; X indfound = option_index; X } X else X /* Second or later nonexact match found. */ X ambig = 1; X } X X if (ambig && !exact) X { X if (opterr) X fprintf (stderr, _("%s: option `%s' is ambiguous\n"), X argv[0], argv[optind]); X nextchar += strlen (nextchar); X optind++; X optopt = 0; X return '?'; X } X X if (pfound != NULL) X { X option_index = indfound; X optind++; X if (*nameend) X { X /* Don't test has_arg with >, because some C compilers don't X allow it to be used on enums. */ X if (pfound->has_arg) X optarg = nameend + 1; X else X { X if (opterr) X if (argv[optind - 1][1] == '-') X /* --option */ X fprintf (stderr, X _("%s: option `--%s' doesn't allow an argument\n"), X argv[0], pfound->name); X else X /* +option or -option */ X fprintf (stderr, X _("%s: option `%c%s' doesn't allow an argument\n"), X argv[0], argv[optind - 1][0], pfound->name); X X nextchar += strlen (nextchar); X X optopt = pfound->val; X return '?'; X } X } X else if (pfound->has_arg == 1) X { X if (optind < argc) X optarg = argv[optind++]; X else X { X if (opterr) X fprintf (stderr, X _("%s: option `%s' requires an argument\n"), X argv[0], argv[optind - 1]); X nextchar += strlen (nextchar); X optopt = pfound->val; X return optstring[0] == ':' ? ':' : '?'; X } X } X nextchar += strlen (nextchar); X if (longind != NULL) X *longind = option_index; X if (pfound->flag) X { X *(pfound->flag) = pfound->val; X return 0; X } X return pfound->val; X } X X /* Can't find it as a long option. If this is not getopt_long_only, X or the option starts with '--' or is not a valid short X option, then it's an error. X Otherwise interpret it as a short option. */ X if (!long_only || argv[optind][1] == '-' X || my_index (optstring, *nextchar) == NULL) X { X if (opterr) X { X if (argv[optind][1] == '-') X /* --option */ X fprintf (stderr, _("%s: unrecognized option `--%s'\n"), X argv[0], nextchar); X else X /* +option or -option */ X fprintf (stderr, _("%s: unrecognized option `%c%s'\n"), X argv[0], argv[optind][0], nextchar); X } X nextchar = (char *) ""; X optind++; X optopt = 0; X return '?'; X } X } X X /* Look at and handle the next short option-character. */ X X { X char c = *nextchar++; X char *temp = my_index (optstring, c); X X /* Increment `optind' when we start to process its last character. */ X if (*nextchar == '\0') X ++optind; X X if (temp == NULL || c == ':') X { X if (opterr) X { X if (posixly_correct) X /* 1003.2 specifies the format of this message. */ X fprintf (stderr, _("%s: illegal option -- %c\n"), X argv[0], c); X else X fprintf (stderr, _("%s: invalid option -- %c\n"), X argv[0], c); X } X optopt = c; X return '?'; X } X /* Convenience. Treat POSIX -W foo same as long option --foo */ X if (temp[0] == 'W' && temp[1] == ';') X { X char *nameend; X const struct option *p; X const struct option *pfound = NULL; X int exact = 0; X int ambig = 0; X int indfound = 0; X int option_index; X X /* This is an option that requires an argument. */ X if (*nextchar != '\0') X { X optarg = nextchar; X /* If we end this ARGV-element by taking the rest as an arg, X we must advance to the next element now. */ X optind++; X } X else if (optind == argc) X { X if (opterr) X { X /* 1003.2 specifies the format of this message. */ X fprintf (stderr, _("%s: option requires an argument -- %c\n"), X argv[0], c); X } X optopt = c; X if (optstring[0] == ':') X c = ':'; X else X c = '?'; X return c; X } X else X /* We already incremented `optind' once; X increment it again when taking next ARGV-elt as argument. */ X optarg = argv[optind++]; X X /* optarg is now the argument, see if it's in the X table of longopts. */ X X for (nextchar = nameend = optarg; *nameend && *nameend != '='; nameend++) X /* Do nothing. */ ; X X /* Test all long options for either exact match X or abbreviated matches. */ X for (p = longopts, option_index = 0; p->name; p++, option_index++) X if (!strncmp (p->name, nextchar, nameend - nextchar)) X { X if ((unsigned int) (nameend - nextchar) == strlen (p->name)) X { X /* Exact match found. */ X pfound = p; X indfound = option_index; X exact = 1; X break; X } X else if (pfound == NULL) X { X /* First nonexact match found. */ X pfound = p; X indfound = option_index; X } X else X /* Second or later nonexact match found. */ X ambig = 1; X } X if (ambig && !exact) X { X if (opterr) X fprintf (stderr, _("%s: option `-W %s' is ambiguous\n"), X argv[0], argv[optind]); X nextchar += strlen (nextchar); X optind++; X return '?'; X } X if (pfound != NULL) X { X option_index = indfound; X if (*nameend) X { X /* Don't test has_arg with >, because some C compilers don't X allow it to be used on enums. */ X if (pfound->has_arg) X optarg = nameend + 1; X else X { X if (opterr) X fprintf (stderr, _("\ %s: option `-W %s' doesn't allow an argument\n"), X argv[0], pfound->name); X X nextchar += strlen (nextchar); X return '?'; X } X } X else if (pfound->has_arg == 1) X { X if (optind < argc) X optarg = argv[optind++]; X else X { X if (opterr) X fprintf (stderr, X _("%s: option `%s' requires an argument\n"), X argv[0], argv[optind - 1]); X nextchar += strlen (nextchar); X return optstring[0] == ':' ? ':' : '?'; X } X } X nextchar += strlen (nextchar); X if (longind != NULL) X *longind = option_index; X if (pfound->flag) X { X *(pfound->flag) = pfound->val; X return 0; X } X return pfound->val; X } X nextchar = NULL; X return 'W'; /* Let the application handle it. */ X } X if (temp[1] == ':') X { X if (temp[2] == ':') X { X /* This is an option that accepts an argument optionally. */ X if (*nextchar != '\0') X { X optarg = nextchar; X optind++; X } X else X optarg = NULL; X nextchar = NULL; X } X else X { X /* This is an option that requires an argument. */ X if (*nextchar != '\0') X { X optarg = nextchar; X /* If we end this ARGV-element by taking the rest as an arg, X we must advance to the next element now. */ X optind++; X } X else if (optind == argc) X { X if (opterr) X { X /* 1003.2 specifies the format of this message. */ X fprintf (stderr, X _("%s: option requires an argument -- %c\n"), X argv[0], c); X } X optopt = c; X if (optstring[0] == ':') X c = ':'; X else X c = '?'; X } X else X /* We already incremented `optind' once; X increment it again when taking next ARGV-elt as argument. */ X optarg = argv[optind++]; X nextchar = NULL; X } X } X return c; X } } X int getopt (argc, argv, optstring) X int argc; X char *const *argv; X const char *optstring; { X return _getopt_internal (argc, argv, optstring, X (const struct option *) 0, X (int *) 0, X 0); } X #endif /* Not ELIDE_CODE. */ X #ifdef TEST X /* Compile with -DTEST to make an executable for use in testing X the above definition of `getopt'. */ X int main (argc, argv) X int argc; X char **argv; { X int c; X int digit_optind = 0; X X while (1) X { X int this_option_optind = optind ? optind : 1; X X c = getopt (argc, argv, "abc:d:0123456789"); X if (c == -1) X break; X X switch (c) X { X case '0': X case '1': X case '2': X case '3': X case '4': X case '5': X case '6': X case '7': X case '8': X case '9': X if (digit_optind != 0 && digit_optind != this_option_optind) X printf ("digits occur in two different argv-elements.\n"); X digit_optind = this_option_optind; X printf ("option %c\n", c); X break; X X case 'a': X printf ("option a\n"); X break; X X case 'b': X printf ("option b\n"); X break; X X case 'c': X printf ("option c with value `%s'\n", optarg); X break; X X case '?': X break; X X default: X printf ("?? getopt returned character code 0%o ??\n", c); X } X } X X if (optind < argc) X { X printf ("non-option ARGV-elements: "); X while (optind < argc) X printf ("%s ", argv[optind++]); X printf ("\n"); X } X X exit (0); } X #endif /* TEST */ SHAR_EOF $shar_touch -am 0125014497 'tar-1.12/lib/getopt.c' && chmod 0644 'tar-1.12/lib/getopt.c' || $echo 'restore of' 'tar-1.12/lib/getopt.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/lib/getopt.c:' 'MD5 check failed' e93d67ec68953a879d9132a0fc81e8dc tar-1.12/lib/getopt.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/lib/getopt.c'`" test 28711 -eq "$shar_count" || $echo 'tar-1.12/lib/getopt.c:' 'original size' '28711,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/lib/getopt1.c ============== if test -f 'tar-1.12/lib/getopt1.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/lib/getopt1.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/lib/getopt1.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/lib/getopt1.c' && /* getopt_long and getopt_long_only entry points for GNU getopt. X Copyright (C) 1987,88,89,90,91,92,93,94,96,97 Free Software Foundation, Inc. X X This file is part of the GNU C Library. Its master source is NOT part of X the C library, however. The master source lives in /gd/gnu/lib. X X The GNU C Library is free software; you can redistribute it and/or X modify it under the terms of the GNU Library General Public License as X published by the Free Software Foundation; either version 2 of the X License, or (at your option) any later version. X X The GNU C Library is distributed in the hope that it will be useful, X but WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU X Library General Public License for more details. X X You should have received a copy of the GNU Library General Public X License along with the GNU C Library; see the file COPYING.LIB. If not, X write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, X Boston, MA 02111-1307, USA. */ X #ifdef HAVE_CONFIG_H #include #endif X #include "getopt.h" X #if !defined (__STDC__) || !__STDC__ /* This is a separate conditional since some stdc systems X reject `defined (const)'. */ #ifndef const #define const #endif #endif X #include X /* Comment out all this code if we are using the GNU C Library, and are not X actually compiling the library itself. This code is part of the GNU C X Library, but also included in many other GNU distributions. Compiling X and linking in this code is a waste when using the GNU C library X (especially if it is a shared library). Rather than having every GNU X program understand `configure --with-gnu-libc' and omit the object files, X it is simpler to just do this in the source for each such file. */ X #define GETOPT_INTERFACE_VERSION 2 #if !defined (_LIBC) && defined (__GLIBC__) && __GLIBC__ >= 2 #include #if _GNU_GETOPT_INTERFACE_VERSION == GETOPT_INTERFACE_VERSION #define ELIDE_CODE #endif #endif X #ifndef ELIDE_CODE X X /* This needs to come after some library #include X to get __GNU_LIBRARY__ defined. */ #ifdef __GNU_LIBRARY__ #include #endif X #ifndef NULL #define NULL 0 #endif X int getopt_long (argc, argv, options, long_options, opt_index) X int argc; X char *const *argv; X const char *options; X const struct option *long_options; X int *opt_index; { X return _getopt_internal (argc, argv, options, long_options, opt_index, 0); } X /* Like getopt_long, but '-' as well as '--' can indicate a long option. X If an option that starts with '-' (not '--') doesn't match a long option, X but does match a short option, it is parsed as a short option X instead. */ X int getopt_long_only (argc, argv, options, long_options, opt_index) X int argc; X char *const *argv; X const char *options; X const struct option *long_options; X int *opt_index; { X return _getopt_internal (argc, argv, options, long_options, opt_index, 1); } X X #endif /* Not ELIDE_CODE. */ X #ifdef TEST X #include X int main (argc, argv) X int argc; X char **argv; { X int c; X int digit_optind = 0; X X while (1) X { X int this_option_optind = optind ? optind : 1; X int option_index = 0; X static struct option long_options[] = X { X {"add", 1, 0, 0}, X {"append", 0, 0, 0}, X {"delete", 1, 0, 0}, X {"verbose", 0, 0, 0}, X {"create", 0, 0, 0}, X {"file", 1, 0, 0}, X {0, 0, 0, 0} X }; X X c = getopt_long (argc, argv, "abc:d:0123456789", X long_options, &option_index); X if (c == -1) X break; X X switch (c) X { X case 0: X printf ("option %s", long_options[option_index].name); X if (optarg) X printf (" with arg %s", optarg); X printf ("\n"); X break; X X case '0': X case '1': X case '2': X case '3': X case '4': X case '5': X case '6': X case '7': X case '8': X case '9': X if (digit_optind != 0 && digit_optind != this_option_optind) X printf ("digits occur in two different argv-elements.\n"); X digit_optind = this_option_optind; X printf ("option %c\n", c); X break; X X case 'a': X printf ("option a\n"); X break; X X case 'b': X printf ("option b\n"); X break; X X case 'c': X printf ("option c with value `%s'\n", optarg); X break; X X case 'd': X printf ("option d with value `%s'\n", optarg); X break; X X case '?': X break; X X default: X printf ("?? getopt returned character code 0%o ??\n", c); X } X } X X if (optind < argc) X { X printf ("non-option ARGV-elements: "); X while (optind < argc) X printf ("%s ", argv[optind++]); X printf ("\n"); X } X X exit (0); } X #endif /* TEST */ SHAR_EOF $shar_touch -am 0125014497 'tar-1.12/lib/getopt1.c' && chmod 0644 'tar-1.12/lib/getopt1.c' || $echo 'restore of' 'tar-1.12/lib/getopt1.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/lib/getopt1.c:' 'MD5 check failed' 6cd04da2d382e62e4fe9864516a57c2d tar-1.12/lib/getopt1.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/lib/getopt1.c'`" test 4651 -eq "$shar_count" || $echo 'tar-1.12/lib/getopt1.c:' 'original size' '4651,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/lib/getversion.c ============== if test -f 'tar-1.12/lib/getversion.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/lib/getversion.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/lib/getversion.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/lib/getversion.c' && /* getversion.c -- select backup filename type X Copyright (C) 1990 Free Software Foundation, Inc. X X This program is free software; you can redistribute it and/or modify X it under the terms of the GNU General Public License as published by X the Free Software Foundation; either version 2, or (at your option) X any later version. X X This program is distributed in the hope that it will be useful, X but WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the X GNU General Public License for more details. X X You should have received a copy of the GNU General Public License X along with this program; if not, write to the Free Software Foundation, X Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X /* Written by David MacKenzie */ X #if HAVE_CONFIG_H # include #endif X #include "backupfile.h" X #if STDC_HEADERS # include #endif X int argmatch (); void invalid_arg (); X extern char *program_name; X static const char *const backup_args[] = { X "never", "simple", "nil", "existing", "t", "numbered", 0 }; X static const enum backup_type backup_types[] = { X simple, simple, numbered_existing, numbered_existing, numbered, numbered }; X /* Return the type of backup indicated by VERSION. X Unique abbreviations are accepted. */ X enum backup_type get_version (version) X char *version; { X int i; X X if (version == 0 || *version == 0) X return numbered_existing; X i = argmatch (version, backup_args); X if (i >= 0) X return backup_types[i]; X invalid_arg ("version control type", version, i); X exit (1); } SHAR_EOF $shar_touch -am 1103163796 'tar-1.12/lib/getversion.c' && chmod 0644 'tar-1.12/lib/getversion.c' || $echo 'restore of' 'tar-1.12/lib/getversion.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/lib/getversion.c:' 'MD5 check failed' 2272cba163c2b7e1b15ce963ac223690 tar-1.12/lib/getversion.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/lib/getversion.c'`" test 1653 -eq "$shar_count" || $echo 'tar-1.12/lib/getversion.c:' 'original size' '1653,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/lib/modechange.c ============== if test -f 'tar-1.12/lib/modechange.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/lib/modechange.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/lib/modechange.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/lib/modechange.c' && /* modechange.c -- file mode manipulation X Copyright (C) 1989, 1990 Free Software Foundation, Inc. X X This program is free software; you can redistribute it and/or modify X it under the terms of the GNU General Public License as published by X the Free Software Foundation; either version 2, or (at your option) X any later version. X X This program is distributed in the hope that it will be useful, X but WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the X GNU General Public License for more details. X X You should have received a copy of the GNU General Public License X along with this program; if not, write to the Free Software Foundation, X Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X /* Written by David MacKenzie */ X /* The ASCII mode string is compiled into a linked list of `struct X modechange', which can then be applied to each file to be changed. X We do this instead of re-parsing the ASCII string for each file X because the compiled form requires less computation to use; when X changing the mode of many files, this probably results in a X performance gain. */ X #if HAVE_CONFIG_H # include #endif X #include #include #include "modechange.h" X #if STDC_HEADERS # include #else char *malloc (); #endif X #ifndef NULL # define NULL 0 #endif X #if STAT_MACROS_BROKEN # undef S_ISDIR #endif X #if !defined(S_ISDIR) && defined(S_IFDIR) # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) #endif X /* Return newly allocated memory to hold one element of type TYPE. */ #define talloc(type) ((type *) malloc (sizeof (type))) X #define isodigit(c) ((c) >= '0' && (c) <= '7') X static int oatoi (); X /* Return a linked list of file mode change operations created from X MODE_STRING, an ASCII string that contains either an octal number X specifying an absolute mode, or symbolic mode change operations with X the form: X [ugoa...][[+-=][rwxXstugo...]...][,...] X MASKED_OPS is a bitmask indicating which symbolic mode operators (=+-) X should not affect bits set in the umask when no users are given. X Operators not selected in MASKED_OPS ignore the umask. X X Return MODE_INVALID if `mode_string' does not contain a valid X representation of file mode change operations; X return MODE_MEMORY_EXHAUSTED if there is insufficient memory. */ X struct mode_change * mode_compile (mode_string, masked_ops) X const char *mode_string; X unsigned masked_ops; { X struct mode_change *head; /* First element of the linked list. */ X struct mode_change *change; /* An element of the linked list. */ X int i; /* General purpose temporary. */ X int umask_value; /* The umask value (surprise). */ X unsigned short affected_bits; /* Which bits in the mode are operated on. */ X unsigned short affected_masked; /* `affected_bits' modified by umask. */ X unsigned ops_to_mask; /* Operators to actually use umask on. */ X X i = oatoi (mode_string); X if (i >= 0) X { X if (i > 07777) X return MODE_INVALID; X head = talloc (struct mode_change); X if (head == NULL) X return MODE_MEMORY_EXHAUSTED; X head->next = NULL; X head->op = '='; X head->flags = 0; X head->value = i; X head->affected = 07777; /* Affect all permissions. */ X return head; X } X X umask_value = umask (0); X umask (umask_value); /* Restore the old value. */ X X head = NULL; #ifdef lint X change = NULL; #endif X --mode_string; X X /* One loop iteration for each "ugoa...=+-rwxXstugo...[=+-rwxXstugo...]". */ X do X { X affected_bits = 0; X ops_to_mask = 0; X /* Turn on all the bits in `affected_bits' for each group given. */ X for (++mode_string;; ++mode_string) X switch (*mode_string) X { X case 'u': X affected_bits |= 04700; X break; X case 'g': X affected_bits |= 02070; X break; X case 'o': X affected_bits |= 01007; X break; X case 'a': X affected_bits |= 07777; X break; X default: X goto no_more_affected; X } X X no_more_affected: X /* If none specified, affect all bits, except perhaps those X set in the umask. */ X if (affected_bits == 0) X { X affected_bits = 07777; X ops_to_mask = masked_ops; X } X X while (*mode_string == '=' || *mode_string == '+' || *mode_string == '-') X { X /* Add the element to the tail of the list, so the operations X are performed in the correct order. */ X if (head == NULL) X { X head = talloc (struct mode_change); X if (head == NULL) X return MODE_MEMORY_EXHAUSTED; X change = head; X } X else X { X change->next = talloc (struct mode_change); X if (change->next == NULL) X { X mode_free (change); X return MODE_MEMORY_EXHAUSTED; X } X change = change->next; X } X X change->next = NULL; X change->op = *mode_string; /* One of "=+-". */ X affected_masked = affected_bits; X if (ops_to_mask & (*mode_string == '=' ? MODE_MASK_EQUALS X : *mode_string == '+' ? MODE_MASK_PLUS X : MODE_MASK_MINUS)) X affected_masked &= ~umask_value; X change->affected = affected_masked; X change->value = 0; X change->flags = 0; X X /* Set `value' according to the bits set in `affected_masked'. */ X for (++mode_string;; ++mode_string) X switch (*mode_string) X { X case 'r': X change->value |= 00444 & affected_masked; X break; X case 'w': X change->value |= 00222 & affected_masked; X break; X case 'X': X change->flags |= MODE_X_IF_ANY_X; X /* Fall through. */ X case 'x': X change->value |= 00111 & affected_masked; X break; X case 's': X /* Set the setuid/gid bits if `u' or `g' is selected. */ X change->value |= 06000 & affected_masked; X break; X case 't': X /* Set the "save text image" bit if `o' is selected. */ X change->value |= 01000 & affected_masked; X break; X case 'u': X /* Set the affected bits to the value of the `u' bits X on the same file. */ X if (change->value) X goto invalid; X change->value = 00700; X change->flags |= MODE_COPY_EXISTING; X break; X case 'g': X /* Set the affected bits to the value of the `g' bits X on the same file. */ X if (change->value) X goto invalid; X change->value = 00070; X change->flags |= MODE_COPY_EXISTING; X break; X case 'o': X /* Set the affected bits to the value of the `o' bits X on the same file. */ X if (change->value) X goto invalid; X change->value = 00007; X change->flags |= MODE_COPY_EXISTING; X break; X default: X goto no_more_values; X } X no_more_values:; X } X } while (*mode_string == ','); X if (*mode_string == 0) X return head; invalid: X mode_free (head); X return MODE_INVALID; } X /* Return file mode OLDMODE, adjusted as indicated by the list of change X operations CHANGES. If OLDMODE is a directory, the type `X' X change affects it even if no execute bits were set in OLDMODE. X The returned value has the S_IFMT bits cleared. */ X unsigned short mode_adjust (oldmode, changes) X unsigned oldmode; X const struct mode_change *changes; { X unsigned short newmode; /* The adjusted mode and one operand. */ X unsigned short value; /* The other operand. */ X X newmode = oldmode & 07777; X X for (; changes; changes = changes->next) X { X if (changes->flags & MODE_COPY_EXISTING) X { X /* Isolate in `value' the bits in `newmode' to copy, given in X the mask `changes->value'. */ X value = newmode & changes->value; X X if (changes->value & 00700) X /* Copy `u' permissions onto `g' and `o'. */ X value |= (value >> 3) | (value >> 6); X else if (changes->value & 00070) X /* Copy `g' permissions onto `u' and `o'. */ X value |= (value << 3) | (value >> 3); X else X /* Copy `o' permissions onto `u' and `g'. */ X value |= (value << 3) | (value << 6); X X /* In order to change only `u', `g', or `o' permissions, X or some combination thereof, clear unselected bits. X This can not be done in mode_compile because the value X to which the `changes->affected' mask is applied depends X on the old mode of each file. */ X value &= changes->affected; X } X else X { X value = changes->value; X /* If `X', do not affect the execute bits if the file is not a X directory and no execute bits are already set. */ X if ((changes->flags & MODE_X_IF_ANY_X) X && !S_ISDIR (oldmode) X && (newmode & 00111) == 0) X value &= ~00111; /* Clear the execute bits. */ X } X X switch (changes->op) X { X case '=': X /* Preserve the previous values in `newmode' of bits that are X not affected by this change operation. */ X newmode = (newmode & ~changes->affected) | value; X break; X case '+': X newmode |= value; X break; X case '-': X newmode &= ~value; X break; X } X } X return newmode; } X /* Free the memory used by the list of file mode change operations X CHANGES. */ X void mode_free (changes) X register struct mode_change *changes; { X register struct mode_change *next; X X while (changes) X { X next = changes->next; X free (changes); X changes = next; X } } X /* Return a positive integer containing the value of the ASCII X octal number S. If S is not an octal number, return -1. */ X static int oatoi (s) X char *s; { X register int i; X X if (*s == 0) X return -1; X for (i = 0; isodigit (*s); ++s) X i = i * 8 + *s - '0'; X if (*s) X return -1; X return i; } SHAR_EOF $shar_touch -am 1029095996 'tar-1.12/lib/modechange.c' && chmod 0644 'tar-1.12/lib/modechange.c' || $echo 'restore of' 'tar-1.12/lib/modechange.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/lib/modechange.c:' 'MD5 check failed' 8dd3926bfc903435529dad582685f134 tar-1.12/lib/modechange.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/lib/modechange.c'`" test 9394 -eq "$shar_count" || $echo 'tar-1.12/lib/modechange.c:' 'original size' '9394,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/lib/msleep.c ============== if test -f 'tar-1.12/lib/msleep.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/lib/msleep.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/lib/msleep.c' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/lib/msleep.c M+RH@4VQE97`@82!G:79E;B!N=6UB97(@;V8@;6EL;&ES96-O;F1S+@H@("!# M;W!Y2!O9@H@("!- M15)#2$%.5$%"24Q)5%D@;W(@1DE43D534R!&3U(@02!005)424-53$%2(%!5 M4E!/4T4N("!3964@=&AE"B`@($=.52!'96YE2!C87-E7,O='EP M97,N:#X*(R`@:6YC;'5D92`\<&]L;"YH/@HC(&5N9&EF"B,@:68@(4A!5D5? M4U123U!44U](("8F("%(059%7U!/3$Q?2`HO*B!792!N965D(&$@9&5F:6YI M=&EO;B!F;W(@PH@(&EN="!I9'5M;7D["GT["B,@96YD:68*(V5L7,O=&EM92YH/@HC(&5N9&EF"B-E;F1I9@H* M+RHM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TN"GP@ M4VQE97`@82!G:79E;B!N=6UB97(@;V8@;6EL;&ES96-O;F1S+@D@?`I@+2TM M+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM*B\*"G9O:60* M;7-L965P("AM:6QL:7-E8V]N9',I"B`@("`@:6YT(&UI;&QIPHC:68@2$%615]54TQ%15`*"B`@:68@*&UI;&QIPH@("`@("!S;&5E<"`H;6EL;&ES96-O;F1S("\@,3`P,"D[ M"B`@("`@(&UI;&QIPH@("`@ M("!S;&5E<"`H;6EL;&ES96-O;F1S("\@,3`P,"D["B`@("`@(&UI;&QI2P@,"P@;6EL;&ES96-O;F1S*3L*"B,@("!E;'-E M"B,@("`@:68@2$%615]314Q%0U0*"B`@PH@("`@("!S;&5E<"`H;6EL;&ES96-O;F1S("\@,3`P,"D["B`@("`@(&UI M;&QIPH@("`@("!S+G1V7W-E8R`](&UI;&QI&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/lib/msleep.c:' 'MD5 check failed' 5bae68c49cd6f4db4a8ba03d84c295bc tar-1.12/lib/msleep.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/lib/msleep.c'`" test 3028 -eq "$shar_count" || $echo 'tar-1.12/lib/msleep.c:' 'original size' '3028,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/lib/xgetcwd.c ============== if test -f 'tar-1.12/lib/xgetcwd.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/lib/xgetcwd.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/lib/xgetcwd.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/lib/xgetcwd.c' && /* xgetcwd.c -- return current directory with unlimited length X Copyright (C) 1992, 1996 Free Software Foundation, Inc. X X This program is free software; you can redistribute it and/or modify X it under the terms of the GNU General Public License as published by X the Free Software Foundation; either version 2, or (at your option) X any later version. X X This program is distributed in the hope that it will be useful, X but WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the X GNU General Public License for more details. X X You should have received a copy of the GNU General Public License X along with this program; if not, write to the Free Software Foundation, X Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X /* Written by David MacKenzie . */ X #if HAVE_CONFIG_H # include #endif X #include #include #ifndef errno extern int errno; #endif X #include #include "pathmax.h" X #if HAVE_GETCWD char *getcwd (); #else char *getwd (); # define getcwd(Buf, Max) getwd (Buf) #endif X /* Amount to increase buffer size by in each try. */ #define PATH_INCR 32 X char *xmalloc (); char *xrealloc (); void free (); X /* Return the current directory, newly allocated, arbitrarily long. X Return NULL and set errno on error. */ X char * xgetcwd () { X char *cwd; X char *ret; X unsigned path_max; X X errno = 0; X path_max = (unsigned) PATH_MAX; X path_max += 2; /* The getcwd docs say to do this. */ X X cwd = xmalloc (path_max); X X errno = 0; X while ((ret = getcwd (cwd, path_max)) == NULL && errno == ERANGE) X { X path_max += PATH_INCR; X cwd = xrealloc (cwd, path_max); X errno = 0; X } X X if (ret == NULL) X { X int save_errno = errno; X free (cwd); X errno = save_errno; X return NULL; X } X return cwd; } SHAR_EOF $shar_touch -am 0122212397 'tar-1.12/lib/xgetcwd.c' && chmod 0644 'tar-1.12/lib/xgetcwd.c' || $echo 'restore of' 'tar-1.12/lib/xgetcwd.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/lib/xgetcwd.c:' 'MD5 check failed' b4f026ae84f3ae9a001a8b3f36c4da54 tar-1.12/lib/xgetcwd.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/lib/xgetcwd.c'`" test 1908 -eq "$shar_count" || $echo 'tar-1.12/lib/xgetcwd.c:' 'original size' '1908,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/lib/xmalloc.c ============== if test -f 'tar-1.12/lib/xmalloc.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/lib/xmalloc.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/lib/xmalloc.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/lib/xmalloc.c' && /* xmalloc.c -- malloc with out of memory checking X Copyright (C) 1990, 91, 92, 93, 94, 95, 96 Free Software Foundation, Inc. X X This program is free software; you can redistribute it and/or modify X it under the terms of the GNU General Public License as published by X the Free Software Foundation; either version 2, or (at your option) X any later version. X X This program is distributed in the hope that it will be useful, X but WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the X GNU General Public License for more details. X X You should have received a copy of the GNU General Public License X along with this program; if not, write to the Free Software Foundation, X Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X #if HAVE_CONFIG_H # include #endif X #if __STDC__ # define VOID void #else # define VOID char #endif X #include X #if STDC_HEADERS # include #else VOID *calloc (); VOID *malloc (); VOID *realloc (); void free (); #endif X #if ENABLE_NLS # include # define _(Text) gettext (Text) #else # define textdomain(Domain) # define _(Text) Text #endif X #include "error.h" X #ifndef EXIT_FAILURE # define EXIT_FAILURE 1 #endif X /* Prototypes for functions defined here. */ #if defined (__STDC__) && __STDC__ static VOID *fixup_null_alloc (size_t n); VOID *xmalloc (size_t n); VOID *xcalloc (size_t n, size_t s); VOID *xrealloc (VOID *p, size_t n); #endif X X /* Exit value when the requested amount of memory is not available. X The caller may set it to some other value. */ int xmalloc_exit_failure = EXIT_FAILURE; X #if __STDC__ && (HAVE_VPRINTF || HAVE_DOPRNT) void error (int, int, const char *, ...); #else void error (); #endif X static VOID * fixup_null_alloc (n) X size_t n; { X VOID *p; X X p = 0; X if (n == 0) X p = malloc ((size_t) 1); X if (p == 0) X error (xmalloc_exit_failure, 0, _("Memory exhausted")); X return p; } X /* Allocate N bytes of memory dynamically, with error checking. */ X VOID * xmalloc (n) X size_t n; { X VOID *p; X X p = malloc (n); X if (p == 0) X p = fixup_null_alloc (n); X return p; } X /* Allocate memory for N elements of S bytes, with error checking. */ X VOID * xcalloc (n, s) X size_t n, s; { X VOID *p; X X p = calloc (n, s); X if (p == 0) X p = fixup_null_alloc (n); X return p; } X /* Change the size of an allocated block of memory P to N bytes, X with error checking. X If P is NULL, run xmalloc. */ X VOID * xrealloc (p, n) X VOID *p; X size_t n; { X if (p == 0) X return xmalloc (n); X p = realloc (p, n); X if (p == 0) X p = fixup_null_alloc (n); X return p; } SHAR_EOF $shar_touch -am 1016215896 'tar-1.12/lib/xmalloc.c' && chmod 0644 'tar-1.12/lib/xmalloc.c' || $echo 'restore of' 'tar-1.12/lib/xmalloc.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/lib/xmalloc.c:' 'MD5 check failed' 33f5cccd587ce671bdf25ecda36f5016 tar-1.12/lib/xmalloc.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/lib/xmalloc.c'`" test 2697 -eq "$shar_count" || $echo 'tar-1.12/lib/xmalloc.c:' 'original size' '2697,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/lib/xstrdup.c ============== if test -f 'tar-1.12/lib/xstrdup.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/lib/xstrdup.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/lib/xstrdup.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/lib/xstrdup.c' && /* xstrdup.c -- copy a string with out of memory checking X Copyright (C) 1990, 1996 Free Software Foundation, Inc. X X This program is free software; you can redistribute it and/or modify X it under the terms of the GNU General Public License as published by X the Free Software Foundation; either version 2, or (at your option) X any later version. X X This program is distributed in the hope that it will be useful, X but WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the X GNU General Public License for more details. X X You should have received a copy of the GNU General Public License X along with this program; if not, write to the Free Software Foundation, X Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X #if HAVE_CONFIG_H # include #endif X #if defined(STDC_HEADERS) || defined(HAVE_STRING_H) # include #else # include #endif X #if defined (__STDC__) && __STDC__ char *xmalloc (size_t); char *xstrdup (char *string); #else char *xmalloc (); #endif X /* Return a newly allocated copy of STRING. */ X char * xstrdup (string) X char *string; { X return strcpy (xmalloc (strlen (string) + 1), string); } SHAR_EOF $shar_touch -am 1016193796 'tar-1.12/lib/xstrdup.c' && chmod 0644 'tar-1.12/lib/xstrdup.c' || $echo 'restore of' 'tar-1.12/lib/xstrdup.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/lib/xstrdup.c:' 'MD5 check failed' d442e95f515ed5b1bb76658020d9aa58 tar-1.12/lib/xstrdup.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/lib/xstrdup.c'`" test 1248 -eq "$shar_count" || $echo 'tar-1.12/lib/xstrdup.c:' 'original size' '1248,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/lib/argmatch.h ============== if test -f 'tar-1.12/lib/argmatch.h' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/lib/argmatch.h' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/lib/argmatch.h' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/lib/argmatch.h' && #ifndef ARGMATCH_H #define ARGMATCH_H 1 X #ifndef __P # if defined (__GNUC__) || (defined (__STDC__) && __STDC__) # define __P(args) args # else # define __P(args) () # endif /* GCC. */ #endif /* Not __P. */ X int X argmatch __P ((const char *arg, const char *const *optlist)); X void X invalid_arg __P ((const char *kind, const char *value, int problem)); X #endif /* ARGMATCH_H */ SHAR_EOF $shar_touch -am 1221180595 'tar-1.12/lib/argmatch.h' && chmod 0644 'tar-1.12/lib/argmatch.h' || $echo 'restore of' 'tar-1.12/lib/argmatch.h' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/lib/argmatch.h:' 'MD5 check failed' 83e08a1db267483d5ac61bc2537ef3a7 tar-1.12/lib/argmatch.h SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/lib/argmatch.h'`" test 385 -eq "$shar_count" || $echo 'tar-1.12/lib/argmatch.h:' 'original size' '385,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/lib/backupfile.h ============== if test -f 'tar-1.12/lib/backupfile.h' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/lib/backupfile.h' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/lib/backupfile.h' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/lib/backupfile.h' && /* backupfile.h -- declarations for making Emacs style backup file names X Copyright (C) 1990 Free Software Foundation, Inc. X X This program is free software; you can redistribute it and/or modify X it under the terms of the GNU General Public License as published by X the Free Software Foundation; either version 2, or (at your option) X any later version. X X This program is distributed in the hope that it will be useful, X but WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the X GNU General Public License for more details. X X You should have received a copy of the GNU General Public License X along with this program; if not, write to the Free Software Foundation, X Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X /* When to make backup files. */ enum backup_type { X /* Never make backups. */ X none, X X /* Make simple backups of every file. */ X simple, X X /* Make numbered backups of files that already have numbered backups, X and simple backups of the others. */ X numbered_existing, X X /* Make numbered backups of every file. */ X numbered }; X extern enum backup_type backup_type; extern char *simple_backup_suffix; X #ifdef __STDC__ char *find_backup_file_name (const char *file); #else char *find_backup_file_name (); #endif SHAR_EOF $shar_touch -am 1106123096 'tar-1.12/lib/backupfile.h' && chmod 0644 'tar-1.12/lib/backupfile.h' || $echo 'restore of' 'tar-1.12/lib/backupfile.h' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/lib/backupfile.h:' 'MD5 check failed' 50078ec638b5d88a77769a4b7f8a4679 tar-1.12/lib/backupfile.h SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/lib/backupfile.h'`" test 1353 -eq "$shar_count" || $echo 'tar-1.12/lib/backupfile.h:' 'original size' '1353,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/lib/error.h ============== if test -f 'tar-1.12/lib/error.h' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/lib/error.h' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/lib/error.h' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/lib/error.h' && /* error.h -- declaration for error-reporting function X Copyright (C) 1995, 1996 Free Software Foundation, Inc. X X This program is free software; you can redistribute it and/or modify X it under the terms of the GNU General Public License as published by X the Free Software Foundation; either version 2, or (at your option) X any later version. X X This program is distributed in the hope that it will be useful, X but WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the X GNU General Public License for more details. X X You should have received a copy of the GNU General Public License X along with this program; if not, write to the Free Software Foundation, X Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X #ifndef ERROR_H_ # define ERROR_H_ X # ifndef __attribute__ /* This feature is available in gcc versions 2.5 and later. */ # if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) || __STRICT_ANSI__ # define __attribute__(Spec) /* empty */ # endif /* The __-protected variants of `format' and `printf' attributes X are accepted by gcc versions 2.6.4 (effectively 2.7) and later. */ # if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7) # define __format__ format # define __printf__ printf # endif # endif X # if defined (__STDC__) && __STDC__ X /* Print a message with `fprintf (stderr, FORMAT, ...)'; X if ERRNUM is nonzero, follow it with ": " and strerror (ERRNUM). X If STATUS is nonzero, terminate the program with `exit (STATUS)'. */ X extern void error (int status, int errnum, const char *format, ...) X __attribute__ ((__format__ (__printf__, 3, 4))); X extern void error_at_line (int status, int errnum, const char *fname, X unsigned int lineno, const char *format, ...) X __attribute__ ((__format__ (__printf__, 5, 6))); X /* If NULL, error will flush stdout, then print on stderr the program X name, a colon and a space. Otherwise, error will call this X function without parameters instead. */ extern void (*error_print_progname) (void); X # else void error (); void error_at_line (); extern void (*error_print_progname) (); # endif X /* This variable is incremented each time `error' is called. */ extern unsigned int error_message_count; X /* Sometimes we want to have at most one error per line. This X variable controls whether this mode is selected or not. */ extern int error_one_per_line; X #endif /* not ERROR_H_ */ SHAR_EOF $shar_touch -am 1029115796 'tar-1.12/lib/error.h' && chmod 0644 'tar-1.12/lib/error.h' || $echo 'restore of' 'tar-1.12/lib/error.h' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/lib/error.h:' 'MD5 check failed' a760dd3d96313d59b787a545759313b5 tar-1.12/lib/error.h SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/lib/error.h'`" test 2484 -eq "$shar_count" || $echo 'tar-1.12/lib/error.h:' 'original size' '2484,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/lib/fnmatch.h ============== if test -f 'tar-1.12/lib/fnmatch.h' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/lib/fnmatch.h' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/lib/fnmatch.h' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/lib/fnmatch.h' && /* Copyright (C) 1991, 1992, 1993, 1996 Free Software Foundation, Inc. X X This program is free software; you can redistribute it and/or modify X it under the terms of the GNU General Public License as published by X the Free Software Foundation; either version 2, or (at your option) X any later version. X X This program is distributed in the hope that it will be useful, X but WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the X GNU General Public License for more details. X X You should have received a copy of the GNU General Public License X along with this program; if not, write to the Free Software Foundation, X Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X #ifndef _FNMATCH_H X #define _FNMATCH_H 1 X #ifdef __cplusplus extern "C" { #endif X #if (defined (__cplusplus) || (defined (__STDC__) && __STDC__) \ X || defined (WIN32)) #undef __P #define __P(protos) protos #else /* Not C++ or ANSI C. */ #undef __P #define __P(protos) () /* We can get away without defining `const' here only because in this file X it is used only inside the prototype for `fnmatch', which is elided in X non-ANSI C where `const' is problematical. */ #endif /* C++ or ANSI C. */ X X /* We #undef these before defining them because some losing systems X (HP-UX A.08.07 for example) define these in . */ #undef FNM_PATHNAME #undef FNM_NOESCAPE #undef FNM_PERIOD X /* Bits set in the FLAGS argument to `fnmatch'. */ #define FNM_PATHNAME (1 << 0) /* No wildcard can ever match `/'. */ #define FNM_NOESCAPE (1 << 1) /* Backslashes don't quote special chars. */ #define FNM_PERIOD (1 << 2) /* Leading `.' is matched only explicitly. */ X #if !defined (_POSIX_C_SOURCE) || _POSIX_C_SOURCE < 2 || defined (_GNU_SOURCE) #define FNM_FILE_NAME FNM_PATHNAME /* Preferred GNU name. */ #define FNM_LEADING_DIR (1 << 3) /* Ignore `/...' after a match. */ #define FNM_CASEFOLD (1 << 4) /* Compare without regard to case. */ #endif X /* Value returned by `fnmatch' if STRING does not match PATTERN. */ #define FNM_NOMATCH 1 X /* Match STRING against the filename pattern PATTERN, X returning zero if it matches, FNM_NOMATCH if not. */ extern int fnmatch __P ((const char *__pattern, const char *__string, X int __flags)); X #ifdef __cplusplus } #endif X #endif /* fnmatch.h */ SHAR_EOF $shar_touch -am 1115045396 'tar-1.12/lib/fnmatch.h' && chmod 0644 'tar-1.12/lib/fnmatch.h' || $echo 'restore of' 'tar-1.12/lib/fnmatch.h' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/lib/fnmatch.h:' 'MD5 check failed' 68261c5c3849f076f1d2a5938aa8752d tar-1.12/lib/fnmatch.h SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/lib/fnmatch.h'`" test 2370 -eq "$shar_count" || $echo 'tar-1.12/lib/fnmatch.h:' 'original size' '2370,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/lib/getopt.h ============== if test -f 'tar-1.12/lib/getopt.h' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/lib/getopt.h' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/lib/getopt.h' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/lib/getopt.h' && /* Declarations for getopt. X Copyright (C) 1989,90,91,92,93,94,96,97 Free Software Foundation, Inc. X X This file is part of the GNU C Library. Its master source is NOT part of X the C library, however. The master source lives in /gd/gnu/lib. X X The GNU C Library is free software; you can redistribute it and/or X modify it under the terms of the GNU Library General Public License as X published by the Free Software Foundation; either version 2 of the X License, or (at your option) any later version. X X The GNU C Library is distributed in the hope that it will be useful, X but WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU X Library General Public License for more details. X X You should have received a copy of the GNU Library General Public X License along with the GNU C Library; see the file COPYING.LIB. If not, X write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, X Boston, MA 02111-1307, USA. */ X #ifndef _GETOPT_H #define _GETOPT_H 1 X #ifdef __cplusplus extern "C" { #endif X /* For communication from `getopt' to the caller. X When `getopt' finds an option that takes an argument, X the argument value is returned here. X Also, when `ordering' is RETURN_IN_ORDER, X each non-option ARGV-element is returned here. */ X extern char *optarg; X /* Index in ARGV of the next element to be scanned. X This is used for communication to and from the caller X and for communication between successive calls to `getopt'. X X On entry to `getopt', zero means this is the first call; initialize. X X When `getopt' returns -1, this is the index of the first of the X non-option elements that the caller should itself scan. X X Otherwise, `optind' communicates from one call to the next X how much of ARGV has been scanned so far. */ X extern int optind; X /* Callers store zero here to inhibit the error message `getopt' prints X for unrecognized options. */ X extern int opterr; X /* Set to an option character which was unrecognized. */ X extern int optopt; X /* Describe the long-named options requested by the application. X The LONG_OPTIONS argument to getopt_long or getopt_long_only is a vector X of `struct option' terminated by an element containing a name which is X zero. X X The field `has_arg' is: X no_argument (or 0) if the option does not take an argument, X required_argument (or 1) if the option requires an argument, X optional_argument (or 2) if the option takes an optional argument. X X If the field `flag' is not NULL, it points to a variable that is set X to the value given in the field `val' when the option is found, but X left unchanged if the option is not found. X X To have a long-named option do something other than set an `int' to X a compiled-in constant, such as set a value from `optarg', set the X option's `flag' field to zero and its `val' field to a nonzero X value (the equivalent single-letter option character, if there is X one). For long options that have a zero `flag' field, `getopt' X returns the contents of the `val' field. */ X struct option { #if defined (__STDC__) && __STDC__ X const char *name; #else X char *name; #endif X /* has_arg can't be an enum because some compilers complain about X type mismatches in all the code that assumes it is an int. */ X int has_arg; X int *flag; X int val; }; X /* Names for the values of the `has_arg' field of `struct option'. */ X #define no_argument 0 #define required_argument 1 #define optional_argument 2 X #if defined (__STDC__) && __STDC__ #ifdef __GNU_LIBRARY__ /* Many other libraries have conflicting prototypes for getopt, with X differences in the consts, in stdlib.h. To avoid compilation X errors, only prototype getopt for the GNU C library. */ extern int getopt (int argc, char *const *argv, const char *shortopts); #else /* not __GNU_LIBRARY__ */ extern int getopt (); #endif /* __GNU_LIBRARY__ */ extern int getopt_long (int argc, char *const *argv, const char *shortopts, X const struct option *longopts, int *longind); extern int getopt_long_only (int argc, char *const *argv, X const char *shortopts, X const struct option *longopts, int *longind); X /* Internal only. Users should not call this directly. */ extern int _getopt_internal (int argc, char *const *argv, X const char *shortopts, X const struct option *longopts, int *longind, X int long_only); #else /* not __STDC__ */ extern int getopt (); extern int getopt_long (); extern int getopt_long_only (); X extern int _getopt_internal (); #endif /* __STDC__ */ X #ifdef __cplusplus } #endif X #endif /* _GETOPT_H */ SHAR_EOF $shar_touch -am 0125014497 'tar-1.12/lib/getopt.h' && chmod 0644 'tar-1.12/lib/getopt.h' || $echo 'restore of' 'tar-1.12/lib/getopt.h' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/lib/getopt.h:' 'MD5 check failed' 43b32884fa6b9201e5acbe765240692b tar-1.12/lib/getopt.h SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/lib/getopt.h'`" test 4691 -eq "$shar_count" || $echo 'tar-1.12/lib/getopt.h:' 'original size' '4691,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/lib/getdate.h ============== if test -f 'tar-1.12/lib/getdate.h' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/lib/getdate.h' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/lib/getdate.h' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/lib/getdate.h' && /* Copyright (C) 1995 Free Software Foundation, Inc. X X This program is free software; you can redistribute it and/or modify X it under the terms of the GNU General Public License as published by X the Free Software Foundation; either version 2, or (at your option) X any later version. X X This program is distributed in the hope that it will be useful, X but WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the X GNU General Public License for more details. X X You should have received a copy of the GNU General Public License X along with this program; if not, write to the Free Software Foundation, X Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X #ifdef HAVE_CONFIG_H # include #endif X # ifndef PARAMS # if defined (__GNUC__) || __STDC__ # define PARAMS(args) args # else # define PARAMS(args) () # endif # endif X #if defined (vms) # include # include #else # include # ifdef TIME_WITH_SYS_TIME # include # include # else # ifdef HAVE_SYS_TIME_H # include # else # include # endif # endif #endif /* defined (vms) */ X time_t get_date PARAMS ((const char *p, const time_t *now)); SHAR_EOF $shar_touch -am 0126012297 'tar-1.12/lib/getdate.h' && chmod 0644 'tar-1.12/lib/getdate.h' || $echo 'restore of' 'tar-1.12/lib/getdate.h' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/lib/getdate.h:' 'MD5 check failed' 471e84117a9bc34e8c5e6c36a01405c5 tar-1.12/lib/getdate.h SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/lib/getdate.h'`" test 1290 -eq "$shar_count" || $echo 'tar-1.12/lib/getdate.h:' 'original size' '1290,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/lib/getpagesize.h ============== if test -f 'tar-1.12/lib/getpagesize.h' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/lib/getpagesize.h' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/lib/getpagesize.h' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/lib/getpagesize.h' && /* Emulate getpagesize on systems that lack it. */ X #ifndef HAVE_GETPAGESIZE X #ifdef VMS #define getpagesize() 512 #endif X #ifdef HAVE_UNISTD_H #include #endif X #ifdef _SC_PAGESIZE #define getpagesize() sysconf(_SC_PAGESIZE) #else X #include X #ifdef EXEC_PAGESIZE #define getpagesize() EXEC_PAGESIZE #else #ifdef NBPG #define getpagesize() NBPG * CLSIZE #ifndef CLSIZE #define CLSIZE 1 #endif /* no CLSIZE */ #else /* no NBPG */ #ifdef NBPC #define getpagesize() NBPC #endif /* NBPC */ #endif /* no NBPG */ #endif /* no EXEC_PAGESIZE */ #endif /* no _SC_PAGESIZE */ X #endif /* not HAVE_GETPAGESIZE */ SHAR_EOF $shar_touch -am 0730183093 'tar-1.12/lib/getpagesize.h' && chmod 0644 'tar-1.12/lib/getpagesize.h' || $echo 'restore of' 'tar-1.12/lib/getpagesize.h' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/lib/getpagesize.h:' 'MD5 check failed' 13ce8e3f0148ef395b9f14783b1848b3 tar-1.12/lib/getpagesize.h SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/lib/getpagesize.h'`" test 626 -eq "$shar_count" || $echo 'tar-1.12/lib/getpagesize.h:' 'original size' '626,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/lib/pathmax.h ============== if test -f 'tar-1.12/lib/pathmax.h' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/lib/pathmax.h' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/lib/pathmax.h' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/lib/pathmax.h' && /* Define PATH_MAX somehow. Requires sys/types.h. X Copyright (C) 1992 Free Software Foundation, Inc. X X This program is free software; you can redistribute it and/or modify X it under the terms of the GNU General Public License as published by X the Free Software Foundation; either version 2, or (at your option) X any later version. X X This program is distributed in the hope that it will be useful, X but WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the X GNU General Public License for more details. X X You should have received a copy of the GNU General Public License X along with this program; if not, write to the Free Software Foundation, X Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X #ifndef _PATHMAX_H #define _PATHMAX_H X #ifdef HAVE_UNISTD_H #include #endif X /* Non-POSIX BSD systems might have gcc's limits.h, which doesn't define X PATH_MAX but might cause redefinition warnings when sys/param.h is X later included (as on MORE/BSD 4.3). */ #if defined(_POSIX_VERSION) || (defined(HAVE_LIMITS_H) && !defined(__GNUC__)) #include #endif X #ifndef _POSIX_PATH_MAX #define _POSIX_PATH_MAX 255 #endif X #if !defined(PATH_MAX) && defined(_PC_PATH_MAX) #define PATH_MAX (pathconf ("/", _PC_PATH_MAX) < 1 ? 1024 : pathconf ("/", _PC_PATH_MAX)) #endif X /* Don't include sys/param.h if it already has been. */ #if defined(HAVE_SYS_PARAM_H) && !defined(PATH_MAX) && !defined(MAXPATHLEN) #include #endif X #if !defined(PATH_MAX) && defined(MAXPATHLEN) #define PATH_MAX MAXPATHLEN #endif X #ifndef PATH_MAX #define PATH_MAX _POSIX_PATH_MAX #endif X #endif /* _PATHMAX_H */ SHAR_EOF $shar_touch -am 0622231795 'tar-1.12/lib/pathmax.h' && chmod 0644 'tar-1.12/lib/pathmax.h' || $echo 'restore of' 'tar-1.12/lib/pathmax.h' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/lib/pathmax.h:' 'MD5 check failed' 91fdca37c3902558bff9cc001f79f388 tar-1.12/lib/pathmax.h SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/lib/pathmax.h'`" test 1720 -eq "$shar_count" || $echo 'tar-1.12/lib/pathmax.h:' 'original size' '1720,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/lib/modechange.h ============== if test -f 'tar-1.12/lib/modechange.h' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/lib/modechange.h' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/lib/modechange.h' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/lib/modechange.h' && /* modechange.h -- definitions for file mode manipulation X Copyright (C) 1989, 1990 Free Software Foundation, Inc. X X This program is free software; you can redistribute it and/or modify X it under the terms of the GNU General Public License as published by X the Free Software Foundation; either version 2, or (at your option) X any later version. X X This program is distributed in the hope that it will be useful, X but WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the X GNU General Public License for more details. X X You should have received a copy of the GNU General Public License X along with this program; if not, write to the Free Software Foundation, X Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X /* Masks for the `flags' field in a `struct mode_change'. */ X /* Affect the execute bits only if at least one execute bit is set already, X or if the file is a directory. */ #define MODE_X_IF_ANY_X 01 X /* If set, copy some existing permissions for u, g, or o onto the other two. X Which of u, g, or o is copied is determined by which bits are set in the X `value' field. */ #define MODE_COPY_EXISTING 02 X struct mode_change { X char op; /* One of "=+-". */ X char flags; /* Special operations. */ X unsigned short affected; /* Set for u/g/o/s/s/t, if to be affected. */ X unsigned short value; /* Bits to add/remove. */ X struct mode_change *next; /* Link to next change in list. */ }; X /* Masks for mode_compile argument. */ #define MODE_MASK_EQUALS 1 #define MODE_MASK_PLUS 2 #define MODE_MASK_MINUS 4 X /* Error return values for mode_compile. */ #define MODE_INVALID (struct mode_change *) 0 #define MODE_MEMORY_EXHAUSTED (struct mode_change *) 1 X #ifndef __P # if defined (__GNUC__) || (defined (__STDC__) && __STDC__) # define __P(Args) Args # else # define __P(Args) () # endif #endif X struct mode_change *mode_compile __P ((const char *, unsigned)); unsigned short mode_adjust __P ((unsigned, const struct mode_change *)); void mode_free __P ((struct mode_change *)); SHAR_EOF $shar_touch -am 0714113896 'tar-1.12/lib/modechange.h' && chmod 0644 'tar-1.12/lib/modechange.h' || $echo 'restore of' 'tar-1.12/lib/modechange.h' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/lib/modechange.h:' 'MD5 check failed' e73fca9d4a01022a317e22e70de8eca9 tar-1.12/lib/modechange.h SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/lib/modechange.h'`" test 2103 -eq "$shar_count" || $echo 'tar-1.12/lib/modechange.h:' 'original size' '2103,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/lib/stpcpy.c ============== if test -f 'tar-1.12/lib/stpcpy.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/lib/stpcpy.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/lib/stpcpy.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/lib/stpcpy.c' && /* stpcpy.c -- copy a string and return pointer to end of new string X Copyright (C) 1989, 1990 Free Software Foundation. X X This program is free software; you can redistribute it and/or modify X it under the terms of the GNU General Public License as published by X the Free Software Foundation; either version 2, or (at your option) X any later version. X X This program is distributed in the hope that it will be useful, X but WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the X GNU General Public License for more details. X X You should have received a copy of the GNU General Public License X along with this program; if not, write to the Free Software Foundation, X Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X #if HAVE_CONFIG_H # include #endif X /* Copy SRC to DEST, returning the address of the terminating '\0' in DEST. */ X char * stpcpy (dest, src) X char *dest; X const char *src; { X while ((*dest++ = *src++) != '\0') X /* Do nothing. */ ; X return dest - 1; } SHAR_EOF $shar_touch -am 1010001696 'tar-1.12/lib/stpcpy.c' && chmod 0644 'tar-1.12/lib/stpcpy.c' || $echo 'restore of' 'tar-1.12/lib/stpcpy.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/lib/stpcpy.c:' 'MD5 check failed' 9d61262160fe3c80f700332e17eb3aa9 tar-1.12/lib/stpcpy.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/lib/stpcpy.c'`" test 1112 -eq "$shar_count" || $echo 'tar-1.12/lib/stpcpy.c:' 'original size' '1112,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/intl/ChangeLog ============== if test ! -d 'tar-1.12/intl'; then $echo 'x -' 'creating directory' 'tar-1.12/intl' mkdir 'tar-1.12/intl' fi if test -f 'tar-1.12/intl/ChangeLog' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/intl/ChangeLog' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/intl/ChangeLog' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/intl/ChangeLog M36]N($YO=B`R-2`R,CHU-SHU,2`Q.3DV("!5;')I8V@@1')E<'!E'1D;VUA:6XN8SH@36]V92!D969I M;FET:6]N(&]F(&!M96UC<'E@(&UA8W)O('1O(')I9VAT"@EP;W-I=&EO;BX* M"D9R:2!.;W8@,C(@,#0Z,#$Z-3@@,3DY-B`@56QR:6-H($1R97!P97(@(#QD M2!I9B!N;W0@86QR96%D>2!D969I;F5D+B`@4F5P;W)T960@8GD@5&AO;6%S M($5S:V5N+@H)*B!B:6YD=&5X=&1O;2YC.B!,:6ME=VES92X*"2H@;#$P;F9L M:7-T+F,Z($QI:V5W:7-E+@H)*B!L;V-A;&5A;&EA&5C M7W!R969I>"!I;G-T96%D(&]F"B`)<')E9FEX+B`@4F5P;W)T960@8GD@2VYU M="U(Y79ABYH+"!C='EP92YH+"!S=&1L:6(N:"!A9G1E<@H) M9&5F:6YI=&EO;B!O9B!?1TY57U-/55)#12X@(%!A=&-H(&)Y(%)O;&%N9"!- M8T=R871H+@H*"2H@36%K969I;&4N:6X@*'5N:6YS=&%L;"DZ($9I>"!A;F]T M:&5R(&)U9R!W:71H(&!F;W(G(&QO;W`@86YD"@EE;7!T>2!A2!*:6T@365Y97)I;F2!F;W(@;&ES="X@ M(%)E<&]R=&5D(&)Y($II;2!-97EE&5C+"!I;G-T86QL+61A=&$I.B!.97<@9V]A;',N M("!#2!+87)L($)E6=N=7,N8V]M/@H*"2H@;#$P;F9L:7-T+F,Z($-OE\J(&9U;F-T:6]N6=N=7,N M8V]M/@H*"2H@97AP;&]D96YA;64N8RP@;#$P;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&P@<&%C:V%G97,N"@H)*B!D8V=E='1E>'0N M8R`H9&-G971T97AT*3H@:&%S:&EN9R!D;V5S(&YO="!W;W)K(&9O"!T>7!O("@C:68@ M9&5F("T^("-I9B!D969I;F5D*0H*5'5E($IU;"`Q,2`Q.#HT-#HT,R`Q.3DU M("!5;')I8V@@1')E<'!E2X*"@DJ M($UA:V5F:6QE+FEN("A$25-41DE,15,I.B!S:&EP('!O+71O+71B;"YS960N M:6X@:6YS=&5A9"!O9@H)<&\M=&\M=&)L+G-E9"X*"2AD:7-T8VQE86XI.B!R M96UO=F4@<&\M=&\M=&)L+G-E9"!A;F0@='5P9&%T92YP97)L+@H*"2H@='5P M9&%T92YP97)L+FEN.B!3=6)S=&ET=71E(%!E'1D;VTN8SH@4')O=&5C="!S=&1L:6(N:"!A;F0@"!D:64@;65S"UM2!C;VYT86EN7-T96T@=VAI M8V@@9&]E&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/intl/ChangeLog:' 'MD5 check failed' a1bffebcaf7ade80bd5fdf61df6390ce tar-1.12/intl/ChangeLog SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/intl/ChangeLog'`" test 30989 -eq "$shar_count" || $echo 'tar-1.12/intl/ChangeLog:' 'original size' '30989,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/intl/Makefile.in ============== if test -f 'tar-1.12/intl/Makefile.in' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/intl/Makefile.in' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/intl/Makefile.in' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/intl/Makefile.in' && # Makefile for directory with message catalog handling in GNU NLS Utilities. # Copyright (C) 1995, 1996 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. X PACKAGE = @PACKAGE@ VERSION = @VERSION@ X SHELL = /bin/sh X srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ X prefix = @prefix@ exec_prefix = @exec_prefix@ transform = @program_transform_name@ libdir = $(exec_prefix)/lib includedir = $(prefix)/include datadir = $(prefix)/@DATADIRNAME@ localedir = $(datadir)/locale gnulocaledir = $(prefix)/share/locale gettextsrcdir = @datadir@/gettext/intl aliaspath = $(localedir):. subdir = intl X INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ MKINSTALLDIRS = @MKINSTALLDIRS@ X AR = ar CC = @CC@ RANLIB = @RANLIB@ X DEFS = -DLOCALEDIR=\"$(localedir)\" -DGNULOCALEDIR=\"$(gnulocaledir)\" \ -DLOCALE_ALIAS_PATH=\"$(aliaspath)\" @DEFS@ CFLAGS = @CFLAGS@ X COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS) X HEADERS = $(COMHDRS) libgettext.h loadinfo.h COMHDRS = gettext.h gettextP.h hash-string.h SOURCES = $(COMSRCS) intl-compat.c cat-compat.c COMSRCS = bindtextdom.c dcgettext.c dgettext.c gettext.c \ finddomain.c loadmsgcat.c localealias.c textdomain.c l10nflist.c \ explodename.c OBJECTS = @INTLOBJS@ bindtextdom.o dcgettext.o dgettext.o gettext.o \ finddomain.o loadmsgcat.o localealias.o textdomain.o l10nflist.o \ explodename.o CATOBJS = cat-compat.o ../po/cat-id-tbl.o GETTOBJS = intl-compat.o DISTFILES.common = ChangeLog Makefile.in linux-msg.sed po2tbl.sed.in \ xopen-msg.sed $(HEADERS) $(SOURCES) DISTFILES.normal = VERSION DISTFILES.gettext = libintl.glibc intlh.inst.in X X.SUFFIXES: X.SUFFIXES: .c .o X.c.o: X $(COMPILE) $< X INCLUDES = -I.. -I. -I$(top_srcdir)/intl -I$(top_srcdir)/lib X all: all-@USE_INCLUDED_LIBINTL@ X all-yes: libintl.a intlh.inst all-no: X libintl.a: $(OBJECTS) X rm -f $@ X $(AR) cru $@ $(OBJECTS) X $(RANLIB) $@ X X../po/cat-id-tbl.o: ../po/cat-id-tbl.c $(top_srcdir)/po/$(PACKAGE).pot X cd ../po && $(MAKE) cat-id-tbl.o X check: all X # This installation goal is only used in GNU gettext. Packages which # only use the library should use install instead. X # We must not install the libintl.h/libintl.a files if we are on a # system which has the gettext() function in its C library or in a # separate library or use the catgets interface. A special case is # where configure found a previously installed GNU gettext library. # If you want to use the one which comes with this version of the # package, you have to use `configure --with-included-gettext'. install: install-exec install-data install-exec: all X if test "$(PACKAGE)" = "gettext" \ X && test '@INTLOBJS@' = '$(GETTOBJS)'; then \ X if test -r $(MKINSTALLDIRS); then \ X $(MKINSTALLDIRS) $(libdir) $(includedir); \ X else \ X $(top_srcdir)/mkinstalldirs $(libdir) $(includedir); \ X fi; \ X $(INSTALL_DATA) intlh.inst $(includedir)/libintl.h; \ X $(INSTALL_DATA) libintl.a $(libdir)/libintl.a; \ X else \ X : ; \ X fi install-data: all X if test "$(PACKAGE)" = "gettext"; then \ X if test -r $(MKINSTALLDIRS); then \ X $(MKINSTALLDIRS) $(gettextsrcdir); \ X else \ X $(top_srcdir)/mkinstalldirs $(gettextsrcdir); \ X fi; \ X $(INSTALL_DATA) VERSION $(gettextsrcdir)/VERSION; \ X cd $(srcdir) && \ X dists="$(DISTFILES.common)"; \ X for file in $$dists; do \ X $(INSTALL_DATA) $$file $(gettextsrcdir)/$$file; \ X done; \ X else \ X : ; \ X fi X # Define this as empty until I found a useful application. installcheck: X uninstall: X dists="$(DISTFILES)"; \ X for file in $$dists; do \ X rm -f $(gettextsrcdir)/$$file; \ X done X info dvi: X $(OBJECTS): ../config.h libgettext.h bindtextdom.o finddomain.o loadmsgcat.o: gettextP.h gettext.h loadinfo.h dcgettext.o: gettextP.h gettext.h hash-string.h loadinfo.h X tags: TAGS X TAGS: $(HEADERS) $(SOURCES) X here=`pwd`; cd $(srcdir) && etags -o $$here/TAGS $(HEADERS) $(SOURCES) X id: ID X ID: $(HEADERS) $(SOURCES) X here=`pwd`; cd $(srcdir) && mkid -f$$here/ID $(HEADERS) $(SOURCES) X X mostlyclean: X rm -f *.a *.o core core.* X clean: mostlyclean X distclean: clean X rm -f Makefile ID TAGS po2msg.sed po2tbl.sed libintl.h X maintainer-clean: distclean X @echo "This command is intended for maintainers to use;" X @echo "it deletes files that may require special tools to rebuild." X X # GNU gettext needs not contain the file `VERSION' but contains some # other files which should not be distributed in other packages. distdir = ../$(PACKAGE)-$(VERSION)/$(subdir) dist distdir: Makefile $(DISTFILES) X if test "$(PACKAGE)" = gettext; then \ X additional="$(DISTFILES.gettext)"; \ X else \ X additional="$(DISTFILES.normal)"; \ X fi; \ X for file in $(DISTFILES.common) $$additional; do \ X ln $(srcdir)/$$file $(distdir) 2> /dev/null \ X || cp -p $(srcdir)/$$file $(distdir); \ X done X dist-libc: X tar zcvf intl-glibc.tar.gz $(COMSRCS) $(COMHDRS) libintl.h.glibc X Makefile: Makefile.in ../config.status X cd .. \ X && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status X # The dependency for intlh.inst is different in gettext and all other # packages. Because we cannot you GNU make features we have to solve # the problem while rewriting Makefile.in. @GT_YES@intlh.inst: intlh.inst.in ../config.status @GT_YES@ cd .. \ @GT_YES@ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= \ @GT_YES@ $(SHELL) ./config.status @GT_NO@.PHONY: intlh.inst @GT_NO@intlh.inst: X # Tell versions [3.59,3.63) of GNU make not to export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. X.NOEXPORT: SHAR_EOF $shar_touch -am 0407002897 'tar-1.12/intl/Makefile.in' && chmod 0644 'tar-1.12/intl/Makefile.in' || $echo 'restore of' 'tar-1.12/intl/Makefile.in' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/intl/Makefile.in:' 'MD5 check failed' 15352421706fe5ae5c76ad2fe405bb1c tar-1.12/intl/Makefile.in SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/intl/Makefile.in'`" test 6153 -eq "$shar_count" || $echo 'tar-1.12/intl/Makefile.in:' 'original size' '6153,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/intl/linux-msg.sed ============== if test -f 'tar-1.12/intl/linux-msg.sed' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/intl/linux-msg.sed' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/intl/linux-msg.sed' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/intl/linux-msg.sed' && # po2msg.sed - Convert Uniforum style .po file to Linux style .msg file # Copyright (C) 1995 Free Software Foundation, Inc. # Ulrich Drepper , 1995. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # # The first directive in the .msg should be the definition of the # message set number. We use always set number 1. # 1 { X i\ $set 1 # Automatically created by po2msg.sed X h X s/.*/0/ X x } # # Mitch's old catalog format does not allow comments. # # We copy the original message as a comment into the .msg file. # /^msgid/ { X s/msgid[ ]*"// # # This does not work now with the new format. # /"$/! { # s/\\$// # s/$/ ... (more lines following)"/ # } X x # The following nice solution is by # Bruno X td # Increment a decimal number in pattern space. # First hide trailing `9' digits. X :d X s/9\(_*\)$/_\1/ X td # Assure at least one digit is available. X s/^\(_*\)$/0\1/ # Increment the last digit. X s/8\(_*\)$/9\1/ X s/7\(_*\)$/8\1/ X s/6\(_*\)$/7\1/ X s/5\(_*\)$/6\1/ X s/4\(_*\)$/5\1/ X s/3\(_*\)$/4\1/ X s/2\(_*\)$/3\1/ X s/1\(_*\)$/2\1/ X s/0\(_*\)$/1\1/ # Convert the hidden `9' digits to `0's. X s/_/0/g X x X G X s/\(.*\)"\n\([0-9]*\)/$ #\2 Original Message:(\1)/p } # # The .msg file contains, other then the .po file, only the translations # but each given a unique ID. Starting from 1 and incrementing by 1 for # each message we assign them to the messages. # It is important that the .po file used to generate the cat-id-tbl.c file # (with po-to-tbl) is the same as the one used here. (At least the order # of declarations must not be changed.) # /^msgstr/ { X s/msgstr[ ]*"\(.*\)"/# \1/ # Clear substitution flag. X tb # Append the next line. X :b X N # Look whether second part is continuation line. X s/\(.*\n\)"\(.*\)"/\1\2/ # Yes, then branch. X ta X P X D # Note that D includes a jump to the start!! # We found a continuation line. But before printing insert '\'. X :a X s/\(.*\)\(\n.*\)/\1\\\2/ X P # We cannot use D here. X s/.*\n\(.*\)/\1/ X tb } d SHAR_EOF $shar_touch -am 0407002897 'tar-1.12/intl/linux-msg.sed' && chmod 0644 'tar-1.12/intl/linux-msg.sed' || $echo 'restore of' 'tar-1.12/intl/linux-msg.sed' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/intl/linux-msg.sed:' 'MD5 check failed' 88c9303406b57aeed1f313b827c28e3a tar-1.12/intl/linux-msg.sed SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/intl/linux-msg.sed'`" test 2693 -eq "$shar_count" || $echo 'tar-1.12/intl/linux-msg.sed:' 'original size' '2693,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/intl/po2tbl.sed.in ============== if test -f 'tar-1.12/intl/po2tbl.sed.in' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/intl/po2tbl.sed.in' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/intl/po2tbl.sed.in' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/intl/po2tbl.sed.in' && # po2tbl.sed - Convert Uniforum style .po file to lookup table for catgets # Copyright (C) 1995 Free Software Foundation, Inc. # Ulrich Drepper , 1995. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # 1 { X i\ /* Automatically generated by po2tbl.sed from @PACKAGE NAME@.pot. */\ \ #if HAVE_CONFIG_H\ # include \ #endif\ \ #include "libgettext.h"\ \ const struct _msg_ent _msg_tbl[] = { X h X s/.*/0/ X x } # # Write msgid entries in C array form. # /^msgid/ { X s/msgid[ ]*\(".*"\)/ {\1/ X tb # Append the next line X :b X N # Look whether second part is continuation line. X s/\(.*\)"\(\n\)"\(.*"\)/\1\2\3/ # Yes, then branch. X ta # Because we assume that the input file correctly formed the line # just read cannot be again be a msgid line. So it's safe to ignore # it. X s/\(.*\)\n.*/\1/ X bc # We found a continuation line. But before printing insert '\'. X :a X s/\(.*\)\(\n.*\)/\1\\\2/ X P # We cannot use D here. X s/.*\n\(.*\)/\1/ # Some buggy seds do not clear the `successful substitution since last ``t''' # flag on `N', so we do a `t' here to clear it. X tb # Not reached X :c X x # The following nice solution is by # Bruno X td # Increment a decimal number in pattern space. # First hide trailing `9' digits. X :d X s/9\(_*\)$/_\1/ X td # Assure at least one digit is available. X s/^\(_*\)$/0\1/ # Increment the last digit. X s/8\(_*\)$/9\1/ X s/7\(_*\)$/8\1/ X s/6\(_*\)$/7\1/ X s/5\(_*\)$/6\1/ X s/4\(_*\)$/5\1/ X s/3\(_*\)$/4\1/ X s/2\(_*\)$/3\1/ X s/1\(_*\)$/2\1/ X s/0\(_*\)$/1\1/ # Convert the hidden `9' digits to `0's. X s/_/0/g X x X G X s/\(.*\)\n\([0-9]*\)/\1, \2},/ X s/\(.*\)"$/\1/ X p } # # Last line. # $ { X i\ };\ X X g X s/0*\(.*\)/int _msg_tbl_length = \1;/p } d SHAR_EOF $shar_touch -am 0407002897 'tar-1.12/intl/po2tbl.sed.in' && chmod 0644 'tar-1.12/intl/po2tbl.sed.in' || $echo 'restore of' 'tar-1.12/intl/po2tbl.sed.in' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/intl/po2tbl.sed.in:' 'MD5 check failed' 606344532ffc07b36812c0d04acb1f38 tar-1.12/intl/po2tbl.sed.in SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/intl/po2tbl.sed.in'`" test 2421 -eq "$shar_count" || $echo 'tar-1.12/intl/po2tbl.sed.in:' 'original size' '2421,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/intl/xopen-msg.sed ============== if test -f 'tar-1.12/intl/xopen-msg.sed' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/intl/xopen-msg.sed' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/intl/xopen-msg.sed' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/intl/xopen-msg.sed' && # po2msg.sed - Convert Uniforum style .po file to X/Open style .msg file # Copyright (C) 1995 Free Software Foundation, Inc. # Ulrich Drepper , 1995. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # # The first directive in the .msg should be the definition of the # message set number. We use always set number 1. # 1 { X i\ $set 1 # Automatically created by po2msg.sed X h X s/.*/0/ X x } # # We copy all comments into the .msg file. Perhaps they can help. # /^#/ s/^#[ ]*/$ /p # # We copy the original message as a comment into the .msg file. # /^msgid/ { # Does not work now # /"$/! { # s/\\$// # s/$/ ... (more lines following)"/ # } X s/^msgid[ ]*"\(.*\)"$/$ Original Message: \1/ X p } # # The .msg file contains, other then the .po file, only the translations # but each given a unique ID. Starting from 1 and incrementing by 1 for # each message we assign them to the messages. # It is important that the .po file used to generate the cat-id-tbl.c file # (with po-to-tbl) is the same as the one used here. (At least the order # of declarations must not be changed.) # /^msgstr/ { X s/msgstr[ ]*"\(.*\)"/\1/ X x # The following nice solution is by # Bruno X td # Increment a decimal number in pattern space. # First hide trailing `9' digits. X :d X s/9\(_*\)$/_\1/ X td # Assure at least one digit is available. X s/^\(_*\)$/0\1/ # Increment the last digit. X s/8\(_*\)$/9\1/ X s/7\(_*\)$/8\1/ X s/6\(_*\)$/7\1/ X s/5\(_*\)$/6\1/ X s/4\(_*\)$/5\1/ X s/3\(_*\)$/4\1/ X s/2\(_*\)$/3\1/ X s/1\(_*\)$/2\1/ X s/0\(_*\)$/1\1/ # Convert the hidden `9' digits to `0's. X s/_/0/g X x # Bring the line in the format ` ' X G X s/^[^\n]*$/& / X s/\(.*\)\n\([0-9]*\)/\2 \1/ # Clear flag from last substitution. X tb # Append the next line. X :b X N # Look whether second part is a continuation line. X s/\(.*\n\)"\(.*\)"/\1\2/ # Yes, then branch. X ta X P X D # Note that `D' includes a jump to the start!! # We found a continuation line. But before printing insert '\'. X :a X s/\(.*\)\(\n.*\)/\1\\\2/ X P # We cannot use the sed command `D' here X s/.*\n\(.*\)/\1/ X tb } d SHAR_EOF $shar_touch -am 0407002897 'tar-1.12/intl/xopen-msg.sed' && chmod 0644 'tar-1.12/intl/xopen-msg.sed' || $echo 'restore of' 'tar-1.12/intl/xopen-msg.sed' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/intl/xopen-msg.sed:' 'MD5 check failed' 0be261721efcbc3f04680d99e149f18a tar-1.12/intl/xopen-msg.sed SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/intl/xopen-msg.sed'`" test 2814 -eq "$shar_count" || $echo 'tar-1.12/intl/xopen-msg.sed:' 'original size' '2814,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/intl/gettext.h ============== if test -f 'tar-1.12/intl/gettext.h' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/intl/gettext.h' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/intl/gettext.h' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/intl/gettext.h' && /* gettext.h - internal header for GNU gettext internationalization functions X Copyright (C) 1995 Software Foundation, Inc. X This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. X This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. X You should have received a copy of the GNU Library General Public License along with the GNU C Library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X #ifndef _GETTEXT_H #define _GETTEXT_H 1 X #include X #if HAVE_LIMITS_H || _LIBC # include #endif X /* @@ end of prolog @@ */ X /* The magic number of the GNU message catalog format. */ #define _MAGIC 0x950412de #define _MAGIC_SWAPPED 0xde120495 X /* Revision number of the currently used .mo (binary) file format. */ #define MO_REVISION_NUMBER 0 X /* The following contortions are an attempt to use the C preprocessor X to determine an unsigned integral type that is 32 bits wide. An X alternative approach is to use autoconf's AC_CHECK_SIZEOF macro, but X doing that would require that the configure script compile and *run* X the resulting executable. Locally running cross-compiled executables X is usually not possible. */ X #if __STDC__ # define UINT_MAX_32_BITS 4294967295U #else # define UINT_MAX_32_BITS 0xFFFFFFFF #endif X /* If UINT_MAX isn't defined, assume it's a 32-bit type. X This should be valid for all systems GNU cares about because X that doesn't include 16-bit systems, and only modern systems X (that certainly have ) have 64+-bit integral types. */ X #ifndef UINT_MAX # define UINT_MAX UINT_MAX_32_BITS #endif X #if UINT_MAX == UINT_MAX_32_BITS typedef unsigned nls_uint32; #else # if USHRT_MAX == UINT_MAX_32_BITS typedef unsigned short nls_uint32; # else # if ULONG_MAX == UINT_MAX_32_BITS typedef unsigned long nls_uint32; # else X /* The following line is intended to throw an error. Using #error is X not portable enough. */ X "Cannot determine unsigned 32-bit data type." # endif # endif #endif X X /* Header for binary .mo file format. */ struct mo_file_header { X /* The magic number. */ X nls_uint32 magic; X /* The revision number of the file format. */ X nls_uint32 revision; X /* The number of strings pairs. */ X nls_uint32 nstrings; X /* Offset of table with start offsets of original strings. */ X nls_uint32 orig_tab_offset; X /* Offset of table with start offsets of translation strings. */ X nls_uint32 trans_tab_offset; X /* Size of hashing table. */ X nls_uint32 hash_tab_size; X /* Offset of first hashing entry. */ X nls_uint32 hash_tab_offset; }; X struct string_desc { X /* Length of addressed string. */ X nls_uint32 length; X /* Offset of string in file. */ X nls_uint32 offset; }; X /* @@ begin of epilog @@ */ X #endif /* gettext.h */ SHAR_EOF $shar_touch -am 0407002897 'tar-1.12/intl/gettext.h' && chmod 0644 'tar-1.12/intl/gettext.h' || $echo 'restore of' 'tar-1.12/intl/gettext.h' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/intl/gettext.h:' 'MD5 check failed' 17c4fee47d9ebca15ae0fc151065993f tar-1.12/intl/gettext.h SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/intl/gettext.h'`" test 3169 -eq "$shar_count" || $echo 'tar-1.12/intl/gettext.h:' 'original size' '3169,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/intl/gettextP.h ============== if test -f 'tar-1.12/intl/gettextP.h' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/intl/gettextP.h' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/intl/gettextP.h' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/intl/gettextP.h' && /* gettextP.h -- header describing internals of gettext library X Copyright (C) 1995, 1996 Free Software Foundation, Inc. X This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. X This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. X You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X #ifndef _GETTEXTP_H #define _GETTEXTP_H X #include "loadinfo.h" X /* @@ end of prolog @@ */ X #ifndef PARAMS # if __STDC__ # define PARAMS(args) args # else # define PARAMS(args) () # endif #endif X #ifndef W # define W(flag, data) ((flag) ? SWAP (data) : (data)) #endif X X static nls_uint32 SWAP PARAMS ((nls_uint32 i)); X static inline nls_uint32 SWAP (i) X nls_uint32 i; { X return (i << 24) | ((i & 0xff00) << 8) | ((i >> 8) & 0xff00) | (i >> 24); } X X struct loaded_domain { X const char *data; X int must_swap; X nls_uint32 nstrings; X struct string_desc *orig_tab; X struct string_desc *trans_tab; X nls_uint32 hash_size; X nls_uint32 *hash_tab; }; X struct binding { X struct binding *next; X char *domainname; X char *dirname; }; X struct loaded_l10nfile *_nl_find_domain PARAMS ((const char *__dirname, X char *__locale, X const char *__domainname)); void _nl_load_domain PARAMS ((struct loaded_l10nfile *__domain)); X /* @@ begin of epilog @@ */ X #endif /* gettextP.h */ SHAR_EOF $shar_touch -am 0407002897 'tar-1.12/intl/gettextP.h' && chmod 0644 'tar-1.12/intl/gettextP.h' || $echo 'restore of' 'tar-1.12/intl/gettextP.h' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/intl/gettextP.h:' 'MD5 check failed' f7652b132b95a4153cc67daa2f73c6ff tar-1.12/intl/gettextP.h SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/intl/gettextP.h'`" test 1779 -eq "$shar_count" || $echo 'tar-1.12/intl/gettextP.h:' 'original size' '1779,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/intl/hash-string.h ============== if test -f 'tar-1.12/intl/hash-string.h' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/intl/hash-string.h' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/intl/hash-string.h' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/intl/hash-string.h' && /* hash-string - Implements a string hashing function. X Copyright (C) 1995 Free Software Foundation, Inc. X This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. X This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. X You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X #ifdef HAVE_VALUES_H # include #endif X /* @@ end of prolog @@ */ X #ifndef PARAMS # if __STDC__ # define PARAMS(Args) Args # else # define PARAMS(Args) () # endif #endif X /* We assume to have `unsigned long int' value with at least 32 bits. */ #define HASHWORDBITS 32 X X /* Defines the so called `hashpjw' function by P.J. Weinberger X [see Aho/Sethi/Ullman, COMPILERS: Principles, Techniques and Tools, X 1986, 1987 Bell Telephone Laboratories, Inc.] */ static unsigned long hash_string PARAMS ((const char *__str_param)); X static inline unsigned long hash_string (str_param) X const char *str_param; { X unsigned long int hval, g; X const char *str = str_param; X X /* Compute the hash value for the given string. */ X hval = 0; X while (*str != '\0') X { X hval <<= 4; X hval += (unsigned long) *str++; X g = hval & ((unsigned long) 0xf << (HASHWORDBITS - 4)); X if (g != 0) X { X hval ^= g >> (HASHWORDBITS - 8); X hval ^= g; X } X } X return hval; } SHAR_EOF $shar_touch -am 0407002897 'tar-1.12/intl/hash-string.h' && chmod 0644 'tar-1.12/intl/hash-string.h' || $echo 'restore of' 'tar-1.12/intl/hash-string.h' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/intl/hash-string.h:' 'MD5 check failed' 3b2ce6cee0acab91d1ce7f38f5e31abd tar-1.12/intl/hash-string.h SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/intl/hash-string.h'`" test 1769 -eq "$shar_count" || $echo 'tar-1.12/intl/hash-string.h:' 'original size' '1769,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/intl/libgettext.h ============== if test -f 'tar-1.12/intl/libgettext.h' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/intl/libgettext.h' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/intl/libgettext.h' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/intl/libgettext.h' && /* libgettext.h -- Message catalogs for internationalization. X Copyright (C) 1995, 1996 Free Software Foundation, Inc. X This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. X This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. X You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X /* Because on some systems (e.g. Solaris) we sometimes have to include X the systems libintl.h as well as this file we have more complex X include protection above. But the systems header might perhaps also X define _LIBINTL_H and therefore we have to protect the definition here. */ X #if !defined (_LIBINTL_H) || !defined (_LIBGETTEXT_H) #if !defined (_LIBINTL_H) # define _LIBINTL_H 1 #endif #define _LIBGETTEXT_H 1 X /* We define an additional symbol to signal that we use the GNU X implementation of gettext. */ #define __USE_GNU_GETTEXT 1 X #include X #if HAVE_LOCALE_H # include #endif X X #ifdef __cplusplus extern "C" { #endif X /* @@ end of prolog @@ */ X #ifndef PARAMS # if __STDC__ # define PARAMS(args) args # else # define PARAMS(args) () # endif #endif X #ifndef NULL # if !defined __cplusplus || defined __GNUC__ # define NULL ((void *) 0) # else # define NULL (0) # endif #endif X #if !HAVE_LC_MESSAGES /* This value determines the behaviour of the gettext() and dgettext() X function. But some system does not have this defined. Define it X to a default value. */ # define LC_MESSAGES (-1) #endif X X /* Declarations for gettext-using-catgets interface. Derived from X Jim Meyering's libintl.h. */ struct _msg_ent { X const char *_msg; X int _msg_number; }; X X #if HAVE_CATGETS /* These two variables are defined in the automatically by po-to-tbl.sed X generated file `cat-id-tbl.c'. */ extern const struct _msg_ent _msg_tbl[]; extern int _msg_tbl_length; #endif X X /* For automatical extraction of messages sometimes no real X translation is needed. Instead the string itself is the result. */ #define gettext_noop(Str) (Str) X /* Look up MSGID in the current default message catalog for the current X LC_MESSAGES locale. If not found, returns MSGID itself (the default X text). */ extern char *gettext PARAMS ((const char *__msgid)); extern char *gettext__ PARAMS ((const char *__msgid)); X /* Look up MSGID in the DOMAINNAME message catalog for the current X LC_MESSAGES locale. */ extern char *dgettext PARAMS ((const char *__domainname, const char *__msgid)); extern char *dgettext__ PARAMS ((const char *__domainname, X const char *__msgid)); X /* Look up MSGID in the DOMAINNAME message catalog for the current CATEGORY X locale. */ extern char *dcgettext PARAMS ((const char *__domainname, const char *__msgid, X int __category)); extern char *dcgettext__ PARAMS ((const char *__domainname, X const char *__msgid, int __category)); X X /* Set the current default message catalog to DOMAINNAME. X If DOMAINNAME is null, return the current default. X If DOMAINNAME is "", reset to the default of "messages". */ extern char *textdomain PARAMS ((const char *__domainname)); extern char *textdomain__ PARAMS ((const char *__domainname)); X /* Specify that the DOMAINNAME message catalog will be found X in DIRNAME rather than in the system locale data base. */ extern char *bindtextdomain PARAMS ((const char *__domainname, X const char *__dirname)); extern char *bindtextdomain__ PARAMS ((const char *__domainname, X const char *__dirname)); X #if ENABLE_NLS X /* Solaris 2.3 has the gettext function but dcgettext is missing. X So we omit this optimization for Solaris 2.3. BTW, Solaris 2.4 X has dcgettext. */ # if !HAVE_CATGETS && (!HAVE_GETTEXT || HAVE_DCGETTEXT) X # define gettext(Msgid) \ X dgettext (NULL, Msgid) X # define dgettext(Domainname, Msgid) \ X dcgettext (Domainname, Msgid, LC_MESSAGES) X # if defined __GNUC__ && __GNUC__ == 2 && __GNUC_MINOR__ >= 7 /* This global variable is defined in loadmsgcat.c. We need a sign, X whether a new catalog was loaded, which can be associated with all X translations. */ extern int _nl_msg_cat_cntr; X # define dcgettext(Domainname, Msgid, Category) \ X (__extension__ \ X ({ \ X char *__result; \ X if (__builtin_constant_p (Msgid)) \ X { \ X static char *__translation__; \ X static int __catalog_counter__; \ X if (! __translation__ || __catalog_counter__ != _nl_msg_cat_cntr) \ X { \ X __translation__ = \ X dcgettext__ ((Domainname), (Msgid), (Category)); \ X __catalog_counter__ = _nl_msg_cat_cntr; \ X } \ X __result = __translation__; \ X } \ X else \ X __result = dcgettext__ ((Domainname), (Msgid), (Category)); \ X __result; \ X })) # endif # endif X #else X # define gettext(Msgid) (Msgid) # define dgettext(Domainname, Msgid) (Msgid) # define dcgettext(Domainname, Msgid, Category) (Msgid) # define textdomain(Domainname) while (0) /* nothing */ # define bindtextdomain(Domainname, Dirname) while (0) /* nothing */ X #endif X /* @@ begin of epilog @@ */ X #ifdef __cplusplus } #endif X #endif SHAR_EOF $shar_touch -am 0407002897 'tar-1.12/intl/libgettext.h' && chmod 0644 'tar-1.12/intl/libgettext.h' || $echo 'restore of' 'tar-1.12/intl/libgettext.h' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/intl/libgettext.h:' 'MD5 check failed' 290fc72f850f6c450428c3e21d02b195 tar-1.12/intl/libgettext.h SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/intl/libgettext.h'`" test 5710 -eq "$shar_count" || $echo 'tar-1.12/intl/libgettext.h:' 'original size' '5710,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/intl/loadinfo.h ============== if test -f 'tar-1.12/intl/loadinfo.h' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/intl/loadinfo.h' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/intl/loadinfo.h' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/intl/loadinfo.h' && #ifndef PARAMS # if __STDC__ # define PARAMS(args) args # else # define PARAMS(args) () # endif #endif X /* Encoding of locale name parts. */ #define CEN_REVISION 1 #define CEN_SPONSOR 2 #define CEN_SPECIAL 4 #define XPG_NORM_CODESET 8 #define XPG_CODESET 16 #define TERRITORY 32 #define CEN_AUDIENCE 64 #define XPG_MODIFIER 128 X #define CEN_SPECIFIC (CEN_REVISION|CEN_SPONSOR|CEN_SPECIAL|CEN_AUDIENCE) #define XPG_SPECIFIC (XPG_CODESET|XPG_NORM_CODESET|XPG_MODIFIER) X X struct loaded_l10nfile { X const char *filename; X int decided; X X const void *data; X X struct loaded_l10nfile *next; X struct loaded_l10nfile *successor[1]; }; X X extern const char *_nl_normalize_codeset PARAMS ((const char *codeset, X size_t name_len)); X extern struct loaded_l10nfile * _nl_make_l10nflist PARAMS ((struct loaded_l10nfile **l10nfile_list, X const char *dirlist, size_t dirlist_len, int mask, X const char *language, const char *territory, X const char *codeset, X const char *normalized_codeset, X const char *modifier, const char *special, X const char *sponsor, const char *revision, X const char *filename, int do_allocate)); X X extern const char *_nl_expand_alias PARAMS ((const char *name)); X extern int _nl_explode_name PARAMS ((char *name, const char **language, X const char **modifier, X const char **territory, X const char **codeset, X const char **normalized_codeset, X const char **special, X const char **sponsor, X const char **revision)); SHAR_EOF $shar_touch -am 0407002897 'tar-1.12/intl/loadinfo.h' && chmod 0644 'tar-1.12/intl/loadinfo.h' || $echo 'restore of' 'tar-1.12/intl/loadinfo.h' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/intl/loadinfo.h:' 'MD5 check failed' bc7989f895f4e4e38d43419dc0f4777b tar-1.12/intl/loadinfo.h SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/intl/loadinfo.h'`" test 1540 -eq "$shar_count" || $echo 'tar-1.12/intl/loadinfo.h:' 'original size' '1540,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/intl/bindtextdom.c ============== if test -f 'tar-1.12/intl/bindtextdom.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/intl/bindtextdom.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/intl/bindtextdom.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/intl/bindtextdom.c' && /* bindtextdom.c -- implementation of the bindtextdomain(3) function X Copyright (C) 1995, 1996 Free Software Foundation, Inc. X This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. X This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. X You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X #ifdef HAVE_CONFIG_H # include #endif X #if defined STDC_HEADERS || defined _LIBC # include #else # ifdef HAVE_MALLOC_H # include # else void free (); # endif #endif X #if defined HAVE_STRING_H || defined _LIBC # include #else # include # ifndef memcpy # define memcpy(Dst, Src, Num) bcopy (Src, Dst, Num) # endif #endif X #ifdef _LIBC # include #else # include "libgettext.h" #endif #include "gettext.h" #include "gettextP.h" X /* @@ end of prolog @@ */ X /* Contains the default location of the message catalogs. */ extern const char _nl_default_dirname[]; X /* List with bindings of specific domains. */ extern struct binding *_nl_domain_bindings; X X /* Names for the libintl functions are a problem. They must not clash X with existing names and they should follow ANSI C. But this source X code is also used in GNU C Library where the names have a __ X prefix. So we have to make a difference here. */ #ifdef _LIBC # define BINDTEXTDOMAIN __bindtextdomain #else # define BINDTEXTDOMAIN bindtextdomain__ #endif X /* Specify that the DOMAINNAME message catalog will be found X in DIRNAME rather than in the system locale data base. */ char * BINDTEXTDOMAIN (domainname, dirname) X const char *domainname; X const char *dirname; { X struct binding *binding; X X /* Some sanity checks. */ X if (domainname == NULL || domainname[0] == '\0') X return NULL; X X for (binding = _nl_domain_bindings; binding != NULL; binding = binding->next) X { X int compare = strcmp (domainname, binding->domainname); X if (compare == 0) X /* We found it! */ X break; X if (compare < 0) X { X /* It is not in the list. */ X binding = NULL; X break; X } X } X X if (dirname == NULL) X /* The current binding has be to returned. */ X return binding == NULL ? (char *) _nl_default_dirname : binding->dirname; X X if (binding != NULL) X { X /* The domain is already bound. Replace the old binding. */ X char *new_dirname; X X if (strcmp (dirname, _nl_default_dirname) == 0) X new_dirname = (char *) _nl_default_dirname; X else X { X size_t len = strlen (dirname) + 1; X new_dirname = (char *) malloc (len); X if (new_dirname == NULL) X return NULL; X X memcpy (new_dirname, dirname, len); X } X X if (strcmp (binding->dirname, _nl_default_dirname) != 0) X free (binding->dirname); X X binding->dirname = new_dirname; X } X else X { X /* We have to create a new binding. */ X size_t len; X struct binding *new_binding = X (struct binding *) malloc (sizeof (*new_binding)); X X if (new_binding == NULL) X return NULL; X X len = strlen (domainname) + 1; X new_binding->domainname = (char *) malloc (len); X if (new_binding->domainname == NULL) X return NULL; X memcpy (new_binding->domainname, domainname, len); X X if (strcmp (dirname, _nl_default_dirname) == 0) X new_binding->dirname = (char *) _nl_default_dirname; X else X { X len = strlen (dirname) + 1; X new_binding->dirname = (char *) malloc (len); X if (new_binding->dirname == NULL) X return NULL; X memcpy (new_binding->dirname, dirname, len); X } X X /* Now enqueue it. */ X if (_nl_domain_bindings == NULL X || strcmp (domainname, _nl_domain_bindings->domainname) < 0) X { X new_binding->next = _nl_domain_bindings; X _nl_domain_bindings = new_binding; X } X else X { X binding = _nl_domain_bindings; X while (binding->next != NULL X && strcmp (domainname, binding->next->domainname) > 0) X binding = binding->next; X X new_binding->next = binding->next; X binding->next = new_binding; X } X X binding = new_binding; X } X X return binding->dirname; } X #ifdef _LIBC /* Alias for function name in GNU C Library. */ weak_alias (__bindtextdomain, bindtextdomain); #endif SHAR_EOF $shar_touch -am 0407002897 'tar-1.12/intl/bindtextdom.c' && chmod 0644 'tar-1.12/intl/bindtextdom.c' || $echo 'restore of' 'tar-1.12/intl/bindtextdom.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/intl/bindtextdom.c:' 'MD5 check failed' bc8d5a10132bb87d26226766ed5946be tar-1.12/intl/bindtextdom.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/intl/bindtextdom.c'`" test 4605 -eq "$shar_count" || $echo 'tar-1.12/intl/bindtextdom.c:' 'original size' '4605,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/intl/dcgettext.c ============== if test -f 'tar-1.12/intl/dcgettext.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/intl/dcgettext.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/intl/dcgettext.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/intl/dcgettext.c' && /* dcgettext.c -- implementation of the dcgettext(3) function X Copyright (C) 1995, 1996 Free Software Foundation, Inc. X This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. X This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. X You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X #ifdef HAVE_CONFIG_H # include #endif X #include X #ifdef __GNUC__ # define alloca __builtin_alloca # define HAVE_ALLOCA 1 #else # if defined HAVE_ALLOCA_H || defined _LIBC # include # else # ifdef _AIX X #pragma alloca # else # ifndef alloca char *alloca (); # endif # endif # endif #endif X #include #ifndef errno extern int errno; #endif X #if defined STDC_HEADERS || defined _LIBC # include #else char *getenv (); # ifdef HAVE_MALLOC_H # include # else void free (); # endif #endif X #if defined HAVE_STRING_H || defined _LIBC # ifndef _GNU_SOURCE # define _GNU_SOURCE 1 # endif # include #else # include #endif #if !HAVE_STRCHR && !defined _LIBC # ifndef strchr # define strchr index # endif #endif X #if defined HAVE_UNISTD_H || defined _LIBC # include #endif X #include "gettext.h" #include "gettextP.h" #ifdef _LIBC # include #else # include "libgettext.h" #endif #include "hash-string.h" X /* @@ end of prolog @@ */ X #ifdef _LIBC /* Rename the non ANSI C functions. This is required by the standard X because some ANSI C functions will require linking with this object X file and the name space must not be polluted. */ # define getcwd __getcwd # define stpcpy __stpcpy #else # if !defined HAVE_GETCWD char *getwd (); # define getcwd(buf, max) getwd (buf) # else char *getcwd (); # endif # ifndef HAVE_STPCPY static char *stpcpy PARAMS ((char *dest, const char *src)); # endif #endif X /* Amount to increase buffer size by in each try. */ #define PATH_INCR 32 X /* The following is from pathmax.h. */ /* Non-POSIX BSD systems might have gcc's limits.h, which doesn't define X PATH_MAX but might cause redefinition warnings when sys/param.h is X later included (as on MORE/BSD 4.3). */ #if defined(_POSIX_VERSION) || (defined(HAVE_LIMITS_H) && !defined(__GNUC__)) # include #endif X #ifndef _POSIX_PATH_MAX # define _POSIX_PATH_MAX 255 #endif X #if !defined(PATH_MAX) && defined(_PC_PATH_MAX) # define PATH_MAX (pathconf ("/", _PC_PATH_MAX) < 1 ? 1024 : pathconf ("/", _PC_PATH_MAX)) #endif X /* Don't include sys/param.h if it already has been. */ #if defined(HAVE_SYS_PARAM_H) && !defined(PATH_MAX) && !defined(MAXPATHLEN) # include #endif X #if !defined(PATH_MAX) && defined(MAXPATHLEN) # define PATH_MAX MAXPATHLEN #endif X #ifndef PATH_MAX # define PATH_MAX _POSIX_PATH_MAX #endif X /* XPG3 defines the result of `setlocale (category, NULL)' as: X ``Directs `setlocale()' to query `category' and return the current X setting of `local'.'' X However it does not specify the exact format. And even worse: POSIX X defines this not at all. So we can use this feature only on selected X system (e.g. those using GNU C Library). */ #ifdef _LIBC # define HAVE_LOCALE_NULL #endif X /* Name of the default domain used for gettext(3) prior any call to X textdomain(3). The default value for this is "messages". */ const char _nl_default_default_domain[] = "messages"; X /* Value used as the default domain for gettext(3). */ const char *_nl_current_default_domain = _nl_default_default_domain; X /* Contains the default location of the message catalogs. */ const char _nl_default_dirname[] = GNULOCALEDIR; X /* List with bindings of specific domains created by bindtextdomain() X calls. */ struct binding *_nl_domain_bindings; X /* Prototypes for local functions. */ static char *find_msg PARAMS ((struct loaded_l10nfile *domain_file, X const char *msgid)); static const char *category_to_name PARAMS ((int category)); static const char *guess_category_value PARAMS ((int category, X const char *categoryname)); X X /* For those loosing systems which don't have `alloca' we have to add X some additional code emulating it. */ #ifdef HAVE_ALLOCA /* Nothing has to be done. */ # define ADD_BLOCK(list, address) /* nothing */ # define FREE_BLOCKS(list) /* nothing */ #else struct block_list { X void *address; X struct block_list *next; }; # define ADD_BLOCK(list, addr) \ X do { \ X struct block_list *newp = (struct block_list *) malloc (sizeof (*newp)); \ X /* If we cannot get a free block we cannot add the new element to \ X the list. */ \ X if (newp != NULL) { \ X newp->address = (addr); \ X newp->next = (list); \ X (list) = newp; \ X } \ X } while (0) # define FREE_BLOCKS(list) \ X do { \ X while (list != NULL) { \ X struct block_list *old = list; \ X list = list->next; \ X free (old); \ X } \ X } while (0) # undef alloca # define alloca(size) (malloc (size)) #endif /* have alloca */ X X /* Names for the libintl functions are a problem. They must not clash X with existing names and they should follow ANSI C. But this source X code is also used in GNU C Library where the names have a __ X prefix. So we have to make a difference here. */ #ifdef _LIBC # define DCGETTEXT __dcgettext #else # define DCGETTEXT dcgettext__ #endif X /* Look up MSGID in the DOMAINNAME message catalog for the current CATEGORY X locale. */ char * DCGETTEXT (domainname, msgid, category) X const char *domainname; X const char *msgid; X int category; { #ifndef HAVE_ALLOCA X struct block_list *block_list = NULL; #endif X struct loaded_l10nfile *domain; X struct binding *binding; X const char *categoryname; X const char *categoryvalue; X char *dirname, *xdomainname; X char *single_locale; X char *retval; X int saved_errno = errno; X X /* If no real MSGID is given return NULL. */ X if (msgid == NULL) X return NULL; X X /* If DOMAINNAME is NULL, we are interested in the default domain. If X CATEGORY is not LC_MESSAGES this might not make much sense but the X defintion left this undefined. */ X if (domainname == NULL) X domainname = _nl_current_default_domain; X X /* First find matching binding. */ X for (binding = _nl_domain_bindings; binding != NULL; binding = binding->next) X { X int compare = strcmp (domainname, binding->domainname); X if (compare == 0) X /* We found it! */ X break; X if (compare < 0) X { X /* It is not in the list. */ X binding = NULL; X break; X } X } X X if (binding == NULL) X dirname = (char *) _nl_default_dirname; X else if (binding->dirname[0] == '/') X dirname = binding->dirname; X else X { X /* We have a relative path. Make it absolute now. */ X size_t dirname_len = strlen (binding->dirname) + 1; X size_t path_max; X char *ret; X X path_max = (unsigned) PATH_MAX; X path_max += 2; /* The getcwd docs say to do this. */ X X dirname = (char *) alloca (path_max + dirname_len); X ADD_BLOCK (block_list, dirname); X X errno = 0; X while ((ret = getcwd (dirname, path_max)) == NULL && errno == ERANGE) X { X path_max += PATH_INCR; X dirname = (char *) alloca (path_max + dirname_len); X ADD_BLOCK (block_list, dirname); X errno = 0; X } X X if (ret == NULL) X { X /* We cannot get the current working directory. Don't signal an X error but simply return the default string. */ X FREE_BLOCKS (block_list); X errno = saved_errno; X return (char *) msgid; X } X X /* We don't want libintl.a to depend on any other library. So X we avoid the non-standard function stpcpy. In GNU C Library X this function is available, though. Also allow the symbol X HAVE_STPCPY to be defined. */ X stpcpy (stpcpy (strchr (dirname, '\0'), "/"), binding->dirname); X } X X /* Now determine the symbolic name of CATEGORY and its value. */ X categoryname = category_to_name (category); X categoryvalue = guess_category_value (category, categoryname); X X xdomainname = (char *) alloca (strlen (categoryname) X + strlen (domainname) + 5); X ADD_BLOCK (block_list, xdomainname); X /* We don't want libintl.a to depend on any other library. So we X avoid the non-standard function stpcpy. In GNU C Library this X function is available, though. Also allow the symbol HAVE_STPCPY X to be defined. */ X stpcpy (stpcpy (stpcpy (stpcpy (xdomainname, categoryname), "/"), X domainname), X ".mo"); X X /* Creating working area. */ X single_locale = (char *) alloca (strlen (categoryvalue) + 1); X ADD_BLOCK (block_list, single_locale); X X X /* Search for the given string. This is a loop because we perhaps X got an ordered list of languages to consider for th translation. */ X while (1) X { X /* Make CATEGORYVALUE point to the next element of the list. */ X while (categoryvalue[0] != '\0' && categoryvalue[0] == ':') X ++categoryvalue; X if (categoryvalue[0] == '\0') X { X /* The whole contents of CATEGORYVALUE has been searched but X no valid entry has been found. We solve this situation X by implicitely appending a "C" entry, i.e. no translation X will take place. */ X single_locale[0] = 'C'; X single_locale[1] = '\0'; X } X else X { X char *cp = single_locale; X while (categoryvalue[0] != '\0' && categoryvalue[0] != ':') X *cp++ = *categoryvalue++; X *cp = '\0'; X } X X /* If the current locale value is C (or POSIX) we don't load a X domain. Return the MSGID. */ X if (strcmp (single_locale, "C") == 0 X || strcmp (single_locale, "POSIX") == 0) X { X FREE_BLOCKS (block_list); X errno = saved_errno; X return (char *) msgid; X } X X X /* Find structure describing the message catalog matching the X DOMAINNAME and CATEGORY. */ X domain = _nl_find_domain (dirname, single_locale, xdomainname); X X if (domain != NULL) X { X retval = find_msg (domain, msgid); X X if (retval == NULL) X { X int cnt; X X for (cnt = 0; domain->successor[cnt] != NULL; ++cnt) X { X retval = find_msg (domain->successor[cnt], msgid); X X if (retval != NULL) X break; X } X } X X if (retval != NULL) X { X FREE_BLOCKS (block_list); X errno = saved_errno; X return retval; X } X } X } X /* NOTREACHED */ } X #ifdef _LIBC /* Alias for function name in GNU C Library. */ weak_alias (__dcgettext, dcgettext); #endif X X static char * find_msg (domain_file, msgid) X struct loaded_l10nfile *domain_file; X const char *msgid; { X size_t top, act, bottom; X struct loaded_domain *domain; X X if (domain_file->decided == 0) X _nl_load_domain (domain_file); X X if (domain_file->data == NULL) X return NULL; X X domain = (struct loaded_domain *) domain_file->data; X X /* Locate the MSGID and its translation. */ X if (domain->hash_size > 2 && domain->hash_tab != NULL) X { X /* Use the hashing table. */ X nls_uint32 len = strlen (msgid); X nls_uint32 hash_val = hash_string (msgid); X nls_uint32 idx = hash_val % domain->hash_size; X nls_uint32 incr = 1 + (hash_val % (domain->hash_size - 2)); X nls_uint32 nstr = W (domain->must_swap, domain->hash_tab[idx]); X X if (nstr == 0) X /* Hash table entry is empty. */ X return NULL; X X if (W (domain->must_swap, domain->orig_tab[nstr - 1].length) == len X && strcmp (msgid, X domain->data + W (domain->must_swap, X domain->orig_tab[nstr - 1].offset)) == 0) X return (char *) domain->data + W (domain->must_swap, X domain->trans_tab[nstr - 1].offset); X X while (1) X { X if (idx >= domain->hash_size - incr) X idx -= domain->hash_size - incr; X else X idx += incr; X X nstr = W (domain->must_swap, domain->hash_tab[idx]); X if (nstr == 0) X /* Hash table entry is empty. */ X return NULL; X X if (W (domain->must_swap, domain->orig_tab[nstr - 1].length) == len X && strcmp (msgid, X domain->data + W (domain->must_swap, X domain->orig_tab[nstr - 1].offset)) X == 0) X return (char *) domain->data X + W (domain->must_swap, domain->trans_tab[nstr - 1].offset); X } X /* NOTREACHED */ X } X X /* Now we try the default method: binary search in the sorted X array of messages. */ X bottom = 0; X top = domain->nstrings; X while (bottom < top) X { X int cmp_val; X X act = (bottom + top) / 2; X cmp_val = strcmp (msgid, domain->data X + W (domain->must_swap, X domain->orig_tab[act].offset)); X if (cmp_val < 0) X top = act; X else if (cmp_val > 0) X bottom = act + 1; X else X break; X } X X /* If an translation is found return this. */ X return bottom >= top ? NULL : (char *) domain->data X + W (domain->must_swap, X domain->trans_tab[act].offset); } X X /* Return string representation of locale CATEGORY. */ static const char * category_to_name (category) X int category; { X const char *retval; X X switch (category) X { #ifdef LC_COLLATE X case LC_COLLATE: X retval = "LC_COLLATE"; X break; #endif #ifdef LC_CTYPE X case LC_CTYPE: X retval = "LC_CTYPE"; X break; #endif #ifdef LC_MONETARY X case LC_MONETARY: X retval = "LC_MONETARY"; X break; #endif #ifdef LC_NUMERIC X case LC_NUMERIC: X retval = "LC_NUMERIC"; X break; #endif #ifdef LC_TIME X case LC_TIME: X retval = "LC_TIME"; X break; #endif #ifdef LC_MESSAGES X case LC_MESSAGES: X retval = "LC_MESSAGES"; X break; #endif #ifdef LC_RESPONSE X case LC_RESPONSE: X retval = "LC_RESPONSE"; X break; #endif #ifdef LC_ALL X case LC_ALL: X /* This might not make sense but is perhaps better than any other X value. */ X retval = "LC_ALL"; X break; #endif X default: X /* If you have a better idea for a default value let me know. */ X retval = "LC_XXX"; X } X X return retval; } X /* Guess value of current locale from value of the environment variables. */ static const char *guess_category_value (category, categoryname) X int category; X const char *categoryname; { X const char *retval; X X /* The highest priority value is the `LANGUAGE' environment X variable. This is a GNU extension. */ X retval = getenv ("LANGUAGE"); X if (retval != NULL && retval[0] != '\0') X return retval; X X /* `LANGUAGE' is not set. So we have to proceed with the POSIX X methods of looking to `LC_ALL', `LC_xxx', and `LANG'. On some X systems this can be done by the `setlocale' function itself. */ #if defined HAVE_SETLOCALE && defined HAVE_LC_MESSAGES && defined HAVE_LOCALE_NULL X return setlocale (category, NULL); #else X /* Setting of LC_ALL overwrites all other. */ X retval = getenv ("LC_ALL"); X if (retval != NULL && retval[0] != '\0') X return retval; X X /* Next comes the name of the desired category. */ X retval = getenv (categoryname); X if (retval != NULL && retval[0] != '\0') X return retval; X X /* Last possibility is the LANG environment variable. */ X retval = getenv ("LANG"); X if (retval != NULL && retval[0] != '\0') X return retval; X X /* We use C as the default domain. POSIX says this is implementation X defined. */ X return "C"; #endif } X /* @@ begin of epilog @@ */ X /* We don't want libintl.a to depend on any other library. So we X avoid the non-standard function stpcpy. In GNU C Library this X function is available, though. Also allow the symbol HAVE_STPCPY X to be defined. */ #if !_LIBC && !HAVE_STPCPY static char * stpcpy (dest, src) X char *dest; X const char *src; { X while ((*dest++ = *src++) != '\0') X /* Do nothing. */ ; X return dest - 1; } #endif SHAR_EOF $shar_touch -am 0407002897 'tar-1.12/intl/dcgettext.c' && chmod 0644 'tar-1.12/intl/dcgettext.c' || $echo 'restore of' 'tar-1.12/intl/dcgettext.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/intl/dcgettext.c:' 'MD5 check failed' 85eadc70a5e61e7ee47756614fac99d5 tar-1.12/intl/dcgettext.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/intl/dcgettext.c'`" test 16082 -eq "$shar_count" || $echo 'tar-1.12/intl/dcgettext.c:' 'original size' '16082,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/intl/dgettext.c ============== if test -f 'tar-1.12/intl/dgettext.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/intl/dgettext.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/intl/dgettext.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/intl/dgettext.c' && /* dgettext.c -- implementation of the dgettext(3) function X Copyright (C) 1995 Software Foundation, Inc. X This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. X This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. X You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X #ifdef HAVE_CONFIG_H # include #endif X #if defined HAVE_LOCALE_H || defined _LIBC # include #endif X #ifdef _LIBC # include #else # include "libgettext.h" #endif X /* @@ end of prolog @@ */ X /* Names for the libintl functions are a problem. They must not clash X with existing names and they should follow ANSI C. But this source X code is also used in GNU C Library where the names have a __ X prefix. So we have to make a difference here. */ #ifdef _LIBC # define DGETTEXT __dgettext # define DCGETTEXT __dcgettext #else # define DGETTEXT dgettext__ # define DCGETTEXT dcgettext__ #endif X /* Look up MSGID in the DOMAINNAME message catalog of the current X LC_MESSAGES locale. */ char * DGETTEXT (domainname, msgid) X const char *domainname; X const char *msgid; { X return DCGETTEXT (domainname, msgid, LC_MESSAGES); } X #ifdef _LIBC /* Alias for function name in GNU C Library. */ weak_alias (__dgettext, dgettext); #endif SHAR_EOF $shar_touch -am 0407002897 'tar-1.12/intl/dgettext.c' && chmod 0644 'tar-1.12/intl/dgettext.c' || $echo 'restore of' 'tar-1.12/intl/dgettext.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/intl/dgettext.c:' 'MD5 check failed' 63df19e31e5f6a6df817da915b44ed3d tar-1.12/intl/dgettext.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/intl/dgettext.c'`" test 1750 -eq "$shar_count" || $echo 'tar-1.12/intl/dgettext.c:' 'original size' '1750,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/intl/gettext.c ============== if test -f 'tar-1.12/intl/gettext.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/intl/gettext.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/intl/gettext.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/intl/gettext.c' && /* gettext.c -- implementation of gettext(3) function X Copyright (C) 1995 Software Foundation, Inc. X This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. X This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. X You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X #ifdef HAVE_CONFIG_H # include #endif X #ifdef _LIBC # define __need_NULL # include #else # ifdef STDC_HEADERS # include /* Just for NULL. */ # else # ifdef HAVE_STRING_H # include # else # define NULL ((void *) 0) # endif # endif #endif X #ifdef _LIBC # include #else # include "libgettext.h" #endif X /* @@ end of prolog @@ */ X /* Names for the libintl functions are a problem. They must not clash X with existing names and they should follow ANSI C. But this source X code is also used in GNU C Library where the names have a __ X prefix. So we have to make a difference here. */ #ifdef _LIBC # define GETTEXT __gettext # define DGETTEXT __dgettext #else # define GETTEXT gettext__ # define DGETTEXT dgettext__ #endif X /* Look up MSGID in the current default message catalog for the current X LC_MESSAGES locale. If not found, returns MSGID itself (the default X text). */ char * GETTEXT (msgid) X const char *msgid; { X return DGETTEXT (NULL, msgid); } X #ifdef _LIBC /* Alias for function name in GNU C Library. */ weak_alias (__gettext, gettext); #endif SHAR_EOF $shar_touch -am 0407002897 'tar-1.12/intl/gettext.c' && chmod 0644 'tar-1.12/intl/gettext.c' || $echo 'restore of' 'tar-1.12/intl/gettext.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/intl/gettext.c:' 'MD5 check failed' 8aba7947388ca33c002762e6c4c8da4d tar-1.12/intl/gettext.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/intl/gettext.c'`" test 1907 -eq "$shar_count" || $echo 'tar-1.12/intl/gettext.c:' 'original size' '1907,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/intl/finddomain.c ============== if test -f 'tar-1.12/intl/finddomain.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/intl/finddomain.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/intl/finddomain.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/intl/finddomain.c' && /* finddomain.c -- handle list of needed message catalogs X Copyright (C) 1995, 1996 Free Software Foundation, Inc. X Written by Ulrich Drepper , 1995. X This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. X This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. X You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X #ifdef HAVE_CONFIG_H # include #endif X #include #include #include #include X #if defined STDC_HEADERS || defined _LIBC # include #else # ifdef HAVE_MALLOC_H # include # else void free (); # endif #endif X #if defined HAVE_STRING_H || defined _LIBC # include #else # include # ifndef strchr # define strchr index # endif # ifndef memcpy # define memcpy(Dst, Src, Num) bcopy (Src, Dst, Num) # endif #endif X #if defined HAVE_UNISTD_H || defined _LIBC # include #endif X #include "gettext.h" #include "gettextP.h" #ifdef _LIBC # include #else # include "libgettext.h" #endif X /* @@ end of prolog @@ */ X #ifdef _LIBC /* Rename the non ANSI C functions. This is required by the standard X because some ANSI C functions will require linking with this object X file and the name space must not be polluted. */ # define stpcpy(dest, src) __stpcpy(dest, src) #else # ifndef HAVE_STPCPY static char *stpcpy PARAMS ((char *dest, const char *src)); # endif #endif X /* List of already loaded domains. */ static struct loaded_l10nfile *_nl_loaded_domains; X X /* Return a data structure describing the message catalog described by X the DOMAINNAME and CATEGORY parameters with respect to the currently X established bindings. */ struct loaded_l10nfile * _nl_find_domain (dirname, locale, domainname) X const char *dirname; X char *locale; X const char *domainname; { X struct loaded_l10nfile *retval; X const char *language; X const char *modifier; X const char *territory; X const char *codeset; X const char *normalized_codeset; X const char *special; X const char *sponsor; X const char *revision; X const char *alias_value; X int mask; X X /* LOCALE can consist of up to four recognized parts for the XPG syntax: X X language[_territory[.codeset]][@modifier] X X and six parts for the CEN syntax: X X language[_territory][+audience][+special][,sponsor][_revision] X X Beside the first all of them are allowed to be missing. If the X full specified locale is not found, the less specific one are X looked for. The various part will be stripped of according to X the following order: X (1) revision X (2) sponsor X (3) special X (4) codeset X (5) normalized codeset X (6) territory X (7) audience/modifier X */ X X /* If we have already tested for this locale entry there has to X be one data set in the list of loaded domains. */ X retval = _nl_make_l10nflist (&_nl_loaded_domains, dirname, X strlen (dirname) + 1, 0, locale, NULL, NULL, X NULL, NULL, NULL, NULL, NULL, domainname, 0); X if (retval != NULL) X { X /* We know something about this locale. */ X int cnt; X X if (retval->decided == 0) X _nl_load_domain (retval); X X if (retval->data != NULL) X return retval; X X for (cnt = 0; retval->successor[cnt] != NULL; ++cnt) X { X if (retval->successor[cnt]->decided == 0) X _nl_load_domain (retval->successor[cnt]); X X if (retval->successor[cnt]->data != NULL) X break; X } X return cnt >= 0 ? retval : NULL; X /* NOTREACHED */ X } X X /* See whether the locale value is an alias. If yes its value X *overwrites* the alias name. No test for the original value is X done. */ X alias_value = _nl_expand_alias (locale); X if (alias_value != NULL) X { X size_t len = strlen (alias_value) + 1; X locale = (char *) malloc (len); X if (locale == NULL) X return NULL; X X memcpy (locale, alias_value, len); X } X X /* Now we determine the single parts of the locale name. First X look for the language. Termination symbols are `_' and `@' if X we use XPG4 style, and `_', `+', and `,' if we use CEN syntax. */ X mask = _nl_explode_name (locale, &language, &modifier, &territory, X &codeset, &normalized_codeset, &special, X &sponsor, &revision); X X /* Create all possible locale entries which might be interested in X generalzation. */ X retval = _nl_make_l10nflist (&_nl_loaded_domains, dirname, X strlen (dirname) + 1, mask, language, territory, X codeset, normalized_codeset, modifier, special, X sponsor, revision, domainname, 1); X if (retval == NULL) X /* This means we are out of core. */ X return NULL; X X if (retval->decided == 0) X _nl_load_domain (retval); X if (retval->data == NULL) X { X int cnt; X for (cnt = 0; retval->successor[cnt] != NULL; ++cnt) X { X if (retval->successor[cnt]->decided == 0) X _nl_load_domain (retval->successor[cnt]); X if (retval->successor[cnt]->data != NULL) X break; X } X } X X /* The room for an alias was dynamically allocated. Free it now. */ X if (alias_value != NULL) X free (locale); X X return retval; } X /* @@ begin of epilog @@ */ X /* We don't want libintl.a to depend on any other library. So we X avoid the non-standard function stpcpy. In GNU C Library this X function is available, though. Also allow the symbol HAVE_STPCPY X to be defined. */ #if !_LIBC && !HAVE_STPCPY static char * stpcpy (dest, src) X char *dest; X const char *src; { X while ((*dest++ = *src++) != '\0') X /* Do nothing. */ ; X return dest - 1; } #endif SHAR_EOF $shar_touch -am 0407002897 'tar-1.12/intl/finddomain.c' && chmod 0644 'tar-1.12/intl/finddomain.c' || $echo 'restore of' 'tar-1.12/intl/finddomain.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/intl/finddomain.c:' 'MD5 check failed' 9efee587e38c9127e38f0be5f78c4eb0 tar-1.12/intl/finddomain.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/intl/finddomain.c'`" test 6031 -eq "$shar_count" || $echo 'tar-1.12/intl/finddomain.c:' 'original size' '6031,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/intl/loadmsgcat.c ============== if test -f 'tar-1.12/intl/loadmsgcat.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/intl/loadmsgcat.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/intl/loadmsgcat.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/intl/loadmsgcat.c' && /* loadmsgcat.c -- load needed message catalogs X Copyright (C) 1995, 1996 Free Software Foundation, Inc. X This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. X This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. X You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X #ifdef HAVE_CONFIG_H # include #endif X #include #include #include X #if defined STDC_HEADERS || defined _LIBC # include #endif X #if defined HAVE_UNISTD_H || defined _LIBC # include #endif X #if (defined HAVE_MMAP && defined HAVE_MUNMAP) || defined _LIBC # include #endif X #include "gettext.h" #include "gettextP.h" X /* @@ end of prolog @@ */ X #ifdef _LIBC /* Rename the non ANSI C functions. This is required by the standard X because some ANSI C functions will require linking with this object X file and the name space must not be polluted. */ # define fstat __fstat # define open __open # define close __close # define read __read # define mmap __mmap # define munmap __munmap #endif X /* We need a sign, whether a new catalog was loaded, which can be associated X with all translations. This is important if the translations are X cached by one of GCC's features. */ int _nl_msg_cat_cntr; X X /* Load the message catalogs specified by FILENAME. If it is no valid X message catalog do nothing. */ void _nl_load_domain (domain_file) X struct loaded_l10nfile *domain_file; { X int fd; X struct stat st; X struct mo_file_header *data = (struct mo_file_header *) -1; #if (defined HAVE_MMAP && defined HAVE_MUNMAP && !defined DISALLOW_MMAP) \ X || defined _LIBC X int use_mmap = 0; #endif X struct loaded_domain *domain; X X domain_file->decided = 1; X domain_file->data = NULL; X X /* If the record does not represent a valid locale the FILENAME X might be NULL. This can happen when according to the given X specification the locale file name is different for XPG and CEN X syntax. */ X if (domain_file->filename == NULL) X return; X X /* Try to open the addressed file. */ X fd = open (domain_file->filename, O_RDONLY); X if (fd == -1) X return; X X /* We must know about the size of the file. */ X if (fstat (fd, &st) != 0 X && st.st_size < (off_t) sizeof (struct mo_file_header)) X { X /* Something went wrong. */ X close (fd); X return; X } X #if (defined HAVE_MMAP && defined HAVE_MUNMAP && !defined DISALLOW_MMAP) \ X || defined _LIBC X /* Now we are ready to load the file. If mmap() is available we try X this first. If not available or it failed we try to load it. */ X data = (struct mo_file_header *) mmap (NULL, st.st_size, PROT_READ, X MAP_PRIVATE, fd, 0); X X if (data != (struct mo_file_header *) -1) X { X /* mmap() call was successful. */ X close (fd); X use_mmap = 1; X } #endif X X /* If the data is not yet available (i.e. mmap'ed) we try to load X it manually. */ X if (data == (struct mo_file_header *) -1) X { X off_t to_read; X char *read_ptr; X X data = (struct mo_file_header *) malloc (st.st_size); X if (data == NULL) X return; X X to_read = st.st_size; X read_ptr = (char *) data; X do X { X long int nb = (long int) read (fd, read_ptr, to_read); X if (nb == -1) X { X close (fd); X return; X } X X read_ptr += nb; X to_read -= nb; X } X while (to_read > 0); X X close (fd); X } X X /* Using the magic number we can test whether it really is a message X catalog file. */ X if (data->magic != _MAGIC && data->magic != _MAGIC_SWAPPED) X { X /* The magic number is wrong: not a message catalog file. */ #if (defined HAVE_MMAP && defined HAVE_MUNMAP && !defined DISALLOW_MMAP) \ X || defined _LIBC X if (use_mmap) X munmap ((caddr_t) data, st.st_size); X else #endif X free (data); X return; X } X X domain_file->data X = (struct loaded_domain *) malloc (sizeof (struct loaded_domain)); X if (domain_file->data == NULL) X return; X X domain = (struct loaded_domain *) domain_file->data; X domain->data = (char *) data; X domain->must_swap = data->magic != _MAGIC; X X /* Fill in the information about the available tables. */ X switch (W (domain->must_swap, data->revision)) X { X case 0: X domain->nstrings = W (domain->must_swap, data->nstrings); X domain->orig_tab = (struct string_desc *) X ((char *) data + W (domain->must_swap, data->orig_tab_offset)); X domain->trans_tab = (struct string_desc *) X ((char *) data + W (domain->must_swap, data->trans_tab_offset)); X domain->hash_size = W (domain->must_swap, data->hash_tab_size); X domain->hash_tab = (nls_uint32 *) X ((char *) data + W (domain->must_swap, data->hash_tab_offset)); X break; X default: X /* This is an illegal revision. */ #if (defined HAVE_MMAP && defined HAVE_MUNMAP && !defined DISALLOW_MMAP) \ X || defined _LIBC X if (use_mmap) X munmap ((caddr_t) data, st.st_size); X else #endif X free (data); X free (domain); X domain_file->data = NULL; X return; X } X X /* Show that one domain is changed. This might make some cached X translations invalid. */ X ++_nl_msg_cat_cntr; } SHAR_EOF $shar_touch -am 0407002897 'tar-1.12/intl/loadmsgcat.c' && chmod 0644 'tar-1.12/intl/loadmsgcat.c' || $echo 'restore of' 'tar-1.12/intl/loadmsgcat.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/intl/loadmsgcat.c:' 'MD5 check failed' 37ae9d3dee12dae6a0572bf47cf92b05 tar-1.12/intl/loadmsgcat.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/intl/loadmsgcat.c'`" test 5655 -eq "$shar_count" || $echo 'tar-1.12/intl/loadmsgcat.c:' 'original size' '5655,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/intl/localealias.c ============== if test -f 'tar-1.12/intl/localealias.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/intl/localealias.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/intl/localealias.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/intl/localealias.c' && /* localealias.c -- handle aliases for locale names X Copyright (C) 1995, 1996 Free Software Foundation, Inc. X This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. X This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. X You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X #ifdef HAVE_CONFIG_H # include #endif X #include #include #include X #ifdef __GNUC__ # define alloca __builtin_alloca # define HAVE_ALLOCA 1 #else # if defined HAVE_ALLOCA_H || defined _LIBC # include # else # ifdef _AIX X #pragma alloca # else # ifndef alloca char *alloca (); # endif # endif # endif #endif X #if defined STDC_HEADERS || defined _LIBC # include #else char *getenv (); # ifdef HAVE_MALLOC_H # include # else void free (); # endif #endif X #if defined HAVE_STRING_H || defined _LIBC # ifndef _GNU_SOURCE # define _GNU_SOURCE 1 # endif # include #else # include # ifndef strchr # define strchr index # endif # ifndef memcpy # define memcpy(Dst, Src, Num) bcopy (Src, Dst, Num) # endif #endif X #include "gettext.h" #include "gettextP.h" X /* @@ end of prolog @@ */ X #ifdef _LIBC /* Rename the non ANSI C functions. This is required by the standard X because some ANSI C functions will require linking with this object X file and the name space must not be polluted. */ # define strcasecmp __strcasecmp #endif X X /* For those loosing systems which don't have `alloca' we have to add X some additional code emulating it. */ #ifdef HAVE_ALLOCA /* Nothing has to be done. */ # define ADD_BLOCK(list, address) /* nothing */ # define FREE_BLOCKS(list) /* nothing */ #else struct block_list { X void *address; X struct block_list *next; }; # define ADD_BLOCK(list, addr) \ X do { \ X struct block_list *newp = (struct block_list *) malloc (sizeof (*newp)); \ X /* If we cannot get a free block we cannot add the new element to \ X the list. */ \ X if (newp != NULL) { \ X newp->address = (addr); \ X newp->next = (list); \ X (list) = newp; \ X } \ X } while (0) # define FREE_BLOCKS(list) \ X do { \ X while (list != NULL) { \ X struct block_list *old = list; \ X list = list->next; \ X free (old); \ X } \ X } while (0) # undef alloca # define alloca(size) (malloc (size)) #endif /* have alloca */ X X struct alias_map { X const char *alias; X const char *value; }; X X static struct alias_map *map; static size_t nmap = 0; static size_t maxmap = 0; X X /* Prototypes for local functions. */ static size_t read_alias_file PARAMS ((const char *fname, int fname_len)); static void extend_alias_table PARAMS ((void)); static int alias_compare PARAMS ((const struct alias_map *map1, X const struct alias_map *map2)); X X const char * _nl_expand_alias (name) X const char *name; { X static const char *locale_alias_path = LOCALE_ALIAS_PATH; X struct alias_map *retval; X size_t added; X X do X { X struct alias_map item; X X item.alias = name; X X if (nmap > 0) X retval = (struct alias_map *) bsearch (&item, map, nmap, X sizeof (struct alias_map), X (int (*) PARAMS ((const void *, X const void *)) X ) alias_compare); X else X retval = NULL; X X /* We really found an alias. Return the value. */ X if (retval != NULL) X return retval->value; X X /* Perhaps we can find another alias file. */ X added = 0; X while (added == 0 && locale_alias_path[0] != '\0') X { X const char *start; X X while (locale_alias_path[0] == ':') X ++locale_alias_path; X start = locale_alias_path; X X while (locale_alias_path[0] != '\0' && locale_alias_path[0] != ':') X ++locale_alias_path; X X if (start < locale_alias_path) X added = read_alias_file (start, locale_alias_path - start); X } X } X while (added != 0); X X return NULL; } X X static size_t read_alias_file (fname, fname_len) X const char *fname; X int fname_len; { #ifndef HAVE_ALLOCA X struct block_list *block_list = NULL; #endif X FILE *fp; X char *full_fname; X size_t added; X static const char aliasfile[] = "/locale.alias"; X X full_fname = (char *) alloca (fname_len + sizeof aliasfile); X ADD_BLOCK (block_list, full_fname); X memcpy (full_fname, fname, fname_len); X memcpy (&full_fname[fname_len], aliasfile, sizeof aliasfile); X X fp = fopen (full_fname, "r"); X if (fp == NULL) X { X FREE_BLOCKS (block_list); X return 0; X } X X added = 0; X while (!feof (fp)) X { X /* It is a reasonable approach to use a fix buffer here because X a) we are only interested in the first two fields X b) these fields must be usable as file names and so must not X be that long X */ X char buf[BUFSIZ]; X char *alias; X char *value; X char *cp; X X if (fgets (buf, BUFSIZ, fp) == NULL) X /* EOF reached. */ X break; X X cp = buf; X /* Ignore leading white space. */ X while (isspace (cp[0])) X ++cp; X X /* A leading '#' signals a comment line. */ X if (cp[0] != '\0' && cp[0] != '#') X { X alias = cp++; X while (cp[0] != '\0' && !isspace (cp[0])) X ++cp; X /* Terminate alias name. */ X if (cp[0] != '\0') X *cp++ = '\0'; X X /* Now look for the beginning of the value. */ X while (isspace (cp[0])) X ++cp; X X if (cp[0] != '\0') X { X char *tp; X size_t len; X X value = cp++; X while (cp[0] != '\0' && !isspace (cp[0])) X ++cp; X /* Terminate value. */ X if (cp[0] == '\n') X { X /* This has to be done to make the following test X for the end of line possible. We are looking for X the terminating '\n' which do not overwrite here. */ X *cp++ = '\0'; X *cp = '\n'; X } X else if (cp[0] != '\0') X *cp++ = '\0'; X X if (nmap >= maxmap) X extend_alias_table (); X X /* We cannot depend on strdup available in the libc. Sigh! */ X len = strlen (alias) + 1; X tp = (char *) malloc (len); X if (tp == NULL) X { X FREE_BLOCKS (block_list); X return added; X } X memcpy (tp, alias, len); X map[nmap].alias = tp; X X len = strlen (value) + 1; X tp = (char *) malloc (len); X if (tp == NULL) X { X FREE_BLOCKS (block_list); X return added; X } X memcpy (tp, value, len); X map[nmap].value = tp; X X ++nmap; X ++added; X } X } X X /* Possibily not the whole line fitted into the buffer. Ignore X the rest of the line. */ X while (strchr (cp, '\n') == NULL) X { X cp = buf; X if (fgets (buf, BUFSIZ, fp) == NULL) X /* Make sure the inner loop will be left. The outer loop X will exit at the `feof' test. */ X *cp = '\n'; X } X } X X /* Should we test for ferror()? I think we have to silently ignore X errors. --drepper */ X fclose (fp); X X if (added > 0) X qsort (map, nmap, sizeof (struct alias_map), X (int (*) PARAMS ((const void *, const void *))) alias_compare); X X FREE_BLOCKS (block_list); X return added; } X X static void extend_alias_table () { X size_t new_size; X struct alias_map *new_map; X X new_size = maxmap == 0 ? 100 : 2 * maxmap; X new_map = (struct alias_map *) malloc (new_size X * sizeof (struct alias_map)); X if (new_map == NULL) X /* Simply don't extend: we don't have any more core. */ X return; X X memcpy (new_map, map, nmap * sizeof (struct alias_map)); X X if (maxmap != 0) X free (map); X X map = new_map; X maxmap = new_size; } X X static int alias_compare (map1, map2) X const struct alias_map *map1; X const struct alias_map *map2; { #if defined _LIBC || defined HAVE_STRCASECMP X return strcasecmp (map1->alias, map2->alias); #else X const unsigned char *p1 = (const unsigned char *) map1->alias; X const unsigned char *p2 = (const unsigned char *) map2->alias; X unsigned char c1, c2; X X if (p1 == p2) X return 0; X X do X { X /* I know this seems to be odd but the tolower() function in X some systems libc cannot handle nonalpha characters. */ X c1 = isupper (*p1) ? tolower (*p1) : *p1; X c2 = isupper (*p2) ? tolower (*p2) : *p2; X if (c1 == '\0') X break; X ++p1; X ++p2; X } X while (c1 == c2); X X return c1 - c2; #endif } SHAR_EOF $shar_touch -am 0407002897 'tar-1.12/intl/localealias.c' && chmod 0644 'tar-1.12/intl/localealias.c' || $echo 'restore of' 'tar-1.12/intl/localealias.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/intl/localealias.c:' 'MD5 check failed' c957bc9c716240f0a445774cb9fd8a94 tar-1.12/intl/localealias.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/intl/localealias.c'`" test 8787 -eq "$shar_count" || $echo 'tar-1.12/intl/localealias.c:' 'original size' '8787,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/intl/textdomain.c ============== if test -f 'tar-1.12/intl/textdomain.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/intl/textdomain.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/intl/textdomain.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/intl/textdomain.c' && /* textdomain.c -- implementation of the textdomain(3) function X Copyright (C) 1995, 1996 Free Software Foundation, Inc. X X This program is free software; you can redistribute it and/or modify X it under the terms of the GNU General Public License as published by X the Free Software Foundation; either version 2, or (at your option) X any later version. X X This program is distributed in the hope that it will be useful, X but WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the X GNU General Public License for more details. X X You should have received a copy of the GNU General Public License X along with this program; if not, write to the Free Software Foundation, X Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X #ifdef HAVE_CONFIG_H # include #endif X #if defined STDC_HEADERS || defined _LIBC # include #endif X #if defined STDC_HEADERS || defined HAVE_STRING_H || defined _LIBC # include #else # include # ifndef memcpy # define memcpy(Dst, Src, Num) bcopy (Src, Dst, Num) # endif #endif X #ifdef _LIBC # include #else # include "libgettext.h" #endif X /* @@ end of prolog @@ */ X /* Name of the default text domain. */ extern const char _nl_default_default_domain[]; X /* Default text domain in which entries for gettext(3) are to be found. */ extern const char *_nl_current_default_domain; X X /* Names for the libintl functions are a problem. They must not clash X with existing names and they should follow ANSI C. But this source X code is also used in GNU C Library where the names have a __ X prefix. So we have to make a difference here. */ #ifdef _LIBC # define TEXTDOMAIN __textdomain #else # define TEXTDOMAIN textdomain__ #endif X /* Set the current default message catalog to DOMAINNAME. X If DOMAINNAME is null, return the current default. X If DOMAINNAME is "", reset to the default of "messages". */ char * TEXTDOMAIN (domainname) X const char *domainname; { X char *old; X X /* A NULL pointer requests the current setting. */ X if (domainname == NULL) X return (char *) _nl_current_default_domain; X X old = (char *) _nl_current_default_domain; X X /* If domain name is the null string set to default domain "messages". */ X if (domainname[0] == '\0' X || strcmp (domainname, _nl_default_default_domain) == 0) X _nl_current_default_domain = _nl_default_default_domain; X else X { X /* If the following malloc fails `_nl_current_default_domain' X will be NULL. This value will be returned and so signals we X are out of core. */ X size_t len = strlen (domainname) + 1; X char *cp = (char *) malloc (len); X if (cp != NULL) X memcpy (cp, domainname, len); X _nl_current_default_domain = cp; X } X X if (old != _nl_default_default_domain) X free (old); X X return (char *) _nl_current_default_domain; } X #ifdef _LIBC /* Alias for function name in GNU C Library. */ weak_alias (__textdomain, textdomain); #endif SHAR_EOF $shar_touch -am 0407002897 'tar-1.12/intl/textdomain.c' && chmod 0644 'tar-1.12/intl/textdomain.c' || $echo 'restore of' 'tar-1.12/intl/textdomain.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/intl/textdomain.c:' 'MD5 check failed' 7c02775f2cc4bbe2c8c3fde2da6fec0a tar-1.12/intl/textdomain.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/intl/textdomain.c'`" test 3036 -eq "$shar_count" || $echo 'tar-1.12/intl/textdomain.c:' 'original size' '3036,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/intl/l10nflist.c ============== if test -f 'tar-1.12/intl/l10nflist.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/intl/l10nflist.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/intl/l10nflist.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/intl/l10nflist.c' && /* Copyright (C) 1995, 1996 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1995. X The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. X The GNU C Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. X You should have received a copy of the GNU Library General Public License along with the GNU C Library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X #ifdef HAVE_CONFIG_H # include #endif X #if defined HAVE_STRING_H || defined _LIBC # ifndef _GNU_SOURCE # define _GNU_SOURCE 1 # endif # include #else # include # ifndef strchr # define strchr index # endif # ifndef memcpy # define memcpy(Dst, Src, Num) bcopy (Src, Dst, Num) # endif #endif X #if defined _LIBC || defined HAVE_ARGZ_H # include #endif #include X #if defined STDC_HEADERS || defined _LIBC # include #endif X #include "loadinfo.h" X /* On some strange systems still no definition of NULL is found. Sigh! */ #ifndef NULL # if defined __STDC__ && __STDC__ # define NULL ((void *) 0) # else # define NULL 0 # endif #endif X /* @@ end of prolog @@ */ X #ifdef _LIBC /* Rename the non ANSI C functions. This is required by the standard X because some ANSI C functions will require linking with this object X file and the name space must not be polluted. */ # define stpcpy(dest, src) __stpcpy(dest, src) #else # ifndef HAVE_STPCPY static char *stpcpy PARAMS ((char *dest, const char *src)); # endif #endif X /* Define function which are usually not available. */ X #if !defined _LIBC && !defined HAVE___ARGZ_COUNT /* Returns the number of strings in ARGZ. */ static size_t argz_count__ PARAMS ((const char *argz, size_t len)); X static size_t argz_count__ (argz, len) X const char *argz; X size_t len; { X size_t count = 0; X while (len > 0) X { X size_t part_len = strlen (argz); X argz += part_len + 1; X len -= part_len + 1; X count++; X } X return count; } # undef __argz_count # define __argz_count(argz, len) argz_count__ (argz, len) #endif /* !_LIBC && !HAVE___ARGZ_COUNT */ X #if !defined _LIBC && !defined HAVE___ARGZ_STRINGIFY /* Make '\0' separated arg vector ARGZ printable by converting all the '\0's X except the last into the character SEP. */ static void argz_stringify__ PARAMS ((char *argz, size_t len, int sep)); X static void argz_stringify__ (argz, len, sep) X char *argz; X size_t len; X int sep; { X while (len > 0) X { X size_t part_len = strlen (argz); X argz += part_len; X len -= part_len + 1; X if (len > 0) X *argz++ = sep; X } } # undef __argz_stringify # define __argz_stringify(argz, len, sep) argz_stringify__ (argz, len, sep) #endif /* !_LIBC && !HAVE___ARGZ_STRINGIFY */ X #if !defined _LIBC && !defined HAVE___ARGZ_NEXT static char *argz_next__ PARAMS ((char *argz, size_t argz_len, X const char *entry)); X static char * argz_next__ (argz, argz_len, entry) X char *argz; X size_t argz_len; X const char *entry; { X if (entry) X { X if (entry < argz + argz_len) X entry = strchr (entry, '\0') + 1; X X return entry >= argz + argz_len ? NULL : (char *) entry; X } X else X if (argz_len > 0) X return argz; X else X return 0; } # undef __argz_next # define __argz_next(argz, len, entry) argz_next__ (argz, len, entry) #endif /* !_LIBC && !HAVE___ARGZ_NEXT */ X X /* Return number of bits set in X. */ static int pop PARAMS ((int x)); X static inline int pop (x) X int x; { X /* We assume that no more than 16 bits are used. */ X x = ((x & ~0x5555) >> 1) + (x & 0x5555); X x = ((x & ~0x3333) >> 2) + (x & 0x3333); X x = ((x >> 4) + x) & 0x0f0f; X x = ((x >> 8) + x) & 0xff; X X return x; } X X struct loaded_l10nfile * _nl_make_l10nflist (l10nfile_list, dirlist, dirlist_len, mask, language, X territory, codeset, normalized_codeset, modifier, special, X sponsor, revision, filename, do_allocate) X struct loaded_l10nfile **l10nfile_list; X const char *dirlist; X size_t dirlist_len; X int mask; X const char *language; X const char *territory; X const char *codeset; X const char *normalized_codeset; X const char *modifier; X const char *special; X const char *sponsor; X const char *revision; X const char *filename; X int do_allocate; { X char *abs_filename; X struct loaded_l10nfile *last = NULL; X struct loaded_l10nfile *retval; X char *cp; X size_t entries; X int cnt; X X /* Allocate room for the full file name. */ X abs_filename = (char *) malloc (dirlist_len X + strlen (language) X + ((mask & TERRITORY) != 0 X ? strlen (territory) + 1 : 0) X + ((mask & XPG_CODESET) != 0 X ? strlen (codeset) + 1 : 0) X + ((mask & XPG_NORM_CODESET) != 0 X ? strlen (normalized_codeset) + 1 : 0) X + (((mask & XPG_MODIFIER) != 0 X || (mask & CEN_AUDIENCE) != 0) ? X strlen (modifier) + 1 : 0) X + ((mask & CEN_SPECIAL) != 0 X ? strlen (special) + 1 : 0) X + ((mask & CEN_SPONSOR) != 0 X ? strlen (sponsor) + 1 : 0) X + ((mask & CEN_REVISION) != 0 X ? strlen (revision) + 1 : 0) X + 1 + strlen (filename) + 1); X X if (abs_filename == NULL) X return NULL; X X retval = NULL; X last = NULL; X X /* Construct file name. */ X memcpy (abs_filename, dirlist, dirlist_len); X __argz_stringify (abs_filename, dirlist_len, ':'); X cp = abs_filename + (dirlist_len - 1); X *cp++ = '/'; X cp = stpcpy (cp, language); X X if ((mask & TERRITORY) != 0) X { X *cp++ = '_'; X cp = stpcpy (cp, territory); X } X if ((mask & XPG_CODESET) != 0) X { X *cp++ = '.'; X cp = stpcpy (cp, codeset); X } X if ((mask & XPG_NORM_CODESET) != 0) X { X *cp++ = '.'; X cp = stpcpy (cp, normalized_codeset); X } X if ((mask & (XPG_MODIFIER | CEN_AUDIENCE)) != 0) X { X /* This component can be part of both syntaces but has different X leading characters. For CEN we use `+', else `@'. */ X *cp++ = (mask & CEN_AUDIENCE) != 0 ? '+' : '@'; X cp = stpcpy (cp, modifier); X } X if ((mask & CEN_SPECIAL) != 0) X { X *cp++ = '+'; X cp = stpcpy (cp, special); X } X if ((mask & CEN_SPONSOR) != 0) X { X *cp++ = ','; X cp = stpcpy (cp, sponsor); X } X if ((mask & CEN_REVISION) != 0) X { X *cp++ = '_'; X cp = stpcpy (cp, revision); X } X X *cp++ = '/'; X stpcpy (cp, filename); X X /* Look in list of already loaded domains whether it is already X available. */ X last = NULL; X for (retval = *l10nfile_list; retval != NULL; retval = retval->next) X if (retval->filename != NULL) X { X int compare = strcmp (retval->filename, abs_filename); X if (compare == 0) X /* We found it! */ X break; X if (compare < 0) X { X /* It's not in the list. */ X retval = NULL; X break; X } X X last = retval; X } X X if (retval != NULL || do_allocate == 0) X { X free (abs_filename); X return retval; X } X X retval = (struct loaded_l10nfile *) X malloc (sizeof (*retval) + (__argz_count (dirlist, dirlist_len) X * (1 << pop (mask)) X * sizeof (struct loaded_l10nfile *))); X if (retval == NULL) X return NULL; X X retval->filename = abs_filename; X retval->decided = (__argz_count (dirlist, dirlist_len) != 1 X || ((mask & XPG_CODESET) != 0 X && (mask & XPG_NORM_CODESET) != 0)); X retval->data = NULL; X X if (last == NULL) X { X retval->next = *l10nfile_list; X *l10nfile_list = retval; X } X else X { X retval->next = last->next; X last->next = retval; X } X X entries = 0; X /* If the DIRLIST is a real list the RETVAL entry correcponds not to X a real file. So we have to use the DIRLIST separation machanism X of the inner loop. */ X cnt = __argz_count (dirlist, dirlist_len) == 1 ? mask - 1 : mask; X for (; cnt >= 0; --cnt) X if ((cnt & ~mask) == 0 X && ((cnt & CEN_SPECIFIC) == 0 || (cnt & XPG_SPECIFIC) == 0) X && ((cnt & XPG_CODESET) == 0 || (cnt & XPG_NORM_CODESET) == 0)) X { X /* Iterate over all elements of the DIRLIST. */ X char *dir = NULL; X X while ((dir = __argz_next ((char *) dirlist, dirlist_len, dir)) X != NULL) X retval->successor[entries++] X = _nl_make_l10nflist (l10nfile_list, dir, strlen (dir) + 1, cnt, X language, territory, codeset, X normalized_codeset, modifier, special, X sponsor, revision, filename, 1); X } X retval->successor[entries] = NULL; X X return retval; } X /* Normalize codeset name. There is no standard for the codeset X names. Normalization allows the user to use any of the common X names. */ const char * _nl_normalize_codeset (codeset, name_len) X const char *codeset; X size_t name_len; { X int len = 0; X int only_digit = 1; X char *retval; X char *wp; X size_t cnt; X X for (cnt = 0; cnt < name_len; ++cnt) X if (isalnum (codeset[cnt])) X { X ++len; X X if (isalpha (codeset[cnt])) X only_digit = 0; X } X X retval = (char *) malloc ((only_digit ? 3 : 0) + len + 1); X X if (retval != NULL) X { X if (only_digit) X wp = stpcpy (retval, "iso"); X else X wp = retval; X X for (cnt = 0; cnt < name_len; ++cnt) X if (isalpha (codeset[cnt])) X *wp++ = tolower (codeset[cnt]); X else if (isdigit (codeset[cnt])) X *wp++ = codeset[cnt]; X X *wp = '\0'; X } X X return (const char *) retval; } X X /* @@ begin of epilog @@ */ X /* We don't want libintl.a to depend on any other library. So we X avoid the non-standard function stpcpy. In GNU C Library this X function is available, though. Also allow the symbol HAVE_STPCPY X to be defined. */ #if !_LIBC && !HAVE_STPCPY static char * stpcpy (dest, src) X char *dest; X const char *src; { X while ((*dest++ = *src++) != '\0') X /* Do nothing. */ ; X return dest - 1; } #endif SHAR_EOF $shar_touch -am 0407002897 'tar-1.12/intl/l10nflist.c' && chmod 0644 'tar-1.12/intl/l10nflist.c' || $echo 'restore of' 'tar-1.12/intl/l10nflist.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/intl/l10nflist.c:' 'MD5 check failed' 7fa2a0aa6dfc78ca9f4f760b05b14f5e tar-1.12/intl/l10nflist.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/intl/l10nflist.c'`" test 10210 -eq "$shar_count" || $echo 'tar-1.12/intl/l10nflist.c:' 'original size' '10210,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/intl/explodename.c ============== if test -f 'tar-1.12/intl/explodename.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/intl/explodename.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/intl/explodename.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/intl/explodename.c' && /* Copyright (C) 1995, 1996 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1995. X The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. X The GNU C Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. X You should have received a copy of the GNU Library General Public License along with the GNU C Library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X #ifdef HAVE_CONFIG_H # include #endif X #include #include X #include "loadinfo.h" X /* On some strange systems still no definition of NULL is found. Sigh! */ #ifndef NULL # if defined __STDC__ && __STDC__ # define NULL ((void *) 0) # else # define NULL 0 # endif #endif X /* @@ end of prolog @@ */ X int _nl_explode_name (name, language, modifier, territory, codeset, X normalized_codeset, special, sponsor, revision) X char *name; X const char **language; X const char **modifier; X const char **territory; X const char **codeset; X const char **normalized_codeset; X const char **special; X const char **sponsor; X const char **revision; { X enum { undecided, xpg, cen } syntax; X char *cp; X int mask; X X *modifier = NULL; X *territory = NULL; X *codeset = NULL; X *normalized_codeset = NULL; X *special = NULL; X *sponsor = NULL; X *revision = NULL; X X /* Now we determine the single parts of the locale name. First X look for the language. Termination symbols are `_' and `@' if X we use XPG4 style, and `_', `+', and `,' if we use CEN syntax. */ X mask = 0; X syntax = undecided; X *language = cp = name; X while (cp[0] != '\0' && cp[0] != '_' && cp[0] != '@' X && cp[0] != '+' && cp[0] != ',') X ++cp; X X if (*language == cp) X /* This does not make sense: language has to be specified. Use X this entry as it is without exploding. Perhaps it is an alias. */ X cp = strchr (*language, '\0'); X else if (cp[0] == '_') X { X /* Next is the territory. */ X cp[0] = '\0'; X *territory = ++cp; X X while (cp[0] != '\0' && cp[0] != '.' && cp[0] != '@' X && cp[0] != '+' && cp[0] != ',' && cp[0] != '_') X ++cp; X X mask |= TERRITORY; X X if (cp[0] == '.') X { X /* Next is the codeset. */ X syntax = xpg; X cp[0] = '\0'; X *codeset = ++cp; X X while (cp[0] != '\0' && cp[0] != '@') X ++cp; X X mask |= XPG_CODESET; X X if (*codeset != cp && (*codeset)[0] != '\0') X { X *normalized_codeset = _nl_normalize_codeset (*codeset, X cp - *codeset); X if (strcmp (*codeset, *normalized_codeset) == 0) X free ((char *) *normalized_codeset); X else X mask |= XPG_NORM_CODESET; X } X } X } X X if (cp[0] == '@' || (syntax != xpg && cp[0] == '+')) X { X /* Next is the modifier. */ X syntax = cp[0] == '@' ? xpg : cen; X cp[0] = '\0'; X *modifier = ++cp; X X while (syntax == cen && cp[0] != '\0' && cp[0] != '+' X && cp[0] != ',' && cp[0] != '_') X ++cp; X X mask |= XPG_MODIFIER | CEN_AUDIENCE; X } X X if (syntax != xpg && (cp[0] == '+' || cp[0] == ',' || cp[0] == '_')) X { X syntax = cen; X X if (cp[0] == '+') X { X /* Next is special application (CEN syntax). */ X cp[0] = '\0'; X *special = ++cp; X X while (cp[0] != '\0' && cp[0] != ',' && cp[0] != '_') X ++cp; X X mask |= CEN_SPECIAL; X } X X if (cp[0] == ',') X { X /* Next is sponsor (CEN syntax). */ X cp[0] = '\0'; X *sponsor = ++cp; X X while (cp[0] != '\0' && cp[0] != '_') X ++cp; X X mask |= CEN_SPONSOR; X } X X if (cp[0] == '_') X { X /* Next is revision (CEN syntax). */ X cp[0] = '\0'; X *revision = ++cp; X X mask |= CEN_REVISION; X } X } X X /* For CEN sytnax values it might be important to have the X separator character in the file name, not for XPG syntax. */ X if (syntax == xpg) X { X if (*territory != NULL && (*territory)[0] == '\0') X mask &= ~TERRITORY; X X if (*codeset != NULL && (*codeset)[0] == '\0') X mask &= ~XPG_CODESET; X X if (*modifier != NULL && (*modifier)[0] == '\0') X mask &= ~XPG_MODIFIER; X } X X return mask; } SHAR_EOF $shar_touch -am 0407002897 'tar-1.12/intl/explodename.c' && chmod 0644 'tar-1.12/intl/explodename.c' || $echo 'restore of' 'tar-1.12/intl/explodename.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/intl/explodename.c:' 'MD5 check failed' abf4940b5960eaad0c524e0892c94008 tar-1.12/intl/explodename.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/intl/explodename.c'`" test 4536 -eq "$shar_count" || $echo 'tar-1.12/intl/explodename.c:' 'original size' '4536,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/intl/intl-compat.c ============== if test -f 'tar-1.12/intl/intl-compat.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/intl/intl-compat.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/intl/intl-compat.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/intl/intl-compat.c' && /* intl-compat.c - Stub functions to call gettext functions from GNU gettext X Library. X Copyright (C) 1995 Software Foundation, Inc. X This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. X This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. X You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X #ifdef HAVE_CONFIG_H # include #endif X #include "libgettext.h" X /* @@ end of prolog @@ */ X X #undef gettext #undef dgettext #undef dcgettext #undef textdomain #undef bindtextdomain X X char * bindtextdomain (domainname, dirname) X const char *domainname; X const char *dirname; { X return bindtextdomain__ (domainname, dirname); } X X char * dcgettext (domainname, msgid, category) X const char *domainname; X const char *msgid; X int category; { X return dcgettext__ (domainname, msgid, category); } X X char * dgettext (domainname, msgid) X const char *domainname; X const char *msgid; { X return dgettext__ (domainname, msgid); } X X char * gettext (msgid) X const char *msgid; { X return gettext__ (msgid); } X X char * textdomain (domainname) X const char *domainname; { X return textdomain__ (domainname); } SHAR_EOF $shar_touch -am 0407002897 'tar-1.12/intl/intl-compat.c' && chmod 0644 'tar-1.12/intl/intl-compat.c' || $echo 'restore of' 'tar-1.12/intl/intl-compat.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/intl/intl-compat.c:' 'MD5 check failed' 93e4ab4b2eba5d2b8a36e1b2380190c5 tar-1.12/intl/intl-compat.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/intl/intl-compat.c'`" test 1646 -eq "$shar_count" || $echo 'tar-1.12/intl/intl-compat.c:' 'original size' '1646,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/intl/VERSION ============== if test -f 'tar-1.12/intl/VERSION' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/intl/VERSION' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/intl/VERSION' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/intl/VERSION' && GNU gettext library from gettext-0.10.26 SHAR_EOF $shar_touch -am 0407002897 'tar-1.12/intl/VERSION' && chmod 0644 'tar-1.12/intl/VERSION' || $echo 'restore of' 'tar-1.12/intl/VERSION' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/intl/VERSION:' 'MD5 check failed' 64a7129f40deb7cf6950f06c71ba7164 tar-1.12/intl/VERSION SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/intl/VERSION'`" test 41 -eq "$shar_count" || $echo 'tar-1.12/intl/VERSION:' 'original size' '41,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/intl/cat-compat.c ============== if test -f 'tar-1.12/intl/cat-compat.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/intl/cat-compat.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/intl/cat-compat.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/intl/cat-compat.c' && /* Compatibility code for gettext-using-catgets interface. X Copyright (C) 1995 Free Software Foundation, Inc. X The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. X The GNU C Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. X You should have received a copy of the GNU Library General Public License along with the GNU C Library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X #ifdef HAVE_CONFIG_H # include #endif X #include X #ifdef STDC_HEADERS # include # include #else char *getenv (); # ifdef HAVE_MALLOC_H # include # endif #endif X #ifdef HAVE_NL_TYPES_H # include #endif X #include "libgettext.h" X /* @@ end of prolog @@ */ X /* The catalog descriptor. */ static nl_catd catalog = (nl_catd) -1; X /* Name of the default catalog. */ static const char default_catalog_name[] = "messages"; X /* Name of currently used catalog. */ static const char *catalog_name = default_catalog_name; X /* Get ID for given string. If not found return -1. */ static int msg_to_cat_id PARAMS ((const char *msg)); X /* Substitution for systems lacking this function in their C library. */ #if !_LIBC && !HAVE_STPCPY static char *stpcpy PARAMS ((char *dest, const char *src)); #endif X X /* Set currently used domain/catalog. */ char * textdomain (domainname) X const char *domainname; { X nl_catd new_catalog; X char *new_name; X size_t new_name_len; X char *lang; X #if HAVE_SETLOCALE && HAVE_LC_MESSAGES && HAVE_SETLOCALE_NULL X lang = setlocale (LC_MESSAGES, NULL); #else X lang = getenv ("LC_ALL"); X if (lang == NULL || lang[0] == '\0') X { X lang = getenv ("LC_MESSAGES"); X if (lang == NULL || lang[0] == '\0') X lang = getenv ("LANG"); X } #endif X if (lang == NULL || lang[0] == '\0') X lang = "C"; X X /* See whether name of currently used domain is asked. */ X if (domainname == NULL) X return (char *) catalog_name; X X if (domainname[0] == '\0') X domainname = default_catalog_name; X X /* Compute length of added path element. */ X new_name_len = sizeof (LOCALEDIR) - 1 + 1 + strlen (lang) X + sizeof ("/LC_MESSAGES/") - 1 + sizeof (PACKAGE) - 1 X + sizeof (".cat"); X X new_name = (char *) malloc (new_name_len); X if (new_name == NULL) X return NULL; X X strcpy (new_name, PACKAGE); X new_catalog = catopen (new_name, 0); X X if (new_catalog == (nl_catd) -1) X { X /* NLSPATH search didn't work, try absolute path */ X sprintf (new_name, "%s/%s/LC_MESSAGES/%s.cat", LOCALEDIR, lang, X PACKAGE); X new_catalog = catopen (new_name, 0); X X if (new_catalog == (nl_catd) -1) X { X free (new_name); X return (char *) catalog_name; X } X } X X /* Close old catalog. */ X if (catalog != (nl_catd) -1) X catclose (catalog); X if (catalog_name != default_catalog_name) X free ((char *) catalog_name); X X catalog = new_catalog; X catalog_name = new_name; X X return (char *) catalog_name; } X char * bindtextdomain (domainname, dirname) X const char *domainname; X const char *dirname; { #if HAVE_SETENV || HAVE_PUTENV X char *old_val, *new_val, *cp; X size_t new_val_len; X X /* This does not make much sense here but to be compatible do it. */ X if (domainname == NULL) X return NULL; X X /* Compute length of added path element. If we use setenv we don't need X the first byts for NLSPATH=, but why complicate the code for this X peanuts. */ X new_val_len = sizeof ("NLSPATH=") - 1 + strlen (dirname) X + sizeof ("/%L/LC_MESSAGES/%N.cat"); X X old_val = getenv ("NLSPATH"); X if (old_val == NULL || old_val[0] == '\0') X { X old_val = NULL; X new_val_len += 1 + sizeof (LOCALEDIR) - 1 X + sizeof ("/%L/LC_MESSAGES/%N.cat"); X } X else X new_val_len += strlen (old_val); X X new_val = (char *) malloc (new_val_len); X if (new_val == NULL) X return NULL; X # if HAVE_SETENV X cp = new_val; # else X cp = stpcpy (new_val, "NLSPATH="); # endif X X cp = stpcpy (cp, dirname); X cp = stpcpy (cp, "/%L/LC_MESSAGES/%N.cat:"); X X if (old_val == NULL) X { # if __STDC__ X stpcpy (cp, LOCALEDIR "/%L/LC_MESSAGES/%N.cat"); # else X X cp = stpcpy (cp, LOCALEDIR); X stpcpy (cp, "/%L/LC_MESSAGES/%N.cat"); # endif X } X else X stpcpy (cp, old_val); X # if HAVE_SETENV X setenv ("NLSPATH", new_val, 1); X free (new_val); # else X putenv (new_val); X /* Do *not* free the environment entry we just entered. It is used X from now on. */ # endif X #endif X X return (char *) domainname; } X #undef gettext char * gettext (msg) X const char *msg; { X int msgid; X X if (msg == NULL || catalog == (nl_catd) -1) X return (char *) msg; X X /* Get the message from the catalog. We always use set number 1. X The message ID is computed by the function `msg_to_cat_id' X which works on the table generated by `po-to-tbl'. */ X msgid = msg_to_cat_id (msg); X if (msgid == -1) X return (char *) msg; X X return catgets (catalog, 1, msgid, (char *) msg); } X /* Look through the table `_msg_tbl' which has `_msg_tbl_length' entries X for the one equal to msg. If it is found return the ID. In case when X the string is not found return -1. */ static int msg_to_cat_id (msg) X const char *msg; { X int cnt; X X for (cnt = 0; cnt < _msg_tbl_length; ++cnt) X if (strcmp (msg, _msg_tbl[cnt]._msg) == 0) X return _msg_tbl[cnt]._msg_number; X X return -1; } X X /* @@ begin of epilog @@ */ X /* We don't want libintl.a to depend on any other library. So we X avoid the non-standard function stpcpy. In GNU C Library this X function is available, though. Also allow the symbol HAVE_STPCPY X to be defined. */ #if !_LIBC && !HAVE_STPCPY static char * stpcpy (dest, src) X char *dest; X const char *src; { X while ((*dest++ = *src++) != '\0') X /* Do nothing. */ ; X return dest - 1; } #endif SHAR_EOF $shar_touch -am 0407002897 'tar-1.12/intl/cat-compat.c' && chmod 0644 'tar-1.12/intl/cat-compat.c' || $echo 'restore of' 'tar-1.12/intl/cat-compat.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/intl/cat-compat.c:' 'MD5 check failed' f3b8be7478cf503819c5dd3eac2a51f5 tar-1.12/intl/cat-compat.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/intl/cat-compat.c'`" test 6240 -eq "$shar_count" || $echo 'tar-1.12/intl/cat-compat.c:' 'original size' '6240,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/src/ChangeLog ============== if test ! -d 'tar-1.12/src'; then $echo 'x -' 'creating directory' 'tar-1.12/src' mkdir 'tar-1.12/src' fi if test -f 'tar-1.12/src/ChangeLog' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/src/ChangeLog' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/src/ChangeLog' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/src/ChangeLog M,3DY-RTP-"TR-2`@1G)A;N=O:7,@4&EN87)D("`\<&EN87)D0&ER;RYU;6]N M=')E86PN8V$^"@H)*B!296QE87-E(#$N,3(N"@H)*B!T87(N8R`H;6%I;BDZ M($%T=&5M<'0@=&\@8VQA2!T:&4@9&5L87EE9"!E&ET(&UE M2!2:6-H87)D(%-T86QL;6%N+@H*"2H@;&ES M="YC("AD96-O9&5?;6]D92DZ($YE=R!N86UE(&9O2!$:65T;6%R($)R875N+@H*"2H@;6ES8RYC("AQ=6]T M95]C;W!Y7W-T"!(86EL M<&5R:6X@86YD($YO86@@1G)I961M86XN"@H)*B!B=69F97(N8RP@:6YC2!C;VYT:6YU93L@;W(@8G)E86L[(&1E<&5N9&EN9R!O;B!C;VYT M97AT+@H)4F5P;W)T960@8GD@4F]B97)T($4N($)R;W=N+@H*,3DY-RTP-"TR M,R`@1G)A;N=O:7,@4&EN87)D("`\<&EN87)D0&ER;RYU;6]N=')E86PN8V$^ M"@H)*B!A2!I9B=S(&)Y(&$@'1R86-T7V%R8VAI M=F4I.B!#:&5C:R!I9B!D:7)E8W1O2!B969O2P*"7-O(&%V;VED:6YG(&5X=')A8W1I;VX@;&]O<',@ M:6X@8V%S97,@;&EK92!$25(O+BXO1$E2+@H)4F5P;W)T960@8GD@36%R8R!" M;W5C:&5R+@H*"2H@9&5L971E+F,@*&1E;&5T95]A2!"2!"2!"&5D+B`@4F5N86UE(&5N=6T@8V]M;6%N9"!B M>0H)96YU;2!S=6)C;VUM86YD+"!M86EN7V-O;6UA;F1?;W!T:6]N(&)Y('-U M8F-O;6UA;F1?;W!T:6]N(&%N9`H)2!A="!T:&4@='=O(&]T:&5R(&YE961E9"!P;&%C97,@:6YS=&5A M9"X@(%)E;6]V90H)8F%D9FEL92!L86)E;"P@97AP86YD('1H92!PFD@86YD($UA&5D+"!#3TU-04Y$7TY/3D4@ M8GD@54Y+3D]73E]#3TU-04Y$+`H)86YD(&1E;&5T92!43T]?34%.65]#3TU- M04Y$+B`@5'5R;B!T:&5S92!I;G1O(&%N(&5N=6T@86YD(&1E8VQA2!-87)T:6X@36%R97,N"@HQ.3DW+3`T M+3`Q("!&'1R86-T:6YG M"@EP;VEN=&5R2!A;&P@6YU;2P@36%R=&EN($UA2!S<&%R:6YG(&ET+B`@5&AI'1E&ET('-T871U M2!E2!-87)T>2!,96ES;F5R+@H*,3DY-BTQ,2TR-2`@1G)A;N=O:7,@4&EN M87)D("`\<&EN87)D0&ER;RYU;6]N=')E86PN8V$^"@H)*B!B=69F97(N8R`H M;F5W7W9O;'5M92DZ(%=R:71E(&9I;&4@;F%M92!I;B!T=V\@=V]R9',N"@DJ M(&YA;65S+F,@*&YA;65?;F5X="DZ($ED96TN"@DJ(&)U9F9EF4@:6YS=&5A9"!O9B!B;&]C M:W-I>F4N"@E297!O2!#:')I2!-87)C($)O=6-H97(@86YD($UA2!W87,@;VQD97(@ M=&AA;B!T:&4@;&ES=&5D(&5N=')Y+"!I="!W87,@2!W:71H;W5T(&-H96-K:6YG('1H92!C;VYT86EN960@9FEL97,N"@E2 M97!O2!$879I9"!*;VAN6EN9R!T:&4@87)C:&EV92X*"5)E<&]R M=&5D(&)Y($%K:6MO($UA='-U2]O M<'1I;VYA;"!S96YT96YC92!A9V%I;BX*"5)E<&]R=&5D(&)Y($MA2!!;&5X(%-C:&UI9'0N M"@H)*B!S>7-T96TN:"!;2$%615]365-?5$%015](73H@26YC;'5D92!S>7,O M8G5F+F@@:68@:70@97AI2!W87)N:6YG2!$86X@4F5I5]F:6QE*3H@4F5N86UE M9"!F2P@ M=7-I;F<@:6YI=&EA;&EZ97)S('=H96X@;F%T=7)A;"P@86YD(&UO=FEN9R!T M:&5M"@EC;&]S97(@=&\@=&AE(&)L;V-K2X*"2H@86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B!T:&4@<75O=&EN9R!W87,@ M:6UP2!*;VAA;B!6"!(86EL M<&5R:6XN"@H)*B!L:7-T+F,@*&1E8V]D95]H96%D97(I.B!3;VUE(&-L96%N M('5P+B`@4F5C;V=N:7IE(%!/4TE8(&%R8VAI=F4*"6AE861E2X*"2H@=&%R+F@Z(%)E;F%M92!H96%D7W-T86YD87)D M('1O(&AE861E7!E+@H)*B!D:69F87)C:"YC+"!E>'1R86-T+F,L(&QI2!U2!*:6T@365Y97)I;F5]V;VQU;64I M.B!F2!+87)L($)E6UB;VQI M8R!L:6YK'1R7VEN:70I.B!)9B!T:&4@=6UA2!A='1R:6)U=&5S(&%R92!R M97-T;W)E9"!I;B!A;&P@8V%S97,N"@E297!O2!0:65R8V%R;&\@ M1W)A;F1I+@H*"2H@=&%R+F,Z($EM<&QE;65N="`M+6]W;F5R+"`M+6=R;W5P M(&%N9"`M+6UO9&4@;W!T:6]N2!T:&5S92!V87)I86)L97,N"@E297!O2!+96X@ M4F%E8G5R;BP@4FEC:&%R9"!3=&%L;&UA;B!A;F0@4W1E<&AE;B!':6QD96$N M"@H)*B!C6QL:2P@3&]R96X@2BX@4FET=&QE+`H)36%R='D@3&5I M2!* M+B!,964@86YD(%=E'1R86-T7V%R8VAI=F4I.B!52!A;&QO8V%T960@2!!=71O;6%K M92`P+C(Y+@H*,3DY-BTP,BTP,R`@1G)A;N=O:7,@4&EN87)D("`\<&EN87)D M0&ER;RYU;6]N=')E86PN8V$^"@H)16YS=7)E("TM=&]T86QS('=O6UO2!!;&)E71E2!$879E($)A2!987-UG5D;RX*"C$Y.38M,#$M,30@($9R86[G M;VES(%!I;F%R9"`@/'!I;F%R9$!IFD@86YD($UA M7-T96TN:#H@1&5C;&%R92!V86QL;V,@:68@:70@ M97AI2P@8F5C875S92!0051(7TU! M6"!IFDL($UA2!, M96ES;F5R+"!.96QS;VX*"4@N($8N($)E96)E+"!2;VQA;F0@36-'2!-87)T>2!,96ES M;F5R+@H*,3DY-BTP,2TP,2`@1G)A;N=O:7,@4&EN87)D("`\<&EN87)D0&ER M;RYU;6]N=')E86PN8V$^"@H)*B!S>7-T96TN:#H@26YC;'5D92`B97)R;W(N M:"(@:6YS=&5A9"!O9B!D96-L87)I;F<@97)R;W(@*"DN"@E297!O2!*:6T@365Y97)I;F'1D;VUA:6X@86YD('1E>'1D M;VUA:6XN"@E297!O2!5;')I8V@@1')E<'!E2!005)!35,L('1O(')E2!R96QY:6YG(&]N('-T871I8R!I;FET M:6%L:7IA=&EO;G,N("!296UO=F4*"7-T871I8R!I;FET:6%L:7IA=&EO;G,@ M9F]R('1H;W-E('9A'1R86-T7V%R8VAI=F4I.B!/;B!S>7-T96US(&YO="!H879I;F<@7-T96US(&YO="!H M879I;F<@8V]N=&EG=6]U'1R86-T7V%R8VAI=F4I.B!#86QL(&UA>6)E M7W)E8V]V97)A8FQE(')A=&AE2!!+B!#:&5R;F]V+"!!>&5L($)O;&1T+"!";PH)3GEG86%R9"!"86DL M($-H2P@26%N($IA8VMS M;VXL($IA;65S(%-T979E;G,L(%-E=&@*"5)O8F5R='-O;BP@5&ET;R!&;&%G M96QL82P@5V%R;F5R($QO2!M97)G M:6YG(&)O=&@@;&]O<',N"@DH861D;F%M92DZ($%V;VED('AS=')D=7`G:6YG M(')E2!A MF5I;F<@<&%S'1R86-T+F,@*&UA:V5?9&ER96-T;W)I97,I.B!.97<@;F%M92!F M;W(@;6%K95]D:7)S+B`@4V]M90H)8VQE86YU<"!I;B!V87)I86)L92!N86UE M2!U2!!BU797)N97(@1V5R9V5N+"!)86X@2F%C:W-O;BP@2F]N($QE=VES+"!- M87)K($MO;&QE2!S>6UP=&]M2!T:6UE+"!T:&ES M(&ES+W=A2P*"41A;FEE;"!3+B!"87)C;&%Y+"!$ M:7)K($AE2P@4F]D97)I8V@*"5-C:'5P<"P@4V%M(%)I8VAA7-T96TN:#H@26YC;'5D92`\7,O9&5V:6-E+F@^(&9O7-? M97)R;&ES="!D96-L87)A=&EO;BP@86YD('5S92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+@H*"2H@ M36%K969I;&4N:6X@*')M="DZ($1E8VQA'1R86-T7V%R M8VAI=F4I(%M/7T-41UTZ($1E8VQA2!2 M:6-H87)D($QL;WED+@H*"2H@=&%R+F@Z($1O(&YO="!I;F-L=61E(#QS>7,O M;6MN;V0N:#X@86YY;6]R92!F;W(@2%`M55@@9G)O;0H)2%`M55@@."!A;F0@ M869T97(L(&9O7-M M86-R;W,N:#XL"@EA;F0@2!W:&5N"@ER96%D:6YG(&9R M;VT@82!F:6QE('1H60@86YD(%)O8F5R="!%+B!"2!4:&]M87,@2_9N:6FDN"@H)*B!- M86ME9FEL92YI;CH@1V5T('!R969I>"!A;F0@97AE8U]P2!!;F1R96%S(%-C:'=A8BP@0VAR:7-T M:6%N(%0N($1U;2!A;F0@1&5A;B!'875D970N"@H)*B!S2!I;G-E2!P;&%Y('1H92!G86UE(&]F"@EF;W)C:6YG('1H92!C;VUP M:6QE2!F;W(@2!!+B!#:&5R;F]V+"!"FD@86YD"@E2 M;V)E'1R86-T7V%R8VAI=F4I.B!$ M96QA>2!C:&%N9VEN9R!O=VYE'1R86-T7V%R8VAI=F4L(')E2!" M97)N87)D($-H96XL($IE86XM36EC:&5L(%-O96YE;BP@2F]H;B!,+@H)0VAM M:65L97=S:VD@86YD($MA=F5H(%(N($=H87II+@H*"2H@=&%R+F@Z($1E9FEN M92!$159?0E-)6D4L(%-47T),2U-)6D4@86YD(%-47TY"3$]#2U,L"@EB;W)R M;W=I;F<@=&AI7-T96TN:"(@86YD"@ET97AT=71I;',M,2XY)W,@(G-Y2!" M2!+879E:"!2+B!':&%Z:2X*"@DJ($UA:V5F M:6QE+FEN("A25$%014Q)0BDZ(%!R969I>"!B>2`D52!F;W(@=6YP2!+879E:"!2+B!':&%Z:2!A;F0@0VAR:7-T M:6%N(%0N($1U;2X*"@DJ('!O2!$96UI>G4@3F]R:71O2!R96UO=&4L('1W:6-E M+@H)4F5P;W)T960@8GD@0F5N($$N($UEG4@3F]R:71OFDN"@H) M*B!T87(N8R`H861D;F%M92DZ(%)E<&QA8V4@82!F;W)G;W1T96X@15A?4UE3 M5$5-(&)Y"@E405)%6$E47T9!24Q54D4N"@E297!O2!$96UI>G4@ M3F]R:71O2P@2V%V96@@4BX*"4=H87II M(&%N9"!2;V)E2!F2!$879E($=E;G1Z96PL($AA2!Q=6]T960N"@H)*B!D:69F87)C:"YC("AD:69F7V%R8VAI M=F4I.B!!;&QO8V%T92!T;7!B=68@=&\@=&AE('!R;W!E<@H)F5R;R!A;F0@ M8F-M<"P@2X@($IU2!A;&QO8V%T961?87)C:&EV95]N86UEF%T:6]N(&]F"@EA M2!S879E9"!N86UE2!097(@0F]J2!N86UE9FEL95]N M86UE+@H)*B!T87(N8SH@4F5P;&%C92!N7VEN9"!B>2!N86UE7V%R2!N86UE7VEN9&5X+@H)4F5P;&%C92!N M86UE9B!B>2!N86UE7V9I;&4L(&Y?87)G=B!B>2!N86UE2!F:6QE(&EF("U'+"!S:6YC92`M1R!S971S(&=N=5]D M=6UP9FEL92!T;R`P+@H)4F5P;W)T960@8GD@06QE>&%N9&5R($1U<'5Y+@H* M"2H@8W)E871E+F,@*&1U;7!?9FEL92DZ($%V;VED(&$@3E5,3"!D97)E9F5R M96YC92!W:71H("U'('=H96X*"71R>6EN9R!T;R!D=6UP(&%N(&5M<'1Y(&1I M2X*"2H@9VYU+F,@*&%D9%]D:7)?;F%M92DZ(%-A;64@=&AI;F2!286EN97(@3W)T:"X*"@E#;W)R96-T:6]N(&9O71E71E2!!;F1R96%S(%-C:'=A8BP@1&5N:7,@1F]R=&EN+"!& M75K:2!"97-S:&\L($]L868@4V-H;'5E M=&5R+"!3:6UO;B!7'1R86-T M7V%R8VAI=F4I.B!)9&5M+@H)4F5P;W)T960@8GD@5&EM;W1H>2!&;W-S=6TN M"@HQ.3DT+3`W+3(Y("!&2!2:6-H87)D($1E86PN"@H)4F5O2!E>&ET7W-T M871U&ET7W-T871U&ET('=I=&@@97AI=%]S=&%T=7,N"@DJ(&)U9F9E0H)5$%215A)5%]& M04E,55)%+"!A;F0@15A)5%]354-#15-3(&)Y(%1!4D58251?4U5#0T534RX* M"2H@=&%R+F@@*$524D]2*2P@8W)E871E+F,@*&1U;7!?9FEL92DZ(%-E="!E M>&ET7W-T871U2!4:6QM86X@4V-H;6ED="X*"@DJ(')M="YC M.B!$969I;F4@15A)5%]&04E,55)%(&%N9"!%6$E47U-50T-%4U,@:68@;F]T M(&%L6EE;&0@82!N;VXM>F5R;R!E>&ET('-T871U2!.:6-K($AO;&QO=V%Y+@H*"2H@=&%R+F@Z(%)E;F%M M92!405)%4E)/4B!T;R!705).+"!T:&5N(&%D9"!%4E)/4B!W:&EC:"!I&ET('=I=&@@15A)5%]&04E, M55)%(&EF(&%N>2!E6UO7,O M9FEL92YH/B!W:71H($)31#0R(&]R"@D\9F-N=&PN:#X@9F]R(%8W+"!M97)E M;'D@:6YC;'5D92`\9F-N=&PN:#X@:68@:70@97AI7,O9FEL92YH/BX*"2H@8G5F9F5R+F,L(&1I9F9A2!A M2!I;F-L=61E9"!T:')O=6=H"@DB=&%R+F@B+@H*"2H@ M8W)E871E+F,@*&1U;7!?9FEL92DZ(%)E;6]V92!T:&4@0E-$-#(@8V]N9&ET M:6]N86PN("!)9B!N;W0*"69?2!!;&%N M($)A=V1E;BP@0VQA=61E(%-C87)P96QL:2P@3&%U2!D969I;F4@=F%L;&]C(&%S(&)E:6YG(&UA;&QO8R!I9B!V86QL;V,@ M9&]EF5D(&UE;6]R>2X*"5)E<&]R=&5D M(&)Y($AO;&=E6UB;VPN"@E297!O2!!;&%N($UO9')A M+"!#:')I7,O;71I;RYH/BP@:68@:70@97AIFDN"@H)*B!T87(N8R`H;W!T:6]N6UO=7,@;G5M8F5RFEE+@H* M"2H@=&%R+F,@*'5S86=E*3H@3F5W(&YA;64@9F]R(&1E2!%;&UA7,O='EP97,N:#XN("!!;'-O(&UO=F4*"2)T87(N:"(@ M87,@=&AE(&9I60*"6%N9"!3=&5F86X@4VMO M9VQU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N9U]O<'1I;VYS+"!D97-C'1R86-T+F,@*&5X=')A8W1?87)C:&EV92DZ($Q&7T1535!$ M25(@8V%S93L@;6ES<&QA8V5D('!A'1R M86-T7V%R8VAI=F4I.B!E>'1R86-T7V9I;&4@8V%S92P@9FER'1R86-T+F,@*&5X=')A8W1?&%C=&QY(#(V(&5L96UE;G1S(&EN"@ES<&%R2P@ M;VYL>2`R-2!W97)E('=R:71T96XN"@E297!O2!*:6T@375R&5D(&EN(&-R96%T90H)2!*:6T@375RFEE("`\9&IM0&MR;W!O=&MI;BYG;G4N M86DN;6ET+F5D=3X*"@DJ('1AFEE("`\9&IM0&=O;&1M86XN9VYU+F%I M+FUI="YE9'4^"@H)*B!T87(N8SH@0VAA;F=E($9.35]405)0051(('1O($9. M35],14%$24Y'7T1)4B!T;R!M871C:"!C:&%N9V4*"6EN(&9N;6%T8V@N6V-H M72X*"C$Y.3(M,3`M,#(@($1A=FED($HN($UA8TME;GII92`@/&1J;4!G;VQD M;6%N+F=N=2YA:2YM:70N961U/@H*"2H@=&%R+F,@*&1E7-T96US('=I=&AO=70@8FES;VXO>6%C M8PH)*&QI:V4@35,M1$]3*2X*"@DJ(&1I9F9A'1R86-T+F,@*&5X=')A8W1?87)C:&EV92P@F5R;R!W:&5N M"@E7249324=.04Q%1"!I3L* M"7-O;64@;6%K97,@9&]N)W0@:&%V92!O;F4@8G5I;'0@:6XN"@HQ.3DR+3`Y M+3$T("!-:6-H865L($D@0G5S:&YE;&P@(#QM:6)`9V5E8V@N9VYU+F%I+FUI M="YE9'4^"@H)*B!T87(N8R`H;W!T:6]N2!2;V)E"!A;F0@3L@2X*"2AD=6UP7V9I;&4I.B!3970@8W5RFEE("`\9&IM0&YU M=')I;6%T+F=N=2YA:2YM:70N961U/@H*"2H@9FYM871C:"Y;8VA=.B!.97<@ M9FEL97,N"@DJ('=I;&1M870N8SH@1FEL92!R96UO=F5D+@H)*B!T87(N8SH@ M26YC;'5D92!F;FUA=&-H+F@@86YD('5S92!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&]G;RYA:2YM:70N961U/@H*"2H@8W)E871E+F,@*'=H97)E7VES M7V1A=&$I.B!297=R:71T96X@=&\@8F4@8F5T=&5R+"!A;F0@=&AE;@H)(VEF M9&5F+65D(&]U="X*"2AD96%L7W=I=&A?2!P71E5LN+BY=+F]F9G-E="!I;B!T:&ES(&-A2!&96YL87-O;B`\ M:&%C:T!A:2YM:70N961U/@H*"2H@9VYU+F,Z(%!R97!E;F0@=&AE(&-U&-L=61E+69R;VT@9&\@=VAA="`K97AC M;'5D90H)=7-E9"!T;RX*"2H@36%K92`K=F5R&-L=61E*3H@1&]N M)W0@;&5T($U534),12!M871C:"!-54U"3$4N8R!O<@H)9F]O355-0DQ%(&)U M="!O;FQY(&9O;R]-54U"3$4N"@H)*B!M86YG;&4N8SH@3F5W(&9I;&4N"@DJ M(&-R96%T92YC+"!E>'1R86-T+F,Z($%C8V]R9&EN9R!C:&%N9V5S+@H*"2H@ M97AT2!E>&ES=&EN9R!L:6YK+@H)1&]N)W0@8V]M<&QA:6X@=VAE;B!E M>'1R86-T:6YG(&$@9&ER96-T;W)Y(&EF9B!I="!A;')E861Y(&5X:7-T2!#:&EP(%-A;'IE;F)E2!#:&EP(%-A;'IE;F)EFEE("`\9&IM0&%P<&QE+6=U;FMI97,^"@H)*B!T87(N M8R`H9&5S8W)I8F4I.B!);F-L=61E('1H92!D969A=6QT('9A;'5E2!&96YL87-O;B`\:&%C:T!A M:2YM:70N961U/@H*"2H@<&]R="YC("AU;BUQ=6]T92US=')I;F3H@57-E(&YE=R!V97)S:6]N(&]F(&=E M=&1A=&4H*2X*"@DJ('1AF5O9BAI;G0I"@H)*B!214%$344Z($=I=F4@ M=&AE(&-O2!D969A=6QT+@H*"7)M="YH(%M.3U]214U/5$5=.B!!9&0@7VES2!;55-'("8F("%$05E,24=(5%]- M25-324Y'72`H9G1I;64I.B!56QI9VAT)RX*"C$Y.3`M,#DM,3<@ M($IA>2!&96YL87-O;B`\:&%C:T!A:2YM:70N961U/@H*"2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;B=T(&%C8V5S2!D:7-K+"!A;F0* M"4A0('-T'1R86-T M("ML:7-T("MU<&1A=&4*"2MC871E;F%T92!A;F0@*V1E;&5T92!D;VXG="!T M86ME(&%R9W5M96YT2!&96YL87-O;B`\:&%C M:T!A:2YM:70N961U/@H*"2H@8G5F9F5R+F,@*&]P96Y?87)C:&EV92P@9FQ? M=W)I=&4I.B!3970@=&AE(&UT:6UE(&]F('1H92!V;VQU;64*"6AE861E5]S=')I;F'1R86-T7V%R M8VAI=F4I.B!$;VXG="!D96-L87)E(&EN9"!S=&%T:6,N"@H)*B!C%]O9F9S970@BYA:2YM:70N M961U/@H*"2H@36%K969I;&4Z($UE;G1I;VX@=&AE("U.3U]214U/5$4@;W!T M:6]N+@H)*B!P;W)T+F,@6VDS.#9=.B!&:7@@='EP;RP@86YD(&1E9FEN92!7 M04Y47T944E5.0T%412X*"C$Y.3`M,#(M,C8@($II;2!+:6YG9&]N("`\:VEN M9V1O;D!P;V=O+F%I+FUI="YE9'4^"@H)*B!G971D871E+GDZ($1E8VQA7EL97@@86YD('EY97)R;W(@87,@7!A7EP87)S92X*"C$Y.3`M,#(M,C4@($1A=FED($HN($UA M8TME;GII92`@/&1J;4!A;&)E'1E2!& M96YL87-O;B`\:&%C:T!W;V]K=6UZ/@H*"2H@=&%R+F,L(&-R96%T92YC.B!# MF]N92!ICX*"@DJ(&-R96%T92YC("AD=6UP7V9I M;&4I.B!#;&]S92!F:6QE(&1EFEE("`\9&IM0&AO8F)E'1R86-T+F,Z($-H86YG92!,7U-%5"!T;R`P(&EN(&QS965K M"@EC86QL7-T96US(&QA8VLN"@HQ.3DP+3`Q M+3`R("!*87D@1F5N;&%S;VX@/&AA8VM`9VYU/@H*"2H@<&]R="YC("AQ=6]T M95]C;W!Y7W-T"!S;R!I="!D;V5S;B=T('-C2!I9@H)=&AE(&QA2!+:6%N+51A="!,:6TN"@HQ.3@Y+3$R+3$Y("!*:6T@ M2VEN9V1O;B`@/&MI;F=D;VY`<&]G;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7,@8V%L;"X*"2AG971O<'0I.B!57=H97)E(&5LF4@;F5W("U0(&]P=&EO;B!T;R!S970@9E]R96QA=&EV M92!P871H'1R86-T+@H)*B!T87(N=&5X:6YF;SH@1FEX960@82!C;W5P M;&4@;V8@='EP;W,L(&1E=&5C=&5D(&)Y('1E>&DR7,O2!&96YL87-O;B`H:&%C:T!A:2YM:70N M961U*0H*"2H@5F5R&5D('1O(&YO="!C;W)E+61U M;7`@;VX@:6QL96=A;"!O<'1I;VYS"@E-;V1I9FEE9"!M2!I M9B!T:&4@;6%T8VAI;F<@;F%M92=S(&-H86YG95]D:7(@:7,@"!T;R!W;W)K+@H*"4%D9&5D('1O('!O"!T;R!T87(N=&5X:6YF;PH)0VAA M;F=E9"!T87(N8R!T;R!S87D@87)G=ELP72(Z>6]U(&UU2!E M>&%C=&QY("XN+@H)8G5F9F5R+F,Z(&UO9&EF:65D(&-H:6QD7V]P96XH*2!T M;R!K965P('1A&5D('1H92`M6"!O<'1I;VXN("!4:&ES('1I;64@9F]R('-U M&5D"@E<9&1D("AL:6ME(%PQ M,C,L(&5T8RD*"4UO&EN9F\*"@DJ(%9EF8@3D].7T58 M25-414Y47T9)3$4G"@ER971U&5S('1O('1A&5D('-O('9E M2!S:&]U;&0@8V]M<&EL92X*"@DJ(%9E&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/src/ChangeLog:' 'MD5 check failed' 299b38c5e8b6b1de71eee5df931975fb tar-1.12/src/ChangeLog SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/src/ChangeLog'`" test 148798 -eq "$shar_count" || $echo 'tar-1.12/src/ChangeLog:' 'original size' '148798,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/src/Makefile.am ============== if test -f 'tar-1.12/src/Makefile.am' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/src/Makefile.am' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/src/Makefile.am' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/src/Makefile.am' && # Makefile for GNU tar sources. # Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc. X # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. X # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. X # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. X AUTOMAKE_OPTIONS = gnits ansi2knr bin_PROGRAMS = tar libexec_PROGRAMS = @RMT@ EXTRA_PROGRAMS = rmt X noinst_HEADERS = arith.h common.h rmt.h system.h tar.h rmt_SOURCES = rmt.c tar_SOURCES = arith.c buffer.c compare.c create.c delete.c extract.c \ incremen.c list.c mangle.c misc.c names.c open3.c rtapelib.c tar.c update.c X INCLUDES = -I../intl -I$(top_srcdir)/lib LDADD = ../lib/libtar.a @INTLLIBS@ localedir = $(prefix)/@DATADIRNAME@/locale X tar.o: tar.c X $(COMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(srcdir)/tar.c X tar._o: tar._c X @rm -f _tar.c X @ln tar._c _tar.c X $(COMPILE) -DLOCALEDIR=\"$(localedir)\" -c _tar.c X @mv _tar.o $@ X @rm _tar.c X rmt.o: rmt.c X $(COMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(srcdir)/rmt.c X rmt._o: rmt._c X @rm -f _rmt.c X @ln rmt._c _rmt.c X $(COMPILE) -DLOCALEDIR=\"$(localedir)\" -c _rmt.c X @mv _rmt.o $@ X @rm _rmt.c SHAR_EOF $shar_touch -am 0418123697 'tar-1.12/src/Makefile.am' && chmod 0644 'tar-1.12/src/Makefile.am' || $echo 'restore of' 'tar-1.12/src/Makefile.am' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/src/Makefile.am:' 'MD5 check failed' 4095219d6d1c9f6a6dd27525db996446 tar-1.12/src/Makefile.am SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/src/Makefile.am'`" test 1636 -eq "$shar_count" || $echo 'tar-1.12/src/Makefile.am:' 'original size' '1636,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/src/Makefile.in ============== if test -f 'tar-1.12/src/Makefile.in' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/src/Makefile.in' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/src/Makefile.in' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/src/Makefile.in' && # Makefile.in generated automatically by automake 1.1n from Makefile.am X # Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. X # Makefile for GNU tar sources. # Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc. X # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. X # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. X # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. X X SHELL = /bin/sh X srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ X bindir = @bindir@ sbindir = @sbindir@ libexecdir = @libexecdir@ datadir = @datadir@ sysconfdir = @sysconfdir@ sharedstatedir = @sharedstatedir@ localstatedir = @localstatedir@ libdir = @libdir@ infodir = @infodir@ mandir = @mandir@ includedir = @includedir@ oldincludedir = /usr/include X pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ X top_builddir = .. X ACLOCAL = @ACLOCAL@ AUTOCONF = @AUTOCONF@ AUTOMAKE = @AUTOMAKE@ AUTOHEADER = @AUTOHEADER@ X INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ transform = @program_transform_name@ X NORMAL_INSTALL = true PRE_INSTALL = true POST_INSTALL = true NORMAL_UNINSTALL = true PRE_UNINSTALL = true POST_UNINSTALL = true ACLOCAL = @ACLOCAL@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ DATADIRNAME = @DATADIRNAME@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ GENCAT = @GENCAT@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GT_NO = @GT_NO@ GT_YES = @GT_YES@ INSTOBJEXT = @INSTOBJEXT@ INTLDEPS = @INTLDEPS@ INTLLIBS = @INTLLIBS@ INTLOBJS = @INTLOBJS@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ PACKAGE = @PACKAGE@ POFILES = @POFILES@ POSUB = @POSUB@ RANLIB = @RANLIB@ RMT = @RMT@ U = @U@ USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ YACC = @YACC@ X AUTOMAKE_OPTIONS = gnits ansi2knr bin_PROGRAMS = tar libexec_PROGRAMS = @RMT@ EXTRA_PROGRAMS = rmt X noinst_HEADERS = arith.h common.h rmt.h system.h tar.h rmt_SOURCES = rmt.c tar_SOURCES = arith.c buffer.c compare.c create.c delete.c extract.c \ incremen.c list.c mangle.c misc.c names.c open3.c rtapelib.c tar.c update.c X INCLUDES = -I../intl -I$(top_srcdir)/lib LDADD = ../lib/libtar.a @INTLLIBS@ localedir = $(prefix)/@DATADIRNAME@/locale mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = ../config.h CONFIG_CLEAN_FILES = PROGRAMS = $(bin_PROGRAMS) $(libexec_PROGRAMS) X X DEFS = @DEFS@ -I. -I$(srcdir) -I.. CPPFLAGS = @CPPFLAGS@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ o = @U@o ANSI2KNR = @ANSI2KNR@ rmt_OBJECTS = rmt.$o rmt_LDADD = $(LDADD) rmt_DEPENDENCIES = ../lib/libtar.a rmt_LDFLAGS = tar_OBJECTS = arith.$o buffer.$o compare.$o create.$o delete.$o \ extract.$o incremen.$o list.$o mangle.$o misc.$o names.$o open3.$o \ rtapelib.$o tar.$o update.$o tar_LDADD = $(LDADD) tar_DEPENDENCIES = ../lib/libtar.a tar_LDFLAGS = CFLAGS = @CFLAGS@ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) LINK = $(CC) $(LDFLAGS) -o $@ HEADERS = $(noinst_HEADERS) X DIST_COMMON = ChangeLog Makefile.am Makefile.in ansi2knr.1 ansi2knr.c X X DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) X TAR = tar GZIP = --best SOURCES = $(rmt_SOURCES) $(tar_SOURCES) OBJECTS = $(rmt_OBJECTS) $(tar_OBJECTS) X default: all X X.SUFFIXES: X.SUFFIXES: .c .o ._c ._o $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) X cd $(top_srcdir) && $(AUTOMAKE) --gnits src/Makefile X Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) X cd $(top_builddir) \ X && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status X X mostlyclean-binPROGRAMS: X clean-binPROGRAMS: X test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) X distclean-binPROGRAMS: X maintainer-clean-binPROGRAMS: X install-binPROGRAMS: $(bin_PROGRAMS) X @$(NORMAL_INSTALL) X $(mkinstalldirs) $(bindir) X @list='$(bin_PROGRAMS)'; for p in $$list; do \ X if test -f $$p; then \ X echo " $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`"; \ X $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \ X else :; fi; \ X done X uninstall-binPROGRAMS: X $(NORMAL_UNINSTALL) X list='$(bin_PROGRAMS)'; for p in $$list; do \ X rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \ X done X mostlyclean-libexecPROGRAMS: X clean-libexecPROGRAMS: X test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS) X distclean-libexecPROGRAMS: X maintainer-clean-libexecPROGRAMS: X install-libexecPROGRAMS: $(libexec_PROGRAMS) X @$(NORMAL_INSTALL) X $(mkinstalldirs) $(libexecdir) X @list='$(libexec_PROGRAMS)'; for p in $$list; do \ X if test -f $$p; then \ X echo " $(INSTALL_PROGRAM) $$p $(libexecdir)/`echo $$p|sed '$(transform)'`"; \ X $(INSTALL_PROGRAM) $$p $(libexecdir)/`echo $$p|sed '$(transform)'`; \ X else :; fi; \ X done X uninstall-libexecPROGRAMS: X $(NORMAL_UNINSTALL) X list='$(libexec_PROGRAMS)'; for p in $$list; do \ X rm -f $(libexecdir)/`echo $$p|sed '$(transform)'`; \ X done X X.c.o: X $(COMPILE) -c $< X mostlyclean-compile: X rm -f *.o core X clean-compile: X distclean-compile: X rm -f *.tab.c X maintainer-clean-compile: X ansi2knr: ansi2knr.o X $(LINK) ansi2knr.o $(LIBS) X ansi2knr.o: $(CONFIG_HEADER) X mostlyclean-krextra: X clean-krextra: X distclean-krextra: X rm -f ansi2knr X maintainer-clean-krextra: X X._c._o: X @echo "$(COMPILE) -c $<" X @rm -f _$*.c X @ln $< _$*.c && $(COMPILE) -c _$*.c && mv _$*.o $@ && rm _$*.c X X._c.l_o: X @echo "$(LIBTOOL) --mode=compile $(COMPILE) -c $<" X @rm -f _$*.c X @ln $< _$*.c && $(LIBTOOL) --mode=compile $(COMPILE) -c _$*.c && mv _$*.lo $@ && rm _$*.c X mostlyclean-kr: X rm -f *._o *.l_o *._c _*.c _*.o X clean-kr: X distclean-kr: X rm -f ansi2knr X maintainer-clean-kr: X rmt: $(rmt_OBJECTS) $(rmt_DEPENDENCIES) X @rm -f rmt X $(LINK) $(rmt_LDFLAGS) $(rmt_OBJECTS) $(rmt_LDADD) $(LIBS) X tar: $(tar_OBJECTS) $(tar_DEPENDENCIES) X @rm -f tar X $(LINK) $(tar_LDFLAGS) $(tar_OBJECTS) $(tar_LDADD) $(LIBS) X arith._c: arith.c $(ANSI2KNR) X $(ANSI2KNR) $(srcdir)/arith.c > arith.tmp && mv arith.tmp $@ buffer._c: buffer.c $(ANSI2KNR) X $(ANSI2KNR) $(srcdir)/buffer.c > buffer.tmp && mv buffer.tmp $@ compare._c: compare.c $(ANSI2KNR) X $(ANSI2KNR) $(srcdir)/compare.c > compare.tmp && mv compare.tmp $@ create._c: create.c $(ANSI2KNR) X $(ANSI2KNR) $(srcdir)/create.c > create.tmp && mv create.tmp $@ delete._c: delete.c $(ANSI2KNR) X $(ANSI2KNR) $(srcdir)/delete.c > delete.tmp && mv delete.tmp $@ extract._c: extract.c $(ANSI2KNR) X $(ANSI2KNR) $(srcdir)/extract.c > extract.tmp && mv extract.tmp $@ incremen._c: incremen.c $(ANSI2KNR) X $(ANSI2KNR) $(srcdir)/incremen.c > incremen.tmp && mv incremen.tmp $@ list._c: list.c $(ANSI2KNR) X $(ANSI2KNR) $(srcdir)/list.c > list.tmp && mv list.tmp $@ mangle._c: mangle.c $(ANSI2KNR) X $(ANSI2KNR) $(srcdir)/mangle.c > mangle.tmp && mv mangle.tmp $@ misc._c: misc.c $(ANSI2KNR) X $(ANSI2KNR) $(srcdir)/misc.c > misc.tmp && mv misc.tmp $@ names._c: names.c $(ANSI2KNR) X $(ANSI2KNR) $(srcdir)/names.c > names.tmp && mv names.tmp $@ open3._c: open3.c $(ANSI2KNR) X $(ANSI2KNR) $(srcdir)/open3.c > open3.tmp && mv open3.tmp $@ rmt._c: rmt.c $(ANSI2KNR) X $(ANSI2KNR) $(srcdir)/rmt.c > rmt.tmp && mv rmt.tmp $@ rtapelib._c: rtapelib.c $(ANSI2KNR) X $(ANSI2KNR) $(srcdir)/rtapelib.c > rtapelib.tmp && mv rtapelib.tmp $@ tar._c: tar.c $(ANSI2KNR) X $(ANSI2KNR) $(srcdir)/tar.c > tar.tmp && mv tar.tmp $@ update._c: update.c $(ANSI2KNR) X $(ANSI2KNR) $(srcdir)/update.c > update.tmp && mv update.tmp $@ X tags: TAGS X ID: $(HEADERS) $(SOURCES) X here=`pwd` && cd $(srcdir) && mkid -f$$here/ID $(SOURCES) $(HEADERS) X TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) X tags=; \ X here=`pwd`; \ X list='$(SUBDIRS)'; for subdir in $$list; do \ X test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ X done; \ X test -z "$(ETAGS_ARGS)$(SOURCES)$(HEADERS)$$tags" \ X || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $(SOURCES) $(HEADERS) -o $$here/TAGS) X mostlyclean-tags: X clean-tags: X distclean-tags: X rm -f TAGS ID X maintainer-clean-tags: X distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) X subdir = src distdir: $(DISTFILES) X @for file in $(DISTFILES); do \ X d=$(srcdir); \ X test -f $(distdir)/$$file \ X || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ X || cp -p $$d/$$file $(distdir)/$$file; \ X done arith.$o arith.l$o: arith.c system.h ../config.h ..//lib/pathmax.h \ X ..//lib/error.h common.h tar.h arith.h ..//lib/modechange.h buffer.$o buffer.l$o: buffer.c system.h ../config.h ..//lib/pathmax.h \ X ..//lib/error.h ..//lib/fnmatch.h common.h tar.h arith.h \ X ..//lib/modechange.h rmt.h compare.$o compare.l$o: compare.c system.h ../config.h ..//lib/pathmax.h \ X ..//lib/error.h common.h tar.h arith.h ..//lib/modechange.h \ X rmt.h create.$o create.l$o: create.c system.h ../config.h ..//lib/pathmax.h \ X ..//lib/error.h common.h tar.h arith.h ..//lib/modechange.h delete.$o delete.l$o: delete.c system.h ../config.h ..//lib/pathmax.h \ X ..//lib/error.h common.h tar.h arith.h ..//lib/modechange.h \ X rmt.h extract.$o extract.l$o: extract.c system.h ../config.h ..//lib/pathmax.h \ X ..//lib/error.h common.h tar.h arith.h ..//lib/modechange.h incremen.$o incremen.l$o: incremen.c system.h ../config.h \ X ..//lib/pathmax.h ..//lib/error.h common.h tar.h arith.h \ X ..//lib/modechange.h list.$o list.l$o: list.c system.h ../config.h ..//lib/pathmax.h \ X ..//lib/error.h common.h tar.h arith.h ..//lib/modechange.h mangle.$o mangle.l$o: mangle.c system.h ../config.h ..//lib/pathmax.h \ X ..//lib/error.h common.h tar.h arith.h ..//lib/modechange.h misc.$o misc.l$o: misc.c system.h ../config.h ..//lib/pathmax.h \ X ..//lib/error.h ..//lib/backupfile.h rmt.h common.h tar.h \ X arith.h ..//lib/modechange.h names.$o names.l$o: names.c system.h ../config.h ..//lib/pathmax.h \ X ..//lib/error.h ..//lib/fnmatch.h common.h tar.h arith.h \ X ..//lib/modechange.h open3.$o open3.l$o: open3.c system.h ../config.h ..//lib/pathmax.h \ X ..//lib/error.h rmt.$o rmt.l$o: rmt.c system.h ../config.h ..//lib/pathmax.h \ X ..//lib/error.h rtapelib.$o rtapelib.l$o: rtapelib.c system.h ../config.h \ X ..//lib/pathmax.h ..//lib/error.h rmt.h tar.$o tar.l$o: tar.c system.h ../config.h ..//lib/pathmax.h \ X ..//lib/error.h ..//lib/getopt.h common.h tar.h arith.h \ X ..//lib/modechange.h ..//lib/backupfile.h update.$o update.l$o: update.c system.h ../config.h ..//lib/pathmax.h \ X ..//lib/error.h common.h tar.h arith.h ..//lib/modechange.h X info: dvi: check: all X $(MAKE) installcheck: install-exec: install-binPROGRAMS install-libexecPROGRAMS X @$(NORMAL_INSTALL) X install-data: X @$(NORMAL_INSTALL) X install: install-exec install-data all X @: X uninstall: uninstall-binPROGRAMS uninstall-libexecPROGRAMS X all: $(ANSI2KNR) $(PROGRAMS) $(HEADERS) Makefile X install-strip: X $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install installdirs: X $(mkinstalldirs) $(bindir) $(libexecdir) X X mostlyclean-generic: X test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) X clean-generic: X test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) X distclean-generic: X rm -f Makefile $(DISTCLEANFILES) X rm -f config.cache config.log stamp-h X test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) X maintainer-clean-generic: X test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) X test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) mostlyclean: mostlyclean-binPROGRAMS mostlyclean-libexecPROGRAMS \ X mostlyclean-compile mostlyclean-krextra mostlyclean-kr \ X mostlyclean-tags mostlyclean-generic X clean: clean-binPROGRAMS clean-libexecPROGRAMS clean-compile \ X clean-krextra clean-kr clean-tags clean-generic \ X mostlyclean X distclean: distclean-binPROGRAMS distclean-libexecPROGRAMS \ X distclean-compile distclean-krextra distclean-kr \ X distclean-tags distclean-generic clean X rm -f config.status X maintainer-clean: maintainer-clean-binPROGRAMS \ X maintainer-clean-libexecPROGRAMS \ X maintainer-clean-compile maintainer-clean-krextra \ X maintainer-clean-kr maintainer-clean-tags \ X maintainer-clean-generic distclean X @echo "This command is intended for maintainers to use;" X @echo "it deletes files that may require special tools to rebuild." X X.PHONY: default mostlyclean-binPROGRAMS distclean-binPROGRAMS \ clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \ install-binPROGRAMS mostlyclean-libexecPROGRAMS \ distclean-libexecPROGRAMS clean-libexecPROGRAMS \ maintainer-clean-libexecPROGRAMS uninstall-libexecPROGRAMS \ install-libexecPROGRAMS mostlyclean-compile distclean-compile \ clean-compile maintainer-clean-compile mostlyclean-krextra \ distclean-krextra clean-krextra maintainer-clean-krextra mostlyclean-kr \ distclean-kr clean-kr maintainer-clean-kr tags mostlyclean-tags \ distclean-tags clean-tags maintainer-clean-tags distdir info dvi \ installcheck install-exec install-data install uninstall all \ installdirs mostlyclean-generic distclean-generic clean-generic \ maintainer-clean-generic clean mostlyclean distclean maintainer-clean X X tar.o: tar.c X $(COMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(srcdir)/tar.c X tar._o: tar._c X @rm -f _tar.c X @ln tar._c _tar.c X $(COMPILE) -DLOCALEDIR=\"$(localedir)\" -c _tar.c X @mv _tar.o $@ X @rm _tar.c X rmt.o: rmt.c X $(COMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(srcdir)/rmt.c X rmt._o: rmt._c X @rm -f _rmt.c X @ln rmt._c _rmt.c X $(COMPILE) -DLOCALEDIR=\"$(localedir)\" -c _rmt.c X @mv _rmt.o $@ X @rm _rmt.c X # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. X.NOEXPORT: SHAR_EOF $shar_touch -am 0425202297 'tar-1.12/src/Makefile.in' && chmod 0644 'tar-1.12/src/Makefile.in' || $echo 'restore of' 'tar-1.12/src/Makefile.in' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/src/Makefile.in:' 'MD5 check failed' ef8123ec90137bc3ccff0a3e58a3cd39 tar-1.12/src/Makefile.in SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/src/Makefile.in'`" test 14272 -eq "$shar_count" || $echo 'tar-1.12/src/Makefile.in:' 'original size' '14272,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/src/ansi2knr.1 ============== if test -f 'tar-1.12/src/ansi2knr.1' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/src/ansi2knr.1' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/src/ansi2knr.1' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/src/ansi2knr.1' && X.TH ANSI2KNR 1 "19 Jan 1996" X.SH NAME ansi2knr \- convert ANSI C to Kernighan & Ritchie C X.SH SYNOPSIS X.I ansi2knr [--varargs] input_file [output_file] X.SH DESCRIPTION If no output_file is supplied, output goes to stdout. X.br There are no error messages. X.sp X.I ansi2knr recognizes function definitions by seeing a non-keyword identifier at the left margin, followed by a left parenthesis, with a right parenthesis as the last character on the line, and with a left brace as the first token on the following line (ignoring possible intervening comments). It will recognize a multi-line header provided that no intervening line ends with a left or right brace or a semicolon. These algorithms ignore whitespace and comments, except that the function name must be the first thing on the line. X.sp The following constructs will confuse it: X.br X - Any other construct that starts at the left margin and follows the above syntax (such as a macro or function call). X.br X - Some macros that tinker with the syntax of the function header. X.sp The --varargs switch is obsolete, and is recognized only for backwards compatibility. The present version of X.I ansi2knr will always attempt to convert a ... argument to va_alist and va_dcl. X.SH AUTHOR L. Peter Deutsch wrote the original ansi2knr and continues to maintain the current version; most of the code in the current version is his work. ansi2knr also includes contributions by Francois Pinard and Jim Avera . SHAR_EOF $shar_touch -am 0321211997 'tar-1.12/src/ansi2knr.1' && chmod 0644 'tar-1.12/src/ansi2knr.1' || $echo 'restore of' 'tar-1.12/src/ansi2knr.1' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/src/ansi2knr.1:' 'MD5 check failed' 5e1899cee05f8b6f22a67923e8137999 tar-1.12/src/ansi2knr.1 SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/src/ansi2knr.1'`" test 1529 -eq "$shar_count" || $echo 'tar-1.12/src/ansi2knr.1:' 'original size' '1529,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/src/ansi2knr.c ============== if test -f 'tar-1.12/src/ansi2knr.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/src/ansi2knr.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/src/ansi2knr.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/src/ansi2knr.c' && /* ansi2knr.c */ /* Convert ANSI C function definitions to K&R ("traditional C") syntax */ X /* ansi2knr is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY. No author or distributor accepts responsibility to anyone for the consequences of using it or for whether it serves any particular purpose or works at all, unless he says so in writing. Refer to the GNU General Public License (the "GPL") for full details. X Everyone is granted permission to copy, modify and redistribute ansi2knr, but only under the conditions described in the GPL. A copy of this license is supposed to have been given to you along with ansi2knr so you can know your rights and responsibilities. It should be in a file named COPYLEFT. Among other things, the copyright notice and this notice must be preserved on all copies. X We explicitly state here what we believe is already implied by the GPL: if the ansi2knr program is distributed as a separate set of sources and a separate executable file which are aggregated on a storage medium together with another program, this in itself does not bring the other program under the GPL, nor does the mere fact that such a program or the procedures for constructing it invoke the ansi2knr executable bring any other part of the program under the GPL. */ X /* X * Usage: X ansi2knr input_file [output_file] X * If no output_file is supplied, output goes to stdout. X * There are no error messages. X * X * ansi2knr recognizes function definitions by seeing a non-keyword X * identifier at the left margin, followed by a left parenthesis, X * with a right parenthesis as the last character on the line, X * and with a left brace as the first token on the following line X * (ignoring possible intervening comments). X * It will recognize a multi-line header provided that no intervening X * line ends with a left or right brace or a semicolon. X * These algorithms ignore whitespace and comments, except that X * the function name must be the first thing on the line. X * The following constructs will confuse it: X * - Any other construct that starts at the left margin and X * follows the above syntax (such as a macro or function call). X * - Some macros that tinker with the syntax of the function header. X */ X /* X * The original and principal author of ansi2knr is L. Peter Deutsch X * . Other authors are noted in the change history X * that follows (in reverse chronological order): X lpd 96-01-21 added code to cope with not HAVE_CONFIG_H and with X compilers that don't understand void, as suggested by X Tom Lane X lpd 96-01-15 changed to require that the first non-comment token X on the line following a function header be a left brace, X to reduce sensitivity to macros, as suggested by Tom Lane X X lpd 95-06-22 removed #ifndefs whose sole purpose was to define X undefined preprocessor symbols as 0; changed all #ifdefs X for configuration symbols to #ifs X lpd 95-04-05 changed copyright notice to make it clear that X including ansi2knr in a program does not bring the entire X program under the GPL X lpd 94-12-18 added conditionals for systems where ctype macros X don't handle 8-bit characters properly, suggested by X Francois Pinard ; X removed --varargs switch (this is now the default) X lpd 94-10-10 removed CONFIG_BROKETS conditional X lpd 94-07-16 added some conditionals to help GNU `configure', X suggested by Francois Pinard ; X properly erase prototype args in function parameters, X contributed by Jim Avera ; X correct error in writeblanks (it shouldn't erase EOLs) X lpd 89-xx-xx original version X */ X /* Most of the conditionals here are to make ansi2knr work with */ /* or without the GNU configure machinery. */ X #if HAVE_CONFIG_H # include #endif X #include #include X #if HAVE_CONFIG_H X /* X For properly autoconfiguring ansi2knr, use AC_CONFIG_HEADER(config.h). X This will define HAVE_CONFIG_H and so, activate the following lines. X */ X # if STDC_HEADERS || HAVE_STRING_H # include # else # include # endif X #else /* not HAVE_CONFIG_H */ X /* Otherwise do it the hard way */ X # ifdef BSD # include # else # ifdef VMS X extern int strlen(), strncmp(); # else # include # endif # endif X #endif /* not HAVE_CONFIG_H */ X #if STDC_HEADERS # include #else /* X malloc and free should be declared in stdlib.h, X but if you've got a K&R compiler, they probably aren't. X */ # ifdef MSDOS # include # else # ifdef VMS X extern char *malloc(); X extern void free(); # else X extern char *malloc(); X extern int free(); # endif # endif X #endif X /* X * The ctype macros don't always handle 8-bit characters correctly. X * Compensate for this here. X */ #ifdef isascii # undef HAVE_ISASCII /* just in case */ # define HAVE_ISASCII 1 #else #endif #if STDC_HEADERS || !HAVE_ISASCII # define is_ascii(c) 1 #else # define is_ascii(c) isascii(c) #endif X #define is_space(c) (is_ascii(c) && isspace(c)) #define is_alpha(c) (is_ascii(c) && isalpha(c)) #define is_alnum(c) (is_ascii(c) && isalnum(c)) X /* Scanning macros */ #define isidchar(ch) (is_alnum(ch) || (ch) == '_') #define isidfirstchar(ch) (is_alpha(ch) || (ch) == '_') X /* Forward references */ char *skipspace(); int writeblanks(); int test1(); int convert1(); X /* The main program */ int main(argc, argv) X int argc; X char *argv[]; { FILE *in, *out; #define bufsize 5000 /* arbitrary size */ X char *buf; X char *line; X char *more; X /* X * In previous versions, ansi2knr recognized a --varargs switch. X * If this switch was supplied, ansi2knr would attempt to convert X * a ... argument to va_alist and va_dcl; if this switch was not X * supplied, ansi2knr would simply drop any such arguments. X * Now, ansi2knr always does this conversion, and we only X * check for this switch for backward compatibility. X */ X int convert_varargs = 1; X X if ( argc > 1 && argv[1][0] == '-' ) X { if ( !strcmp(argv[1], "--varargs") ) X { convert_varargs = 1; X argc--; X argv++; X } X else X { fprintf(stderr, "Unrecognized switch: %s\n", argv[1]); X exit(1); X } X } X switch ( argc ) X { X default: X printf("Usage: ansi2knr input_file [output_file]\n"); X exit(0); X case 2: X out = stdout; X break; X case 3: X out = fopen(argv[2], "w"); X if ( out == NULL ) X { fprintf(stderr, "Cannot open output file %s\n", argv[2]); X exit(1); X } X } X in = fopen(argv[1], "r"); X if ( in == NULL ) X { fprintf(stderr, "Cannot open input file %s\n", argv[1]); X exit(1); X } X fprintf(out, "#line 1 \"%s\"\n", argv[1]); X buf = malloc(bufsize); X line = buf; X while ( fgets(line, (unsigned)(buf + bufsize - line), in) != NULL ) X { test: line += strlen(line); X switch ( test1(buf) ) X { X case 2: /* a function header */ X convert1(buf, out, 1, convert_varargs); X break; X case 1: /* a function */ X /* Check for a { at the start of the next line. */ X more = ++line; f: if ( line >= buf + (bufsize - 1) ) /* overflow check */ X goto wl; X if ( fgets(line, (unsigned)(buf + bufsize - line), in) == NULL ) X goto wl; X switch ( *skipspace(more, 1) ) X { X case '{': X /* Definitely a function header. */ X convert1(buf, out, 0, convert_varargs); X fputs(more, out); X break; X case 0: X /* The next line was blank or a comment: */ X /* keep scanning for a non-comment. */ X line += strlen(line); X goto f; X default: X /* buf isn't a function header, but */ X /* more might be. */ X fputs(buf, out); X strcpy(buf, more); X line = buf; X goto test; X } X break; X case -1: /* maybe the start of a function */ X if ( line != buf + (bufsize - 1) ) /* overflow check */ X continue; X /* falls through */ X default: /* not a function */ wl: fputs(buf, out); X break; X } X line = buf; X } X if ( line != buf ) X fputs(buf, out); X free(buf); X fclose(out); X fclose(in); X return 0; } X /* Skip over space and comments, in either direction. */ char * skipspace(p, dir) X register char *p; X register int dir; /* 1 for forward, -1 for backward */ { for ( ; ; ) X { while ( is_space(*p) ) X p += dir; X if ( !(*p == '/' && p[dir] == '*') ) X break; X p += dir; p += dir; X while ( !(*p == '*' && p[dir] == '/') ) X { if ( *p == 0 ) X return p; /* multi-line comment?? */ X p += dir; X } X p += dir; p += dir; X } X return p; } X /* X * Write blanks over part of a string. X * Don't overwrite end-of-line characters. X */ int writeblanks(start, end) X char *start; X char *end; { char *p; X for ( p = start; p < end; p++ ) X if ( *p != '\r' && *p != '\n' ) X *p = ' '; X return 0; } X /* X * Test whether the string in buf is a function definition. X * The string may contain and/or end with a newline. X * Return as follows: X * 0 - definitely not a function definition; X * 1 - definitely a function definition; X * 2 - definitely a function prototype (NOT USED); X * -1 - may be the beginning of a function definition, X * append another line and look again. X * The reason we don't attempt to convert function prototypes is that X * Ghostscript's declaration-generating macros look too much like X * prototypes, and confuse the algorithms. X */ int test1(buf) X char *buf; { register char *p = buf; X char *bend; X char *endfn; X int contin; X X if ( !isidfirstchar(*p) ) X return 0; /* no name at left margin */ X bend = skipspace(buf + strlen(buf) - 1, -1); X switch ( *bend ) X { X case ';': contin = 0 /*2*/; break; X case ')': contin = 1; break; X case '{': return 0; /* not a function */ X case '}': return 0; /* not a function */ X default: contin = -1; X } X while ( isidchar(*p) ) X p++; X endfn = p; X p = skipspace(p, 1); X if ( *p++ != '(' ) X return 0; /* not a function */ X p = skipspace(p, 1); X if ( *p == ')' ) X return 0; /* no parameters */ X /* Check that the apparent function name isn't a keyword. */ X /* We only need to check for keywords that could be followed */ X /* by a left parenthesis (which, unfortunately, is most of them). */ X { static char *words[] = X { "asm", "auto", "case", "char", "const", "double", X "extern", "float", "for", "if", "int", "long", X "register", "return", "short", "signed", "sizeof", X "static", "switch", "typedef", "unsigned", X "void", "volatile", "while", 0 X }; X char **key = words; X char *kp; X int len = endfn - buf; X X while ( (kp = *key) != 0 ) X { if ( strlen(kp) == len && !strncmp(kp, buf, len) ) X return 0; /* name is a keyword */ X key++; X } X } X return contin; } X /* Convert a recognized function definition or header to K&R syntax. */ int convert1(buf, out, header, convert_varargs) X char *buf; X FILE *out; X int header; /* Boolean */ X int convert_varargs; /* Boolean */ { char *endfn; X register char *p; X /* X * The breaks table contains pointers to the beginning and end X * of each argument. X */ X char **breaks; X unsigned num_breaks = 2; /* for testing */ X char **btop; X char **bp; X char **ap; X char *vararg = 0; X X /* Pre-ANSI implementations don't agree on whether strchr */ X /* is called strchr or index, so we open-code it here. */ X for ( endfn = buf; *(endfn++) != '('; ) X ; top: p = endfn; X breaks = (char **)malloc(sizeof(char *) * num_breaks * 2); X if ( breaks == 0 ) X { /* Couldn't allocate break table, give up */ X fprintf(stderr, "Unable to allocate break table!\n"); X fputs(buf, out); X return -1; X } X btop = breaks + num_breaks * 2 - 2; X bp = breaks; X /* Parse the argument list */ X do X { int level = 0; X char *lp = NULL; X char *rp; X char *end = NULL; X X if ( bp >= btop ) X { /* Filled up break table. */ X /* Allocate a bigger one and start over. */ X free((char *)breaks); X num_breaks <<= 1; X goto top; X } X *bp++ = p; X /* Find the end of the argument */ X for ( ; end == NULL; p++ ) X { switch(*p) X { X case ',': X if ( !level ) end = p; X break; X case '(': X if ( !level ) lp = p; X level++; X break; X case ')': X if ( --level < 0 ) end = p; X else rp = p; X break; X case '/': X p = skipspace(p, 1) - 1; X break; X default: X ; X } X } X /* Erase any embedded prototype parameters. */ X if ( lp ) X writeblanks(lp + 1, rp); X p--; /* back up over terminator */ X /* Find the name being declared. */ X /* This is complicated because of procedure and */ X /* array modifiers. */ X for ( ; ; ) X { p = skipspace(p - 1, -1); X switch ( *p ) X { X case ']': /* skip array dimension(s) */ X case ')': /* skip procedure args OR name */ X { int level = 1; X while ( level ) X switch ( *--p ) X { X case ']': case ')': level++; break; X case '[': case '(': level--; break; X case '/': p = skipspace(p, -1) + 1; break; X default: ; X } X } X if ( *p == '(' && *skipspace(p + 1, 1) == '*' ) X { /* We found the name being declared */ X while ( !isidfirstchar(*p) ) X p = skipspace(p, 1) + 1; X goto found; X } X break; X default: X goto found; X } X } found: if ( *p == '.' && p[-1] == '.' && p[-2] == '.' ) X { if ( convert_varargs ) X { *bp++ = "va_alist"; X vararg = p-2; X } X else X { p++; X if ( bp == breaks + 1 ) /* sole argument */ X writeblanks(breaks[0], p); X else X writeblanks(bp[-1] - 1, p); X bp--; X } X } X else X { while ( isidchar(*p) ) p--; X *bp++ = p+1; X } X p = end; X } X while ( *p++ == ',' ); X *bp = p; X /* Make a special check for 'void' arglist */ X if ( bp == breaks+2 ) X { p = skipspace(breaks[0], 1); X if ( !strncmp(p, "void", 4) ) X { p = skipspace(p+4, 1); X if ( p == breaks[2] - 1 ) X { bp = breaks; /* yup, pretend arglist is empty */ X writeblanks(breaks[0], p + 1); X } X } X } X /* Put out the function name and left parenthesis. */ X p = buf; X while ( p != endfn ) putc(*p, out), p++; X /* Put out the declaration. */ X if ( header ) X { fputs(");", out); X for ( p = breaks[0]; *p; p++ ) X if ( *p == '\r' || *p == '\n' ) X putc(*p, out); X } X else X { for ( ap = breaks+1; ap < bp; ap += 2 ) X { p = *ap; X while ( isidchar(*p) ) X putc(*p, out), p++; X if ( ap < bp - 1 ) X fputs(", ", out); X } X fputs(") ", out); X /* Put out the argument declarations */ X for ( ap = breaks+2; ap <= bp; ap += 2 ) X (*ap)[-1] = ';'; X if ( vararg != 0 ) X { *vararg = 0; X fputs(breaks[0], out); /* any prior args */ X fputs("va_dcl", out); /* the final arg */ X fputs(bp[0], out); X } X else X fputs(breaks[0], out); X } X free((char *)breaks); X return 0; } SHAR_EOF $shar_touch -am 0321211897 'tar-1.12/src/ansi2knr.c' && chmod 0644 'tar-1.12/src/ansi2knr.c' || $echo 'restore of' 'tar-1.12/src/ansi2knr.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/src/ansi2knr.c:' 'MD5 check failed' 6e2cafe338bc2db726fd63b982e982d1 tar-1.12/src/ansi2knr.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/src/ansi2knr.c'`" test 14687 -eq "$shar_count" || $echo 'tar-1.12/src/ansi2knr.c:' 'original size' '14687,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/src/rmt.c ============== if test -f 'tar-1.12/src/rmt.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/src/rmt.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/src/rmt.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/src/rmt.c' && /* Remote connection server. X Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc. X X This program is free software; you can redistribute it and/or modify it X under the terms of the GNU General Public License as published by the X Free Software Foundation; either version 2, or (at your option) any later X version. X X This program is distributed in the hope that it will be useful, but X WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General X Public License for more details. X X You should have received a copy of the GNU General Public License along X with this program; if not, write to the Free Software Foundation, Inc., X 59 Place - Suite 330, Boston, MA 02111-1307, USA. */ X /* Copyright (C) 1983 Regents of the University of California. X All rights reserved. X X Redistribution and use in source and binary forms are permitted provided X that the above copyright notice and this paragraph are duplicated in all X such forms and that any documentation, advertising materials, and other X materials related to such distribution and use acknowledge that the X software was developed by the University of California, Berkeley. The X name of the University may not be used to endorse or promote products X derived from this software without specific prior written permission. X THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED X WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF X MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ X #include "system.h" X #include X #ifndef EXIT_FAILURE # define EXIT_FAILURE 1 #endif #ifndef EXIT_SUCCESS # define EXIT_SUCCESS 0 #endif X /* Maximum size of a string from the requesting program. */ #define STRING_SIZE 64 X /* Name of executing program. */ const char *program_name; X /* File descriptor of the tape device, or negative if none open. */ static int tape = -1; X /* Buffer containing transferred data, and its allocated size. */ static char *record_buffer = NULL; static int allocated_size = -1; X /* Buffer for constructing the reply. */ static char reply_buffer[BUFSIZ]; X /* Debugging tools. */ X static FILE *debug_file = NULL; X #define DEBUG(File) \ X if (debug_file) fprintf(debug_file, File) X #define DEBUG1(File, Arg) \ X if (debug_file) fprintf(debug_file, File, Arg) X #define DEBUG2(File, Arg1, Arg2) \ X if (debug_file) fprintf(debug_file, File, Arg1, Arg2) X /*------------------------------------------------. | Return an error string, given an error number. | `------------------------------------------------*/ X #if HAVE_STRERROR # ifndef strerror char *strerror (); # endif #else static char * private_strerror (int errnum) { X extern const char *const sys_errlist[]; X extern int sys_nerr; X X if (errnum > 0 && errnum <= sys_nerr) X return sys_errlist[errnum]; X return N_("Unknown system error"); } # define strerror private_strerror #endif X /*---. | ? | `---*/ X static void report_error_message (const char *string) { X DEBUG1 ("rmtd: E 0 (%s)\n", string); X X sprintf (reply_buffer, "E0\n%s\n", string); X write (1, reply_buffer, strlen (reply_buffer)); } X /*---. | ? | `---*/ X static void report_numbered_error (int num) { X DEBUG2 ("rmtd: E %d (%s)\n", num, strerror (num)); X X sprintf (reply_buffer, "E%d\n%s\n", num, strerror (num)); X write (1, reply_buffer, strlen (reply_buffer)); } X /*---. | ? | `---*/ X static void get_string (char *string) { X int counter; X X for (counter = 0; counter < STRING_SIZE; counter++) X { X if (read (0, string + counter, 1) != 1) X exit (EXIT_SUCCESS); X X if (string[counter] == '\n') X break; X } X string[counter] = '\0'; } X /*---. | ? | `---*/ X static void prepare_record_buffer (int size) { X if (size <= allocated_size) X return; X X if (record_buffer) X free (record_buffer); X X record_buffer = malloc ((size_t) size); X X if (record_buffer == NULL) X { X DEBUG (_("rmtd: Cannot allocate buffer space\n")); X X report_error_message (N_("Cannot allocate buffer space")); X exit (EXIT_FAILURE); /* exit status used to be 4 */ X } X X allocated_size = size; X #ifdef SO_RCVBUF X while (size > 1024 && X setsockopt (0, SOL_SOCKET, SO_RCVBUF, (char *) &size, sizeof (size)) < 0) X size -= 1024; #else X /* FIXME: I do not see any purpose to the following line... Sigh! */ X size = 1 + ((size - 1) % 1024); #endif } X /*---. | ? | `---*/ X int main (int argc, char *const *argv) { X char command; X int status; X X /* FIXME: Localisation is meaningless, unless --help and --version are X locally used. Localisation would be best accomplished by the calling X tar, on messages found within error packets. */ X X program_name = argv[0]; X setlocale (LC_ALL, ""); X bindtextdomain (PACKAGE, LOCALEDIR); X textdomain (PACKAGE); X X /* FIXME: Implement --help and --version as for any other GNU program. */ X X argc--, argv++; X if (argc > 0) X { X debug_file = fopen (*argv, "w"); X if (debug_file == 0) X { X report_numbered_error (errno); X exit (EXIT_FAILURE); X } X setbuf (debug_file, NULL); X } X top: X errno = 0; /* FIXME: errno should be read-only */ X status = 0; X if (read (0, &command, 1) != 1) X exit (EXIT_SUCCESS); X X switch (command) X { X /* FIXME: Maybe 'H' and 'V' for --help and --version output? */ X X case 'O': X { X char device_string[STRING_SIZE]; X char mode_string[STRING_SIZE]; X X get_string (device_string); X get_string (mode_string); X DEBUG2 ("rmtd: O %s %s\n", device_string, mode_string); X X if (tape >= 0) X close (tape); X #if defined (i386) && defined (AIX) X X /* This is alleged to fix a byte ordering problem. I'm quite X suspicious if it's right. -- mib. */ X X { X int old_mode = atoi (mode_string); X int new_mode = 0; X X if ((old_mode & 3) == 0) X new_mode |= O_RDONLY; X if (old_mode & 1) X new_mode |= O_WRONLY; X if (old_mode & 2) X new_mode |= O_RDWR; X if (old_mode & 0x0008) X new_mode |= O_APPEND; X if (old_mode & 0x0200) X new_mode |= O_CREAT; X if (old_mode & 0x0400) X new_mode |= O_TRUNC; X if (old_mode & 0x0800) X new_mode |= O_EXCL; X tape = open (device_string, new_mode, 0666); X } #else X tape = open (device_string, atoi (mode_string), 0666); #endif X if (tape < 0) X goto ioerror; X goto respond; X } X X case 'C': X { X char device_string[STRING_SIZE]; X X get_string (device_string); /* discard */ X DEBUG ("rmtd: C\n"); X X if (close (tape) < 0) X goto ioerror; X tape = -1; X goto respond; X } X X case 'L': X { X char count_string[STRING_SIZE]; X char position_string[STRING_SIZE]; X X get_string (count_string); X get_string (position_string); X DEBUG2 ("rmtd: L %s %s\n", count_string, position_string); X X status X = lseek (tape, (off_t) atol (count_string), atoi (position_string)); X if (status < 0) X goto ioerror; X goto respond; X } X X case 'W': X { X char count_string[STRING_SIZE]; X int size; X int counter; X X get_string (count_string); X size = atoi (count_string); X DEBUG1 ("rmtd: W %s\n", count_string); X X prepare_record_buffer (size); X for (counter = 0; counter < size; counter += status) X { X status = read (0, &record_buffer[counter], size - counter); X if (status <= 0) X { X DEBUG (_("rmtd: Premature eof\n")); X X report_error_message (N_("Premature end of file")); X exit (EXIT_FAILURE); /* exit status used to be 2 */ X } X } X status = write (tape, record_buffer, size); X if (status < 0) X goto ioerror; X goto respond; X } X X case 'R': X { X char count_string[STRING_SIZE]; X int size; X X get_string (count_string); X DEBUG1 ("rmtd: R %s\n", count_string); X X size = atoi (count_string); X prepare_record_buffer (size); X status = read (tape, record_buffer, size); X if (status < 0) X goto ioerror; X sprintf (reply_buffer, "A%d\n", status); X write (1, reply_buffer, strlen (reply_buffer)); X write (1, record_buffer, status); X goto top; X } X X case 'I': X { X char operation_string[STRING_SIZE]; X char count_string[STRING_SIZE]; X X get_string (operation_string); X get_string (count_string); X DEBUG2 ("rmtd: I %s %s\n", operation_string, count_string); X #ifdef MTIOCTOP X { X struct mtop mtop; X X mtop.mt_op = atoi (operation_string); X mtop.mt_count = atoi (count_string); X if (ioctl (tape, MTIOCTOP, (char *) &mtop) < 0) X goto ioerror; X status = mtop.mt_count; X } #endif X goto respond; X } X X case 'S': /* status */ X { X DEBUG ("rmtd: S\n"); X #ifdef MTIOCGET X { X struct mtget operation; X X if (ioctl (tape, MTIOCGET, (char *) &operation) < 0) X goto ioerror; X status = sizeof (operation); X sprintf (reply_buffer, "A%d\n", status); X write (1, reply_buffer, strlen (reply_buffer)); X write (1, (char *) &operation, sizeof (operation)); X } #endif X goto top; X } X X default: X DEBUG1 (_("rmtd: Garbage command %c\n"), command); X X report_error_message (N_("Garbage command")); X exit (EXIT_FAILURE); /* exit status used to be 3 */ X } X respond: X DEBUG1 ("rmtd: A %d\n", status); X X sprintf (reply_buffer, "A%d\n", status); X write (1, reply_buffer, strlen (reply_buffer)); X goto top; X ioerror: X report_numbered_error (errno); X goto top; } SHAR_EOF $shar_touch -am 0417224497 'tar-1.12/src/rmt.c' && chmod 0644 'tar-1.12/src/rmt.c' || $echo 'restore of' 'tar-1.12/src/rmt.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/src/rmt.c:' 'MD5 check failed' 75178dffc80d4f7569989fa15eb89449 tar-1.12/src/rmt.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/src/rmt.c'`" test 9205 -eq "$shar_count" || $echo 'tar-1.12/src/rmt.c:' 'original size' '9205,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/src/arith.c ============== if test -f 'tar-1.12/src/arith.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/src/arith.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/src/arith.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/src/arith.c' && /* Arithmetic for numbers greater than a long int, for GNU tar. X Copyright (C) 1996, 1997 Free Software Foundation, Inc. X X This program is free software; you can redistribute it and/or modify it X under the terms of the GNU General Public License as published by the X Free Software Foundation; either version 2, or (at your option) any later X version. X X This program is distributed in the hope that it will be useful, but X WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General X Public License for more details. X X You should have received a copy of the GNU General Public License along X with this program; if not, write to the Free Software Foundation, Inc., X 59 Place - Suite 330, Boston, MA 02111-1307, USA. */ X #include "system.h" X /* common.h is needed to define FATAL_ERROR. It also includes arith.h. */ #include "common.h" X /* GNU tar needs handling numbers exceeding 32 bits, which is the size of X unsigned long ints for many C compilers. This module should provide X machinery for handling at least BITS_PER_TARLONG bits per number. If X `long long' ints are available and are sufficient for the task, they will X be used preferrably. X X Russell Cattelan reports 165 Gb single tapes (digital video D2 tapes on X Ampex drives), so requiring 38 bits for the tape length in bytes. He X also reports breaking the terabyte limit with a single file (using SGI X xFS file system over 37 28GB disk arrays attached to a Power Challenge X XL; check out http://www.lcse.umn.edu/ for a picture), so requiring a X little more than 40 bits for the file size in bytes. The POSIX header X structure allows for 12 octal digits to represent file lengths, that is, X up to 36 bits for the byte size of files. X X If `long long' is not supported by the compiler, SIZEOF_LONG_LONG will be X set to zero by configure. In this case, or if `long long' ints does not X have enough bits, then huge numbers are rather represented by an array of X longs, with the least significant super-digit at position 0. For making X multiplication and decimal input/output easy, the base of a super-digit X is an exact exponent of 10, and is such that base*base fits in a long. */ X #if SUPERDIGIT X /*-------------------------------. | Check if ACCUMULATOR is zero. | `-------------------------------*/ X int zerop_tarlong_helper (unsigned long *accumulator) { X int counter; X X for (counter = LONGS_PER_TARLONG - 1; counter >= 0; counter--) X if (accumulator[counter]) X return 0; X X return 1; } X /*----------------------------------------------. | Check if FIRST is strictly less than SECOND. | `----------------------------------------------*/ X int lessp_tarlong_helper (unsigned long *first, unsigned long *second) { X int counter; X X for (counter = LONGS_PER_TARLONG - 1; counter >= 0; counter--) X if (first[counter] != second[counter]) X return first[counter] < second[counter]; X X return 0; } X /*----------------------------. | Reset ACCUMULATOR to zero. | `----------------------------*/ X void clear_tarlong_helper (unsigned long *accumulator) { X int counter; X X for (counter = 0; counter < LONGS_PER_TARLONG; counter++) X accumulator[counter] = 0; } X /*----------------------------. | To ACCUMULATOR, add VALUE. | `----------------------------*/ X void add_to_tarlong_helper (unsigned long *accumulator, int value) { X int counter; X X if (value < 0) X for (counter = 0; counter < LONGS_PER_TARLONG; counter++) X { X if (accumulator[counter] >= -value) X { X accumulator[counter] += value; X return; X } X accumulator[counter] += value + SUPERDIGIT; X value = -1; X } X else X for (counter = 0; counter < LONGS_PER_TARLONG; counter++) X { X if (accumulator[counter] + value < SUPERDIGIT) X { X accumulator[counter] += value; X return; X } X accumulator[counter] += value - SUPERDIGIT; X value = 1; X } X FATAL_ERROR ((0, 0, _("Arithmetic overflow"))); } X /*--------------------------------. | Multiply ACCUMULATOR by VALUE. | `--------------------------------*/ X void mult_tarlong_helper (unsigned long *accumulator, int value) { X int carry = 0; X int counter; X X for (counter = 0; counter < LONGS_PER_TARLONG; counter++) X { X carry += accumulator[counter] * value; X accumulator[counter] = carry % SUPERDIGIT; X carry /= SUPERDIGIT; X } X if (carry) X FATAL_ERROR ((0, 0, _("Arithmetic overflow"))); } X /*----------------------------------------------------------. | Print the decimal representation of ACCUMULATOR on FILE. | `----------------------------------------------------------*/ X void print_tarlong_helper (unsigned long *accumulator, FILE *file) { X int counter = LONGS_PER_TARLONG - 1; X X while (counter > 0 && accumulator[counter] == 0) X counter--; X X fprintf (file, "%uld", accumulator[counter]); X while (counter > 0) X fprintf (file, TARLONG_FORMAT, accumulator[--counter]); } X #endif /* SUPERDIGIT */ SHAR_EOF $shar_touch -am 0423222597 'tar-1.12/src/arith.c' && chmod 0644 'tar-1.12/src/arith.c' || $echo 'restore of' 'tar-1.12/src/arith.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/src/arith.c:' 'MD5 check failed' 0ffb2b620f29a4f04eff16ea6fd7b777 tar-1.12/src/arith.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/src/arith.c'`" test 4999 -eq "$shar_count" || $echo 'tar-1.12/src/arith.c:' 'original size' '4999,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/src/buffer.c ============== if test -f 'tar-1.12/src/buffer.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/src/buffer.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/src/buffer.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/src/buffer.c' && /* Buffer management for tar. X Copyright (C) 1988, 92, 93, 94, 96, 97 Free Software Foundation, Inc. X Written by John Gilmore, on 1985-08-25. X X This program is free software; you can redistribute it and/or modify it X under the terms of the GNU General Public License as published by the X Free Software Foundation; either version 2, or (at your option) any later X version. X X This program is distributed in the hope that it will be useful, but X WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General X Public License for more details. X X You should have received a copy of the GNU General Public License along X with this program; if not, write to the Free Software Foundation, Inc., X 59 Place - Suite 330, Boston, MA 02111-1307, USA. */ X #include "system.h" X #include #include time_t time (); X #if MSDOS # include #endif X #if XENIX # include #endif X #ifndef FNM_LEADING_DIR # include #endif X #include "common.h" #include "rmt.h" X #define DEBUG_FORK 0 /* if nonzero, childs are born stopped */ X #define STDIN 0 /* standard input file descriptor */ #define STDOUT 1 /* standard output file descriptor */ X #define PREAD 0 /* read file descriptor from pipe() */ #define PWRITE 1 /* write file descriptor from pipe() */ X /* Number of retries before giving up on read. */ #define READ_ERROR_MAX 10 X /* Globbing pattern to append to volume label if initial match failed. */ #define VOLUME_LABEL_APPEND " Volume [1-9]*" X /* Variables. */ X static tarlong total_written; /* bytes written on all volumes */ static tarlong bytes_written; /* bytes written on this volume */ X /* FIXME: The following four variables should ideally be static to this X module. However, this cannot be done yet, as update.c uses the first X three a lot, and compare.c uses the fourth. The cleanup continues! */ X union block *record_start; /* start of record of archive */ union block *record_end; /* last+1 block of archive record */ union block *current_block; /* current block of archive */ enum access_mode access_mode; /* how do we handle the archive */ static struct stat archive_stat; /* stat block for archive file */ X static long record_start_block; /* block ordinal at record_start */ X /* Where we write list messages (not errors, not interactions) to. Stdout X unless we're writing a pipe, in which case stderr. */ FILE *stdlis; X static void backspace_output PARAMS ((void)); static int new_volume PARAMS ((enum access_mode)); static void write_error PARAMS ((int)); static void read_error PARAMS ((void)); X #if !MSDOS /* Obnoxious test to see if dimwit is trying to dump the archive. */ dev_t ar_dev; ino_t ar_ino; #endif X /* PID of child program, if compress_option or remote archive access. */ static int child_pid = 0; X /* Error recovery stuff */ static int read_error_count; X /* Have we hit EOF yet? */ static int hit_eof; X /* Checkpointing counter */ static int checkpoint; X /* We're reading, but we just read the last block and its time to update. */ /* As least EXTERN like this one as possible. FIXME! */ extern int time_to_start_writing; X int file_to_switch_to = -1; /* if remote update, close archive, and use X this descriptor to write to */ X static int volno = 1; /* which volume of a multi-volume tape we're X on */ static int global_volno = 1; /* volume number to print in external X messages */ X /* The pointer save_name, which is set in function dump_file() of module X create.c, points to the original long filename instead of the new, X shorter mangled name that is set in start_header() of module create.c. X The pointer save_name is only used in multi-volume mode when the file X being processed is non-sparse; if a file is split between volumes, the X save_name is used in generating the LF_MULTIVOL record on the second X volume. (From Pierce Cantrell, 1991-08-13.) */ X char *save_name; /* name of the file we are currently writing */ long save_totsize; /* total size of file we are writing, only X valid if save_name is non NULL */ long save_sizeleft; /* where we are in the file we are writing, X only valid if save_name is nonzero */ X int write_archive_to_stdout = 0; X /* Used by flush_read and flush_write to store the real info about saved X names. */ static char *real_s_name = NULL; static long real_s_totsize; static long real_s_sizeleft; X /* Functions. */ X #if DEBUG_FORK X static pid_t myfork (void) { X pid_t result = fork(); X X if (result == 0) X kill (getpid (), SIGSTOP); X return result; } X # define fork myfork X #endif /* DEBUG FORK */ X void init_total_written (void) { X clear_tarlong (total_written); X clear_tarlong (bytes_written); } X void print_total_written (void) { X fprintf (stderr, _("Total bytes written: ")); X print_tarlong (total_written, stderr); X fprintf (stderr, "\n"); } X /*--------------------------------------------------------. | Compute and return the block ordinal at current_block. | `--------------------------------------------------------*/ X long current_block_ordinal (void) { X return record_start_block + (current_block - record_start); } X /*------------------------------------------------------------------. | If the EOF flag is set, reset it, as well as current_block, etc. | `------------------------------------------------------------------*/ X void reset_eof (void) { X if (hit_eof) X { X hit_eof = 0; X current_block = record_start; X record_end = record_start + blocking_factor; X access_mode = ACCESS_WRITE; X } } X /*-------------------------------------------------------------------------. | Return the location of the next available input or output block. | | Return NULL for EOF. Once we have returned NULL, we just keep returning | | it, to avoid accidentally going on to the next file on the tape. | `-------------------------------------------------------------------------*/ X union block * find_next_block (void) { X if (current_block == record_end) X { X if (hit_eof) X return NULL; X flush_archive (); X if (current_block == record_end) X { X hit_eof = 1; X return NULL; X } X } X return current_block; } X /*------------------------------------------------------. | Indicate that we have used all blocks up thru BLOCK. | | | | FIXME: should the arg have an off-by-1? | `------------------------------------------------------*/ X void set_next_block_after (union block *block) { X while (block >= current_block) X current_block++; X X /* Do *not* flush the archive here. If we do, the same argument to X set_next_block_after could mean the next block (if the input record X is exactly one block long), which is not what is intended. */ X X if (current_block > record_end) X abort (); } X /*------------------------------------------------------------------------. | Return the number of bytes comprising the space between POINTER through | | the end of the current buffer of blocks. This space is available for | | filling with data, or taking data from. POINTER is usually (but not | | always) the result previous find_next_block call. | `------------------------------------------------------------------------*/ X int available_space_after (union block *pointer) { X return (int) (record_end->buffer - pointer->buffer); } X /*------------------------------------------------------------------. | Close file having descriptor FD, and abort if close unsucessful. | `------------------------------------------------------------------*/ X static void xclose (int fd) { X if (close (fd) < 0) X FATAL_ERROR ((0, errno, _("Cannot close file #%d"), fd)); } X /*-----------------------------------------------------------------------. | Duplicate file descriptor FROM into becoming INTO, or else, issue | | MESSAGE. INTO is closed first and has to be the next available slot. | `-----------------------------------------------------------------------*/ X static void xdup2 (int from, int into, const char *message) { X if (from != into) X { X int status = close (into); X X if (status < 0 && errno != EBADF) X FATAL_ERROR ((0, errno, _("Cannot close descriptor %d"), into)); X status = dup (from); X if (status != into) X FATAL_ERROR ((0, errno, _("Cannot properly duplicate %s"), message)); X xclose (from); X } } X #if MSDOS X /*-------------------------------------------------------. | Set ARCHIVE for writing, then compressing an archive. | `-------------------------------------------------------*/ X static void child_open_for_compress (void) { X FATAL_ERROR ((0, 0, _("Cannot use compressed or remote archives"))); } X /*---------------------------------------------------------. | Set ARCHIVE for uncompressing, then reading an archive. | `---------------------------------------------------------*/ X static void child_open_for_uncompress (void) { X FATAL_ERROR ((0, 0, _("Cannot use compressed or remote archives"))); } X #else /* not MSDOS */ X /*---------------------------------------------------------------------. | Return nonzero if NAME is the name of a regular file, or if the file | | does not exist (so it would be created as a regular file). | `---------------------------------------------------------------------*/ X static int is_regular_file (const char *name) { X struct stat stbuf; X X if (stat (name, &stbuf) < 0) X return 1; X X if (S_ISREG (stbuf.st_mode)) X return 1; X X return 0; } X /*-------------------------------------------------------. | Set ARCHIVE for writing, then compressing an archive. | `-------------------------------------------------------*/ X static void child_open_for_compress (void) { X int parent_pipe[2]; X int child_pipe[2]; X int grandchild_pid; X X if (pipe (parent_pipe) < 0) X FATAL_ERROR ((0, errno, _("Cannot open pipe"))); X X child_pid = fork (); X if (child_pid < 0) X FATAL_ERROR ((0, errno, _("Cannot fork"))); X X if (child_pid > 0) X { X /* The parent tar is still here! Just clean up. */ X X archive = parent_pipe[PWRITE]; X xclose (parent_pipe[PREAD]); X return; X } X X /* The new born child tar is here! */ X X program_name = _("tar (child)"); X X xdup2 (parent_pipe[PREAD], STDIN, _("(child) Pipe to stdin")); X xclose (parent_pipe[PWRITE]); X X /* Check if we need a grandchild tar. This happens only if either: X a) we are writing stdout: to force reblocking; X b) the file is to be accessed by rmt: compressor doesn't know how; X c) the file is not a plain file. */ X X if (strcmp (archive_name_array[0], "-") != 0 X && !_remdev (archive_name_array[0]) X && is_regular_file (archive_name_array[0])) X { X if (backup_option) X maybe_backup_file (archive_name_array[0], 1); X X /* We don't need a grandchild tar. Open the archive and launch the X compressor. */ X X archive = creat (archive_name_array[0], 0666); X if (archive < 0) X { X int saved_errno = errno; X X if (backup_option) X undo_last_backup (); X FATAL_ERROR ((0, saved_errno, _("Cannot open archive %s"), X archive_name_array[0])); X } X xdup2 (archive, STDOUT, _("Archive to stdout")); X execlp (use_compress_program_option, use_compress_program_option, X (char *) 0); X FATAL_ERROR ((0, errno, _("Cannot exec %s"), X use_compress_program_option)); X } X X /* We do need a grandchild tar. */ X X if (pipe (child_pipe) < 0) X FATAL_ERROR ((0, errno, _("Cannot open pipe"))); X X grandchild_pid = fork (); X if (grandchild_pid < 0) X FATAL_ERROR ((0, errno, _("Child cannot fork"))); X X if (grandchild_pid > 0) X { X /* The child tar is still here! Launch the compressor. */ X X xdup2 (child_pipe[PWRITE], STDOUT, _("((child)) Pipe to stdout")); X xclose (child_pipe[PREAD]); X execlp (use_compress_program_option, use_compress_program_option, X (char *) 0); X FATAL_ERROR ((0, errno, _("Cannot exec %s"), X use_compress_program_option)); X } X X /* The new born grandchild tar is here! */ X X program_name = _("tar (grandchild)"); X X /* Prepare for reblocking the data from the compressor into the archive. */ X X xdup2 (child_pipe[PREAD], STDIN, _("(grandchild) Pipe to stdin")); X xclose (child_pipe[PWRITE]); X X if (strcmp (archive_name_array[0], "-") == 0) X archive = STDOUT; X else X archive = rmtcreat (archive_name_array[0], 0666, rsh_command_option); X if (archive < 0) X FATAL_ERROR ((0, errno, _("Cannot open archive %s"), X archive_name_array[0])); X X /* Let's read out of the stdin pipe and write an archive. */ X X while (1) X { X int status = 0; X char *cursor; X int length; X X /* Assemble a record. */ X X for (length = 0, cursor = record_start->buffer; X length < record_size; X length += status, cursor += status) X { X int size = record_size - length; X X if (size < BLOCKSIZE) X size = BLOCKSIZE; X status = read (STDIN, cursor, (size_t) size); X if (status <= 0) X break; X } X X if (status < 0) X FATAL_ERROR ((0, errno, _("Cannot read from compression program"))); X X /* Copy the record. */ X X if (status == 0) X { X /* We hit the end of the file. Write last record at X full length, as the only role of the grandchild is X doing proper reblocking. */ X X if (length > 0) X { X memset (record_start->buffer + length, 0, X (size_t) record_size - length); X status = rmtwrite (archive, record_start->buffer, X (unsigned int) record_size); X if (status != record_size) X write_error (status); X } X X /* There is nothing else to read, break out. */ X break; X } X X status = rmtwrite (archive, record_start->buffer, X (unsigned int) record_size); X if (status != record_size) X write_error (status); X } X #if 0 X close_archive (); #endif X exit (exit_status); } X /*---------------------------------------------------------. | Set ARCHIVE for uncompressing, then reading an archive. | `---------------------------------------------------------*/ X static void child_open_for_uncompress (void) { X int parent_pipe[2]; X int child_pipe[2]; X int grandchild_pid; X X if (pipe (parent_pipe) < 0) X FATAL_ERROR ((0, errno, _("Cannot open pipe"))); X X child_pid = fork (); X if (child_pid < 0) X FATAL_ERROR ((0, errno, _("Cannot fork"))); X X if (child_pid > 0) X { X /* The parent tar is still here! Just clean up. */ X X read_full_records_option = 1; X archive = parent_pipe[PREAD]; X xclose (parent_pipe[PWRITE]); X return; X } X X /* The new born child tar is here! */ X X program_name = _("tar (child)"); X X xdup2 (parent_pipe[PWRITE], STDOUT, _("(child) Pipe to stdout")); X xclose (parent_pipe[PREAD]); X X /* Check if we need a grandchild tar. This happens only if either: X a) we're reading stdin: to force unblocking; X b) the file is to be accessed by rmt: compressor doesn't know how; X c) the file is not a plain file. */ X X if (strcmp (archive_name_array[0], "-") != 0 X && !_remdev (archive_name_array[0]) X && is_regular_file (archive_name_array[0])) X { X /* We don't need a grandchild tar. Open the archive and lauch the X uncompressor. */ X X archive = open (archive_name_array[0], O_RDONLY | O_BINARY, 0666); X if (archive < 0) X FATAL_ERROR ((0, errno, _("Cannot open archive %s"), X archive_name_array[0])); X xdup2 (archive, STDIN, _("Archive to stdin")); X execlp (use_compress_program_option, use_compress_program_option, X "-d", (char *) 0); X FATAL_ERROR ((0, errno, _("Cannot exec %s"), X use_compress_program_option)); X } X X /* We do need a grandchild tar. */ X X if (pipe (child_pipe) < 0) X FATAL_ERROR ((0, errno, _("Cannot open pipe"))); X X grandchild_pid = fork (); X if (grandchild_pid < 0) X FATAL_ERROR ((0, errno, _("Child cannot fork"))); X X if (grandchild_pid > 0) X { X /* The child tar is still here! Launch the uncompressor. */ X X xdup2 (child_pipe[PREAD], STDIN, _("((child)) Pipe to stdin")); X xclose (child_pipe[PWRITE]); X execlp (use_compress_program_option, use_compress_program_option, X "-d", (char *) 0); X FATAL_ERROR ((0, errno, _("Cannot exec %s"), X use_compress_program_option)); X } X X /* The new born grandchild tar is here! */ X X program_name = _("tar (grandchild)"); X X /* Prepare for unblocking the data from the archive into the uncompressor. */ X X xdup2 (child_pipe[PWRITE], STDOUT, _("(grandchild) Pipe to stdout")); X xclose (child_pipe[PREAD]); X X if (strcmp (archive_name_array[0], "-") == 0) X archive = STDIN; X else X archive = rmtopen (archive_name_array[0], O_RDONLY | O_BINARY, X 0666, rsh_command_option); X if (archive < 0) X FATAL_ERROR ((0, errno, _("Cannot open archive %s"), X archive_name_array[0])); X X /* Let's read the archive and pipe it into stdout. */ X X while (1) X { X char *cursor; X int maximum; X int count; X int status; X X read_error_count = 0; X X error_loop: X status = rmtread (archive, record_start->buffer, X (unsigned int) (record_size)); X if (status < 0) X { X read_error (); X goto error_loop; X } X if (status == 0) X break; X cursor = record_start->buffer; X maximum = status; X while (maximum) X { X count = maximum < BLOCKSIZE ? maximum : BLOCKSIZE; X status = write (STDOUT, cursor, (size_t) count); X if (status < 0) X FATAL_ERROR ((0, errno, _("\ Cannot write to compression program"))); X X if (status != count) X { X ERROR ((0, 0, _("\ Write to compression program short %d bytes"), X count - status)); X count = status; X } X X cursor += count; X maximum -= count; X } X } X #if 0 X close_archive (); #endif X exit (exit_status); } X #endif /* not MSDOS */ X /*--------------------------------------------------------------------------. | Check the LABEL block against the volume label, seen as a globbing | | pattern. Return true if the pattern matches. In case of failure, retry | | matching a volume sequence number before giving up in multi-volume mode. | `--------------------------------------------------------------------------*/ X static int check_label_pattern (union block *label) { X char *string; X int result; X X if (fnmatch (volume_label_option, label->header.name, 0) == 0) X return 1; X X if (!multi_volume_option) X return 0; X X string = xmalloc (strlen (volume_label_option) X + sizeof VOLUME_LABEL_APPEND + 1); X strcpy (string, volume_label_option); X strcat (string, VOLUME_LABEL_APPEND); X result = fnmatch (string, label->header.name, 0) == 0; X free (string); X return result; } X /*------------------------------------------------------------------------. | Open an archive file. The argument specifies whether we are reading or | | writing, or both. | `------------------------------------------------------------------------*/ X void open_archive (enum access_mode access) { X int backed_up_flag = 0; X X stdlis = to_stdout_option ? stderr : stdout; X X if (record_size == 0) X FATAL_ERROR ((0, 0, _("Invalid value for record_size"))); X X if (archive_names == 0) X FATAL_ERROR ((0, 0, _("No archive name given"))); X X current_file_name = NULL; X current_link_name = NULL; X X /* FIXME: According to POSIX.1, PATH_MAX may well not be a compile-time X constant, and the value from sysconf (_SC_PATH_MAX) may well not be any X size that is reasonable to allocate a buffer. In the GNU system, there X is no fixed limit. The only correct thing to do is to use dynamic X allocation. (Roland McGrath) */ X X if (!real_s_name) X real_s_name = (char *) xmalloc (PATH_MAX); X /* FIXME: real_s_name is never freed. */ X X save_name = NULL; X X if (multi_volume_option) X { X record_start X = (union block *) valloc ((unsigned) (record_size + (2 * BLOCKSIZE))); X if (record_start) X record_start += 2; X } X else X record_start = (union block *) valloc ((unsigned) record_size); X if (!record_start) X FATAL_ERROR ((0, 0, _("Could not allocate memory for blocking factor %d"), X blocking_factor)); X X current_block = record_start; X record_end = record_start + blocking_factor; X /* When updating the archive, we start with reading. */ X access_mode = access == ACCESS_UPDATE ? ACCESS_READ : access; X X if (multi_volume_option && verify_option) X FATAL_ERROR ((0, 0, _("Cannot verify multi-volume archives"))); X X if (use_compress_program_option) X { X if (multi_volume_option) X FATAL_ERROR ((0, 0, _("Cannot use multi-volume compressed archives"))); X if (verify_option) X FATAL_ERROR ((0, 0, _("Cannot verify compressed archives"))); X X switch (access) X { X case ACCESS_READ: X child_open_for_uncompress (); X break; X X case ACCESS_WRITE: X child_open_for_compress (); X break; X X case ACCESS_UPDATE: X FATAL_ERROR ((0, 0, _("Cannot update compressed archives"))); X break; X } X X if (access == ACCESS_WRITE && strcmp (archive_name_array[0], "-") == 0) X stdlis = stderr; X } X else if (strcmp (archive_name_array[0], "-") == 0) X { X read_full_records_option = 1; /* could be a pipe, be safe */ X if (verify_option) X FATAL_ERROR ((0, 0, _("Cannot verify stdin/stdout archive"))); X X switch (access) X { X case ACCESS_READ: X archive = STDIN; X break; X X case ACCESS_WRITE: X archive = STDOUT; X stdlis = stderr; X break; X X case ACCESS_UPDATE: X archive = STDIN; X stdlis = stderr; X write_archive_to_stdout = 1; X break; X } X } X else if (verify_option) X archive = rmtopen (archive_name_array[0], O_RDWR | O_CREAT | O_BINARY, X 0666, rsh_command_option); X else X switch (access) X { X case ACCESS_READ: X archive = rmtopen (archive_name_array[0], O_RDONLY | O_BINARY, 0666, X rsh_command_option); X break; X X case ACCESS_WRITE: X if (backup_option) X { X maybe_backup_file (archive_name_array[0], 1); X backed_up_flag = 1; X } X archive = rmtcreat (archive_name_array[0], 0666, rsh_command_option); X break; X X case ACCESS_UPDATE: X archive = rmtopen (archive_name_array[0], O_RDWR | O_CREAT | O_BINARY, X 0666, rsh_command_option); X break; X } X X if (archive < 0) X { X int saved_errno = errno; X X if (backed_up_flag) X undo_last_backup (); X FATAL_ERROR ((0, saved_errno, _("Cannot open %s"), X archive_name_array[0])); X } X #if !MSDOS X X fstat (archive, &archive_stat); X X /* Detect if outputting to "/dev/null". */ X { X struct stat dev_null_stat; X X stat ("/dev/null", &dev_null_stat); X dev_null_output = (S_ISCHR (archive_stat.st_mode) X && archive_stat.st_rdev == dev_null_stat.st_rdev); X } X X if (!_isrmt (archive) && S_ISREG (archive_stat.st_mode)) X { X ar_dev = archive_stat.st_dev; X ar_ino = archive_stat.st_ino; X } X #endif /* not MSDOS */ X #if MSDOS X setmode (archive, O_BINARY); #endif X X switch (access) X { X case ACCESS_READ: X case ACCESS_UPDATE: X record_end = record_start; /* set up for 1st record = # 0 */ X find_next_block (); /* read it in, check for EOF */ X X if (volume_label_option) X { X union block *label = find_next_block (); X X if (!label) X FATAL_ERROR ((0, 0, _("Archive not labelled to match `%s'"), X volume_label_option)); X if (!check_label_pattern (label)) X FATAL_ERROR ((0, 0, _("Volume `%s' does not match `%s'"), X label->header.name, volume_label_option)); X } X break; X X case ACCESS_WRITE: X if (volume_label_option) X { X memset ((void *) record_start, 0, BLOCKSIZE); X if (multi_volume_option) X sprintf (record_start->header.name, "%s Volume 1", X volume_label_option); X else X strcpy (record_start->header.name, volume_label_option); X X assign_string (¤t_file_name, record_start->header.name); X X record_start->header.typeflag = GNUTYPE_VOLHDR; X to_oct (time (0), 1 + 12, record_start->header.mtime); X finish_header (record_start); #if 0 X current_block++; #endif X } X break; X } } X /*--------------------------------------. | Perform a write to flush the buffer. | `--------------------------------------*/ X void flush_write (void) { X int copy_back; X int status; X X if (checkpoint_option && !(++checkpoint % 10)) X WARN ((0, 0, _("Write checkpoint %d"), checkpoint)); X X if (!zerop_tarlong (tape_length_option) X && !lessp_tarlong (bytes_written, tape_length_option)) X { X errno = ENOSPC; /* FIXME: errno should be read-only */ X status = 0; X } X else if (dev_null_output) X status = record_size; X else X status = rmtwrite (archive, record_start->buffer, X (unsigned int) record_size); X if (status != record_size && !multi_volume_option) X write_error (status); X else if (totals_option) X add_to_tarlong (total_written, record_size); X X if (status > 0) X add_to_tarlong (bytes_written, status); X X if (status == record_size) X { X if (multi_volume_option) X { X char *cursor; X X if (!save_name) X { X real_s_name[0] = '\0'; X real_s_totsize = 0; X real_s_sizeleft = 0; X return; X } X X cursor = save_name; #if MSDOS X if (cursor[1] == ':') X cursor += 2; #endif X while (*cursor == '/') X cursor++; X X strcpy (real_s_name, cursor); X real_s_totsize = save_totsize; X real_s_sizeleft = save_sizeleft; X } X return; X } X X /* We're multivol. Panic if we didn't get the right kind of response. */ X X /* ENXIO is for the UNIX PC. */ X if (status < 0 && errno != ENOSPC && errno != EIO && errno != ENXIO) X write_error (status); X X /* If error indicates a short write, we just move to the next tape. */ X X if (!new_volume (ACCESS_WRITE)) X return; X X clear_tarlong (bytes_written); X X if (volume_label_option && real_s_name[0]) X { X copy_back = 2; X record_start -= 2; X } X else if (volume_label_option || real_s_name[0]) X { X copy_back = 1; X record_start--; X } X else X copy_back = 0; X X if (volume_label_option) X { X memset ((void *) record_start, 0, BLOCKSIZE); X sprintf (record_start->header.name, "%s Volume %d", volume_label_option, volno); X to_oct (time (0), 1 + 12, record_start->header.mtime); X record_start->header.typeflag = GNUTYPE_VOLHDR; X finish_header (record_start); X } X X if (real_s_name[0]) X { X int tmp; X X if (volume_label_option) X record_start++; X X memset ((void *) record_start, 0, BLOCKSIZE); X X /* FIXME: Michael P Urban writes: [a long name file] is being written X when a new volume rolls around [...] Looks like the wrong value is X being preserved in real_s_name, though. */ X X strcpy (record_start->header.name, real_s_name); X record_start->header.typeflag = GNUTYPE_MULTIVOL; X to_oct ((long) real_s_sizeleft, 1 + 12, X record_start->header.size); X to_oct ((long) real_s_totsize - real_s_sizeleft, X 1 + 12, record_start->oldgnu_header.offset); X tmp = verbose_option; X verbose_option = 0; X finish_header (record_start); X verbose_option = tmp; X X if (volume_label_option) X record_start--; X } X X status = rmtwrite (archive, record_start->buffer, X (unsigned int) record_size); X if (status != record_size) X write_error (status); X else if (totals_option) X add_to_tarlong (total_written, record_size); X X add_to_tarlong (bytes_written, record_size); X if (copy_back) X { X record_start += copy_back; X memcpy ((void *) current_block, X (void *) (record_start + blocking_factor - copy_back), X (size_t) (copy_back * BLOCKSIZE)); X current_block += copy_back; X X if (real_s_sizeleft >= copy_back * BLOCKSIZE) X real_s_sizeleft -= copy_back * BLOCKSIZE; X else if ((real_s_sizeleft + BLOCKSIZE - 1) / BLOCKSIZE <= copy_back) X real_s_name[0] = '\0'; X else X { X char *cursor = save_name; X #if MSDOS X if (cursor[1] == ':') X cursor += 2; #endif X while (*cursor == '/') X cursor++; X X strcpy (real_s_name, cursor); X real_s_sizeleft = save_sizeleft; X real_s_totsize = save_totsize; X } X copy_back = 0; X } } X /*---------------------------------------------------------------------. | Handle write errors on the archive. Write errors are always fatal. | | Hitting the end of a volume does not cause a write error unless the | | write was the first record of the volume. | `---------------------------------------------------------------------*/ X static void write_error (int status) { X int saved_errno = errno; X X /* It might be useful to know how much was written before the error X occured. Beware that mere printing maybe change errno value. */ X if (totals_option) X print_total_written (); X X if (status < 0) X FATAL_ERROR ((0, saved_errno, _("Cannot write to %s"), X *archive_name_cursor)); X else X FATAL_ERROR ((0, 0, _("Only wrote %u of %u bytes to %s"), X status, record_size, *archive_name_cursor)); } X /*-------------------------------------------------------------------. | Handle read errors on the archive. If the read should be retried, | | returns to the caller. | `-------------------------------------------------------------------*/ X static void read_error (void) { X WARN ((0, errno, _("Read error on %s"), *archive_name_cursor)); X X if (record_start_block == 0) X FATAL_ERROR ((0, 0, _("At beginning of tape, quitting now"))); X X /* Read error in mid archive. We retry up to READ_ERROR_MAX times and X then give up on reading the archive. */ X X if (read_error_count++ > READ_ERROR_MAX) X FATAL_ERROR ((0, 0, _("Too many errors, quitting"))); X return; } X /*-------------------------------------. | Perform a read to flush the buffer. | `-------------------------------------*/ X void flush_read (void) { X int status; /* result from system call */ X int left; /* bytes left */ X char *more; /* pointer to next byte to read */ X X if (checkpoint_option && !(++checkpoint % 10)) X WARN ((0, 0, _("Read checkpoint %d"), checkpoint)); X X /* Clear the count of errors. This only applies to a single call to X flush_read. */ X X read_error_count = 0; /* clear error count */ X X if (write_archive_to_stdout && record_start_block != 0) X { X status = rmtwrite (1, record_start->buffer, (unsigned int) record_size); X if (status != record_size) X write_error (status); X } X if (multi_volume_option) X if (save_name) X { X char *cursor = save_name; X #if MSDOS X if (cursor[1] == ':') X cursor += 2; #endif X while (*cursor == '/') X cursor++; X X strcpy (real_s_name, cursor); X real_s_sizeleft = save_sizeleft; X real_s_totsize = save_totsize; X } X else X { X real_s_name[0] = '\0'; X real_s_totsize = 0; X real_s_sizeleft = 0; X } X error_loop: X status = rmtread (archive, record_start->buffer, (unsigned int) record_size); X if (status == record_size) X return; X X if ((status == 0 X || (status < 0 && errno == ENOSPC) X || (status > 0 && !read_full_records_option)) X && multi_volume_option) X { X union block *cursor; X X try_volume: X switch (subcommand_option) X { X case APPEND_SUBCOMMAND: X case CAT_SUBCOMMAND: X case UPDATE_SUBCOMMAND: X if (!new_volume (ACCESS_UPDATE)) X return; X break; X X default: X if (!new_volume (ACCESS_READ)) X return; X break; X } X X vol_error: X status = rmtread (archive, record_start->buffer, X (unsigned int) record_size); X if (status < 0) X { X read_error (); X goto vol_error; X } X if (status != record_size) X goto short_read; X X cursor = record_start; X X if (cursor->header.typeflag == GNUTYPE_VOLHDR) X { X if (volume_label_option) X { X if (!check_label_pattern (cursor)) X { X WARN ((0, 0, _("Volume `%s' does not match `%s'"), X cursor->header.name, volume_label_option)); X volno--; X global_volno--; X goto try_volume; X } X } X if (verbose_option) X fprintf (stdlis, _("Reading %s\n"), cursor->header.name); X cursor++; X } X else if (volume_label_option) X WARN ((0, 0, _("WARNING: No volume header"))); X X if (real_s_name[0]) X { X if (cursor->header.typeflag != GNUTYPE_MULTIVOL X || strcmp (cursor->header.name, real_s_name)) X { X WARN ((0, 0, _("%s is not continued on this volume"), X real_s_name)); X volno--; X global_volno--; X goto try_volume; X } X if (real_s_totsize X != (from_oct (1 + 12, cursor->header.size) X + from_oct (1 + 12, cursor->oldgnu_header.offset))) X { X WARN ((0, 0, _("%s is the wrong size (%ld != %ld + %ld)"), X cursor->header.name, save_totsize, X from_oct (1 + 12, cursor->header.size), X from_oct (1 + 12, cursor->oldgnu_header.offset))); X volno--; X global_volno--; X goto try_volume; X } X if (real_s_totsize - real_s_sizeleft X != from_oct (1 + 12, cursor->oldgnu_header.offset)) X { X WARN ((0, 0, _("This volume is out of sequence"))); X volno--; X global_volno--; X goto try_volume; X } X cursor++; X } X current_block = cursor; X return; X } X else if (status < 0) X { X read_error (); X goto error_loop; /* try again */ X } X short_read: X more = record_start->buffer + status; X left = record_size - status; X again: X if ((unsigned) left % BLOCKSIZE == 0) X { X /* FIXME: for size=0, multi-volume support. On the first record, warn X about the problem. */ X X if (!read_full_records_option && verbose_option X && record_start_block == 0 && status > 0) X WARN ((0, 0, _("Record size = %d blocks"), status / BLOCKSIZE)); X X record_end X = record_start + ((unsigned) (record_size - left)) / BLOCKSIZE; X X return; X } X if (read_full_records_option) X { X /* User warned us about this. Fix up. */ X X if (left > 0) X { X error2loop: X status = rmtread (archive, more, (unsigned int) left); X if (status < 0) X { X read_error (); X goto error2loop; /* try again */ X } X if (status == 0) X FATAL_ERROR ((0, 0, _("Archive %s EOF not on block boundary"), X *archive_name_cursor)); X left -= status; X more += status; X goto again; X } X } X else X FATAL_ERROR ((0, 0, _("Only read %d bytes from archive %s"), X status, *archive_name_cursor)); } X /*-----------------------------------------------. | Flush the current buffer to/from the archive. | `-----------------------------------------------*/ X void flush_archive (void) { X record_start_block += record_end - record_start; X current_block = record_start; X record_end = record_start + blocking_factor; X X if (access_mode == ACCESS_READ && time_to_start_writing) X { X access_mode = ACCESS_WRITE; X time_to_start_writing = 0; X X if (file_to_switch_to >= 0) X { X int status = rmtclose (archive); X X if (status < 0) X WARN ((0, errno, _("WARNING: Cannot close %s (%d, %d)"), X *archive_name_cursor, archive, status)); X X archive = file_to_switch_to; X } X else X backspace_output (); X } X X switch (access_mode) X { X case ACCESS_READ: X flush_read (); X break; X X case ACCESS_WRITE: X flush_write (); X break; X X case ACCESS_UPDATE: X abort (); X } } X /*-------------------------------------------------------------------------. | Backspace the archive descriptor by one record worth. If its a tape, | | MTIOCTOP will work. If its something else, we try to seek on it. If we | | can't seek, we lose! | `-------------------------------------------------------------------------*/ X static void backspace_output (void) { #ifdef MTIOCTOP X { X struct mtop operation; X X operation.mt_op = MTBSR; X operation.mt_count = 1; X if (rmtioctl (archive, MTIOCTOP, (char *) &operation) >= 0) X return; X if (errno == EIO && rmtioctl (archive, MTIOCTOP, (char *) &operation) >= 0) X return; X } #endif X X { X off_t position = rmtlseek (archive, 0L, 1); X X /* Seek back to the beginning of this record and start writing there. */ X X position -= record_size; X if (rmtlseek (archive, position, 0) != position) X { X /* Lseek failed. Try a different method. */ X X WARN ((0, 0, _("\ Could not backspace archive file; it may be unreadable without -i"))); X X /* Replace the first part of the record with NULs. */ X X if (record_start->buffer != output_start) X memset (record_start->buffer, 0, X (size_t) (output_start - record_start->buffer)); X } X } } X /*-------------------------. | Close the archive file. | `-------------------------*/ X void close_archive (void) { X if (time_to_start_writing || access_mode == ACCESS_WRITE) X flush_archive (); X #if !MSDOS X X /* Manage to fully drain a pipe we might be reading, so to not break it on X the producer after the EOF block. FIXME: one of these days, GNU tar X might become clever enough to just stop working, once there is no more X work to do, we might have to revise this area in such time. */ X X if (access_mode == ACCESS_READ && S_ISFIFO (archive_stat.st_mode)) X while (rmtread (archive, record_start->buffer, (unsigned int) record_size) X > 0) X continue; #endif X X if (subcommand_option == DELETE_SUBCOMMAND) X { X off_t pos; X X pos = rmtlseek (archive, 0L, 1); #if MSDOS X rmtwrite (archive, "", 0); #else X ftruncate (archive, (size_t) pos); #endif X } X if (verify_option) X verify_volume (); X X { X int status = rmtclose (archive); X X if (status < 0) X WARN ((0, errno, _("WARNING: Cannot close %s (%d, %d)"), X *archive_name_cursor, archive, status)); X } X #if !MSDOS X X if (child_pid) X { X WAIT_T wait_status; X int child; X X /* Loop waiting for the right child to die, or for no more kids. */ X X while ((child = wait (&wait_status), child != child_pid) X && child != -1) X continue; X X if (child != -1) X if (WIFSIGNALED (wait_status) #if 0 X && !WIFSTOPPED (wait_status) #endif X ) X { X /* SIGPIPE is OK, everything else is a problem. */ X X if (WTERMSIG (wait_status) != SIGPIPE) X ERROR ((0, 0, _("Child died with signal %d%s"), X WTERMSIG (wait_status), X WCOREDUMP (wait_status) ? _(" (core dumped)") : "")); X } X else X { X /* Child voluntarily terminated -- but why? /bin/sh returns X SIGPIPE + 128 if its child, then do nothing. */ X X if (WEXITSTATUS (wait_status) != (SIGPIPE + 128) X && WEXITSTATUS (wait_status)) X ERROR ((0, 0, _("Child returned status %d"), X WEXITSTATUS (wait_status))); X } X } #endif /* !MSDOS */ X X if (current_file_name) X free (current_file_name); X if (current_link_name) X free (current_link_name); X if (save_name) X free (save_name); X free (multi_volume_option ? record_start - 2 : record_start); } X /*------------------------------------------------. | Called to initialize the global volume number. | `------------------------------------------------*/ X void init_volume_number (void) { X FILE *file = fopen (volno_file_option, "r"); X X if (file) X { X fscanf (file, "%d", &global_volno); X if (fclose (file) == EOF) X ERROR ((0, errno, "%s", volno_file_option)); X } X else if (errno != ENOENT) X ERROR ((0, errno, "%s", volno_file_option)); } X /*-------------------------------------------------------. | Called to write out the closing global volume number. | `-------------------------------------------------------*/ X void closeout_volume_number (void) { X FILE *file = fopen (volno_file_option, "w"); X X if (file) X { X fprintf (file, "%d\n", global_volno); X if (fclose (file) == EOF) X ERROR ((0, errno, "%s", volno_file_option)); X } X else X ERROR ((0, errno, "%s", volno_file_option)); } X /*-----------------------------------------------------------------------. | We've hit the end of the old volume. Close it and open the next one. | | Return nonzero on success. | `-----------------------------------------------------------------------*/ X static int new_volume (enum access_mode access) { X static FILE *read_file = NULL; X static int looped = 0; X X int status; X X if (!read_file && !info_script_option) X /* FIXME: if fopen is used, it will never be closed. */ X read_file = archive == STDIN ? fopen (TTY_NAME, "r") : stdin; X X if (now_verifying) X return 0; X if (verify_option) X verify_volume (); X X if (status = rmtclose (archive), status < 0) X WARN ((0, errno, _("WARNING: Cannot close %s (%d, %d)"), X *archive_name_cursor, archive, status)); X X global_volno++; X volno++; X archive_name_cursor++; X if (archive_name_cursor == archive_name_array + archive_names) X { X archive_name_cursor = archive_name_array; X looped = 1; X } X tryagain: X if (looped) X { X /* We have to prompt from now on. */ X X if (info_script_option) X { X if (volno_file_option) X closeout_volume_number (); X system (info_script_option); X } X else X while (1) X { X char input_buffer[80]; X X fprintf (stderr, X _("\007Prepare volume #%d for %s and hit return: "), X global_volno, *archive_name_cursor); X fflush (stderr); X X if (fgets (input_buffer, sizeof (input_buffer), read_file) == 0) X { X fprintf (stderr, _("EOF where user reply was expected")); X X if (subcommand_option != EXTRACT_SUBCOMMAND X && subcommand_option != LIST_SUBCOMMAND X && subcommand_option != DIFF_SUBCOMMAND) X WARN ((0, 0, _("WARNING: Archive is incomplete"))); X X exit (TAREXIT_FAILURE); X } X if (input_buffer[0] == '\n' X || input_buffer[0] == 'y' X || input_buffer[0] == 'Y') X break; X X switch (input_buffer[0]) X { X case '?': X { X fprintf (stderr, _("\ X n [name] Give a new file name for the next (and subsequent) volume(s)\n\ X q Abort tar\n\ X ! Spawn a subshell\n\ X ? Print this list\n")); X } X break; X X case 'q': X /* Quit. */ X X fprintf (stdlis, _("No new volume; exiting.\n")); X X if (subcommand_option != EXTRACT_SUBCOMMAND X && subcommand_option != LIST_SUBCOMMAND X && subcommand_option != DIFF_SUBCOMMAND) X WARN ((0, 0, _("WARNING: Archive is incomplete"))); X X exit (TAREXIT_FAILURE); X X case 'n': X /* Get new file name. */ X X { X char *name = &input_buffer[1]; X char *cursor; X X while (*name == ' ' || *name == '\t') X name++; X cursor = name; X while (*cursor && *cursor != '\n') X cursor++; X *cursor = '\0'; X X /* FIXME: the following allocation is never reclaimed. */ X *archive_name_cursor = xstrdup (name); X } X break; X X case '!': #if MSDOS X spawnl (P_WAIT, getenv ("COMSPEC"), "-", 0); #else /* not MSDOS */ X switch (fork ()) X { X case -1: X WARN ((0, errno, _("Cannot fork!"))); X break; X X case 0: X { X const char *shell = getenv ("SHELL"); X X if (shell == NULL) X shell = "/bin/sh"; X execlp (shell, "-sh", "-i", 0); X FATAL_ERROR ((0, errno, _("Cannot exec a shell %s"), X shell)); X } X X default: X { X WAIT_T wait_status; X X wait (&wait_status); X } X break; X } X X /* FIXME: I'm not sure if that's all that has to be done X here. (jk) */ X #endif /* not MSDOS */ X break; X } X } X } X X if (verify_option) X archive = rmtopen (*archive_name_cursor, O_RDWR | O_CREAT, 0666, X rsh_command_option); X else X switch (access) X { X case ACCESS_READ: X archive = rmtopen (*archive_name_cursor, O_RDONLY, 0666, X rsh_command_option); X break; X X case ACCESS_WRITE: X if (backup_option) X maybe_backup_file (*archive_name_cursor, 1); X archive = rmtcreat (*archive_name_cursor, 0666, rsh_command_option); X break; X X case ACCESS_UPDATE: X archive = rmtopen (*archive_name_cursor, O_RDWR | O_CREAT, 0666, X rsh_command_option); X break; X } X X if (archive < 0) X { X WARN ((0, errno, _("Cannot open %s"), *archive_name_cursor)); X if (!verify_option && access == ACCESS_WRITE && backup_option) X undo_last_backup (); X goto tryagain; X } X #if MSDOS X setmode (archive, O_BINARY); #endif X X return 1; } SHAR_EOF $shar_touch -am 0425094897 'tar-1.12/src/buffer.c' && chmod 0644 'tar-1.12/src/buffer.c' || $echo 'restore of' 'tar-1.12/src/buffer.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/src/buffer.c:' 'MD5 check failed' 14b86f3f794333be77978fea61e32748 tar-1.12/src/buffer.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/src/buffer.c'`" test 43814 -eq "$shar_count" || $echo 'tar-1.12/src/buffer.c:' 'original size' '43814,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/src/compare.c ============== if test -f 'tar-1.12/src/compare.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/src/compare.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/src/compare.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/src/compare.c' && /* Diff files from a tar archive. X Copyright (C) 1988, 92, 93, 94, 96, 97 Free Software Foundation, Inc. X Written by John Gilmore, on 1987-04-30. X X This program is free software; you can redistribute it and/or modify it X under the terms of the GNU General Public License as published by the X Free Software Foundation; either version 2, or (at your option) any later X version. X X This program is distributed in the hope that it will be useful, but X WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General X Public License for more details. X X You should have received a copy of the GNU General Public License along X with this program; if not, write to the Free Software Foundation, Inc., X 59 Place - Suite 330, Boston, MA 02111-1307, USA. */ X #include "system.h" X #if HAVE_LINUX_FD_H # include #endif X #include "common.h" #include "rmt.h" X /* Spare space for messages, hopefully safe even after gettext. */ #define MESSAGE_BUFFER_SIZE 100 X /* Nonzero if we are verifying at the moment. */ int now_verifying = 0; X /* File descriptor for the file we are diffing. */ static int diff_handle; X /* Area for reading file contents into. */ static char *diff_buffer = NULL; X /*--------------------------------. | Initialize for a diff operation | `--------------------------------*/ X void diff_init (void) { X diff_buffer = (char *) valloc ((unsigned) record_size); X if (!diff_buffer) X FATAL_ERROR ((0, 0, X _("Could not allocate memory for diff buffer of %d bytes"), X record_size)); } X /*------------------------------------------------------------------------. | Sigh about something that differs by writing a MESSAGE to stdlis, given | | MESSAGE is not NULL. Also set the exit status if not already. | `------------------------------------------------------------------------*/ X static void report_difference (const char *message) { X if (message) X fprintf (stdlis, "%s: %s\n", current_file_name, message); X X if (exit_status == TAREXIT_SUCCESS) X exit_status = TAREXIT_DIFFERS; } X /*-----------------------------------------------------------------------. | Takes a buffer returned by read_and_process and does nothing with it. | `-----------------------------------------------------------------------*/ X /* Yes, I know. SIZE and DATA are unused in this function. Some compilers X may even report it. That's OK, just relax! */ X static int process_noop (long size, char *data) { X return 1; } X /*---. | ? | `---*/ X static int process_rawdata (long bytes, char *buffer) { X int status = read (diff_handle, diff_buffer, (size_t) bytes); X char message[MESSAGE_BUFFER_SIZE]; X X if (status != bytes) X { X if (status < 0) X { X WARN ((0, errno, _("Cannot read %s"), current_file_name)); X report_difference (NULL); X } X else X { X sprintf (message, _("Could only read %d of %ld bytes"), X status, bytes); X report_difference (message); X } X return 0; X } X X if (memcmp (buffer, diff_buffer, (size_t) bytes)) X { X report_difference (_("Data differs")); X return 0; X } X X return 1; } X /*---. | ? | `---*/ X /* Directory contents, only for GNUTYPE_DUMPDIR. */ X static char *dumpdir_cursor; X static int process_dumpdir (long bytes, char *buffer) { X if (memcmp (buffer, dumpdir_cursor, (size_t) bytes)) X { X report_difference (_("Data differs")); X return 0; X } X X dumpdir_cursor += bytes; X return 1; } X /*------------------------------------------------------------------------. | Some other routine wants SIZE bytes in the archive. For each chunk of | | the archive, call PROCESSOR with the size of the chunk, and the address | | of the chunk it can work with. The PROCESSOR should return nonzero for | | success. It it return error once, continue skipping without calling | | PROCESSOR anymore. | `------------------------------------------------------------------------*/ X static void read_and_process (long size, int (*processor) (long, char *)) { X union block *data_block; X long data_size; X X if (multi_volume_option) X save_sizeleft = size; X while (size) X { X data_block = find_next_block (); X if (data_block == NULL) X { X ERROR ((0, 0, _("Unexpected EOF on archive file"))); X return; X } X X data_size = available_space_after (data_block); X if (data_size > size) X data_size = size; X if (!(*processor) (data_size, data_block->buffer)) X processor = process_noop; X set_next_block_after ((union block *) X (data_block->buffer + data_size - 1)); X size -= data_size; X if (multi_volume_option) X save_sizeleft -= data_size; X } } X /*---. | ? | `---*/ X /* JK This routine should be used more often than it is ... look into X that. Anyhow, what it does is translate the sparse information on the X header, and in any subsequent extended headers, into an array of X structures with true numbers, as opposed to character strings. It X simply makes our life much easier, doing so many comparisong and such. X */ X static void fill_in_sparse_array (void) { X int counter; X X /* Allocate space for our scratch space; it's initially 10 elements X long, but can change in this routine if necessary. */ X X sp_array_size = 10; X sparsearray = (struct sp_array *) xmalloc (sp_array_size * sizeof (struct sp_array)); X X /* There are at most five of these structures in the header itself; X read these in first. */ X X for (counter = 0; counter < SPARSES_IN_OLDGNU_HEADER; counter++) X { X /* Compare to 0, or use !(int)..., for Pyramid's dumb compiler. */ X if (current_header->oldgnu_header.sp[counter].numbytes == 0) X break; X X sparsearray[counter].offset = X from_oct (1 + 12, current_header->oldgnu_header.sp[counter].offset); X sparsearray[counter].numbytes = X from_oct (1 + 12, current_header->oldgnu_header.sp[counter].numbytes); X } X X /* If the header's extended, we gotta read in exhdr's till we're done. */ X X if (current_header->oldgnu_header.isextended) X { X /* How far into the sparsearray we are `so far'. */ X static int so_far_ind = SPARSES_IN_OLDGNU_HEADER; X union block *exhdr; X X while (1) X { X exhdr = find_next_block (); X for (counter = 0; counter < SPARSES_IN_SPARSE_HEADER; counter++) X { X if (counter + so_far_ind > sp_array_size - 1) X { X /* We just ran out of room in our scratch area - X realloc it. */ X X sp_array_size *= 2; X sparsearray = (struct sp_array *) X xrealloc (sparsearray, X sp_array_size * sizeof (struct sp_array)); X } X X /* Convert the character strings into longs. */ X X sparsearray[counter + so_far_ind].offset = X from_oct (1 + 12, exhdr->sparse_header.sp[counter].offset); X sparsearray[counter + so_far_ind].numbytes = X from_oct (1 + 12, exhdr->sparse_header.sp[counter].numbytes); X } X X /* If this is the last extended header for this file, we can X stop. */ X X if (!exhdr->sparse_header.isextended) X break; X X so_far_ind += SPARSES_IN_SPARSE_HEADER; X set_next_block_after (exhdr); X } X X /* Be sure to skip past the last one. */ X X set_next_block_after (exhdr); X } } X /*---. | ? | `---*/ X /* JK Diff'ing a sparse file with its counterpart on the tar file is a X bit of a different story than a normal file. First, we must know what X areas of the file to skip through, i.e., we need to contruct a X sparsearray, which will hold all the information we need. We must X compare small amounts of data at a time as we find it. */ X /* FIXME: This does not look very solid to me, at first glance. Zero areas X are not checked, spurious sparse entries seemingly goes undetected, and X I'm not sure overall identical sparsity is verified. */ X static void diff_sparse_files (int size_of_file) { X int remaining_size = size_of_file; X char *buffer = (char *) xmalloc (BLOCKSIZE * sizeof (char)); X int buffer_size = BLOCKSIZE; X union block *data_block = NULL; X int counter = 0; X int different = 0; X X fill_in_sparse_array (); X X while (remaining_size > 0) X { X int status; X long chunk_size; #if 0 X int amount_read = 0; #endif X X data_block = find_next_block (); X chunk_size = sparsearray[counter].numbytes; X if (!chunk_size) X break; X X lseek (diff_handle, sparsearray[counter].offset, 0); X X /* Take care to not run out of room in our buffer. */ X X while (buffer_size < chunk_size) X { X buffer_size *= 2; X buffer = (char *) xrealloc (buffer, buffer_size * sizeof (char)); X } X X while (chunk_size > BLOCKSIZE) X { X if (status = read (diff_handle, buffer, BLOCKSIZE), X status != BLOCKSIZE) X { X if (status < 0) X { X WARN ((0, errno, _("Cannot read %s"), current_file_name)); X report_difference (NULL); X } X else X { X char message[MESSAGE_BUFFER_SIZE]; X X sprintf (message, _("Could only read %d of %ld bytes"), X status, chunk_size); X report_difference (message); X } X break; X } X X if (memcmp (buffer, data_block->buffer, BLOCKSIZE)) X { X different = 1; X break; X } X X chunk_size -= status; X remaining_size -= status; X set_next_block_after (data_block); X data_block = find_next_block (); X } X if (status = read (diff_handle, buffer, (size_t) chunk_size), X status != chunk_size) X { X if (status < 0) X { X WARN ((0, errno, _("Cannot read %s"), current_file_name)); X report_difference (NULL); X } X else X { X char message[MESSAGE_BUFFER_SIZE]; X X sprintf (message, _("Could only read %d of %ld bytes"), X status, chunk_size); X report_difference (message); X } X break; X } X X if (memcmp (buffer, data_block->buffer, (size_t) chunk_size)) X { X different = 1; X break; X } #if 0 X amount_read += chunk_size; X if (amount_read >= BLOCKSIZE) X { X amount_read = 0; X set_next_block_after (data_block); X data_block = find_next_block (); X } #endif X set_next_block_after (data_block); X counter++; X remaining_size -= chunk_size; X } X #if 0 X /* If the number of bytes read isn't the number of bytes supposedly in X the file, they're different. */ X X if (amount_read != size_of_file) X different = 1; #endif X X set_next_block_after (data_block); X free (sparsearray); X X if (different) X report_difference (_("Data differs")); } X /*---------------------------------------------------------------------. | Call either stat or lstat over STAT_DATA, depending on --dereference | | (-h), for a file which should exist. Diagnose any problem. Return | | nonzero for success, zero otherwise. | `---------------------------------------------------------------------*/ X static int get_stat_data (struct stat *stat_data) { X int status = (dereference_option X ? stat (current_file_name, stat_data) X : lstat (current_file_name, stat_data)); X X if (status < 0) X { X if (errno == ENOENT) X report_difference (_("File does not exist")); X else X { X ERROR ((0, errno, _("Cannot stat file %s"), current_file_name)); X report_difference (NULL); X } #if 0 X skip_file ((long) current_stat.st_size); #endif X return 0; X } X X return 1; } X /*----------------------------------. | Diff a file against the archive. | `----------------------------------*/ X void diff_archive (void) { X struct stat stat_data; X int name_length; X int status; X X errno = EPIPE; /* FIXME: errno should be read-only */ X /* FIXME: remove perrors */ X X set_next_block_after (current_header); X decode_header (current_header, ¤t_stat, ¤t_format, 1); X X /* Print the block from `current_header' and `current_stat'. */ X X if (verbose_option) X { X if (now_verifying) X fprintf (stdlis, _("Verify ")); X print_header (); X } X X switch (current_header->header.typeflag) X { X default: X WARN ((0, 0, _("Unknown file type '%c' for %s, diffed as normal file"), X current_header->header.typeflag, current_file_name)); X /* Fall through. */ X X case AREGTYPE: X case REGTYPE: X case GNUTYPE_SPARSE: X case CONTTYPE: X X /* Appears to be a file. See if it's really a directory. */ X X name_length = strlen (current_file_name) - 1; X if (current_file_name[name_length] == '/') X goto really_dir; X X if (!get_stat_data (&stat_data)) X { X if (current_header->oldgnu_header.isextended) X skip_extended_headers (); X skip_file ((long) current_stat.st_size); X goto quit; X } X X if (!S_ISREG (stat_data.st_mode)) X { X report_difference (_("Not a regular file")); X skip_file ((long) current_stat.st_size); X goto quit; X } X X stat_data.st_mode &= 07777; X if (stat_data.st_mode != current_stat.st_mode) X report_difference (_("Mode differs")); X #if !MSDOS X /* stat() in djgpp's C library gives a constant number of 42 as the X uid and gid of a file. So, comparing an FTP'ed archive just after X unpack would fail on MSDOS. */ X if (stat_data.st_uid != current_stat.st_uid) X report_difference (_("Uid differs")); X if (stat_data.st_gid != current_stat.st_gid) X report_difference (_("Gid differs")); #endif X X if (stat_data.st_mtime != current_stat.st_mtime) X report_difference (_("Mod time differs")); X if (current_header->header.typeflag != GNUTYPE_SPARSE && X stat_data.st_size != current_stat.st_size) X { X report_difference (_("Size differs")); X skip_file ((long) current_stat.st_size); X goto quit; X } X X diff_handle = open (current_file_name, O_NDELAY | O_RDONLY | O_BINARY); X X if (diff_handle < 0 && !absolute_names_option) X { X char *tmpbuf = xmalloc (strlen (current_file_name) + 2); X X *tmpbuf = '/'; X strcpy (tmpbuf + 1, current_file_name); X diff_handle = open (tmpbuf, O_NDELAY | O_RDONLY); X free (tmpbuf); X } X if (diff_handle < 0) X { X ERROR ((0, errno, _("Cannot open %s"), current_file_name)); X if (current_header->oldgnu_header.isextended) X skip_extended_headers (); X skip_file ((long) current_stat.st_size); X report_difference (NULL); X goto quit; X } X X /* Need to treat sparse files completely differently here. */ X X if (current_header->header.typeflag == GNUTYPE_SPARSE) X diff_sparse_files (current_stat.st_size); X else X { X if (multi_volume_option) X { X assign_string (&save_name, current_file_name); X save_totsize = current_stat.st_size; X /* save_sizeleft is set in read_and_process. */ X } X X read_and_process ((long) (current_stat.st_size), process_rawdata); X X if (multi_volume_option) X assign_string (&save_name, NULL); X } X X status = close (diff_handle); X if (status < 0) X ERROR ((0, errno, _("Error while closing %s"), current_file_name)); X X quit: X break; X #if !MSDOS X case LNKTYPE: X { X dev_t dev; X ino_t ino; X X if (!get_stat_data (&stat_data)) X break; X X dev = stat_data.st_dev; X ino = stat_data.st_ino; X status = stat (current_link_name, &stat_data); X if (status < 0) X { X if (errno == ENOENT) X report_difference (_("Does not exist")); X else X { X WARN ((0, errno, _("Cannot stat file %s"), current_file_name)); X report_difference (NULL); X } X break; X } X X if (stat_data.st_dev != dev || stat_data.st_ino != ino) X { X char *message = (char *) X xmalloc (MESSAGE_BUFFER_SIZE + strlen (current_link_name)); X X sprintf (message, _("Not linked to %s"), current_link_name); X report_difference (message); X free (message); X break; X } X X break; X } #endif /* not MSDOS */ X #ifdef S_ISLNK X case SYMTYPE: X { X char linkbuf[NAME_FIELD_SIZE + 3]; /* FIXME: may be too short. */ X X status = readlink (current_file_name, linkbuf, (sizeof linkbuf) - 1); X X if (status < 0) X { X if (errno == ENOENT) X report_difference (_("No such file or directory")); X else X { X WARN ((0, errno, _("Cannot read link %s"), current_file_name)); X report_difference (NULL); X } X break; X } X X linkbuf[status] = '\0'; /* null-terminate it */ X if (strncmp (current_link_name, linkbuf, (size_t) status) != 0) X report_difference (_("Symlink differs")); X X break; X } #endif /* not S_ISLNK */ X #ifdef S_IFCHR X case CHRTYPE: X current_stat.st_mode |= S_IFCHR; X goto check_node; #endif /* not S_IFCHR */ X #ifdef S_IFBLK X /* If local system doesn't support block devices, use default case. */ X X case BLKTYPE: X current_stat.st_mode |= S_IFBLK; X goto check_node; #endif /* not S_IFBLK */ X #ifdef S_ISFIFO X /* If local system doesn't support FIFOs, use default case. */ X X case FIFOTYPE: # ifdef S_IFIFO X current_stat.st_mode |= S_IFIFO; # endif X current_stat.st_rdev = 0; /* FIXME: do we need this? */ X goto check_node; #endif /* S_ISFIFO */ X X check_node: X /* FIXME: deal with umask. */ X X if (!get_stat_data (&stat_data)) X break; X X if (current_stat.st_rdev != stat_data.st_rdev) X { X report_difference (_("Device numbers changed")); X break; X } X X if ( #ifdef S_IFMT X current_stat.st_mode != stat_data.st_mode #else X /* POSIX lossage. */ X (current_stat.st_mode & 07777) != (stat_data.st_mode & 07777) #endif X ) X { X report_difference (_("Mode or device-type changed")); X break; X } X X break; X X case GNUTYPE_DUMPDIR: X { X char *dumpdir_buffer = get_directory_contents (current_file_name, 0); X X if (multi_volume_option) X { X assign_string (&save_name, current_file_name); X save_totsize = current_stat.st_size; X /* save_sizeleft is set in read_and_process. */ X } X X if (dumpdir_buffer) X { X dumpdir_cursor = dumpdir_buffer; X read_and_process ((long) (current_stat.st_size), process_dumpdir); X free (dumpdir_buffer); X } X else X read_and_process ((long) (current_stat.st_size), process_noop); X X if (multi_volume_option) X assign_string (&save_name, NULL); X /* Fall through. */ X } X X case DIRTYPE: X /* Check for trailing /. */ X X name_length = strlen (current_file_name) - 1; X X really_dir: X while (name_length && current_file_name[name_length] == '/') X current_file_name[name_length--] = '\0'; /* zap / */ X X if (!get_stat_data (&stat_data)) X break; X X if (!S_ISDIR (stat_data.st_mode)) X { X report_difference (_("No longer a directory")); X break; X } X X if ((stat_data.st_mode & 07777) != (current_stat.st_mode & 07777)) X report_difference (_("Mode differs")); X break; X X case GNUTYPE_VOLHDR: X break; X X case GNUTYPE_MULTIVOL: X { X off_t offset; X X name_length = strlen (current_file_name) - 1; X if (current_file_name[name_length] == '/') X goto really_dir; X X if (!get_stat_data (&stat_data)) X break; X X if (!S_ISREG (stat_data.st_mode)) X { X report_difference (_("Not a regular file")); X skip_file ((long) current_stat.st_size); X break; X } X X stat_data.st_mode &= 07777; X offset = from_oct (1 + 12, current_header->oldgnu_header.offset); X if (stat_data.st_size != current_stat.st_size + offset) X { X report_difference (_("Size differs")); X skip_file ((long) current_stat.st_size); X break; X } X X diff_handle = open (current_file_name, O_NDELAY | O_RDONLY | O_BINARY); X X if (diff_handle < 0) X { X WARN ((0, errno, _("Cannot open file %s"), current_file_name)); X report_difference (NULL); X skip_file ((long) current_stat.st_size); X break; X } X X status = lseek (diff_handle, offset, 0); X if (status != offset) X { X WARN ((0, errno, _("Cannot seek to %ld in file %s"), X offset, current_file_name)); X report_difference (NULL); X break; X } X X if (multi_volume_option) X { X assign_string (&save_name, current_file_name); X save_totsize = stat_data.st_size; X /* save_sizeleft is set in read_and_process. */ X } X X read_and_process ((long) (current_stat.st_size), process_rawdata); X X if (multi_volume_option) X assign_string (&save_name, NULL); X X status = close (diff_handle); X if (status < 0) X ERROR ((0, errno, _("Error while closing %s"), current_file_name)); X X break; X } X } } X /*---. | ? | `---*/ X void verify_volume (void) { X if (!diff_buffer) X diff_init (); X X /* Verifying an archive is meant to check if the physical media got it X correctly, so try to defeat clever in-memory buffering pertaining to X this particular media. On Linux, for example, the floppy drive would X not even be accessed for the whole verification. X X The code was using fsync only when the ioctl is unavailable, but X Marty Leisner says that the ioctl does not work when not preceded by X fsync. So, until we know better, or maybe to please Marty, let's do it X the unbelievable way :-). */ X #if HAVE_FSYNC X fsync (archive); #endif #ifdef FDFLUSH X ioctl (archive, FDFLUSH); #endif X #ifdef MTIOCTOP X { X struct mtop operation; X int status; X X operation.mt_op = MTBSF; X operation.mt_count = 1; X if (status = rmtioctl (archive, MTIOCTOP, (char *) &operation), status < 0) X { X if (errno != EIO X || (status = rmtioctl (archive, MTIOCTOP, (char *) &operation), X status < 0)) X { #endif X if (rmtlseek (archive, 0L, 0) != 0) X { X /* Lseek failed. Try a different method. */ X X WARN ((0, errno, X _("Could not rewind archive file for verify"))); X return; X } #ifdef MTIOCTOP X } X } X } #endif X X access_mode = ACCESS_READ; X now_verifying = 1; X X flush_read (); X while (1) X { X enum read_header status = read_header (); X X if (status == HEADER_FAILURE) X { X int counter = 0; X X while (status == HEADER_FAILURE); X { X counter++; X status = read_header (); X } X ERROR ((0, 0, X _("VERIFY FAILURE: %d invalid header(s) detected"), counter)); X } X if (status == HEADER_ZERO_BLOCK || status == HEADER_END_OF_FILE) X break; X X diff_archive (); X } X X access_mode = ACCESS_WRITE; X now_verifying = 0; } SHAR_EOF $shar_touch -am 0415163497 'tar-1.12/src/compare.c' && chmod 0644 'tar-1.12/src/compare.c' || $echo 'restore of' 'tar-1.12/src/compare.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/src/compare.c:' 'MD5 check failed' 1a87708f1f8c1d1ed5eb24b924c33441 tar-1.12/src/compare.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/src/compare.c'`" test 21838 -eq "$shar_count" || $echo 'tar-1.12/src/compare.c:' 'original size' '21838,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/src/create.c ============== if test -f 'tar-1.12/src/create.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/src/create.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/src/create.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/src/create.c' && /* Create a tar archive. X Copyright (C) 1985, 92, 93, 94, 96, 97 Free Software Foundation, Inc. X Written by John Gilmore, on 1985-08-25. X X This program is free software; you can redistribute it and/or modify it X under the terms of the GNU General Public License as published by the X Free Software Foundation; either version 2, or (at your option) any later X version. X X This program is distributed in the hope that it will be useful, but X WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General X Public License for more details. X X You should have received a copy of the GNU General Public License along X with this program; if not, write to the Free Software Foundation, Inc., X 59 Place - Suite 330, Boston, MA 02111-1307, USA. */ X #include "system.h" X #if !MSDOS # include # include #endif X #if HAVE_UTIME_H # include #else struct utimbuf X { X long actime; X long modtime; X }; #endif X #include "common.h" X #ifndef MSDOS extern dev_t ar_dev; extern ino_t ar_ino; #endif X extern struct name *gnu_list_name; X /* This module is the only one that cares about `struct link's. */ X struct link X { X struct link *next; X dev_t dev; X ino_t ino; X short linkcount; X char name[1]; X }; X struct link *linklist = NULL; /* points to first link in list */ X X /*------------------------------------------------------------------------. | Converts long VALUE into a DIGS-digit field at WHERE, including a | | trailing space and room for a NUL. For example, 3 for DIGS 3 means one | | digit, a space, and room for a NUL. | | | | We assume the trailing NUL is already there and don't fill it in. This | | fact is used by start_header and finish_header, so don't change it! | `------------------------------------------------------------------------*/ X /* This should be equivalent to: sprintf (WHERE, "%*lo ", DIGS - 2, VALUE); X except that sprintf fills in the trailing NUL and we don't. */ X void to_oct (long value, int digs, char *where) { X --digs; /* Trailing null slot is left alone */ X where[--digs] = ' '; /* put in the space, though */ X X /* Produce the digits -- at least one. */ X X do X { X where[--digs] = '0' + (char) (value & 7); /* one octal digit */ X value >>= 3; X } X while (digs > 0 && value != 0); X X /* Leading spaces, if necessary. */ X while (digs > 0) X where[--digs] = ' '; } X /* Writing routines. */ X /*-----------------------------------------------------------------------. | Just zeroes out the buffer so we don't confuse ourselves with leftover | | data. | `-----------------------------------------------------------------------*/ X static void clear_buffer (char *buffer) { X memset (buffer, 0, BLOCKSIZE); } X /*-------------------------------------------------------------------------. | Write the EOT block(s). We actually zero at least one block, through | | the end of the record. Old tar, as previous versions of GNU tar, writes | | garbage after two zeroed blocks. | `-------------------------------------------------------------------------*/ X void write_eot (void) { X union block *pointer = find_next_block (); X X if (pointer) X { X int space = available_space_after (pointer); X X memset (pointer->buffer, 0, (size_t) space); X set_next_block_after (pointer); X } } X /*-----------------------------------------------------. | Write a GNUTYPE_LONGLINK or GNUTYPE_LONGNAME block. | `-----------------------------------------------------*/ X /* FIXME: Cross recursion between start_header and write_long! */ X static union block *start_header PARAMS ((const char *, struct stat *)); X static void write_long (const char *p, char type) { X int size = strlen (p) + 1; X int bufsize; X union block *header; X struct stat foo; X X memset (&foo, 0, sizeof foo); X foo.st_size = size; X X header = start_header ("././@LongLink", &foo); X header->header.typeflag = type; X finish_header (header); X X header = find_next_block (); X X bufsize = available_space_after (header); X X while (bufsize < size) X { X memcpy (header->buffer, p, (size_t) bufsize); X p += bufsize; X size -= bufsize; X set_next_block_after (header + (bufsize - 1) / BLOCKSIZE); X header = find_next_block (); X bufsize = available_space_after (header); X } X memcpy (header->buffer, p, (size_t) size); X memset (header->buffer + size, 0, (size_t) (bufsize - size)); X set_next_block_after (header + (size - 1) / BLOCKSIZE); } X /* Header handling. */ X /*---------------------------------------------------------------------. | Make a header block for the file name whose stat info is st. Return | | header pointer for success, NULL if the name is too long. | `---------------------------------------------------------------------*/ X static union block * start_header (const char *name, struct stat *st) { X union block *header; X X if (!absolute_names_option) X { X static int warned_once = 0; X #if MSDOS X if (name[1] == ':') X { X name += 2; X if (!warned_once) X { X warned_once = 1; X WARN ((0, 0, _("Removing drive spec from names in the archive"))); X } X } #endif X X while (*name == '/') X { X name++; /* force relative path */ X if (!warned_once) X { X warned_once = 1; X WARN ((0, 0, _("\ Removing leading `/' from absolute path names in the archive"))); X } X } X } X X /* Check the file name and put it in the block. */ X X if (strlen (name) >= (size_t) NAME_FIELD_SIZE) X write_long (name, GNUTYPE_LONGNAME); X header = find_next_block (); X memset (header->buffer, 0, sizeof (union block)); X X assign_string (¤t_file_name, name); X X strncpy (header->header.name, name, NAME_FIELD_SIZE); X header->header.name[NAME_FIELD_SIZE - 1] = '\0'; X X /* Override some stat fields, if requested to do so. */ X X if (owner_option != (uid_t) -1) X st->st_uid = owner_option; X if (group_option != (gid_t) -1) X st->st_gid = group_option; X if (mode_option) X st->st_mode = ((st->st_mode & S_IFMT) X | mode_adjust (st->st_mode, mode_option)); X X /* Paul Eggert tried the trivial test ($WRITER cf a b; $READER tvf a) X for a few tars and came up with the following interoperability X matrix: X X WRITER X 1 2 3 4 5 6 7 8 9 READER X . . . . . . . . . 1 = SunOS 4.2 tar X # . . # # . . # # 2 = NEC SVR4.0.2 tar X . . . # # . . # . 3 = Solaris 2.1 tar X . . . . . . . . . 4 = GNU tar 1.11.1 X . . . . . . . . . 5 = HP-UX 8.07 tar X . . . . . . . . . 6 = Ultrix 4.1 X . . . . . . . . . 7 = AIX 3.2 X . . . . . . . . . 8 = Hitachi HI-UX 1.03 X . . . . . . . . . 9 = Omron UNIOS-B 4.3BSD 1.60Beta X X . = works X # = ``impossible file type'' X X The following mask for old archive removes the `#'s in column 4 X above, thus making GNU tar both a universal donor and a universal X acceptor for Paul's test. */ X X if (archive_format == V7_FORMAT) X to_oct ((long) st->st_mode & 07777, 8, header->header.mode); X else X to_oct ((long) st->st_mode, 8, header->header.mode); X X to_oct ((long) st->st_uid, 8, header->header.uid); X to_oct ((long) st->st_gid, 8, header->header.gid); X to_oct ((long) st->st_size, 1 + 12, header->header.size); X to_oct ((long) st->st_mtime, 1 + 12, header->header.mtime); X X if (incremental_option) X if (archive_format == OLDGNU_FORMAT) X { X to_oct ((long) st->st_atime, 1 + 12, header->oldgnu_header.atime); X to_oct ((long) st->st_ctime, 1 + 12, header->oldgnu_header.ctime); X } X X header->header.typeflag = archive_format == V7_FORMAT ? AREGTYPE : REGTYPE; X X switch (archive_format) X { X case DEFAULT_FORMAT: X case V7_FORMAT: X break; X X case OLDGNU_FORMAT: X /* Overwrite header->header.magic and header.version in one blow. */ X strcpy (header->header.magic, OLDGNU_MAGIC); X break; X X case POSIX_FORMAT: X case GNU_FORMAT: X strncpy (header->header.magic, TMAGIC, TMAGLEN); X strncpy (header->header.version, TVERSION, TVERSLEN); X break; X } X X if (archive_format == V7_FORMAT || numeric_owner_option) X { X /* header->header.[ug]name are left as the empty string. */ X } X else X { X uid_to_uname (st->st_uid, header->header.uname); X gid_to_gname (st->st_gid, header->header.gname); X } X X return header; } X /*-------------------------------------------------------------------------. | Finish off a filled-in header block and write it out. We also print the | | file name and/or full info if verbose is on. | `-------------------------------------------------------------------------*/ X void finish_header (union block *header) { X int i, sum; X char *p; X X memcpy (header->header.chksum, CHKBLANKS, sizeof (header->header.chksum)); X X sum = 0; X p = header->buffer; X for (i = sizeof (*header); --i >= 0; ) X /* We can't use unsigned char here because of old compilers, e.g. V7. */ X sum += 0xFF & *p++; X X /* Fill in the checksum field. It's formatted differently from the X other fields: it has [6] digits, a null, then a space -- rather than X digits, a space, then a null. We use to_oct then write the null in X over to_oct's space. The final space is already there, from X checksumming, and to_oct doesn't modify it. X X This is a fast way to do: X X sprintf(header->header.chksum, "%6o", sum); */ X X to_oct ((long) sum, 8, header->header.chksum); X header->header.chksum[6] = '\0'; /* zap the space */ X X set_next_block_after (header); X X if (verbose_option X && header->header.typeflag != GNUTYPE_LONGLINK X && header->header.typeflag != GNUTYPE_LONGNAME) X { X /* These globals are parameters to print_header, sigh. */ X X current_header = header; X /* current_stat is already set up. */ X current_format = archive_format; X print_header (); X } } X /* Sparse file processing. */ X /*-------------------------------------------------------------------------. | Takes a blockful of data and basically cruises through it to see if it's | | made *entirely* of zeros, returning a 0 the instant it finds something | | that is a nonzero, i.e., useful data. | `-------------------------------------------------------------------------*/ X static int zero_block_p (char *buffer) { X int counter; X X for (counter = 0; counter < BLOCKSIZE; counter++) X if (buffer[counter] != '\0') X return 0; X return 1; } X /*---. | ? | `---*/ X static void init_sparsearray (void) { X int counter; X X sp_array_size = 10; X X /* Make room for our scratch space -- initially is 10 elts long. */ X X sparsearray = (struct sp_array *) X xmalloc (sp_array_size * sizeof (struct sp_array)); X for (counter = 0; counter < sp_array_size; counter++) X { X sparsearray[counter].offset = 0; X sparsearray[counter].numbytes = 0; X } } X /*---. | ? | `---*/ X static void find_new_file_size (int *filesize, int highest_index) { X int counter; X X *filesize = 0; X for (counter = 0; X sparsearray[counter].numbytes && counter <= highest_index; X counter++) X *filesize += sparsearray[counter].numbytes; } X /*-----------------------------------------------------------------------. | Make one pass over the file NAME, studying where any non-zero data is, | | that is, how far into the file each instance of data is, and how many | | bytes are there. Save this information in the sparsearray, which will | | later be translated into header information. | `-----------------------------------------------------------------------*/ X /* There is little point in trimming small amounts of null data at the head X and tail of blocks, only avoid dumping full null blocks. */ X /* FIXME: this routine might accept bits of algorithmic cleanup, it is X too kludgey for my taste... */ X static int deal_with_sparse (char *name, union block *header) { X long numbytes = 0; X long offset = 0; X int file; X int sparse_index = 0; X int count; X char buffer[BLOCKSIZE]; X X if (archive_format == OLDGNU_FORMAT) X header->oldgnu_header.isextended = 0; X X if (file = open (name, O_RDONLY), file < 0) X /* This problem will be caught later on, so just return. */ X return 0; X X init_sparsearray (); X clear_buffer (buffer); X X while (count = read (file, buffer, sizeof buffer), count != 0) X { X /* Realloc the scratch area as necessary. FIXME: should reallocate X only at beginning of a new instance of non-zero data. */ X X if (sparse_index > sp_array_size - 1) X { X X sparsearray = (struct sp_array *) X xrealloc (sparsearray, X 2 * sp_array_size * sizeof (struct sp_array)); X sp_array_size *= 2; X } X X /* Process one block. */ X X if (count == sizeof buffer) X X if (zero_block_p (buffer)) X { X if (numbytes) X { X sparsearray[sparse_index++].numbytes = numbytes; X numbytes = 0; X } X } X else X { X if (!numbytes) X sparsearray[sparse_index].offset = offset; X numbytes += count; X } X X else X X /* Since count < sizeof buffer, we have the last bit of the file. */ X X if (!zero_block_p (buffer)) X { X if (!numbytes) X sparsearray[sparse_index].offset = offset; X numbytes += count; X } X else X /* The next two lines are suggested by Andreas Degert, who says X they are required for trailing full blocks to be written to the X archive, when all zeroed. Yet, it seems to me that the case X does not apply. Further, at restore time, the file is not as X sparse as it should. So, some serious cleanup is *also* needed X in this area. Just one more... :-(. FIXME. */ X if (numbytes) X numbytes += count; X X /* Prepare for next block. */ X X offset += count; X /* FIXME: do not clear unless necessary. */ X clear_buffer (buffer); X } X X if (numbytes) X sparsearray[sparse_index++].numbytes = numbytes; X else X { X sparsearray[sparse_index].offset = offset - 1; X sparsearray[sparse_index++].numbytes = 1; X } X X close (file); X return sparse_index - 1; } X /*---. | ? | `---*/ X static int finish_sparse_file (int file, long *sizeleft, long fullsize, char *name) { X union block *start; X int bufsize; X int sparse_index = 0; X int count; X long pos; X long nwritten = 0; X X while (*sizeleft > 0) X { X start = find_next_block (); X memset (start->buffer, 0, BLOCKSIZE); X bufsize = sparsearray[sparse_index].numbytes; X if (!bufsize) X { X /* We blew it, maybe. */ X X ERROR ((0, 0, _("Wrote %ld of %ld bytes to file %s"), X fullsize - *sizeleft, fullsize, name)); X break; X } X pos = lseek (file, sparsearray[sparse_index++].offset, 0); X X /* If the number of bytes to be written here exceeds the size of X the temporary buffer, do it in steps. */ X X while (bufsize > BLOCKSIZE) X { #if 0 X if (amount_read) X { X count = read (file, start->buffer + amount_read, X BLOCKSIZE - amount_read); X bufsize -= BLOCKSIZE - amount_read; X amount_read = 0; X set_next_block_after (start); X start = find_next_block (); X memset (start->buffer, 0, BLOCKSIZE); X } #endif X /* Store the data. */ X X count = read (file, start->buffer, BLOCKSIZE); X if (count < 0) X { X ERROR ((0, errno, _("\ Read error at byte %ld, reading %d bytes, in file %s"), X fullsize - *sizeleft, bufsize, name)); X return 1; X } X bufsize -= count; X *sizeleft -= count; X set_next_block_after (start); X nwritten += BLOCKSIZE; /* FIXME: ??? */ X start = find_next_block (); X memset (start->buffer, 0, BLOCKSIZE); X } X X { X char buffer[BLOCKSIZE]; X X clear_buffer (buffer); X count = read (file, buffer, (size_t) bufsize); X memcpy (start->buffer, buffer, BLOCKSIZE); X } X X if (count < 0) X { X ERROR ((0, errno, X _("Read error at byte %ld, reading %d bytes, in file %s"), X fullsize - *sizeleft, bufsize, name)); X return 1; X } #if 0 X if (amount_read >= BLOCKSIZE) X { X amount_read = 0; X set_next_block_after (start + (count - 1) / BLOCKSIZE); X if (count != bufsize) X { X ERROR ((0, 0, X _("File %s shrunk by %d bytes, padding with zeros"), X name, sizeleft)); X return 1; X } X start = find_next_block (); X } X else X amount_read += bufsize; #endif X nwritten += count; /* FIXME: ??? */ X *sizeleft -= count; X set_next_block_after (start); X X } X free (sparsearray); #if 0 X printf (_("Amount actually written is (I hope) %d.\n"), nwritten); X set_next_block_after (start + (count - 1) / BLOCKSIZE); #endif X return 0; } X /* Main functions of this module. */ X /*---. | ? | `---*/ X void create_archive (void) { X char *p; X X open_archive (ACCESS_WRITE); X X if (incremental_option) X { X char *buffer = xmalloc (PATH_MAX); X char *q, *bufp; X X collect_and_sort_names (); X X while (p = name_from_list (), p) X dump_file (p, -1, 1); X X blank_name_list (); X while (p = name_from_list (), p) X { X strcpy (buffer, p); X if (p[strlen (p) - 1] != '/') X strcat (buffer, "/"); X bufp = buffer + strlen (buffer); X for (q = gnu_list_name->dir_contents; X q && *q; X q += strlen (q) + 1) X { X if (*q == 'Y') X { X strcpy (bufp, q + 1); X dump_file (buffer, -1, 1); X } X } X } X free (buffer); X } X else X { X while (p = name_next (1), p) X dump_file (p, -1, 1); X } X X write_eot (); X close_archive (); X X if (listed_incremental_option) X write_dir_file (); } X /*----------------------------------------------------------------------. | Dump a single file. Recurse on directories. Result is nonzero for | | success. P is file name to dump. PARENT_DEVICE is device our parent | | directory was on. TOP_LEVEL tells wether we are a toplevel call. | | | | Sets global CURRENT_STAT to stat output for this file. | `----------------------------------------------------------------------*/ X /* FIXME: One should make sure that for *every* path leading to setting X exit_status to failure, a clear diagnostic has been issued. */ X void dump_file (char *p, int parent_device, int top_level) { X union block *header; X char type; X union block *exhdr; X char save_typeflag; X struct utimbuf restore_times; X X /* FIXME: `header' and `upperbound' might be used uninitialized in this X function. Reported by Bruno Haible. */ X X if (interactive_option && !confirm ("add", p)) X return; X X /* Use stat if following (rather than dumping) 4.2BSD's symbolic links. X Otherwise, use lstat (which falls back to stat if no symbolic links). */ X X if (dereference_option != 0 #ifdef STX_HIDDEN /* AIX */ X ? statx (p, ¤t_stat, STATSIZE, STX_HIDDEN) X : statx (p, ¤t_stat, STATSIZE, STX_HIDDEN | STX_LINK) #else X ? stat (p, ¤t_stat) : lstat (p, ¤t_stat) #endif X ) X { X WARN ((0, errno, _("Cannot add file %s"), p)); X if (!ignore_failed_read_option) X exit_status = TAREXIT_FAILURE; X return; X } X X restore_times.actime = current_stat.st_atime; X restore_times.modtime = current_stat.st_mtime; X #ifdef S_ISHIDDEN X if (S_ISHIDDEN (current_stat.st_mode)) X { X char *new = (char *) alloca (strlen (p) + 2); X if (new) X { X strcpy (new, p); X strcat (new, "@"); X p = new; X } X } #endif X X /* See if we only want new files, and check if this one is too old to X put in the archive. */ X X if (!incremental_option && !S_ISDIR (current_stat.st_mode) X && current_stat.st_mtime < newer_mtime_option X && (!after_date_option || current_stat.st_ctime < newer_ctime_option)) X { X if (parent_device == -1) X WARN ((0, 0, _("%s: is unchanged; not dumped"), p)); X /* FIXME: recheck this return. */ X return; X } X #if !MSDOS X /* See if we are trying to dump the archive. */ X X if (ar_dev && current_stat.st_dev == ar_dev && current_stat.st_ino == ar_ino) X { X WARN ((0, 0, _("%s is the archive; not dumped"), p)); X return; X } #endif X X /* Check for multiple links. X X We maintain a list of all such files that we've written so far. Any X time we see another, we check the list and avoid dumping the data X again if we've done it once already. */ X X if (current_stat.st_nlink > 1 X && (S_ISREG (current_stat.st_mode) #ifdef S_ISCTG X || S_ISCTG (current_stat.st_mode) #endif #ifdef S_ISCHR X || S_ISCHR (current_stat.st_mode) #endif #ifdef S_ISBLK X || S_ISBLK (current_stat.st_mode) #endif #ifdef S_ISFIFO X || S_ISFIFO (current_stat.st_mode) #endif X )) X { X struct link *lp; X X /* FIXME: First quick and dirty. Hashing, etc later. */ X X for (lp = linklist; lp; lp = lp->next) X if (lp->ino == current_stat.st_ino && lp->dev == current_stat.st_dev) X { X char *link_name = lp->name; X X /* We found a link. */ X X while (!absolute_names_option && *link_name == '/') X { X static int warned_once = 0; X X if (!warned_once) X { X warned_once = 1; X WARN ((0, 0, _("\ Removing leading `/' from absolute links"))); X } X link_name++; X } X if (strlen (link_name) >= NAME_FIELD_SIZE) X write_long (link_name, GNUTYPE_LONGLINK); X assign_string (¤t_link_name, link_name); X X current_stat.st_size = 0; X header = start_header (p, ¤t_stat); X if (header == NULL) X { X exit_status = TAREXIT_FAILURE; X return; X } X strncpy (header->header.linkname, X link_name, NAME_FIELD_SIZE); X X /* Force null truncated. */ X X header->header.linkname[NAME_FIELD_SIZE - 1] = 0; X X header->header.typeflag = LNKTYPE; X finish_header (header); X X /* FIXME: Maybe remove from list after all links found? */ X X if (remove_files_option) X if (unlink (p) == -1) X ERROR ((0, errno, _("Cannot remove %s"), p)); X X /* We dumped it. */ X return; X } X X /* Not found. Add it to the list of possible links. */ X X lp = (struct link *) X xmalloc ((size_t) (sizeof (struct link) + strlen (p))); X lp->ino = current_stat.st_ino; X lp->dev = current_stat.st_dev; X strcpy (lp->name, p); X lp->next = linklist; X linklist = lp; X } X X /* This is not a link to a previously dumped file, so dump it. */ X X if (S_ISREG (current_stat.st_mode) #ifdef S_ISCTG X || S_ISCTG (current_stat.st_mode) #endif X ) X { X int f; /* file descriptor */ X long bufsize, count; X long sizeleft; X union block *start; X int header_moved; X char isextended = 0; X int upperbound; #if 0 X static int cried_once = 0; #endif X X header_moved = 0; X X if (sparse_option) X { X /* Check the size of the file against the number of blocks X allocated for it, counting both data and indirect blocks. X If there is a smaller number of blocks that would be X necessary to accommodate a file of this size, this is safe X to say that we have a sparse file: at least one of those X blocks in the file is just a useless hole. For sparse X files not having more hole blocks than indirect blocks, the X sparseness will go undetected. */ X X /* tar.h defines ST_NBLOCKS in term of 512 byte sectors, even X for HP-UX's which count in 1024 byte units and AIX's which X count in 4096 byte units. So this should work... */ X X /* Bruno Haible sent me these statistics for Linux. It seems X that some filesystems count indirect blocks in st_blocks, X while others do not seem to: X X minix-fs tar: size=7205, st_blocks=18 and ST_NBLOCKS=18 X extfs tar: size=7205, st_blocks=18 and ST_NBLOCKS=18 X ext2fs tar: size=7205, st_blocks=16 and ST_NBLOCKS=16 X msdos-fs tar: size=7205, st_blocks=16 and ST_NBLOCKS=16 X X Dick Streefland reports the previous numbers as misleading, X because ext2fs use 12 direct blocks, while minix-fs uses only X 6 direct blocks. Dick gets: X X ext2 size=20480 ls listed blocks=21 X minix size=20480 ls listed blocks=21 X msdos size=20480 ls listed blocks=20 X X It seems that indirect blocks *are* included in st_blocks. X The minix filesystem does not account for phantom blocks in X st_blocks, so `du' and `ls -s' give wrong results. So, the X --sparse option would not work on a minix filesystem. */ X X if (current_stat.st_size > ST_NBLOCKS (current_stat) * BLOCKSIZE) X { X int filesize = current_stat.st_size; X int counter; X X header = start_header (p, ¤t_stat); X if (header == NULL) X { X exit_status = TAREXIT_FAILURE; X return; X } X header->header.typeflag = GNUTYPE_SPARSE; X header_moved = 1; X X /* Call the routine that figures out the layout of the X sparse file in question. UPPERBOUND is the index of the X last element of the "sparsearray," i.e., the number of X elements it needed to describe the file. */ X X upperbound = deal_with_sparse (p, header); X X /* See if we'll need an extended header later. */ X X if (upperbound > SPARSES_IN_OLDGNU_HEADER - 1) X header->oldgnu_header.isextended = 1; X X /* We store the "real" file size so we can show that in X case someone wants to list the archive, i.e., tar tvf X . It might be kind of disconcerting if the X shrunken file size was the one that showed up. */ X X to_oct ((long) current_stat.st_size, 1 + 12, X header->oldgnu_header.realsize); X X /* This will be the new "size" of the file, i.e., the size X of the file minus the blocks of holes that we're X skipping over. */ X X find_new_file_size (&filesize, upperbound); X current_stat.st_size = filesize; X to_oct ((long) filesize, 1 + 12, header->header.size); X X for (counter = 0; counter < SPARSES_IN_OLDGNU_HEADER; counter++) X { X if (!sparsearray[counter].numbytes) X break; X X to_oct (sparsearray[counter].offset, 1 + 12, X header->oldgnu_header.sp[counter].offset); X to_oct (sparsearray[counter].numbytes, 1 + 12, X header->oldgnu_header.sp[counter].numbytes); X } X X } X } X else X upperbound = SPARSES_IN_OLDGNU_HEADER - 1; X X sizeleft = current_stat.st_size; X X /* Don't bother opening empty, world readable files. Also do not open X files when archive is meant for /dev/null. */ X X if (dev_null_output X || (sizeleft == 0 && 0444 == (0444 & current_stat.st_mode))) X f = -1; X else X { X f = open (p, O_RDONLY | O_BINARY); X if (f < 0) X { X WARN ((0, errno, _("Cannot add file %s"), p)); X if (!ignore_failed_read_option) X exit_status = TAREXIT_FAILURE; X return; X } X } X X /* If the file is sparse, we've already taken care of this. */ X X if (!header_moved) X { X header = start_header (p, ¤t_stat); X if (header == NULL) X { X if (f >= 0) X close (f); X exit_status = TAREXIT_FAILURE; X return; X } X } #ifdef S_ISCTG X /* Mark contiguous files, if we support them. */ X X if (archive_format != V7_FORMAT && S_ISCTG (current_stat.st_mode)) X header->header.typeflag = CONTTYPE; #endif X isextended = header->oldgnu_header.isextended; X save_typeflag = header->header.typeflag; X finish_header (header); X if (isextended) X { #if 0 X int sum = 0; #endif X int counter; #if 0 X union block *exhdr; X int arraybound = SPARSES_IN_SPARSE_HEADER; #endif X /* static */ int index_offset = SPARSES_IN_OLDGNU_HEADER; X X extend: X exhdr = find_next_block (); X X if (exhdr == NULL) X { X exit_status = TAREXIT_FAILURE; X return; X } X memset (exhdr->buffer, 0, BLOCKSIZE); X for (counter = 0; counter < SPARSES_IN_SPARSE_HEADER; counter++) X { X if (counter + index_offset > upperbound) X break; X X to_oct ((long) sparsearray[counter + index_offset].numbytes, X 1 + 12, X exhdr->sparse_header.sp[counter].numbytes); X to_oct ((long) sparsearray[counter + index_offset].offset, X 1 + 12, X exhdr->sparse_header.sp[counter].offset); X } X set_next_block_after (exhdr); #if 0 X sum += counter; X if (sum < upperbound) X goto extend; #endif X if (index_offset + counter <= upperbound) X { X index_offset += counter; X exhdr->sparse_header.isextended = 1; X goto extend; X } X X } X if (save_typeflag == GNUTYPE_SPARSE) X { X if (finish_sparse_file (f, &sizeleft, current_stat.st_size, p)) X goto padit; X } X else X while (sizeleft > 0) X { X if (multi_volume_option) X { X assign_string (&save_name, p); X save_sizeleft = sizeleft; X save_totsize = current_stat.st_size; X } X start = find_next_block (); X X bufsize = available_space_after (start); X X if (sizeleft < bufsize) X { X /* Last read -- zero out area beyond. */ X X bufsize = (int) sizeleft; X count = bufsize % BLOCKSIZE; X if (count) X memset (start->buffer + sizeleft, 0, X (size_t) (BLOCKSIZE - count)); X } X if (f < 0) X count = bufsize; X else X count = read (f, start->buffer, (size_t) bufsize); X if (count < 0) X { X ERROR ((0, errno, _("\ Read error at byte %ld, reading %d bytes, in file %s"), X (long) (current_stat.st_size - sizeleft), bufsize, p)); X goto padit; X } X sizeleft -= count; X X /* This is nonportable (the type of set_next_block_after's arg). */ X X set_next_block_after (start + (count - 1) / BLOCKSIZE); X X if (count == bufsize) X continue; X ERROR ((0, 0, _("File %s shrunk by %d bytes, padding with zeros"), X p, sizeleft)); X goto padit; /* short read */ X } X X if (multi_volume_option) X assign_string (&save_name, NULL); X X if (f >= 0) X { X close (f); X if (atime_preserve_option) X utime (p, &restore_times); X } X if (remove_files_option) X { X if (unlink (p) == -1) X ERROR ((0, errno, _("Cannot remove %s"), p)); X } X return; X X /* File shrunk or gave error, pad out tape to match the size we X specified in the header. */ X X padit: X while (sizeleft > 0) X { X save_sizeleft = sizeleft; X start = find_next_block (); X memset (start->buffer, 0, BLOCKSIZE); X set_next_block_after (start); X sizeleft -= BLOCKSIZE; X } X if (multi_volume_option) X assign_string (&save_name, NULL); X if (f >= 0) X { X close (f); X if (atime_preserve_option) X utime (p, &restore_times); X } X return; X } X #ifdef S_ISLNK X else if (S_ISLNK (current_stat.st_mode)) X { X int size; X char *buffer = (char *) alloca (PATH_MAX + 1); X X size = readlink (p, buffer, PATH_MAX + 1); X if (size < 0) X { X WARN ((0, errno, _("Cannot add file %s"), p)); X if (!ignore_failed_read_option) X exit_status = TAREXIT_FAILURE; X return; X } X buffer[size] = '\0'; X if (size >= NAME_FIELD_SIZE) X write_long (buffer, GNUTYPE_LONGLINK); X assign_string (¤t_link_name, buffer); X X current_stat.st_size = 0; /* force 0 size on symlink */ X header = start_header (p, ¤t_stat); X if (header == NULL) X { X exit_status = TAREXIT_FAILURE; X return; X } X strncpy (header->header.linkname, buffer, NAME_FIELD_SIZE); X header->header.linkname[NAME_FIELD_SIZE - 1] = '\0'; X header->header.typeflag = SYMTYPE; X finish_header (header); /* nothing more to do to it */ X if (remove_files_option) X { X if (unlink (p) == -1) X ERROR ((0, errno, _("Cannot remove %s"), p)); X } X return; X } #endif /* S_ISLNK */ X X else if (S_ISDIR (current_stat.st_mode)) X { X DIR *directory; X struct dirent *entry; X char *namebuf; X int buflen; X int len; X int our_device = current_stat.st_dev; X X /* If this tar program is installed suid root, like for Amanda, the X access might look like denied, while it is not really. X X FIXME: I have the feeling this test is done too early. Couldn't it X just be bundled in later actions? I guess that the proper support X of --ignore-failed-read is the key of the current writing. */ X X if (access (p, R_OK) == -1 && geteuid () != 0) X { X WARN ((0, errno, _("Cannot add directory %s"), p)); X if (!ignore_failed_read_option) X exit_status = TAREXIT_FAILURE; X return; X } X X /* Build new prototype name. Ensure exactly one trailing slash. */ X X len = strlen (p); X buflen = len + NAME_FIELD_SIZE; X namebuf = xmalloc ((size_t) (buflen + 1)); X strncpy (namebuf, p, (size_t) buflen); X while (len >= 1 && namebuf[len - 1] == '/') X len--; X namebuf[len++] = '/'; X namebuf[len] = '\0'; X X if (1) X { X /* The "1" above used to be "archive_format != V7_FORMAT", GNU tar X was just not writing directory blocks at all. Daniel Trinkle X writes: ``All old versions of tar I have ever seen have X correctly archived an empty directory. The really old ones I X checked included HP-UX 7 and Mt. Xinu More/BSD. There may be X some subtle reason for the exclusion that I don't know, but the X current behavior is broken.'' I do not know those subtle X reasons either, so until these are reported (anew?), just allow X directory blocks to be written even with old archives. */ X X current_stat.st_size = 0; /* force 0 size on dir */ X X /* FIXME: If people could really read standard archives, this X should be: X X header X = start_header (standard_option ? p : namebuf, ¤t_stat); X X but since they'd interpret DIRTYPE blocks as regular X files, we'd better put the / on the name. */ X X header = start_header (namebuf, ¤t_stat); X if (header == NULL) X { X exit_status = TAREXIT_FAILURE; X return; /* eg name too long */ X } X X if (incremental_option) X header->header.typeflag = GNUTYPE_DUMPDIR; X else /* if (standard_option) */ X header->header.typeflag = DIRTYPE; X X /* If we're gnudumping, we aren't done yet so don't close it. */ X X if (!incremental_option) X finish_header (header); /* done with directory header */ X } X X if (incremental_option && gnu_list_name->dir_contents) X { X int sizeleft; X int totsize; X int bufsize; X union block *start; X int count; X char *buffer, *p_buffer; X X buffer = gnu_list_name->dir_contents; /* FOO */ X totsize = 0; X for (p_buffer = buffer; p_buffer && *p_buffer;) X { X int tmp; X X tmp = strlen (p_buffer) + 1; X totsize += tmp; X p_buffer += tmp; X } X totsize++; X to_oct ((long) totsize, 1 + 12, header->header.size); X finish_header (header); X p_buffer = buffer; X sizeleft = totsize; X while (sizeleft > 0) X { X if (multi_volume_option) X { X assign_string (&save_name, p); X save_sizeleft = sizeleft; X save_totsize = totsize; X } X start = find_next_block (); X bufsize = available_space_after (start); X if (sizeleft < bufsize) X { X bufsize = sizeleft; X count = bufsize % BLOCKSIZE; X if (count) X memset (start->buffer + sizeleft, 0, X (size_t) (BLOCKSIZE - count)); X } X memcpy (start->buffer, p_buffer, (size_t) bufsize); X sizeleft -= bufsize; X p_buffer += bufsize; X set_next_block_after (start + (bufsize - 1) / BLOCKSIZE); X } X if (multi_volume_option) X assign_string (&save_name, NULL); X if (atime_preserve_option) X utime (p, &restore_times); X return; X } X X /* See if we are about to recurse into a directory, and avoid doing X so if the user wants that we do not descend into directories. */ X X if (no_recurse_option) X return; X X /* See if we are crossing from one file system to another, and X avoid doing so if the user only wants to dump one file system. */ X X if (one_file_system_option && !top_level X && parent_device != current_stat.st_dev) X { X if (verbose_option) X WARN ((0, 0, _("%s: On a different filesystem; not dumped"), p)); X return; X } X X /* Now output all the files in the directory. */ X X errno = 0; /* FIXME: errno should be read-only */ X X directory = opendir (p); X if (!directory) X { X ERROR ((0, errno, _("Cannot open directory %s"), p)); X return; X } X X /* Hack to remove "./" from the front of all the file names. */ X X if (len == 2 && namebuf[0] == '.' && namebuf[1] == '/') X len = 0; X X /* FIXME: Should speed this up by cd-ing into the dir. */ X X while (entry = readdir (directory), entry) X { X /* Skip `.' and `..'. */ X X if (is_dot_or_dotdot (entry->d_name)) X continue; X X if ((int) NAMLEN (entry) + len >= buflen) X { X buflen = len + NAMLEN (entry); X namebuf = (char *) xrealloc (namebuf, (size_t) (buflen + 1)); #if 0 X namebuf[len] = '\0'; X ERROR ((0, 0, _("File name %s%s too long"), X namebuf, entry->d_name)); X continue; #endif X } X strcpy (namebuf + len, entry->d_name); X if (exclude_option && check_exclude (namebuf)) X continue; X dump_file (namebuf, our_device, 0); X } X X closedir (directory); X free (namebuf); X if (atime_preserve_option) X utime (p, &restore_times); X return; X } X #ifdef S_ISCHR X else if (S_ISCHR (current_stat.st_mode)) X type = CHRTYPE; #endif X #ifdef S_ISBLK X else if (S_ISBLK (current_stat.st_mode)) X type = BLKTYPE; #endif X X /* Avoid screwy apollo lossage where S_IFIFO == S_IFSOCK. */ X #if (_ISP__M68K == 0) && (_ISP__A88K == 0) && defined(S_ISFIFO) X else if (S_ISFIFO (current_stat.st_mode)) X type = FIFOTYPE; #endif X #ifdef S_ISSOCK X else if (S_ISSOCK (current_stat.st_mode)) X type = FIFOTYPE; #endif X X else X goto unknown; X X if (archive_format == V7_FORMAT) X goto unknown; X X current_stat.st_size = 0; /* force 0 size */ X header = start_header (p, ¤t_stat); X if (header == NULL) X { X exit_status = TAREXIT_FAILURE; X return; /* eg name too long */ X } X X header->header.typeflag = type; X #if defined(S_IFBLK) || defined(S_IFCHR) X if (type != FIFOTYPE) X { X to_oct ((long) major (current_stat.st_rdev), 8, X header->header.devmajor); X to_oct ((long) minor (current_stat.st_rdev), 8, X header->header.devminor); X } #endif X X finish_header (header); X if (remove_files_option) X { X if (unlink (p) == -1) X ERROR ((0, errno, _("Cannot remove %s"), p)); X } X return; X unknown: X ERROR ((0, 0, _("%s: Unknown file type; file ignored"), p)); } SHAR_EOF $shar_touch -am 0425094897 'tar-1.12/src/create.c' && chmod 0644 'tar-1.12/src/create.c' || $echo 'restore of' 'tar-1.12/src/create.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/src/create.c:' 'MD5 check failed' 0e40fc91d7daffc7b77d372064366491 tar-1.12/src/create.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/src/create.c'`" test 38271 -eq "$shar_count" || $echo 'tar-1.12/src/create.c:' 'original size' '38271,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/src/delete.c ============== if test -f 'tar-1.12/src/delete.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/src/delete.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/src/delete.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/src/delete.c' && /* Delete entries from a tar archive. X Copyright (C) 1988, 1992, 1994, 1996, 1997 Free Software Foundation, Inc. X X This program is free software; you can redistribute it and/or modify it X under the terms of the GNU General Public License as published by the X Free Software Foundation; either version 2, or (at your option) any later X version. X X This program is distributed in the hope that it will be useful, but X WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General X Public License for more details. X X You should have received a copy of the GNU General Public License along X with this program; if not, write to the Free Software Foundation, Inc., X 59 Place - Suite 330, Boston, MA 02111-1307, USA. */ X #include "system.h" X #define STDIN 0 #define STDOUT 1 X #include "common.h" #include "rmt.h" X static union block *new_record = NULL; static union block *save_record = NULL; static int records_read = 0; static int new_blocks = 0; static int blocks_needed = 0; X /* FIXME: This module should not directly handle the following three X variables, instead, this should be done in buffer.c only. */ extern union block *record_start; extern union block *record_end; extern union block *current_block; X /*-------------------------------------------------------------------------. | Move archive descriptor by COUNT records worth. If COUNT is positive we | | move forward, else we move negative. If its a tape, MTIOCTOP had better | | work. If its something else, we try to seek on it. If we can't seek, | | we loose! | `-------------------------------------------------------------------------*/ X static void move_archive (int count) { #ifdef MTIOCTOP X { X struct mtop operation; X int status; X X if (count > 0) X { X operation.mt_op = MTFSR; X operation.mt_count = count; X } X else X { X operation.mt_op = MTBSR; X operation.mt_count = -count; X } X X if (status = rmtioctl (archive, MTIOCTOP, (char *) &operation), X status >= 0) X return; X X if (errno == EIO) X if (status = rmtioctl (archive, MTIOCTOP, (char *) &operation), X status >= 0) X return; X } #endif /* MTIOCTOP */ X X { X off_t position = rmtlseek (archive, 0L, 1); X X position += record_size * count; X X if (rmtlseek (archive, position, 0) != position) X FATAL_ERROR ((0, 0, _("Could not re-position archive file"))); X X return; X } } X /*----------------------------------------------------------------. | Write out the record which has been filled. If MOVE_BACK_FLAG, | | backspace to where we started. | `----------------------------------------------------------------*/ X static void write_record (int move_back_flag) { X save_record = record_start; X record_start = new_record; X X if (archive == STDIN) X { X archive = STDOUT; X flush_write (); X archive = STDIN; X } X else X { X move_archive (-(records_read + 1)); X flush_write (); X } X X record_start = save_record; X X if (move_back_flag) X { X /* Move the tape head back to where we were. */ X X if (archive != STDIN) X move_archive (records_read); X X records_read--; X } X X blocks_needed = blocking_factor; X new_blocks = 0; } X /*---. | ? | `---*/ X void delete_archive_members (void) { X enum read_header logical_status = HEADER_STILL_UNREAD; X enum read_header previous_status = HEADER_STILL_UNREAD; X X /* FIXME: Should clean the routine before cleaning these variables :-( */ X struct name *name; X int blocks_to_skip = 0; X int blocks_to_keep = 0; X int kept_blocks_in_record; X X name_gather (); X open_archive (ACCESS_UPDATE); X X while (logical_status == HEADER_STILL_UNREAD) X { X enum read_header status = read_header (); X X switch (status) X { X case HEADER_STILL_UNREAD: X abort (); X X case HEADER_SUCCESS: X if (name = name_scan (current_file_name), !name) X { X set_next_block_after (current_header); X if (current_header->oldgnu_header.isextended) X skip_extended_headers (); X skip_file ((long) (current_stat.st_size)); X break; X } X name->found = 1; X logical_status = HEADER_SUCCESS; X break; X X case HEADER_ZERO_BLOCK: X case HEADER_END_OF_FILE: X logical_status = HEADER_END_OF_FILE; X break; X X case HEADER_FAILURE: X set_next_block_after (current_header); X switch (previous_status) X { X case HEADER_STILL_UNREAD: X WARN ((0, 0, _("This does not look like a tar archive"))); X /* Fall through. */ X X case HEADER_SUCCESS: X case HEADER_ZERO_BLOCK: X ERROR ((0, 0, _("Skipping to next header"))); X /* Fall through. */ X X case HEADER_FAILURE: X break; X X case HEADER_END_OF_FILE: X abort (); X } X break; X } X X previous_status = status; X } X X if (logical_status != HEADER_SUCCESS) X { X write_eot (); X close_archive (); X names_notfound (); X return; X } X X write_archive_to_stdout = 0; X new_record = (union block *) xmalloc ((size_t) record_size); X X /* Save away blocks before this one in this record. */ X X new_blocks = current_block - record_start; X blocks_needed = blocking_factor - new_blocks; X if (new_blocks) X memcpy ((void *) new_record, (void *) record_start, X (size_t) (new_blocks * BLOCKSIZE)); X #if 0 X /* FIXME: Old code, before the goto was inserted. To be redesigned. */ X set_next_block_after (current_header); X if (current_header->oldgnu_header.isextended) X skip_extended_headers (); X skip_file ((long) (current_stat.st_size)); #endif X logical_status = HEADER_STILL_UNREAD; X goto flush_file; X X /* FIXME: Solaris 2.4 Sun cc (the ANSI one, not the old K&R) says: X "delete.c", line 223: warning: loop not entered at top X Reported by Bruno Haible. */ X while (1) X { X enum read_header status; X X /* Fill in a record. */ X X if (current_block == record_end) X { X flush_archive (); X records_read++; X } X status = read_header (); X X if (status == HEADER_ZERO_BLOCK && ignore_zeros_option) X { X set_next_block_after (current_header); X continue; X } X if (status == HEADER_END_OF_FILE || status == HEADER_ZERO_BLOCK) X { X logical_status = HEADER_END_OF_FILE; X memset (new_record[new_blocks].buffer, 0, X (size_t) (BLOCKSIZE * blocks_needed)); X new_blocks += blocks_needed; X blocks_needed = 0; X write_record (0); X break; X } X X if (status == HEADER_FAILURE) X { X ERROR ((0, 0, _("Deleting non-header from archive"))); X set_next_block_after (current_header); X continue; X } X X /* Found another header. */ X X if (name = name_scan (current_file_name), name) X { X name->found = 1; X flush_file: X set_next_block_after (current_header); X blocks_to_skip = (current_stat.st_size + BLOCKSIZE - 1) / BLOCKSIZE; X X while (record_end - current_block <= blocks_to_skip) X { X blocks_to_skip -= (record_end - current_block); X flush_archive (); X records_read++; X } X current_block += blocks_to_skip; X blocks_to_skip = 0; X continue; X } X X /* Copy header. */ X X new_record[new_blocks] = *current_header; X new_blocks++; X blocks_needed--; X blocks_to_keep X = (current_stat.st_size + BLOCKSIZE - 1) / BLOCKSIZE; X set_next_block_after (current_header); X if (blocks_needed == 0) X write_record (1); X X /* Copy data. */ X X kept_blocks_in_record = record_end - current_block; X if (kept_blocks_in_record > blocks_to_keep) X kept_blocks_in_record = blocks_to_keep; X X while (blocks_to_keep) X { X int count; X X if (current_block == record_end) X { X flush_read (); X records_read++; X current_block = record_start; X kept_blocks_in_record = blocking_factor; X if (kept_blocks_in_record > blocks_to_keep) X kept_blocks_in_record = blocks_to_keep; X } X count = kept_blocks_in_record; X if (count > blocks_needed) X count = blocks_needed; X X memcpy ((void *) (new_record + new_blocks), X (void *) current_block, X (size_t) (count * BLOCKSIZE)); X new_blocks += count; X blocks_needed -= count; X current_block += count; X blocks_to_keep -= count; X kept_blocks_in_record -= count; X X if (blocks_needed == 0) X write_record (1); X } X } X X write_eot (); X close_archive (); X names_notfound (); } SHAR_EOF $shar_touch -am 0425131097 'tar-1.12/src/delete.c' && chmod 0644 'tar-1.12/src/delete.c' || $echo 'restore of' 'tar-1.12/src/delete.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/src/delete.c:' 'MD5 check failed' 1eda72b8ee5df2ae3b876db2a876ef42 tar-1.12/src/delete.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/src/delete.c'`" test 8311 -eq "$shar_count" || $echo 'tar-1.12/src/delete.c:' 'original size' '8311,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/src/extract.c ============== if test -f 'tar-1.12/src/extract.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/src/extract.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/src/extract.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/src/extract.c' && /* Extract files from a tar archive. X Copyright (C) 1988, 92, 93, 94, 96, 97 Free Software Foundation, Inc. X Written by John Gilmore, on 1985-11-19. X X This program is free software; you can redistribute it and/or modify it X under the terms of the GNU General Public License as published by the X Free Software Foundation; either version 2, or (at your option) any later X version. X X This program is distributed in the hope that it will be useful, but X WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General X Public License for more details. X X You should have received a copy of the GNU General Public License along X with this program; if not, write to the Free Software Foundation, Inc., X 59 Place - Suite 330, Boston, MA 02111-1307, USA. */ X #include "system.h" X #include time_t time (); X #if HAVE_UTIME_H # include #else struct utimbuf X { X long actime; X long modtime; X }; #endif X #include "common.h" X static time_t now; /* current time */ static int we_are_root; /* true if our effective uid == 0 */ static int newdir_umask; /* umask when creating new directories */ static int current_umask; /* current umask (which is set to 0 if -p) */ X #if 0 /* "Scratch" space to store the information about a sparse file before X writing the info into the header or extended header. */ struct sp_array *sparsearray; X /* Number of elts storable in the sparsearray. */ int sp_array_size = 10; #endif X struct delayed_set_stat X { X struct delayed_set_stat *next; X char *file_name; X struct stat stat_info; X }; X static struct delayed_set_stat *delayed_set_stat_head; X /*--------------------------. | Set up to extract files. | `--------------------------*/ X void extr_init (void) { X now = time ((time_t *) 0); X we_are_root = geteuid () == 0; X X /* Option -p clears the kernel umask, so it does not affect proper X restoration of file permissions. New intermediate directories will X comply with umask at start of program. */ X X newdir_umask = umask (0); X if (same_permissions_option) X current_umask = 0; X else X { X umask (newdir_umask); /* restore the kernel umask */ X current_umask = newdir_umask; X } X X /* FIXME: Just make sure we can add files in directories we create. Maybe X should we later remove permissions we are adding, here? */ X newdir_umask &= ~0300; } X /*------------------------------------------------------------------. | Restore mode for FILE_NAME, from information given in STAT_INFO. | `------------------------------------------------------------------*/ X static void set_mode (char *file_name, struct stat *stat_info) { X /* We ought to force permission when -k is not selected, because if the X file already existed, open or creat would save the permission bits from X the previously created file, ignoring the ones we specified. X X But with -k selected, we know *we* created this file, so the mode X bits were set by our open. If the file has abnormal mode bits, we must X chmod since writing or chown has probably reset them. If the file is X normal, we merely skip the chmod. This works because we did umask (0) X when -p, so umask will have left the specified mode alone. */ X X if (!keep_old_files_option X || (stat_info->st_mode & (S_ISUID | S_ISGID | S_ISVTX))) X if (chmod (file_name, ~current_umask & (int) stat_info->st_mode) < 0) X ERROR ((0, errno, _("%s: Cannot change mode to %0.4o"), X file_name, ~current_umask & (int) stat_info->st_mode)); } X /*----------------------------------------------------------------------. | Restore stat attributes (owner, group, mode and times) for FILE_NAME, | | using information given in STAT_INFO. SYMLINK_FLAG is non-zero for a | | freshly restored symbolic link. | `----------------------------------------------------------------------*/ X /* FIXME: About proper restoration of symbolic link attributes, we still do X not have it right. Pretesters' reports tell us we need further study and X probably more configuration. For now, just use lchown if it exists, and X punt for the rest. Sigh! */ X static void set_stat (char *file_name, struct stat *stat_info, int symlink_flag) { X struct utimbuf utimbuf; X X if (!symlink_flag) X { X /* We do the utime before the chmod because some versions of utime are X broken and trash the modes of the file. */ X X if (!touch_option) X { X /* We set the accessed time to `now', which is really the time we X started extracting files, unless incremental_option is used, in X which case .st_atime is used. */ X X /* FIXME: incremental_option should set ctime too, but how? */ X X if (incremental_option) X utimbuf.actime = stat_info->st_atime; X else X utimbuf.actime = now; X X utimbuf.modtime = stat_info->st_mtime; X X if (utime (file_name, &utimbuf) < 0) X ERROR ((0, errno, X _("%s: Could not change access and modification times"), X file_name)); X } X X /* Some systems allow non-root users to give files away. Once this X done, it is not possible anymore to change file permissions, so we X have to set permissions prior to possibly giving files away. */ X X set_mode (file_name, stat_info); X } X X /* If we are root, set the owner and group of the extracted file, so we X extract as the original owner. Or else, if we are running as a user, X leave the owner and group as they are, so we extract as that user. */ X X if (we_are_root || same_owner_option) X { #if HAVE_LCHOWN X X /* When lchown exists, it should be used to change the attributes of X the symbolic link itself. In this case, a mere chown would change X the attributes of the file the symbolic link is pointing to, and X should be avoided. */ X X if (symlink_flag) X { X if (lchown (file_name, stat_info->st_uid, stat_info->st_gid) < 0) X ERROR ((0, errno, _("%s: Cannot lchown to uid %d gid %d"), X file_name, stat_info->st_uid, stat_info->st_gid)); X } X else X { X if (chown (file_name, stat_info->st_uid, stat_info->st_gid) < 0) X ERROR ((0, errno, _("%s: Cannot chown to uid %d gid %d"), X file_name, stat_info->st_uid, stat_info->st_gid)); X } X #else /* not HAVE_LCHOWN */ X X if (!symlink_flag) X X if (chown (file_name, stat_info->st_uid, stat_info->st_gid) < 0) X ERROR ((0, errno, _("%s: Cannot chown to uid %d gid %d"), X file_name, stat_info->st_uid, stat_info->st_gid)); X #endif/* not HAVE_LCHOWN */ X X if (!symlink_flag) X X /* On a few systems, and in particular, those allowing to give files X away, changing the owner or group destroys the suid or sgid bits. X So, when root, let's attempt setting these bits once more. */ X X if (we_are_root && (stat_info->st_mode & (S_ISUID | S_ISGID | S_ISVTX))) X set_mode (file_name, stat_info); X } } X /*-----------------------------------------------------------------------. | After a file/link/symlink/directory creation has failed, see if it's | | because some required directory was not present, and if so, create all | | required directories. Return non-zero if a directory was created. | `-----------------------------------------------------------------------*/ X static int make_directories (char *file_name) { X char *cursor; /* points into path */ X int did_something = 0; /* did we do anything yet? */ X int saved_errno = errno; /* remember caller's errno */ X int status; X X for (cursor = strchr (file_name, '/'); X cursor != NULL; X cursor = strchr (cursor + 1, '/')) X { X /* Avoid mkdir of empty string, if leading or double '/'. */ X X if (cursor == file_name || cursor[-1] == '/') X continue; X X /* Avoid mkdir where last part of path is '.'. */ X X if (cursor[-1] == '.' && (cursor == file_name + 1 || cursor[-2] == '/')) X continue; X X *cursor = '\0'; /* truncate the path there */ X status = mkdir (file_name, ~newdir_umask & 0777); X X if (status == 0) X { X /* Fix ownership. */ X X if (we_are_root) X if (chown (file_name, current_stat.st_uid, current_stat.st_gid) < 0) X ERROR ((0, errno, X _("%s: Cannot change owner to uid %d, gid %d"), X file_name, current_stat.st_uid, current_stat.st_gid)); X X print_for_mkdir (file_name, cursor - file_name, X ~newdir_umask & 0777); X did_something = 1; X X *cursor = '/'; X continue; X } X X *cursor = '/'; X X if (errno == EEXIST #if MSDOS X /* Turbo C mkdir gives a funny errno. */ X || errno == EACCES #endif X ) X /* Directory already exists. */ X continue; X X /* Some other error in the mkdir. We return to the caller. */ X break; X } X X errno = saved_errno; /* FIXME: errno should be read-only */ X return did_something; /* tell them to retry if we made one */ } X /*--------------------------------------------------------------------. | Attempt repairing what went wrong with the extraction. Delete an | | already existing file or create missing intermediate directories. | | Return nonzero if we somewhat increased our chances at a successful | | extraction. errno is properly restored on zero return. | `--------------------------------------------------------------------*/ X static int maybe_recoverable (char *file_name) { X switch (errno) X { X case EEXIST: X /* Attempt deleting an existing file. However, with -k, just stay X quiet. */ X X if (keep_old_files_option) X return 0; X X return remove_any_file (file_name, 0); X X case ENOENT: X /* Attempt creating missing intermediate directories. */ X X return make_directories (file_name); X X default: X /* Just say we can't do anything about it... */ X X return 0; X } } X /*---. | ? | `---*/ X static void extract_sparse_file (int fd, long *sizeleft, long totalsize, char *name) { X union block *data_block; X int sparse_ind = 0; X int written, count; X X /* FIXME: `data_block' might be used uninitialized in this function. X Reported by Bruno Haible. */ X X /* assuming sizeleft is initially totalsize */ X X while (*sizeleft > 0) X { X data_block = find_next_block (); X if (data_block == NULL) X { X ERROR ((0, 0, _("Unexpected EOF on archive file"))); X return; X } X lseek (fd, sparsearray[sparse_ind].offset, 0); X written = sparsearray[sparse_ind++].numbytes; X while (written > BLOCKSIZE) X { X count = write (fd, data_block->buffer, BLOCKSIZE); X if (count < 0) X ERROR ((0, errno, _("%s: Could not write to file"), name)); X written -= count; X *sizeleft -= count; X set_next_block_after (data_block); X data_block = find_next_block (); X } X X count = write (fd, data_block->buffer, (size_t) written); X X if (count < 0) X ERROR ((0, errno, _("%s: Could not write to file"), name)); X else if (count != written) X { X ERROR ((0, 0, _("%s: Could only write %d of %d bytes"), X name, count, totalsize)); X skip_file ((long) (*sizeleft)); X } X X written -= count; X *sizeleft -= count; X set_next_block_after (data_block); X } X free (sparsearray); X set_next_block_after (data_block); } X /*----------------------------------. | Extract a file from the archive. | `----------------------------------*/ X void extract_archive (void) { X union block *data_block; X int fd; X int status; X int name_length; X int written; X int openflag; X long size; X int skipcrud; X int counter; #if 0 X int sparse_ind = 0; #endif X union block *exhdr; X struct delayed_set_stat *data; X #define CURRENT_FILE_NAME (skipcrud + current_file_name) X X set_next_block_after (current_header); X decode_header (current_header, ¤t_stat, ¤t_format, 1); X X if (interactive_option && !confirm ("extract", current_file_name)) X { X if (current_header->oldgnu_header.isextended) X skip_extended_headers (); X skip_file ((long) current_stat.st_size); X return; X } X X /* Print the block from `current_header' and `current_stat'. */ X X if (verbose_option) X print_header (); X X /* Check for fully specified file names and other atrocities. */ X X skipcrud = 0; X while (!absolute_names_option && CURRENT_FILE_NAME[0] == '/') X { X static int warned_once = 0; X X skipcrud++; /* force relative path */ X if (!warned_once) X { X warned_once = 1; X WARN ((0, 0, _("\ Removing leading `/' from absolute path names in the archive"))); X } X } X X /* Take a safety backup of a previously existing file. */ X X if (backup_option && !to_stdout_option) X if (!maybe_backup_file (CURRENT_FILE_NAME, 0)) X { X ERROR ((0, errno, _("%s: Was unable to backup this file"), X CURRENT_FILE_NAME)); X if (current_header->oldgnu_header.isextended) X skip_extended_headers (); X skip_file ((long) current_stat.st_size); X return; X } X X /* Extract the archive entry according to its type. */ X X switch (current_header->header.typeflag) X { X /* JK - What we want to do if the file is sparse is loop through X the array of sparse structures in the header and read in and X translate the character strings representing 1) the offset at X which to write and 2) how many bytes to write into numbers, X which we store into the scratch array, "sparsearray". This X array makes our life easier the same way it did in creating the X tar file that had to deal with a sparse file. X X After we read in the first five (at most) sparse structures, we X check to see if the file has an extended header, i.e., if more X sparse structures are needed to describe the contents of the new X file. If so, we read in the extended headers and continue to X store their contents into the sparsearray. */ X X case GNUTYPE_SPARSE: X sp_array_size = 10; X sparsearray = (struct sp_array *) X xmalloc (sp_array_size * sizeof (struct sp_array)); X X for (counter = 0; counter < SPARSES_IN_OLDGNU_HEADER; counter++) X { X sparsearray[counter].offset = X from_oct (1 + 12, X current_header->oldgnu_header.sp[counter].offset); X sparsearray[counter].numbytes = X from_oct (1 + 12, X current_header->oldgnu_header.sp[counter].numbytes); X if (!sparsearray[counter].numbytes) X break; X } X X if (current_header->oldgnu_header.isextended) X { X /* Read in the list of extended headers and translate them into X the sparsearray as before. */ X X /* static */ int ind = SPARSES_IN_OLDGNU_HEADER; X X while (1) X { X exhdr = find_next_block (); X for (counter = 0; counter < SPARSES_IN_SPARSE_HEADER; counter++) X { X if (counter + ind > sp_array_size - 1) X { X /* Realloc the scratch area since we've run out of X room. */ X X sp_array_size *= 2; X sparsearray = (struct sp_array *) X xrealloc (sparsearray, X sp_array_size * (sizeof (struct sp_array))); X } X /* Compare to 0, or use !(int)..., for Pyramid's dumb X compiler. */ X if (exhdr->sparse_header.sp[counter].numbytes == 0) X break; X sparsearray[counter + ind].offset = X from_oct (1 + 12, X exhdr->sparse_header.sp[counter].offset); X sparsearray[counter + ind].numbytes = X from_oct (1 + 12, X exhdr->sparse_header.sp[counter].numbytes); X } X if (!exhdr->sparse_header.isextended) X break; X else X { X ind += SPARSES_IN_SPARSE_HEADER; X set_next_block_after (exhdr); X } X } X set_next_block_after (exhdr); X } X /* Fall through. */ X X case AREGTYPE: X case REGTYPE: X case CONTTYPE: X X /* Appears to be a file. But BSD tar uses the convention that a slash X suffix means a directory. */ X X name_length = strlen (CURRENT_FILE_NAME) - 1; X if (CURRENT_FILE_NAME[name_length] == '/') X goto really_dir; X X /* FIXME: deal with protection issues. */ X X again_file: X openflag = (keep_old_files_option ? X O_BINARY | O_NDELAY | O_WRONLY | O_CREAT | O_EXCL : X O_BINARY | O_NDELAY | O_WRONLY | O_CREAT | O_TRUNC) X | ((current_header->header.typeflag == GNUTYPE_SPARSE) ? 0 : O_APPEND); X X /* JK - The last | is a kludge to solve the problem the O_APPEND X flag causes with files we are trying to make sparse: when a file X is opened with O_APPEND, it writes to the last place that X something was written, thereby ignoring any lseeks that we have X done. We add this extra condition to make it able to lseek when X a file is sparse, i.e., we don't open the new file with this X flag. (Grump -- this bug caused me to waste a good deal of X time, I might add) */ X X if (to_stdout_option) X { X fd = 1; X goto extract_file; X } X X if (unlink_first_option) X remove_any_file (CURRENT_FILE_NAME, recursive_unlink_option); X #if O_CTG X /* Contiguous files (on the Masscomp) have to specify the size in X the open call that creates them. */ X X if (current_header->header.typeflag == CONTTYPE) X fd = open (CURRENT_FILE_NAME, openflag | O_CTG, X current_stat.st_mode, current_stat.st_size); X else X fd = open (CURRENT_FILE_NAME, openflag, current_stat.st_mode); X #else /* not O_CTG */ X if (current_header->header.typeflag == CONTTYPE) X { X static int conttype_diagnosed = 0; X X if (!conttype_diagnosed) X { X conttype_diagnosed = 1; X WARN ((0, 0, _("Extracting contiguous files as regular files"))); X } X } X fd = open (CURRENT_FILE_NAME, openflag, current_stat.st_mode); X #endif /* not O_CTG */ X X if (fd < 0) X { X if (maybe_recoverable (CURRENT_FILE_NAME)) X goto again_file; X X ERROR ((0, errno, _("%s: Could not create file"), X CURRENT_FILE_NAME)); X if (current_header->oldgnu_header.isextended) X skip_extended_headers (); X skip_file ((long) current_stat.st_size); X if (backup_option) X undo_last_backup (); X break; X } X X extract_file: X if (current_header->header.typeflag == GNUTYPE_SPARSE) X { X char *name; X int name_length_bis; X X /* Kludge alert. NAME is assigned to header.name because X during the extraction, the space that contains the header X will get scribbled on, and the name will get munged, so any X error messages that happen to contain the filename will look X REAL interesting unless we do this. */ X X name_length_bis = strlen (CURRENT_FILE_NAME) + 1; X name = (char *) xmalloc ((sizeof (char)) * name_length_bis); X memcpy (name, CURRENT_FILE_NAME, (size_t) name_length_bis); X size = current_stat.st_size; X extract_sparse_file (fd, &size, current_stat.st_size, name); X } X else X for (size = current_stat.st_size; X size > 0; X size -= written) X { #if 0 X long offset, numbytes; #endif X if (multi_volume_option) X { X assign_string (&save_name, current_file_name); X save_totsize = current_stat.st_size; X save_sizeleft = size; X } X X /* Locate data, determine max length writeable, write it, X block that we have used the data, then check if the write X worked. */ X X data_block = find_next_block (); X if (data_block == NULL) X { X ERROR ((0, 0, _("Unexpected EOF on archive file"))); X break; /* FIXME: What happens, then? */ X } X X /* If the file is sparse, use the sparsearray that we created X before to lseek into the new file the proper amount, and to X see how many bytes we want to write at that position. */ X #if 0 X if (current_header->header.typeflag == GNUTYPE_SPARSE) X { X off_t pos; X X pos = lseek (fd, (off_t) sparsearray[sparse_ind].offset, 0); X fprintf (msg_file, _("%d at %d\n"), (int) pos, sparse_ind); X written = sparsearray[sparse_ind++].numbytes; X } X else #endif X written = available_space_after (data_block); X X if (written > size) X written = size; X errno = 0; /* FIXME: errno should be read-only */ X status = write (fd, data_block->buffer, (size_t) written); X X set_next_block_after ((union block *) X (data_block->buffer + written - 1)); X if (status == written) X continue; X X /* Error in writing to file. Print it, skip to next file in X archive. */ X X if (status < 0) X ERROR ((0, errno, _("%s: Could not write to file"), X CURRENT_FILE_NAME)); X else X ERROR ((0, 0, _("%s: Could only write %d of %d bytes"), X CURRENT_FILE_NAME, status, written)); X skip_file ((long) (size - written)); X break; /* still do the close, mod time, chmod, etc */ X } X X if (multi_volume_option) X assign_string (&save_name, NULL); X X /* If writing to stdout, don't try to do anything to the filename; X it doesn't exist, or we don't want to touch it anyway. */ X X if (to_stdout_option) X break; X #if 0 X if (current_header->header.isextended) X { X union block *exhdr; X int counter; X X for (counter = 0; counter < 21; counter++) X { X off_t offset; X X if (!exhdr->sparse_header.sp[counter].numbytes) X break; X offset = from_oct (1 + 12, exhdr->sparse_header.sp[counter].offset); X written = from_oct (1 + 12, exhdr->sparse_header.sp[counter].numbytes); X lseek (fd, offset, 0); X status = write (fd, data_block->buffer, written); X if (status == written) X continue; X } X } #endif X status = close (fd); X if (status < 0) X { X ERROR ((0, errno, _("%s: Error while closing"), CURRENT_FILE_NAME)); X if (backup_option) X undo_last_backup (); X } X X set_stat (CURRENT_FILE_NAME, ¤t_stat, 0); X break; X X case SYMTYPE: X if (to_stdout_option) X break; X #ifdef S_ISLNK X if (unlink_first_option) X remove_any_file (CURRENT_FILE_NAME, recursive_unlink_option); X X while (status = symlink (current_link_name, CURRENT_FILE_NAME), X status != 0) X if (!maybe_recoverable (CURRENT_FILE_NAME)) X break; X X if (status == 0) X X /* Setting the attributes of symbolic links might, on some systems, X change the pointed to file, instead of the symbolic link itself. X At least some of these systems have a lchown call, and the X set_stat routine knows about this. */ X X set_stat (CURRENT_FILE_NAME, ¤t_stat, 1); X X else X { X ERROR ((0, errno, _("%s: Could not create symlink to `%s'"), X CURRENT_FILE_NAME, current_link_name)); X if (backup_option) X undo_last_backup (); X } X break; X #else /* not S_ISLNK */ X { X static int warned_once = 0; X X if (!warned_once) X { X warned_once = 1; X WARN ((0, 0, _("\ Attempting extraction of symbolic links as hard links"))); X } X } X /* Fall through. */ X #endif /* not S_ISLNK */ X X case LNKTYPE: X if (to_stdout_option) X break; X X if (unlink_first_option) X remove_any_file (CURRENT_FILE_NAME, recursive_unlink_option); X X again_link: X { X struct stat st1, st2; X X /* MSDOS does not implement links. However, djgpp's link() actually X copies the file. */ X status = link (current_link_name, CURRENT_FILE_NAME); X X if (status == 0) X break; X if (maybe_recoverable (CURRENT_FILE_NAME)) X goto again_link; X X if (incremental_option && errno == EEXIST) X break; X if (stat (current_link_name, &st1) == 0 X && stat (CURRENT_FILE_NAME, &st2) == 0 X && st1.st_dev == st2.st_dev X && st1.st_ino == st2.st_ino) X break; X X ERROR ((0, errno, _("%s: Could not link to `%s'"), X CURRENT_FILE_NAME, current_link_name)); X if (backup_option) X undo_last_backup (); X } X break; X #if S_IFCHR X case CHRTYPE: X current_stat.st_mode |= S_IFCHR; X goto make_node; #endif X #if S_IFBLK X case BLKTYPE: X current_stat.st_mode |= S_IFBLK; #endif X #if defined(S_IFCHR) || defined(S_IFBLK) X make_node: X if (to_stdout_option) X break; X X if (unlink_first_option) X remove_any_file (CURRENT_FILE_NAME, recursive_unlink_option); X X status = mknod (CURRENT_FILE_NAME, (int) current_stat.st_mode, X (int) current_stat.st_rdev); X if (status != 0) X { X if (maybe_recoverable (CURRENT_FILE_NAME)) X goto make_node; X X ERROR ((0, errno, _("%s: Could not make node"), CURRENT_FILE_NAME)); X if (backup_option) X undo_last_backup (); X break; X }; X set_stat (CURRENT_FILE_NAME, ¤t_stat, 0); X break; #endif X #ifdef S_ISFIFO X case FIFOTYPE: X if (to_stdout_option) X break; X X if (unlink_first_option) X remove_any_file (CURRENT_FILE_NAME, recursive_unlink_option); X X while (status = mkfifo (CURRENT_FILE_NAME, (int) current_stat.st_mode), X status != 0) X if (!maybe_recoverable (CURRENT_FILE_NAME)) X break; X X if (status == 0) X set_stat (CURRENT_FILE_NAME, ¤t_stat, 0); X else X { X ERROR ((0, errno, _("%s: Could not make fifo"), CURRENT_FILE_NAME)); X if (backup_option) X undo_last_backup (); X } X break; #endif X X case DIRTYPE: X case GNUTYPE_DUMPDIR: X name_length = strlen (CURRENT_FILE_NAME) - 1; X X really_dir: X /* Check for trailing /, and zap as many as we find. */ X while (name_length && CURRENT_FILE_NAME[name_length] == '/') X CURRENT_FILE_NAME[name_length--] = '\0'; X X if (incremental_option) X { X /* Read the entry and delete files that aren't listed in the X archive. */ X X gnu_restore (skipcrud); X } X else if (current_header->header.typeflag == GNUTYPE_DUMPDIR) X skip_file ((long) (current_stat.st_size)); X X if (to_stdout_option) X break; X X again_dir: X status = mkdir (CURRENT_FILE_NAME, X (we_are_root ? 0 : 0300) | (int) current_stat.st_mode); X if (status != 0) X { X /* If the directory creation fails, let's consider immediately the X case where the directory already exists. We have three good X reasons for clearing out this case before attempting recovery. X X 1) It would not be efficient recovering the error by deleting X the directory in maybe_recoverable, then recreating it right X away. We only hope we will be able to adjust its permissions X adequately, later. X X 2) Removing the directory might fail if it is not empty. By X exception, this real error is traditionally not reported. X X 3) Let's suppose `DIR' already exists and we are about to X extract `DIR/../DIR'. This would fail because the directory X already exists, and maybe_recoverable would react by removing X `DIR'. This then would fail again because there are missing X intermediate directories, and maybe_recoverable would react by X creating `DIR'. We would then have an extraction loop. */ X X if (errno == EEXIST) X { X struct stat st1; X int saved_errno = errno; X X if (stat (CURRENT_FILE_NAME, &st1) == 0 && S_ISDIR (st1.st_mode)) X goto check_perms; X X errno = saved_errno; /* FIXME: errno should be read-only */ X } X X if (maybe_recoverable (CURRENT_FILE_NAME)) X goto again_dir; X X /* If we're trying to create '.', let it be. */ X X /* FIXME: Strange style... */ X X if (CURRENT_FILE_NAME[name_length] == '.' X && (name_length == 0 X || CURRENT_FILE_NAME[name_length - 1] == '/')) X goto check_perms; X X ERROR ((0, errno, _("%s: Could not create directory"), X CURRENT_FILE_NAME)); X if (backup_option) X undo_last_backup (); X break; X } X X check_perms: X if (!we_are_root && 0300 != (0300 & (int) current_stat.st_mode)) X { X current_stat.st_mode |= 0300; X WARN ((0, 0, _("Added write and execute permission to directory %s"), X CURRENT_FILE_NAME)); X } X #if !MSDOS X /* MSDOS does not associate timestamps with directories. In this X case, no need to try delaying their restoration. */ X X if (touch_option) X X /* FIXME: I do not believe in this. Ignoring time stamps does not X alleviate the need of delaying the restoration of directories' X mode. Let's ponder this for a little while. */ X X set_mode (CURRENT_FILE_NAME, ¤t_stat); X X else X { X data = ((struct delayed_set_stat *) X xmalloc (sizeof (struct delayed_set_stat))); X data->file_name = xstrdup (CURRENT_FILE_NAME); X data->stat_info = current_stat; X data->next = delayed_set_stat_head; X delayed_set_stat_head = data; X } #endif /* !MSDOS */ X break; X X case GNUTYPE_VOLHDR: X if (verbose_option) X fprintf (stdlis, _("Reading %s\n"), current_file_name); X break; X X case GNUTYPE_NAMES: X extract_mangle (); X break; X X case GNUTYPE_MULTIVOL: X ERROR ((0, 0, _("\ Cannot extract `%s' -- file is continued from another volume"), X current_file_name)); X skip_file ((long) current_stat.st_size); X if (backup_option) X undo_last_backup (); X break; X X case GNUTYPE_LONGNAME: X case GNUTYPE_LONGLINK: X ERROR ((0, 0, _("Visible long name error"))); X skip_file ((long) current_stat.st_size); X if (backup_option) X undo_last_backup (); X break; X X default: X WARN ((0, 0, X _("Unknown file type '%c' for %s, extracted as normal file"), X current_header->header.typeflag, CURRENT_FILE_NAME)); X goto again_file; X } X #undef CURRENT_FILE_NAME } X /*----------------------------------------------------------------. | Set back the utime and mode for all the extracted directories. | `----------------------------------------------------------------*/ X void apply_delayed_set_stat (void) { X struct delayed_set_stat *data; X X while (delayed_set_stat_head != NULL) X { X data = delayed_set_stat_head; X delayed_set_stat_head = delayed_set_stat_head->next; X set_stat (data->file_name, &data->stat_info, 0); X free (data->file_name); X free (data); X } } SHAR_EOF $shar_touch -am 0422200597 'tar-1.12/src/extract.c' && chmod 0644 'tar-1.12/src/extract.c' || $echo 'restore of' 'tar-1.12/src/extract.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/src/extract.c:' 'MD5 check failed' 133f4c39c19f19d7f3bf61ab851601ce tar-1.12/src/extract.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/src/extract.c'`" test 29179 -eq "$shar_count" || $echo 'tar-1.12/src/extract.c:' 'original size' '29179,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/src/incremen.c ============== if test -f 'tar-1.12/src/incremen.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/src/incremen.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/src/incremen.c' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/src/incremen.c M+RH@1TY5(&1U;7`@97AT96YS:6]N2!O9@H@("!-15)#2$%.5$%"24Q)5%D@ M;W(@1DE43D534R!&3U(@02!005)424-53$%2(%!54E!/4T4N("!3964@=&AE M($=.52!'96YEF5D(&=E;F5R:6,@8VAAF5O9B`H71EPH@(&EF("AA8V-U;75L871O2`H M86-C=6UU;&%T;W(M/G!O:6YT97(@*R!A8V-U;75L871OF4["GT*#`HO*B!);F-R96UE;G1A;"!D=6UP('-P96-I86QI=&EE2`J9&ER96-T;W)Y"B`@("`]("AS=')U8W0@9&ER96-T;W)Y("HI('AM M86QL;V,@*'-I>F5O9B`H2DI.PH*("!D:7)E8W1O M'0@/2!D:7)E8W1O3L*"B`@9&ER96-T;W)Y+3YD979I8V5?;G5M8F5R(#T@9&5V M:6-E7VYU;6)E2`J"F9I M;F1?9&ER96-T;W)Y("AC:&%R("IN86UE*0I["B`@2`J9&ER96-T;W)Y.PH*("!F;W(@*&1I2`](&1I5]L M:7-T.PH@("`@("`@9&ER96-T;W)Y.PH@("`@("`@9&ER96-T;W)Y(#T@9&ER M96-T;W)Y+3YN97AT*0H@("`@>PH@("`@("!I9B`H(7-TPH@(')E='5R;B!S=')C;7`@*"@J*&-H M87(@*F-O;G-T("HI(&9IF4@;V8@;F%M95]B=69F97(L(&UI;G5S(#(@*B\*("`@(&EN="!N M86UE7VQE;F=T:#L)"2\J('5S960@;&5N9W1H(&EN(&YA;65?8G5F9F5R("HO M"B`@("!S=')U8W0@9&ER96-T;W)Y("ID:7)E8W1O2`J+PH*("`@ M(&YA;65?8G5F9F5R7W-I>F4@/2!S=')L96X@*'!A=&@I("L@3D%-15]&245, M1%]325I%.PH@("`@;F%M95]B=69F97(@/2!X;6%L;&]C("@H2`H;F%M95]B=69F M97(L('!A=&@I.PH@("`@:68@*'!A=&A;2`](')E861D:7(@*&1I2D*("`@("`@>PH)2D@*R!N86UE7VQE;F=T:"`^/2!N86UE7V)U9F9E M')E M86QL;V,@*&YA;65?8G5F9F5R+"`H2T^9%]N86UE*3L*"@EI9B`H9&5R969E"`H;F%M M95]B=69F97(L("9S=&%T7V1A=&$L(%-4051325I%+"!35%A?2$E$1$5.('P@ M4U187TQ)3DLI"B-E;'-E"@D@("`@/R!S=&%T("AN86UE7V)U9F9EPH)("`@(&%D9%]T;U]A8V-U;75L871O2T^9%]N86UE+"`B02(I.PH) M("`@(&5N=')Y+3YD7VYA;6QE;BLK.PH)("!]"B-E;F1I9@H*"65LPH)("`@(&EF("AD M:7)E8W1O2`H;F%M95]B=69F97(I+"!D:7)E M8W1O2T^9&5V:6-E7VYU;6)E2T^86QL;F5W(#T@,3L*"0D@("`@9&ER96-T;W)Y+3YD979I8V5?;G5M8F5R M(#T@2T^ M9&ER7W1E>'0@/2`B(CL*"2`@("`@('T*"2`@("!E;'-E"@D@("`@("!["@D) M:68@*'9E2`E2`H;F%M95]B=69F97(L('-T871?9&%T82YS=%]D978L('-T871?9&%T M82YS=%]I;F\L"@D)"0DB(BD["@D)9&ER96-T;W)Y(#T@9FEN9%]D:7)E8W1O M3L*("`@(&-H87(@*BIA5]C=7)S;W(["@H@ M("`@8V]U;G1EPH)9&5L M971E7V%C8W5M=6QA=&]R("AA8V-U;75L871OF5O M9B`H8VAAF5O M9B`H8VAA5]C=7)S;W(K*RD* M("`@("`@>PH)8VAA5]C;VYT96YTPH@("`@PH)("!N86UE7V)U9F9EPH)"2`@=VAI;&4@*&YA M;65?;&5N9W1H("L@')E86QL;V,@*&YA M;65?8G5F9F5R+"`H5]T;U]N86UE;&ES="`H;F%M95]B=69F97(L M(&1E=FEC92D["@D@("`@?0H)?0H*("`@("`@9G)E92`H;F%M95]B=69F97(I M.PH@("`@?0I]"@P*+RHM+2TN"GP@/R`@?`I@+2TM*B\*"G-T871I8R!V;VED M"G)E861?9&ER96-T;W)Y7V9I;&4@*'9O:60I"GL*("!D979?="!D979I8V5? M;G5M8F5R.PH@(&EN;U]T(&EN;V1E7VYU;6)EPH@ M("`@("!%4E)/4B`H*#`L(&5RF5O M9B`H8G5F*2P@9G`I.PH*("`O*B!&25A-13H@57-I;F<@869T97)?9&%T95]O M<'1I;VX@87,@82!F:7)S="!T:6UE(&9L86<@;&]O:W,@9F%IPH@("`@("!N97=E MPH@("`@("!%4E)/4B`H*#`L(&5R2`](&1I5]L M:7-T.R!D:7)E8W1O2`](&1I2T^;F5X="D* M("`@('L*("`@("`@:68@*"%D:7)E8W1OPH)("!F<')I;G1F("AF<"P@(B5U M("5U("5S7&XB+"!D:7)E8W1O2T^9&5V:6-E7VYU;6)E2T^;F%M92D["B`@("!]"B`@:68@*&9C;&]S92`H9G`I M(#T]($5/1BD*("`@($524D]2("@H,"P@97)R;F\L("(EPH@("`@("!N M97AT7VYA;64@/2!N86UE+3YN97AT.PH@("`@("!I9B`H;F%M92T^9F]U;F0@ M?'P@;F%M92T^9&ER7V-O;G1E;G1S*0H)8V]N=&EN=64["B`@("`@(&EF("AN M86UE+3YR96=E>'`I"0DO*B!&25A-13H@:G5S="!S:VEP(')E9V5X<',@9F]R M(&YO=R`J+PH)8V]N=&EN=64["B`@("`@(&EF("AN86UE+3YC:&%N9V5?9&ER M*0H):68@*&-H9&ER("AN86UE+3YC:&%N9V5?9&ER*2`\(#`I"@D@('L*"2`@ M("!%4E)/4B`H*#`L(&5RPH@("`@("`O M*B!4:&4@9&ER96-T;W)Y(&1O97-N)W0@97AI0H)(&-A2!F:6QEF4I.PH@("`@("!R971UF4@/2!C=7)R96YT7W-T870NF4@+3T@8V]P:65D*0H@("`@>PH@("`@("!D871A7V)L;V-K M(#T@9FEN9%]N97AT7V)L;V-K("@I.PH@("`@("!I9B`H(61A=&%?8FQO8VLI M"@E["@D@($524D]2("@H,"P@,"P@7R@B56YE>'!E8W1E9"!%3T8@:6X@87)C M:&EV92(I*2D["@D@(&)R96%K.PD)+RH@1DE8344Z(%=H870@:&%P<&5NF4I"@EC M;W!I960@/2!S:7IE.PH@("`@("!M96UC<'D@*'1O+"!D871A7V)L;V-K+3YB M=69F97(L("AS:7IE7W0I(&-O<&EE9"D["B`@("`@('1O("L](&-O<&EE9#L* M("`@("`@'1?8FQO8VM?869T97(@*"AU;FEO;B!B;&]C:R`J*0H) M"0D@("`@*&1A=&%?8FQO8VLM/F)U9F9E&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/src/incremen.c:' 'MD5 check failed' c4e374c2ba753005c0c083ae108ce318 tar-1.12/src/incremen.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/src/incremen.c'`" test 18774 -eq "$shar_count" || $echo 'tar-1.12/src/incremen.c:' 'original size' '18774,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/src/list.c ============== if test -f 'tar-1.12/src/list.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/src/list.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/src/list.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/src/list.c' && /* List a tar archive, with support routines for reading a tar archive. X Copyright (C) 1988, 92, 93, 94, 96, 97 Free Software Foundation, Inc. X Written by John Gilmore, on 1985-08-26. X X This program is free software; you can redistribute it and/or modify it X under the terms of the GNU General Public License as published by the X Free Software Foundation; either version 2, or (at your option) any later X version. X X This program is distributed in the hope that it will be useful, but X WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General X Public License for more details. X X You should have received a copy of the GNU General Public License along X with this program; if not, write to the Free Software Foundation, Inc., X 59 Place - Suite 330, Boston, MA 02111-1307, USA. */ X /* Define to non-zero for forcing old ctime() instead of isotime(). */ #undef USE_OLD_CTIME X #include "system.h" X #include #include X #define ISODIGIT(Char) \ X ((unsigned char) (Char) >= '0' && (unsigned char) (Char) <= '7') #define ISSPACE(Char) (ISASCII (Char) && isspace (Char)) X #include "common.h" X union block *current_header; /* points to current archive header */ struct stat current_stat; /* stat struct corresponding */ enum archive_format current_format; /* recognized format */ X /*-----------------------------------. | Main loop for reading an archive. | `-----------------------------------*/ X void read_and (void (*do_something) ()) { X enum read_header status = HEADER_STILL_UNREAD; X enum read_header prev_status; X char save_typeflag; X X name_gather (); X open_archive (ACCESS_READ); X X while (1) X { X prev_status = status; X status = read_header (); X switch (status) X { X case HEADER_STILL_UNREAD: X abort (); X X case HEADER_SUCCESS: X X /* Valid header. We should decode next field (mode) first. X Ensure incoming names are null terminated. */ X X /* FIXME: This is a quick kludge before 1.12 goes out. */ X current_stat.st_mtime X = from_oct (1 + 12, current_header->header.mtime); X X if (!name_match (current_file_name) X || current_stat.st_mtime < newer_mtime_option X || (exclude_option && check_exclude (current_file_name))) X { X int isextended = 0; X X if (current_header->header.typeflag == GNUTYPE_VOLHDR X || current_header->header.typeflag == GNUTYPE_MULTIVOL X || current_header->header.typeflag == GNUTYPE_NAMES) X { X (*do_something) (); X continue; X } X if (show_omitted_dirs_option X && current_header->header.typeflag == DIRTYPE) X WARN ((0, 0, _("Omitting %s"), current_file_name)); X X /* Skip past it in the archive. */ X X if (current_header->oldgnu_header.isextended) X isextended = 1; X save_typeflag = current_header->header.typeflag; X set_next_block_after (current_header); X if (isextended) X { #if 0 X union block *exhdr; X X while (1) X { X exhdr = find_next_block (); X if (!exhdr->sparse_header.isextended) X { X set_next_block_after (exhdr); X break; X } X } X set_next_block_after (exhdr); #endif X skip_extended_headers (); X } X X /* Skip to the next header on the archive. */ X X if (save_typeflag != DIRTYPE) X skip_file ((long) current_stat.st_size); X continue; X } X X (*do_something) (); X continue; X X case HEADER_ZERO_BLOCK: X if (block_number_option) X fprintf (stdlis, _("block %10ld: ** Block of NULs **\n"), X current_block_ordinal ()); X X set_next_block_after (current_header); X status = prev_status; X if (ignore_zeros_option) X continue; X break; X X case HEADER_END_OF_FILE: X if (block_number_option) X fprintf (stdlis, _("block %10ld: ** End of File **\n"), X current_block_ordinal ()); X break; X X case HEADER_FAILURE: X /* If the previous header was good, tell them that we are X skipping bad ones. */ X set_next_block_after (current_header); X switch (prev_status) X { X case HEADER_STILL_UNREAD: X WARN ((0, 0, _("Hmm, this doesn't look like a tar archive"))); X /* Fall through. */ X X case HEADER_ZERO_BLOCK: X case HEADER_SUCCESS: X WARN ((0, 0, _("Skipping to next file header"))); X break; X X case HEADER_END_OF_FILE: X case HEADER_FAILURE: X /* We are in the middle of a cascade of errors. */ X break; X } X continue; X } X break; X } X X apply_delayed_set_stat (); X close_archive (); X names_notfound (); /* print names not found */ } X /*---------------------------------------------. | Print a header block, based on tar options. | `---------------------------------------------*/ X void list_archive (void) { X int isextended = 0; /* to remember if current_header is extended */ X X /* Print the header block. */ X X if (verbose_option) X { X if (verbose_option > 1) X decode_header (current_header, ¤t_stat, ¤t_format, 0); X print_header (); X } X X if (incremental_option && current_header->header.typeflag == GNUTYPE_DUMPDIR) X { X size_t size, written, check; X union block *data_block; X X set_next_block_after (current_header); X if (multi_volume_option) X { X assign_string (&save_name, current_file_name); X save_totsize = current_stat.st_size; X } X for (size = current_stat.st_size; size > 0; size -= written) X { X if (multi_volume_option) X save_sizeleft = size; X data_block = find_next_block (); X if (!data_block) X { X ERROR ((0, 0, _("EOF in archive file"))); X break; /* FIXME: What happens, then? */ X } X written = available_space_after (data_block); X if (written > size) X written = size; X errno = 0; /* FIXME: errno should be read-only */ X check = fwrite (data_block->buffer, sizeof (char), written, stdlis); X set_next_block_after ((union block *) X (data_block->buffer + written - 1)); X if (check != written) X { X ERROR ((0, errno, _("Only wrote %ld of %ld bytes to file %s"), X check, written, current_file_name)); X skip_file ((long) (size - written)); X break; X } X } X if (multi_volume_option) X assign_string (&save_name, NULL); X fputc ('\n', stdlis); X fflush (stdlis); X return; X X } X X /* Check to see if we have an extended header to skip over also. */ X X if (current_header->oldgnu_header.isextended) X isextended = 1; X X /* Skip past the header in the archive. */ X X set_next_block_after (current_header); X X /* If we needed to skip any extended headers, do so now, by reading X extended headers and skipping past them in the archive. */ X X if (isextended) X { #if 0 X union block *exhdr; X X while (1) X { X exhdr = find_next_block (); X X if (!exhdr->sparse_header.isextended) X { X set_next_block_after (exhdr); X break; X } X set_next_block_after (exhdr); X } #endif X skip_extended_headers (); X } X X if (multi_volume_option) X assign_string (&save_name, current_file_name); X X /* Skip to the next header on the archive. */ X X skip_file ((long) current_stat.st_size); X X if (multi_volume_option) X assign_string (&save_name, NULL); } X /*-----------------------------------------------------------------------. | Read a block that's supposed to be a header block. Return its address | | in "current_header", and if it is good, the file's size in | | current_stat.st_size. | | | | Return 1 for success, 0 if the checksum is bad, EOF on eof, 2 for a | | block full of zeros (EOF marker). | | | | You must always set_next_block_after(current_header) to skip past the | | header which this routine reads. | `-----------------------------------------------------------------------*/ X /* The standard BSD tar sources create the checksum by adding up the X bytes in the header as type char. I think the type char was unsigned X on the PDP-11, but it's signed on the Next and Sun. It looks like the X sources to BSD tar were never changed to compute the checksum X currectly, so both the Sun and Next add the bytes of the header as X signed chars. This doesn't cause a problem until you get a file with X a name containing characters with the high bit set. So read_header X computes two checksums -- signed and unsigned. */ X /* FIXME: The signed checksum computation is broken on machines where char's X are unsigned. It's uneasy to handle all cases correctly... */ X enum read_header read_header (void) { X int i; X long unsigned_sum; /* the POSIX one :-) */ X long signed_sum; /* the Sun one :-( */ X long recorded_sum; X char *p; X union block *header; X char **longp; X char *bp; X union block *data_block; X int size, written; X static char *next_long_name, *next_long_link; X X while (1) X { X header = find_next_block (); X current_header = header; X if (!header) X return HEADER_END_OF_FILE; X X recorded_sum X = from_oct (sizeof header->header.chksum, header->header.chksum); X X unsigned_sum = 0; X signed_sum = 0; X p = header->buffer; X for (i = sizeof (*header); --i >= 0;) X { X /* We can't use unsigned char here because of old compilers, X e.g. V7. */ X X unsigned_sum += 0xFF & *p; X signed_sum += *p++; X } X X /* Adjust checksum to count the "chksum" field as blanks. */ X X for (i = sizeof (header->header.chksum); --i >= 0;) X { X unsigned_sum -= 0xFF & header->header.chksum[i]; X signed_sum -= header->header.chksum[i]; X } X unsigned_sum += ' ' * sizeof header->header.chksum; X signed_sum += ' ' * sizeof header->header.chksum; X X if (unsigned_sum == sizeof header->header.chksum * ' ') X { X /* This is a zeroed block...whole block is 0's except for the X blanks we faked for the checksum field. */ X X return HEADER_ZERO_BLOCK; X } X X if (unsigned_sum != recorded_sum && signed_sum != recorded_sum) X return HEADER_FAILURE; X X /* Good block. Decode file size and return. */ X X if (header->header.typeflag == LNKTYPE) X current_stat.st_size = 0; /* links 0 size on tape */ X else X current_stat.st_size = from_oct (1 + 12, header->header.size); X X header->header.name[NAME_FIELD_SIZE - 1] = '\0'; X if (header->header.typeflag == GNUTYPE_LONGNAME X || header->header.typeflag == GNUTYPE_LONGLINK) X { X longp = ((header->header.typeflag == GNUTYPE_LONGNAME) X ? &next_long_name X : &next_long_link); X X set_next_block_after (header); X if (*longp) X free (*longp); X bp = *longp = (char *) xmalloc ((size_t) current_stat.st_size); X X for (size = current_stat.st_size; size > 0; size -= written) X { X data_block = find_next_block (); X if (data_block == NULL) X { X ERROR ((0, 0, _("Unexpected EOF on archive file"))); X break; X } X written = available_space_after (data_block); X if (written > size) X written = size; X X memcpy (bp, data_block->buffer, (size_t) written); X bp += written; X set_next_block_after ((union block *) X (data_block->buffer + written - 1)); X } X X /* Loop! */ X X } X else X { X assign_string (¤t_file_name, X (next_long_name ? next_long_name X : current_header->header.name)); X assign_string (¤t_link_name, X (next_long_link ? next_long_link X : current_header->header.linkname)); X next_long_link = next_long_name = 0; X return HEADER_SUCCESS; X } X } } X /*-------------------------------------------------------------------------. | Decode things from a file HEADER block into STAT_INFO, also setting | | *FORMAT_POINTER depending on the header block format. If DO_USER_GROUP, | | decode the user/group information (this is useful for extraction, but | | waste time when merely listing). | | | | read_header() has already decoded the checksum and length, so we don't. | | | | This routine should *not* be called twice for the same block, since the | | two calls might use different DO_USER_GROUP values and thus might end up | | with different uid/gid for the two calls. If anybody wants the uid/gid | | they should decode it first, and other callers should decode it without | | uid/gid before calling a routine, e.g. print_header, that assumes | | decoded data. | `-------------------------------------------------------------------------*/ X void decode_header (union block *header, struct stat *stat_info, X enum archive_format *format_pointer, int do_user_group) { X enum archive_format format; X X if (strcmp (header->header.magic, TMAGIC) == 0) X format = POSIX_FORMAT; X else if (strcmp (header->header.magic, OLDGNU_MAGIC) == 0) X format = OLDGNU_FORMAT; X else X format = V7_FORMAT; X *format_pointer = format; X X stat_info->st_mode = from_oct (8, header->header.mode); X stat_info->st_mode &= 07777; X stat_info->st_mtime = from_oct (1 + 12, header->header.mtime); X X if (format == OLDGNU_FORMAT && incremental_option) X { X stat_info->st_atime = from_oct (1 + 12, header->oldgnu_header.atime); X stat_info->st_ctime = from_oct (1 + 12, header->oldgnu_header.ctime); X } X X if (format == V7_FORMAT) X { X stat_info->st_uid = from_oct (8, header->header.uid); X stat_info->st_gid = from_oct (8, header->header.gid); X stat_info->st_rdev = 0; X } X else X { X if (do_user_group) X { X /* FIXME: Decide if this should somewhat depend on -p. */ X X if (numeric_owner_option X || !*header->header.uname X || !uname_to_uid (header->header.uname, &stat_info->st_uid)) X stat_info->st_uid = from_oct (8, header->header.uid); X X if (numeric_owner_option X || !*header->header.gname X || !gname_to_gid (header->header.gname, &stat_info->st_gid)) X stat_info->st_gid = from_oct (8, header->header.gid); X } X switch (header->header.typeflag) X { #ifdef S_IFBLK X case BLKTYPE: X stat_info->st_rdev = makedev (from_oct (8, header->header.devmajor), X from_oct (8, header->header.devminor)); X break; #endif X #ifdef S_IFCHR X case CHRTYPE: X stat_info->st_rdev = makedev (from_oct (8, header->header.devmajor), X from_oct (8, header->header.devminor)); X break; #endif X X default: X stat_info->st_rdev = 0; X } X } } X /*------------------------------------------------------------------------. | Quick and dirty octal conversion. Result is -1 if the field is invalid | | (all blank, or nonoctal). | `------------------------------------------------------------------------*/ X long from_oct (int digs, char *where) { X long value; X X while (ISSPACE (*where)) X { /* skip spaces */ X where++; X if (--digs <= 0) X return -1; /* all blank field */ X } X value = 0; X while (digs > 0 && ISODIGIT (*where)) X { X /* Scan til nonoctal. */ X X value = (value << 3) | (*where++ - '0'); X --digs; X } X X if (digs > 0 && *where && !ISSPACE (*where)) X return -1; /* ended on non-space/nul */ X X return value; } X #if !USE_OLD_CTIME X /*-------------------------------------------. | Return the time formatted along ISO 8601. | `-------------------------------------------*/ X /* Also, see http://www.ft.uni-erlangen.de/~mskuhn/iso-time.html. */ X static char * isotime (const time_t *time) { X static char buffer[21]; X struct tm *tm; X X tm = localtime (time); X sprintf (buffer, "%4d-%02d-%02d %02d:%02d:%02d\n", X tm->tm_year + 1900, tm->tm_mon + 1, tm->tm_mday, X tm->tm_hour, tm->tm_min, tm->tm_sec); X return buffer; } X #endif /* not USE_OLD_CTIME */ X /*-------------------------------------------------------------------------. | Decode MODE from its binary form in a stat structure, and encode it into | | a 9 characters string STRING, terminated with a NUL. | `-------------------------------------------------------------------------*/ X static void decode_mode (unsigned mode, char *string) { X unsigned mask; X const char *rwx = "rwxrwxrwx"; X X for (mask = 0400; mask != 0; mask >>= 1) X if (mode & mask) X *string++ = *rwx++; X else X { X *string++ = '-'; X rwx++; X } X X if (mode & S_ISUID) X string[-7] = string[-7] == 'x' ? 's' : 'S'; X if (mode & S_ISGID) X string[-4] = string[-4] == 'x' ? 's' : 'S'; X if (mode & S_ISVTX) X string[-1] = string[-1] == 'x' ? 't' : 'T'; X X *string = '\0'; } X /*-------------------------------------------------------------------------. | Actually print it. | | | | Plain and fancy file header block logging. Non-verbose just prints the | | name, e.g. for "tar t" or "tar x". This should just contain file names, | | so it can be fed back into tar with xargs or the "-T" option. The | | verbose option can give a bunch of info, one line per file. I doubt | | anybody tries to parse its format, or if they do, they shouldn't. Unix | | tar is pretty random here anyway. | `-------------------------------------------------------------------------*/ X /* FIXME: Note that print_header uses the globals HEAD, HSTAT, and X HEAD_STANDARD, which must be set up in advance. Not very clean... */ X /* UGSWIDTH starts with 18, so with user and group names <= 8 chars, the X columns never shift during the listing. */ #define UGSWIDTH 18 static int ugswidth = UGSWIDTH; /* maximum width encountered so far */ X /* DATEWIDTH is the number of columns taken by the date and time fields. */ #if USE_OLD_CDATE # define DATEWIDTH 19 #else # define DATEWIDTH 18 #endif X void print_header (void) { X char modes[11]; X char *timestamp; X char uform[11], gform[11]; /* these hold formatted ints */ X char *user, *group; X char size[24]; /* holds a formatted long or maj, min */ X time_t longie; /* to make ctime() call portable */ X int pad; X char *name; X X if (block_number_option) X fprintf (stdlis, _("block %10ld: "), current_block_ordinal ()); X X if (verbose_option <= 1) X { X /* Just the fax, mam. */ X X char *quoted_name = quote_copy_string (current_file_name); X X if (quoted_name) X { X fprintf (stdlis, "%s\n", quoted_name); X free (quoted_name); X } X else X fprintf (stdlis, "%s\n", current_file_name); X } X else X { X /* File type and modes. */ X X modes[0] = '?'; X switch (current_header->header.typeflag) X { X case GNUTYPE_VOLHDR: X modes[0] = 'V'; X break; X X case GNUTYPE_MULTIVOL: X modes[0] = 'M'; X break; X X case GNUTYPE_NAMES: X modes[0] = 'N'; X break; X X case GNUTYPE_LONGNAME: X case GNUTYPE_LONGLINK: X ERROR ((0, 0, _("Visible longname error"))); X break; X X case GNUTYPE_SPARSE: X case REGTYPE: X case AREGTYPE: X case LNKTYPE: X modes[0] = '-'; X if (current_file_name[strlen (current_file_name) - 1] == '/') X modes[0] = 'd'; X break; X case GNUTYPE_DUMPDIR: X modes[0] = 'd'; X break; X case DIRTYPE: X modes[0] = 'd'; X break; X case SYMTYPE: X modes[0] = 'l'; X break; X case BLKTYPE: X modes[0] = 'b'; X break; X case CHRTYPE: X modes[0] = 'c'; X break; X case FIFOTYPE: X modes[0] = 'p'; X break; X case CONTTYPE: X modes[0] = 'C'; X break; X } X X decode_mode ((unsigned) current_stat.st_mode, modes + 1); X X /* Timestamp. */ X X longie = current_stat.st_mtime; #if USE_OLD_CTIME X timestamp = ctime (&longie); X timestamp[16] = '\0'; X timestamp[24] = '\0'; #else X timestamp = isotime (&longie); X timestamp[16] = '\0'; #endif X X /* User and group names. */ X X if (*current_header->header.uname && current_format != V7_FORMAT) X user = current_header->header.uname; X else X { X user = uform; X sprintf (uform, "%ld", from_oct (8, current_header->header.uid)); X } X X if (*current_header->header.gname && current_format != V7_FORMAT) X group = current_header->header.gname; X else X { X group = gform; X sprintf (gform, "%ld", from_oct (8, current_header->header.gid)); X } X X /* Format the file size or major/minor device numbers. */ X X switch (current_header->header.typeflag) X { #if defined(S_IFBLK) || defined(S_IFCHR) X case CHRTYPE: X case BLKTYPE: X sprintf (size, "%d,%d", X major (current_stat.st_rdev), minor (current_stat.st_rdev)); X break; #endif X case GNUTYPE_SPARSE: X sprintf (size, "%ld", X from_oct (1 + 12, current_header->oldgnu_header.realsize)); X break; X default: X sprintf (size, "%ld", (long) current_stat.st_size); X } X X /* Figure out padding and print the whole line. */ X X pad = strlen (user) + strlen (group) + strlen (size) + 1; X if (pad > ugswidth) X ugswidth = pad; X #if USE_OLD_CTIME X fprintf (stdlis, "%s %s/%s %*s%s %s %s", X modes, user, group, ugswidth - pad, "", X size, timestamp + 4, timestamp + 20); #else X fprintf (stdlis, "%s %s/%s %*s%s %s", X modes, user, group, ugswidth - pad, "", size, timestamp); #endif X X name = quote_copy_string (current_file_name); X if (name) X { X fprintf (stdlis, " %s", name); X free (name); X } X else X fprintf (stdlis, " %s", current_file_name); X X switch (current_header->header.typeflag) X { X case SYMTYPE: X name = quote_copy_string (current_link_name); X if (name) X { X fprintf (stdlis, " -> %s\n", name); X free (name); X } X else X fprintf (stdlis, " -> %s\n", current_link_name); X break; X X case LNKTYPE: X name = quote_copy_string (current_link_name); X if (name) X { X fprintf (stdlis, _(" link to %s\n"), name); X free (name); X } X else X fprintf (stdlis, _(" link to %s\n"), current_link_name); X break; X X default: X fprintf (stdlis, _(" unknown file type `%c'\n"), X current_header->header.typeflag); X break; X X case AREGTYPE: X case REGTYPE: X case GNUTYPE_SPARSE: X case CHRTYPE: X case BLKTYPE: X case DIRTYPE: X case FIFOTYPE: X case CONTTYPE: X case GNUTYPE_DUMPDIR: X putc ('\n', stdlis); X break; X X case GNUTYPE_VOLHDR: X fprintf (stdlis, _("--Volume Header--\n")); X break; X X case GNUTYPE_MULTIVOL: X fprintf (stdlis, _("--Continued at byte %ld--\n"), X from_oct (1 + 12, current_header->oldgnu_header.offset)); X break; X X case GNUTYPE_NAMES: X fprintf (stdlis, _("--Mangled file names--\n")); X break; X } X } X fflush (stdlis); } X /*--------------------------------------------------------------. | Print a similar line when we make a directory automatically. | `--------------------------------------------------------------*/ X void print_for_mkdir (char *pathname, int length, int mode) { X char modes[11]; X char *name; X X if (verbose_option > 1) X { X /* File type and modes. */ X X modes[0] = 'd'; X decode_mode ((unsigned) mode, modes + 1); X X if (block_number_option) X fprintf (stdlis, _("block %10ld: "), current_block_ordinal ()); X name = quote_copy_string (pathname); X if (name) X { X fprintf (stdlis, "%s %*s %.*s\n", modes, ugswidth + DATEWIDTH, X _("Creating directory:"), length, name); X free (name); X } X else X fprintf (stdlis, "%s %*s %.*s\n", modes, ugswidth + DATEWIDTH, X _("Creating directory:"), length, pathname); X } } X /*--------------------------------------------------------. | Skip over SIZE bytes of data in blocks in the archive. | `--------------------------------------------------------*/ X void skip_file (long size) { X union block *x; X X if (multi_volume_option) X { X save_totsize = size; X save_sizeleft = size; X } X X while (size > 0) X { X x = find_next_block (); X if (x == NULL) X FATAL_ERROR ((0, 0, _("Unexpected EOF on archive file"))); X X set_next_block_after (x); X size -= BLOCKSIZE; X if (multi_volume_option) X save_sizeleft -= BLOCKSIZE; X } } X /*---. | ? | `---*/ X void skip_extended_headers (void) { X union block *exhdr; X X while (1) X { X exhdr = find_next_block (); X if (!exhdr->sparse_header.isextended) X { X set_next_block_after (exhdr); X break; X } X set_next_block_after (exhdr); X } } SHAR_EOF $shar_touch -am 0425161697 'tar-1.12/src/list.c' && chmod 0644 'tar-1.12/src/list.c' || $echo 'restore of' 'tar-1.12/src/list.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/src/list.c:' 'MD5 check failed' f0d24fd9d895f1d70a4e86787be6ab5b tar-1.12/src/list.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/src/list.c'`" test 23949 -eq "$shar_count" || $echo 'tar-1.12/src/list.c:' 'original size' '23949,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/src/mangle.c ============== if test -f 'tar-1.12/src/mangle.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/src/mangle.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/src/mangle.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/src/mangle.c' && /* Encode long filenames for GNU tar. X Copyright (C) 1988, 1992, 1994, 1996, 1997 Free Software Foundation, Inc. X X This program is free software; you can redistribute it and/or modify it X under the terms of the GNU General Public License as published by the X Free Software Foundation; either version 2, or (at your option) any later X version. X X This program is distributed in the hope that it will be useful, but X WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General X Public License for more details. X X You should have received a copy of the GNU General Public License along X with this program; if not, write to the Free Software Foundation, Inc., X 59 Place - Suite 330, Boston, MA 02111-1307, USA. */ X #include "system.h" X #include time_t time (); X #include "common.h" X struct mangled X { X struct mangled *next; X int type; X char mangled[NAME_FIELD_SIZE]; X char *linked_to; X char normal[1]; X }; X /* Should use a hash table, etc. . */ struct mangled *first_mangle; int mangled_num = 0; X /*---------------------------------------------------------------------. | Extract a GNUTYPE_NAMES record contents. It seems that such are not | | produced anymore by GNU tar, but we leave the reading code around | | nevertheless, for salvaging old tapes. | `---------------------------------------------------------------------*/ X void extract_mangle (void) { X int size = current_stat.st_size; X char *buffer = xmalloc ((size_t) (size + 1)); X char *copy = buffer; X char *cursor = buffer; X X buffer[size] = '\0'; X X while (size > 0) X { X union block *block = find_next_block (); X int available; X X if (!block) X { X ERROR ((0, 0, _("Unexpected EOF in mangled names"))); X return; X } X available = available_space_after (block); X if (available > size) X available = size; X memcpy (copy, block->buffer, (size_t) available); X copy += available; X size -= available; X set_next_block_after ((union block *) (block->buffer + available - 1)); X } X X while (*cursor) X { X char *next_cursor; X char *name; X char *name_end; X X next_cursor = strchr (cursor, '\n'); X *next_cursor++ = '\0'; X X if (!strncmp (cursor, "Rename ", 7)) X { X X name = cursor + 7; X name_end = strchr (name, ' '); X while (strncmp (name_end, " to ", 4)) X { X name_end++; X name_end = strchr (name_end, ' '); X } X *name_end = '\0'; X if (next_cursor[-2] == '/') X next_cursor[-2] = '\0'; X unquote_string (name_end + 4); X if (rename (name, name_end + 4)) X ERROR ((0, errno, _("Cannot rename %s to %s"), name, name_end + 4)); X else if (verbose_option) X WARN ((0, 0, _("Renamed %s to %s"), name, name_end + 4)); X } #ifdef S_ISLNK X else if (!strncmp (cursor, "Symlink ", 8)) X { X name = cursor + 8; X name_end = strchr (name, ' '); X while (strncmp (name_end, " to ", 4)) X { X name_end++; X name_end = strchr (name_end, ' '); X } X *name_end = '\0'; X unquote_string (name); X unquote_string (name_end + 4); X if (symlink (name, name_end + 4) X && (unlink (name_end + 4) || symlink (name, name_end + 4))) X ERROR ((0, errno, _("Cannot symlink %s to %s"), X name, name_end + 4)); X else if (verbose_option) X WARN ((0, 0, _("Symlinked %s to %s"), name, name_end + 4)); X } #endif X else X ERROR ((0, 0, _("Unknown demangling command %s"), cursor)); X X cursor = next_cursor; X } } SHAR_EOF $shar_touch -am 0415163497 'tar-1.12/src/mangle.c' && chmod 0644 'tar-1.12/src/mangle.c' || $echo 'restore of' 'tar-1.12/src/mangle.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/src/mangle.c:' 'MD5 check failed' 0ef69858f6e8771c3712ab09e4cbd297 tar-1.12/src/mangle.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/src/mangle.c'`" test 3538 -eq "$shar_count" || $echo 'tar-1.12/src/mangle.c:' 'original size' '3538,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/src/misc.c ============== if test -f 'tar-1.12/src/misc.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/src/misc.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/src/misc.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/src/misc.c' && /* Miscellaneous functions, not really specific to GNU tar. X Copyright (C) 1988, 92, 94, 95, 96, 97 Free Software Foundation, Inc. X X This program is free software; you can redistribute it and/or modify it X under the terms of the GNU General Public License as published by the X Free Software Foundation; either version 2, or (at your option) any later X version. X X This program is distributed in the hope that it will be useful, but X WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General X Public License for more details. X X You should have received a copy of the GNU General Public License along X with this program; if not, write to the Free Software Foundation, Inc., X 59 Place - Suite 330, Boston, MA 02111-1307, USA. */ X #include "system.h" X #include "backupfile.h" #include "rmt.h" X /* The following inclusion for crosschecking prototypes, only. */ #include "common.h" X /* Handling strings. */ X #define ISPRINT(Char) (ISASCII (Char) && isprint (Char)) X /*-------------------------------------------------------------------------. | Assign STRING to a copy of VALUE if not NULL, or to NULL. If STRING was | | not NULL, it is freed first. | `-------------------------------------------------------------------------*/ X void assign_string (char **string, const char *value) { X if (*string) X free (*string); X *string = value ? xstrdup (value) : NULL; } X /*------------------------------------------------------------------------. | Allocate a copy of the string quoted as in C, and returns that. If the | | string does not have to be quoted, it returns the NULL string. The | | allocated copy should normally be freed with free() after the caller is | | done with it. | | | | This is used in two contexts only: either listing a tar file for the | | --list (-t) option, or generating the directory file in incremental | | dumps. | `------------------------------------------------------------------------*/ X char * quote_copy_string (const char *string) { X const char *source = string; X char *destination = NULL; X char *buffer = NULL; X int copying = 0; X X while (*source) X { X int character = (unsigned char) *source++; X X if (character == '\\') X { X if (!copying) X { X int length = (source - string) - 1; X X copying = 1; X buffer = (char *) xmalloc (length + 5 + strlen (source) * 4); X memcpy (buffer, string, (size_t) length); X destination = buffer + length; X } X *destination++ = '\\'; X *destination++ = '\\'; X } X else if (ISPRINT (character)) X { X if (copying) X *destination++ = character; X } X else X { X if (!copying) X { X int length = (source - string) - 1; X X copying = 1; X buffer = (char *) xmalloc (length + 5 + strlen (source) * 4); X memcpy (buffer, string, (size_t) length); X destination = buffer + length; X } X *destination++ = '\\'; X switch (character) X { X case '\n': X *destination++ = 'n'; X break; X X case '\t': X *destination++ = 't'; X break; X X case '\f': X *destination++ = 'f'; X break; X X case '\b': X *destination++ = 'b'; X break; X X case '\r': X *destination++ = 'r'; X break; X X case '\177': X *destination++ = '?'; X break; X X default: X *destination++ = (character >> 6) + '0'; X *destination++ = ((character >> 3) & 07) + '0'; X *destination++ = (character & 07) + '0'; X break; X } X } X } X if (copying) X { X *destination = '\0'; X return buffer; X } X return NULL; } X /*-------------------------------------------------------------------------. | Takes a quoted C string (like those produced by quote_copy_string) and | | turns it back into the un-quoted original. This is done in place. | | Returns 0 only if the string was not properly quoted, but completes the | | unquoting anyway. | | | | This is used for reading the saved directory file in incremental dumps. | | It is used for decoding old `N' records (demangling names). But also, | | it is used for decoding file arguments, would they come from the shell | | or a -T file, and for decoding the --exclude argument. | `-------------------------------------------------------------------------*/ X int unquote_string (char *string) { X int result = 1; X char *source = string; X char *destination = string; X X while (*source) X if (*source == '\\') X switch (*++source) X { X case '\\': X *destination++ = '\\'; X source++; X break; X X case 'n': X *destination++ = '\n'; X source++; X break; X X case 't': X *destination++ = '\t'; X source++; X break; X X case 'f': X *destination++ = '\f'; X source++; X break; X X case 'b': X *destination++ = '\b'; X source++; X break; X X case 'r': X *destination++ = '\r'; X source++; X break; X X case '?': X *destination++ = 0177; X source++; X break; X X case '0': X case '1': X case '2': X case '3': X case '4': X case '5': X case '6': X case '7': X { X int value = *source++ - '0'; X X if (*source < '0' || *source > '7') X { X *destination++ = value; X break; X } X value = value * 8 + *source++ - '0'; X if (*source < '0' || *source > '7') X { X *destination++ = value; X break; X } X value = value * 8 + *source++ - '0'; X *destination++ = value; X break; X } X X default: X result = 0; X *destination++ = '\\'; X if (*source) X *destination++ = *source++; X break; X } X else if (source != destination) X *destination++ = *source++; X else X source++, destination++; X X if (source != destination) X *destination = '\0'; X return result; } X /* Sorting lists. */ X /*---. | ? | `---*/ X char * merge_sort (char *list, int length, int offset, int (*compare) (char *, char *)) { X char *first_list; X char *second_list; X int first_length; X int second_length; X char *result; X char **merge_point; X char *cursor; X int counter; X #define SUCCESSOR(Pointer) \ X (*((char **) (((char *) (Pointer)) + offset))) X X if (length == 1) X return list; X X if (length == 2) X { X if ((*compare) (list, SUCCESSOR (list)) > 0) X { X result = SUCCESSOR (list); X SUCCESSOR (result) = list; X SUCCESSOR (list) = NULL; X return result; X } X return list; X } X X first_list = list; X first_length = (length + 1) / 2; X second_length = length / 2; X for (cursor = list, counter = first_length - 1; X counter; X cursor = SUCCESSOR (cursor), counter--) X continue; X second_list = SUCCESSOR (cursor); X SUCCESSOR (cursor) = NULL; X X first_list = merge_sort (first_list, first_length, offset, compare); X second_list = merge_sort (second_list, second_length, offset, compare); X X merge_point = &result; X while (first_list && second_list) X if ((*compare) (first_list, second_list) < 0) X { X cursor = SUCCESSOR (first_list); X *merge_point = first_list; X merge_point = &SUCCESSOR (first_list); X first_list = cursor; X } X else X { X cursor = SUCCESSOR (second_list); X *merge_point = second_list; X merge_point = &SUCCESSOR (second_list); X second_list = cursor; X } X if (first_list) X *merge_point = first_list; X else X *merge_point = second_list; X X return result; X #undef SUCCESSOR } X /* File handling. */ X /* Saved names in case backup needs to be undone. */ static char *before_backup_name = NULL; static char *after_backup_name = NULL; X /*------------------------------------------------------------------------. | Returns nonzero if p is `.' or `..'. This could be a macro for speed. | `------------------------------------------------------------------------*/ X /* Early Solaris 2.4 readdir may return d->d_name as `' in NFS-mounted X directories. The workaround here skips `' just like `.'. Without it, X GNU tar would then treat `' much like `.' and loop endlessly. */ X int is_dot_or_dotdot (const char *p) { X return (p[0] == '\0' X || (p[0] == '.' && (p[1] == '\0' X || (p[1] == '.' && p[2] == '\0')))); } X /*-------------------------------------------------------------------------. | Delete PATH, whatever it might be. If RECURSE, first recursively delete | | the contents of PATH when it is a directory. Return zero on any error, | | with errno set. As a special case, if we fail to delete a directory | | when not RECURSE, do not set errno (just be tolerant to this error). | `-------------------------------------------------------------------------*/ X int remove_any_file (const char *path, int recurse) { X struct stat stat_buffer; X X if (lstat (path, &stat_buffer) < 0) X return 0; X X if (S_ISDIR (stat_buffer.st_mode)) X if (recurse) X { X DIR *dirp = opendir (path); X struct dirent *dp; X X if (dirp == NULL) X return 0; X X while (dp = readdir (dirp), dp && !is_dot_or_dotdot (dp->d_name)) X { X char *path_buffer = new_name (path, dp->d_name); X X if (!remove_any_file (path_buffer, 1)) X { X int saved_errno = errno; X X free (path_buffer); X closedir (dirp); X errno = saved_errno; /* FIXME: errno should be read-only */ X return 0; X } X free (path_buffer); X } X closedir (dirp); X return rmdir (path) >= 0; X } X else X { X /* FIXME: Saving errno might not be needed anymore, now that X extract_archive tests for the special case before recovery. */ X int saved_errno = errno; X X if (rmdir (path) >= 0) X return 1; X errno = saved_errno; /* FIXME: errno should be read-only */ X return 0; X } X X return unlink (path) >= 0; } X /*-------------------------------------------------------------------------. | Check if PATH already exists and make a backup of it right now. Return | | success (nonzero) only if the backup in either unneeded, or successful. | | | | For now, directories are considered to never need backup. If ARCHIVE is | | nonzero, this is the archive and so, we do not have to backup block or | | character devices, nor remote entities. | `-------------------------------------------------------------------------*/ X int maybe_backup_file (const char *path, int archive) { X struct stat file_stat; X X /* Check if we really need to backup the file. */ X X if (archive && _remdev (path)) X return 1; X X if (stat (path, &file_stat)) X { X if (errno == ENOENT) X return 1; X X ERROR ((0, errno, "%s", path)); X return 0; X } X X if (S_ISDIR (file_stat.st_mode)) X return 1; X #ifdef S_ISBLK X if (archive && S_ISBLK (file_stat.st_mode)) X return 1; #endif X #ifdef S_ISCHR X if (archive && S_ISCHR (file_stat.st_mode)) X return 1; #endif X X assign_string (&before_backup_name, path); X X /* A run situation may exist between Emacs or other GNU programs trying to X make a backup for the same file simultaneously. If theoretically X possible, real problems are unlikely. Doing any better would require a X convention, GNU-wide, for all programs doing backups. */ X X assign_string (&after_backup_name, NULL); X after_backup_name = find_backup_file_name (path); X if (after_backup_name == NULL) X FATAL_ERROR ((0, 0, "Virtual memory exhausted")); X X if (rename (before_backup_name, after_backup_name) == 0) X { X if (verbose_option) X fprintf (stdlis, _("Renaming previous `%s' to `%s'\n"), X before_backup_name, after_backup_name); X return 1; X } X X /* The backup operation failed. */ X X ERROR ((0, errno, _("%s: Cannot rename for backup"), before_backup_name)); X assign_string (&after_backup_name, NULL); X return 0; } X /*-----------------------------------------------------------------------. | Try to restore the recently backed up file to its original name. This | | is usually only needed after a failed extraction. | `-----------------------------------------------------------------------*/ X void undo_last_backup (void) { X if (after_backup_name) X { X if (rename (after_backup_name, before_backup_name) != 0) X ERROR ((0, errno, _("%s: Cannot rename from backup"), X before_backup_name)); X if (verbose_option) X fprintf (stdlis, _("Renaming `%s' back to `%s'\n"), X after_backup_name, before_backup_name); X assign_string (&after_backup_name, NULL); X } } SHAR_EOF $shar_touch -am 0424104197 'tar-1.12/src/misc.c' && chmod 0644 'tar-1.12/src/misc.c' || $echo 'restore of' 'tar-1.12/src/misc.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/src/misc.c:' 'MD5 check failed' 4f6d63a583212c41ec744ba7ba22bec6 tar-1.12/src/misc.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/src/misc.c'`" test 12207 -eq "$shar_count" || $echo 'tar-1.12/src/misc.c:' 'original size' '12207,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/src/names.c ============== if test -f 'tar-1.12/src/names.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/src/names.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/src/names.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/src/names.c' && /* Various processing of names. X Copyright (C) 1988, 1992, 1994, 1996, 1997 Free Software Foundation, Inc. X X This program is free software; you can redistribute it and/or modify it X under the terms of the GNU General Public License as published by the X Free Software Foundation; either version 2, or (at your option) any later X version. X X This program is distributed in the hope that it will be useful, but X WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General X Public License for more details. X X You should have received a copy of the GNU General Public License along X with this program; if not, write to the Free Software Foundation, Inc., X 59 Place - Suite 330, Boston, MA 02111-1307, USA. */ X #include "system.h" X #include #include X #ifndef FNM_LEADING_DIR # include #endif X #include "common.h" X /* User and group names. */ X extern struct group *getgrnam (); extern struct passwd *getpwnam (); #if !HAVE_GETPWUID extern struct passwd *getpwuid (); #endif #if !HAVE_GETGRGID extern struct group *getgrgid (); #endif X /* Make sure you link with the proper libraries if you are running the X Yellow Peril (thanks for the good laugh, Ian J.!), or, euh... NIS. X This code should also be modified for non-UNIX systems to do something X reasonable. */ X static char cached_uname[UNAME_FIELD_SIZE] = ""; static char cached_gname[GNAME_FIELD_SIZE] = ""; X static uid_t cached_uid; /* valid only if cached_uname is not empty */ static gid_t cached_gid; /* valid only if cached_gname is not empty */ X /*------------------------------------------. | Given UID, find the corresponding UNAME. | `------------------------------------------*/ X void uid_to_uname (uid_t uid, char uname[UNAME_FIELD_SIZE]) { X struct passwd *passwd; X X if (!cached_uname[0] || uid != cached_uid) X { X passwd = getpwuid (uid); X if (passwd) X { X cached_uid = uid; X strncpy (cached_uname, passwd->pw_name, UNAME_FIELD_SIZE); X } X else X *uname = '\0'; X } X strncpy (uname, cached_uname, UNAME_FIELD_SIZE); } X /*------------------------------------------. | Given GID, find the corresponding GNAME. | `------------------------------------------*/ X void gid_to_gname (gid_t gid, char gname[GNAME_FIELD_SIZE]) { X struct group *group; X X if (!cached_gname[0] || gid != cached_gid) X { X setgrent (); /* FIXME: why?! */ X group = getgrgid (gid); X if (group) X { X cached_gid = gid; X strncpy (cached_gname, group->gr_name, GNAME_FIELD_SIZE); X } X else X *gname = '\0'; X } X strncpy (gname, cached_gname, GNAME_FIELD_SIZE); } X /*-------------------------------------------------------------------------. | Given UNAME, set the corresponding UID and return 1, or else, return 0. | `-------------------------------------------------------------------------*/ X int uname_to_uid (char uname[UNAME_FIELD_SIZE], uid_t *uidp) { X struct passwd *passwd; X X if (!cached_uname[0] X || uname[0] != cached_uname[0] X || strncmp (uname, cached_uname, UNAME_FIELD_SIZE) != 0) X { X passwd = getpwnam (uname); X if (passwd) X { X cached_uid = passwd->pw_uid; X strncpy (cached_uname, uname, UNAME_FIELD_SIZE); X } X else X return 0; X } X *uidp = cached_uid; X return 1; } X /*-------------------------------------------------------------------------. | Given GNAME, set the corresponding GID and return 1, or else, return 0. | `-------------------------------------------------------------------------*/ X int gname_to_gid (char gname[GNAME_FIELD_SIZE], gid_t *gidp) { X struct group *group; X X if (!cached_gname[0] X || gname[0] != cached_gname[0] X || strncmp (gname, cached_gname, GNAME_FIELD_SIZE) != 0) X { X group = getgrnam (gname); X if (group) X { X cached_gid = group->gr_gid; X strncpy (cached_gname, gname, GNAME_FIELD_SIZE); X } X else X return 0; X } X *gidp = cached_gid; X return 1; } X /* Names from the command call. */ X static const char **name_array; /* store an array of names */ static int allocated_names; /* how big is the array? */ static int names; /* how many entries does it have? */ static int name_index = 0; /* how many of the entries have we scanned? */ X /*------------------------. | Initialize structures. | `------------------------*/ X void init_names (void) { X allocated_names = 10; X name_array = (const char **) X xmalloc (sizeof (const char *) * allocated_names); X names = 0; } X /*--------------------------------------------------------------. | Add NAME at end of name_array, reallocating it as necessary. | `--------------------------------------------------------------*/ X void name_add (const char *name) { X if (names == allocated_names) X { X allocated_names *= 2; X name_array = (const char **) X xrealloc (name_array, sizeof (const char *) * allocated_names); X } X name_array[names++] = name; } X /* Names from external name file. */ X static FILE *name_file; /* file to read names from */ static char *name_buffer; /* buffer to hold the current file name */ static size_t name_buffer_length; /* allocated length of name_buffer */ X /*---. | ? | `---*/ X /* FIXME: I should better check more closely. It seems at first glance that X is_pattern is only used when reading a file, and ignored for all X command line arguments. */ X static inline int is_pattern (const char *string) { X return strchr (string, '*') || strchr (string, '[') || strchr (string, '?'); } X /*-----------------------------------------------------------------------. | Set up to gather file names for tar. They can either come from a file | | or were saved from decoding arguments. | `-----------------------------------------------------------------------*/ X void name_init (int argc, char *const *argv) { X name_buffer = xmalloc (NAME_FIELD_SIZE + 2); X name_buffer_length = NAME_FIELD_SIZE; X X if (files_from_option) X { X if (!strcmp (files_from_option, "-")) X { X request_stdin ("-T"); X name_file = stdin; X } X else if (name_file = fopen (files_from_option, "r"), !name_file) X FATAL_ERROR ((0, errno, _("Cannot open file %s"), name_file)); X } } X /*---. | ? | `---*/ X void name_term (void) { X free (name_buffer); X free (name_array); } X /*---------------------------------------------------------------------. | Read the next filename from name_file and null-terminate it. Put it | | into name_buffer, reallocating and adjusting name_buffer_length if | | necessary. Return 0 at end of file, 1 otherwise. | `---------------------------------------------------------------------*/ X static int read_name_from_file (void) { X int character; X int counter = 0; X X /* FIXME: getc may be called even if character was EOF the last time here. */ X X /* FIXME: This + 2 allocation might serve no purpose. */ X X while (character = getc (name_file), X character != EOF && character != filename_terminator) X { X if (counter == name_buffer_length) X { X name_buffer_length += NAME_FIELD_SIZE; X name_buffer = xrealloc (name_buffer, name_buffer_length + 2); X } X name_buffer[counter++] = character; X } X X if (counter == 0 && character == EOF) X return 0; X X if (counter == name_buffer_length) X { X name_buffer_length += NAME_FIELD_SIZE; X name_buffer = xrealloc (name_buffer, name_buffer_length + 2); X } X name_buffer[counter] = '\0'; X X return 1; } X /*------------------------------------------------------------------------. | Get the next name from ARGV or the file of names. Result is in static | | storage and can't be relied upon across two calls. | | | | If CHANGE_DIRS is true, treat a filename of the form "-C" as meaning | | that the next filename is the name of a directory to change to. If | | `filename_terminator' is NUL, CHANGE_DIRS is effectively always false. | `------------------------------------------------------------------------*/ X char * name_next (int change_dirs) { X const char *source; X char *cursor; X int chdir_flag = 0; X X if (filename_terminator == '\0') X change_dirs = 0; X X while (1) X { X /* Get a name, either from file or from saved arguments. */ X X if (name_file) X { X if (!read_name_from_file ()) X break; X } X else X { X if (name_index == names) X break; X X source = name_array[name_index++]; X if (strlen (source) > name_buffer_length) X { X free (name_buffer); X name_buffer_length = strlen (source); X name_buffer = xmalloc (name_buffer_length + 2); X } X strcpy (name_buffer, source); X } X X /* Zap trailing slashes. */ X X cursor = name_buffer + strlen (name_buffer) - 1; X while (cursor > name_buffer && *cursor == '/') X *cursor-- = '\0'; X X if (chdir_flag) X { X if (chdir (name_buffer) < 0) X FATAL_ERROR ((0, errno, _("Cannot change to directory %s"), X name_buffer)); X chdir_flag = 0; X } X else if (change_dirs && strcmp (name_buffer, "-C") == 0) X chdir_flag = 1; X else #if 0 X if (!exclude_option || !check_exclude (name_buffer)) #endif X { X unquote_string (name_buffer); X return name_buffer; X } X } X X /* No more names in file. */ X X if (name_file && chdir_flag) X FATAL_ERROR ((0, 0, _("Missing file name after -C"))); X X return NULL; } X /*------------------------------. | Close the name file, if any. | `------------------------------*/ X void name_close (void) { X if (name_file != NULL && name_file != stdin) X if (fclose (name_file) == EOF) X ERROR ((0, errno, "%s", name_buffer)); } X /*-------------------------------------------------------------------------. | Gather names in a list for scanning. Could hash them later if we really | | care. | | | | If the names are already sorted to match the archive, we just read them | | one by one. name_gather reads the first one, and it is called by | | name_match as appropriate to read the next ones. At EOF, the last name | | read is just left in the buffer. This option lets users of small | | machines extract an arbitrary number of files by doing "tar t" and | | editing down the list of files. | `-------------------------------------------------------------------------*/ X void name_gather (void) { X /* Buffer able to hold a single name. */ X static struct name *buffer; X static int allocated_length = 0; X X char *name; X X if (same_order_option) X { X if (allocated_length == 0) X { X allocated_length = sizeof (struct name) + NAME_FIELD_SIZE; X buffer = (struct name *) xmalloc (allocated_length); X /* FIXME: This memset is overkill, and ugly... */ X memset (buffer, 0, allocated_length); X } X name = name_next (0); X if (name) X { X if (strcmp (name, "-C") == 0) X { X char *copy = xstrdup (name_next (0)); X X name = name_next (0); X if (!name) X FATAL_ERROR ((0, 0, _("Missing file name after -C"))); X buffer->change_dir = copy; X } X buffer->length = strlen (name); X if (sizeof (struct name) + buffer->length >= allocated_length) X { X allocated_length = sizeof (struct name) + buffer->length; X buffer = (struct name *) xrealloc (buffer, allocated_length); X } X strncpy (buffer->name, name, (size_t) buffer->length); X buffer->name[buffer->length] = 0; X buffer->next = NULL; X buffer->found = 0; X X /* FIXME: Poorly named globals, indeed... */ X namelist = buffer; X namelast = namelist; X } X return; X } X X /* Non sorted names -- read them all in. */ X X while (name = name_next (0), name) X addname (name); } X /*-----------------------------. | Add a name to the namelist. | `-----------------------------*/ X void addname (const char *string) { X /* FIXME: This is ugly. How is memory managed? */ X static char *chdir_name = NULL; X X struct name *name; X int length; X X if (strcmp (string, "-C") == 0) X { X chdir_name = xstrdup (name_next (0)); X string = name_next (0); X if (!chdir_name) X FATAL_ERROR ((0, 0, _("Missing file name after -C"))); X X if (chdir_name[0] != '/') X { X char *path = xmalloc (PATH_MAX); X X /* FIXME: Shouldn't we use xgetcwd? */ #if HAVE_GETCWD X if (!getcwd (path, PATH_MAX)) X FATAL_ERROR ((0, 0, _("Could not get current directory"))); #else X char *getwd (); X X if (!getwd (path)) X FATAL_ERROR ((0, 0, _("Could not get current directory: %s"), X path)); #endif X chdir_name = new_name (path, chdir_name); X free (path); X } X } X X length = string ? strlen (string) : 0; X name = (struct name *) xmalloc ((size_t) (sizeof (struct name) + length)); X memset (name, 0, sizeof (struct name) + length); X name->next = NULL; X X if (string) X { X name->fake = 0; X name->length = length; X /* FIXME: Possibly truncating a string, here? Tss, tss, tss! */ X strncpy (name->name, string, (size_t) length); X name->name[length] = '\0'; X } X else X name->fake = 1; X X name->found = 0; X name->regexp = 0; /* assume not a regular expression */ X name->firstch = 1; /* assume first char is literal */ X name->change_dir = chdir_name; X name->dir_contents = 0; X X if (string && is_pattern (string)) X { X name->regexp = 1; X if (string[0] == '*' || string[0] == '[' || string[0] == '?') X name->firstch = 0; X } X X if (namelast) X namelast->next = name; X namelast = name; X if (!namelist) X namelist = name; } X /*------------------------------------------------------------------------. | Return true if and only if name PATH (from an archive) matches any name | | from the namelist. | `------------------------------------------------------------------------*/ X int name_match (const char *path) { X int length = strlen (path); X X while (1) X { X struct name *cursor = namelist; X X if (!cursor) X return 1; /* empty namelist is easy */ X X if (cursor->fake) X { X if (cursor->change_dir && chdir (cursor->change_dir)) X FATAL_ERROR ((0, errno, _("Cannot change to directory %s"), X cursor->change_dir)); X namelist = 0; X return 1; X } X X for (; cursor; cursor = cursor->next) X { X /* If first chars don't match, quick skip. */ X X if (cursor->firstch && cursor->name[0] != path[0]) X continue; X X /* Regular expressions (shell globbing, actually). */ X X if (cursor->regexp) X { X if (fnmatch (cursor->name, path, FNM_LEADING_DIR) == 0) X { X cursor->found = 1; /* remember it matched */ X if (starting_file_option) X { X free (namelist); X namelist = NULL; X } X if (cursor->change_dir && chdir (cursor->change_dir)) X FATAL_ERROR ((0, errno, _("Cannot change to directory %s"), X cursor->change_dir)); X X /* We got a match. */ X return 1; X } X continue; X } X X /* Plain Old Strings. */ X X if (cursor->length <= length X /* archive length >= specified */ X && (path[cursor->length] == '\0' X || path[cursor->length] == '/') X /* full match on file/dirname */ X && strncmp (path, cursor->name, (size_t) cursor->length) == 0) X /* name compare */ X { X cursor->found = 1; /* remember it matched */ X if (starting_file_option) X { X free ((void *) namelist); X namelist = 0; X } X if (cursor->change_dir && chdir (cursor->change_dir)) X FATAL_ERROR ((0, errno, _("Cannot change to directory %s"), X cursor->change_dir)); X X /* We got a match. */ X return 1; X } X } X X /* Filename from archive not found in namelist. If we have the whole X namelist here, just return 0. Otherwise, read the next name in and X compare it. If this was the last name, namelist->found will remain X on. If not, we loop to compare the newly read name. */ X X if (same_order_option && namelist->found) X { X name_gather (); /* read one more */ X if (namelist->found) X return 0; X } X else X return 0; X } } X /*------------------------------------------------------------------. | Print the names of things in the namelist that were not matched. | `------------------------------------------------------------------*/ X void names_notfound (void) { X struct name *cursor; X struct name *next; X X for (cursor = namelist; cursor; cursor = next) X { X next = cursor->next; X if (!cursor->found && !cursor->fake) X ERROR ((0, 0, _("%s: Not found in archive"), cursor->name)); X X /* We could free the list, but the process is about to die anyway, so X save some CPU time. Amigas and other similarly broken software X will need to waste the time, though. */ X #ifdef amiga X if (!same_order_option) X free (cursor); #endif X } X namelist = (struct name *) NULL; X namelast = (struct name *) NULL; X X if (same_order_option) X { X char *name; X X while (name = name_next (1), name) X ERROR ((0, 0, _("%s: Not found in archive"), name)); X } } X /*---. | ? | `---*/ X void name_expand (void) { } X /*-------------------------------------------------------------------------. | This is like name_match, except that it returns a pointer to the name it | | matched, and doesn't set FOUND in structure. The caller will have to do | | that if it wants to. Oh, and if the namelist is empty, it returns NULL, | | unlike name_match, which returns TRUE. | `-------------------------------------------------------------------------*/ X struct name * name_scan (const char *path) { X int length = strlen (path); X X while (1) X { X struct name *cursor = namelist; X X if (!cursor) X return NULL; /* empty namelist is easy */ X X for (; cursor; cursor = cursor->next) X { X /* If first chars don't match, quick skip. */ X X if (cursor->firstch && cursor->name[0] != path[0]) X continue; X X /* Regular expressions. */ X X if (cursor->regexp) X { X if (fnmatch (cursor->name, path, FNM_LEADING_DIR) == 0) X return cursor; /* we got a match */ X continue; X } X X /* Plain Old Strings. */ X X if (cursor->length <= length X /* archive length >= specified */ X && (path[cursor->length] == '\0' X || path[cursor->length] == '/') X /* full match on file/dirname */ X && strncmp (path, cursor->name, (size_t) cursor->length) == 0) X /* name compare */ X return cursor; /* we got a match */ X } X X /* Filename from archive not found in namelist. If we have the whole X namelist here, just return 0. Otherwise, read the next name in and X compare it. If this was the last name, namelist->found will remain X on. If not, we loop to compare the newly read name. */ X X if (same_order_option && namelist->found) X { X name_gather (); /* read one more */ X if (namelist->found) X return NULL; X } X else X return NULL; X } } X /*-----------------------------------------------------------------------. | This returns a name from the namelist which doesn't have ->found set. | | It sets ->found before returning, so successive calls will find and | | return all the non-found names in the namelist | `-----------------------------------------------------------------------*/ X struct name *gnu_list_name = NULL; X char * name_from_list (void) { X if (!gnu_list_name) X gnu_list_name = namelist; X while (gnu_list_name && gnu_list_name->found) X gnu_list_name = gnu_list_name->next; X if (gnu_list_name) X { X gnu_list_name->found = 1; X if (gnu_list_name->change_dir) X if (chdir (gnu_list_name->change_dir) < 0) X FATAL_ERROR ((0, errno, _("Cannot change to directory %s"), X gnu_list_name->change_dir)); X return gnu_list_name->name; X } X return NULL; } X /*---. | ? | `---*/ X void blank_name_list (void) { X struct name *name; X X gnu_list_name = 0; X for (name = namelist; name; name = name->next) X name->found = 0; } X /*---. | ? | `---*/ X char * new_name (const char *path, const char *name) { X char *buffer = (char *) xmalloc (strlen (path) + strlen (name) + 2); X X sprintf (buffer, "%s/%s", path, name); X return buffer; } X /* Excludes names. */ X static char *exclude_pool = NULL; static int exclude_pool_size = 0; static int allocated_exclude_pool_size = 0; X static char **simple_exclude_array = NULL; static int simple_excludes = 0; static int allocated_simple_excludes = 0; X static char **pattern_exclude_array = NULL; static int pattern_excludes = 0; static int allocated_pattern_excludes = 0; X /*---. | ? | `---*/ X void add_exclude (char *name) { X int name_size; X X unquote_string (name); /* FIXME: unquote in all cases? If ever? */ X name_size = strlen (name) + 1; X X if (exclude_pool_size + name_size > allocated_exclude_pool_size) X { X char *previous_exclude_pool = exclude_pool; X char **cursor; X X allocated_exclude_pool_size = exclude_pool_size + name_size + 1024; X exclude_pool = (char *) X xrealloc (exclude_pool, (size_t) allocated_exclude_pool_size); X X for (cursor = simple_exclude_array; X cursor < simple_exclude_array + simple_excludes; X cursor++) X *cursor = exclude_pool + (*cursor - previous_exclude_pool); X for (cursor = pattern_exclude_array; X cursor < pattern_exclude_array + pattern_excludes; X cursor++) X *cursor = exclude_pool + (*cursor - previous_exclude_pool); X } X X if (is_pattern (name)) X { X if (pattern_excludes == allocated_pattern_excludes) X { X allocated_pattern_excludes += 32; X pattern_exclude_array = (char **) X xrealloc (pattern_exclude_array, X allocated_pattern_excludes * sizeof (char *)); X } X pattern_exclude_array[pattern_excludes++] X = exclude_pool + exclude_pool_size; X } X else X { X if (simple_excludes == allocated_simple_excludes) X { X allocated_simple_excludes += 32; X simple_exclude_array = (char **) X xrealloc (simple_exclude_array, X allocated_simple_excludes * sizeof (char *)); X } X simple_exclude_array[simple_excludes++] X = exclude_pool + exclude_pool_size; X } X X strcpy (exclude_pool + exclude_pool_size, name); X exclude_pool_size += name_size; } X /*---. | ? | `---*/ X void add_exclude_file (const char *name) { X FILE *file; X char buffer[1024]; X X if (strcmp (name, "-")) X file = fopen (name, "r"); X else X { X request_stdin ("-X"); X file = stdin; X } X if (!file) X FATAL_ERROR ((0, errno, _("Cannot open %s"), name)); X X while (fgets (buffer, 1024, file)) X { X char *end_of_line = strrchr (buffer, '\n'); X X if (end_of_line) X *end_of_line = '\0'; X add_exclude (buffer); X } X if (fclose (file) == EOF) X ERROR ((0, errno, "%s", name)); } X /*------------------------------------------------------------------. | Returns true if the file NAME should not be added nor extracted. | `------------------------------------------------------------------*/ X int check_exclude (const char *name) { X int counter; X X for (counter = 0; counter < pattern_excludes; counter++) X if (fnmatch (pattern_exclude_array[counter], name, FNM_LEADING_DIR) == 0) X return 1; X X for (counter = 0; counter < simple_excludes; counter++) X { X /* Accept the output from strstr only if it is the last part of the X string. FIXME: Find a faster way to do this. */ X X char *string = strstr (name, simple_exclude_array[counter]); X X if (string X && (string == name || string[-1] == '/') X && string[strlen (simple_exclude_array[counter])] == '\0') X return 1; X } X return 0; } SHAR_EOF $shar_touch -am 0422013597 'tar-1.12/src/names.c' && chmod 0644 'tar-1.12/src/names.c' || $echo 'restore of' 'tar-1.12/src/names.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/src/names.c:' 'MD5 check failed' de8dc3f4f9b0d3065cb62c96c916dfb7 tar-1.12/src/names.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/src/names.c'`" test 23224 -eq "$shar_count" || $echo 'tar-1.12/src/names.c:' 'original size' '23224,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/src/open3.c ============== if test -f 'tar-1.12/src/open3.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/src/open3.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/src/open3.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/src/open3.c' && /* Defines for Sys V style 3-argument open call. X Copyright (C) 1988, 1994, 1995, 1996 Free Software Foundation, Inc. X X This program is free software; you can redistribute it and/or modify it X under the terms of the GNU General Public License as published by the X Free Software Foundation; either version 2, or (at your option) any later X version. X X This program is distributed in the hope that it will be useful, but X WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General X Public License for more details. X X You should have received a copy of the GNU General Public License along X with this program; if not, write to the Free Software Foundation, Inc., X 59 Place - Suite 330, Boston, MA 02111-1307, USA. */ X #include "system.h" X #if EMUL_OPEN3 X /* open3.h -- #defines for the various flags for the Sys V style 3-argument X open() call. On BSD or System 5, the system already has this in an X include file. This file is needed for V7 and MINIX systems for the X benefit of open3() in port.c, a routine that emulates the 3-argument call X using system calls available on V7/MINIX. X X Written 1987-06-10 by Richard Todd. X X The names have been changed by John Gilmore, 1987-07-31, since Richard X called it "bsdopen", and really this change was introduced in AT&T Unix X systems before BSD picked it up. */ X /*-----------------------------------------------------------------------. | open3 -- routine to emulate the 3-argument open system. | | | | open3 (path, flag, mode); | | | | Attempts to open the file specified by the given pathname. The | | following flag bits specify options to the routine. Needless to say, | | you should only specify one of the first three. Function returns file | | descriptor if successful, -1 and errno if not. | `-----------------------------------------------------------------------*/ X /* The routine obeys the following mode arguments: X X O_RDONLY file open for read only X O_WRONLY file open for write only X O_RDWR file open for both read & write X X O_CREAT file is created with specified mode if it needs to be X O_TRUNC if file exists, it is truncated to 0 bytes X O_EXCL used with O_CREAT--routine returns error if file exists */ X /* Call that if present in most modern Unix systems. This version attempts X to support all the flag bits except for O_NDELAY and O_APPEND, which are X silently ignored. The emulation is not as efficient as the real thing X (at worst, 4 system calls instead of one), but there's not much I can do X about that. */ X /* Array to give arguments to access for various modes FIXME, this table X depends on the specific integer values of O_*, and also contains X integers (args to 'access') that should be #define's. */ X static int modes[] = X { X 04, /* O_RDONLY */ X 02, /* O_WRONLY */ X 06, /* O_RDWR */ X 06, /* invalid, just cope: O_WRONLY+O_RDWR */ X }; X /* Shut off the automatic emulation of open(), we'll need it. */ #undef open X int open3 (char *path, int flags, int mode) { X int exists = 1; X int call_creat = 0; X X /* We actually do the work by calling the open() or creat() system X call, depending on the flags. Call_creat is true if we will use X creat(), false if we will use open(). */ X X /* See if the file exists and is accessible in the requested mode. X X Strictly speaking we shouldn't be using access, since access checks X against real uid, and the open call should check against euid. Most X cases real uid == euid, so it won't matter. FIXME. FIXME, the X construction "flags & 3" and the modes table depends on the specific X integer values of the O_* #define's. Foo! */ X X if (access (path, modes[flags & 3]) < 0) X { X if (errno == ENOENT) X { X /* The file does not exist. */ X X exists = 0; X } X else X { X /* Probably permission violation. */ X X if (flags & O_EXCL) X { X /* Oops, the file exists, we didn't want it. No matter X what the error, claim EEXIST. */ X X errno = EEXIST; /* FIXME: errno should be read-only */ X } X return -1; X } X } X X /* If we have the O_CREAT bit set, check for O_EXCL. */ X X if (flags & O_CREAT) X { X if ((flags & O_EXCL) && exists) X { X /* Oops, the file exists and we didn't want it to. */ X X errno = EEXIST; /* FIXME: errno should be read-only */ X return -1; X } X X /* If the file doesn't exist, be sure to call creat() so that it X will be created with the proper mode. */ X X if (!exists) X call_creat = 1; X } X else X { X /* If O_CREAT isn't set and the file doesn't exist, error. */ X X if (!exists) X { X errno = ENOENT; /* FIXME: errno should be read-only */ X return -1; X } X } X X /* If the O_TRUNC flag is set and the file exists, we want to call X creat() anyway, since creat() guarantees that the file will be X truncated and open()-for-writing doesn't. (If the file doesn't X exist, we're calling creat() anyway and the file will be created X with zero length.) */ X X if ((flags & O_TRUNC) && exists) X call_creat = 1; X X /* Actually do the call. */ X X if (call_creat) X X /* Call creat. May have to close and reopen the file if we want X O_RDONLY or O_RDWR access -- creat() only gives O_WRONLY. */ X X { X int fd = creat (path, mode); X X if (fd < 0 || (flags & O_WRONLY)) X return fd; X if (close (fd) < 0) X return -1; X X /* Fall out to reopen the file we've created. */ X } X X /* Calling old open, we strip most of the new flags just in case. */ X X return open (path, flags & (O_RDONLY | O_WRONLY | O_RDWR | O_BINARY)); } X #endif /* EMUL_OPEN3 */ SHAR_EOF $shar_touch -am 0415163397 'tar-1.12/src/open3.c' && chmod 0644 'tar-1.12/src/open3.c' || $echo 'restore of' 'tar-1.12/src/open3.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/src/open3.c:' 'MD5 check failed' 146a84d83e5fefbba70d52f0f088ea17 tar-1.12/src/open3.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/src/open3.c'`" test 5723 -eq "$shar_count" || $echo 'tar-1.12/src/open3.c:' 'original size' '5723,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/src/rtapelib.c ============== if test -f 'tar-1.12/src/rtapelib.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/src/rtapelib.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/src/rtapelib.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/src/rtapelib.c' && /* Functions for communicating with a remote tape drive. X Copyright (C) 1988, 1992, 1994, 1996 Free Software Foundation, Inc. X X This program is free software; you can redistribute it and/or modify X it under the terms of the GNU General Public License as published by X the Free Software Foundation; either version 2, or (at your option) X any later version. X X This program is distributed in the hope that it will be useful, X but WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the X GNU General Public License for more details. X X You should have received a copy of the GNU General Public License X along with this program; if not, write to the Free Software Foundation, X Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X /* The man page rmt(8) for /etc/rmt documents the remote mag tape protocol X which rdump and rrestore use. Unfortunately, the man page is *WRONG*. X The author of the routines I'm including originally wrote his code just X based on the man page, and it didn't work, so he went to the rdump source X to figure out why. The only thing he had to change was to check for the X 'F' return code in addition to the 'E', and to separate the various X arguments with \n instead of a space. I personally don't think that this X is much of a problem, but I wanted to point it out. -- Arnold Robbins X X Originally written by Jeff Lee, modified some by Arnold Robbins. Redone X as a library that can replace open, read, write, etc., by Fred Fish, with X some additional work by Arnold Robbins. Modified to make all rmt* calls X into macros for speed by Jay Fenlason. Use -DHAVE_NETDB_H for rexec X code, courtesy of Dan Kegel. */ X #include "system.h" X /* Try hard to get EOPNOTSUPP defined. 486/ISC has it in net/errno.h, X 3B2/SVR3 has it in sys/inet.h. Otherwise, like on MSDOS, use EINVAL. */ X #ifndef EOPNOTSUPP # if HAVE_NET_ERRNO_H # include # endif # if HAVE_SYS_INET_H # include # endif # ifndef EOPNOTSUPP # define EOPNOTSUPP EINVAL # endif #endif X #include X #if HAVE_NETDB_H # include #endif X #include "rmt.h" X /* FIXME: Just to shut up -Wall. */ int rexec (); X /* Exit status if exec errors. */ #define EXIT_ON_EXEC_ERROR 128 X /* FIXME: Size of buffers for reading and writing commands to rmt. */ #define COMMAND_BUFFER_SIZE 64 X #ifndef RETSIGTYPE # define RETSIGTYPE void #endif X /* FIXME: Maximum number of simultaneous remote tape connections. */ #define MAXUNIT 4 X #define PREAD 0 /* read file descriptor from pipe() */ #define PWRITE 1 /* write file descriptor from pipe() */ X /* Return the parent's read side of remote tape connection Fd. */ #define READ_SIDE(Fd) (from_remote[Fd][PREAD]) X /* Return the parent's write side of remote tape connection Fd. */ #define WRITE_SIDE(Fd) (to_remote[Fd][PWRITE]) X /* The pipes for receiving data from remote tape drives. */ static int from_remote[MAXUNIT][2] = {{-1, -1}, {-1, -1}, {-1, -1}, {-1, -1}}; X /* The pipes for sending data to remote tape drives. */ static int to_remote[MAXUNIT][2] = {{-1, -1}, {-1, -1}, {-1, -1}, {-1, -1}}; X /* Temporary variable used by macros in rmt.h. */ char *rmt_path__; X X /*----------------------------------------------------------------------. | Close remote tape connection HANDLE, and reset errno to ERRNO_VALUE. | `----------------------------------------------------------------------*/ X static void _rmt_shutdown (int handle, int errno_value) { X close (READ_SIDE (handle)); X close (WRITE_SIDE (handle)); X READ_SIDE (handle) = -1; X WRITE_SIDE (handle) = -1; X errno = errno_value; /* FIXME: errno should be read-only */ } X /*-------------------------------------------------------------------------. | Attempt to perform the remote tape command specified in BUFFER on remote | | tape connection HANDLE. Return 0 if successful, -1 on error. | `-------------------------------------------------------------------------*/ X static int do_command (int handle, const char *buffer) { X int length; X RETSIGTYPE (*pipe_handler) (); X X /* Save the current pipe handler and try to make the request. */ X X pipe_handler = signal (SIGPIPE, SIG_IGN); X length = strlen (buffer); X if (write (WRITE_SIDE (handle), buffer, (size_t) length) == length) X { X signal (SIGPIPE, pipe_handler); X return 0; X } X X /* Something went wrong. Close down and go home. */ X X signal (SIGPIPE, pipe_handler); X _rmt_shutdown (handle, EIO); X return -1; } X /*----------------------------------------------------------------------. | Read and return the status from remote tape connection HANDLE. If an | | error occurred, return -1 and set errno. | `----------------------------------------------------------------------*/ X static int get_status (int handle) { X char command_buffer[COMMAND_BUFFER_SIZE]; X char *cursor; X int counter; X X /* Read the reply command line. */ X X for (counter = 0, cursor = command_buffer; X counter < COMMAND_BUFFER_SIZE; X counter++, cursor++) X { X if (read (READ_SIDE (handle), cursor, 1) != 1) X { X _rmt_shutdown (handle, EIO); X return -1; X } X if (*cursor == '\n') X { X *cursor = '\0'; X break; X } X } X X if (counter == COMMAND_BUFFER_SIZE) X { X _rmt_shutdown (handle, EIO); X return -1; X } X X /* Check the return status. */ X X for (cursor = command_buffer; *cursor; cursor++) X if (*cursor != ' ') X break; X X if (*cursor == 'E' || *cursor == 'F') X { X errno = atoi (cursor + 1); /* FIXME: errno should be read-only */ X X /* Skip the error message line. */ X X /* FIXME: there is better to do than merely ignoring error messages X coming from the remote end. Translate them, too... */ X X { X char character; X X while (read (READ_SIDE (handle), &character, 1) == 1) X if (character == '\n') X break; X } X X if (*cursor == 'F') X _rmt_shutdown (handle, errno); X X return -1; X } X X /* Check for mis-synced pipes. */ X X if (*cursor != 'A') X { X _rmt_shutdown (handle, EIO); X return -1; X } X X /* Got an `A' (success) response. */ X X return atoi (cursor + 1); } X #if HAVE_NETDB_H X /*-------------------------------------------------------------------------. | Execute /etc/rmt as user USER on remote system HOST using rexec. Return | | a file descriptor of a bidirectional socket for stdin and stdout. If | | USER is NULL, use the current username. | | | | By default, this code is not used, since it requires that the user have | | a .netrc file in his/her home directory, or that the application | | designer be willing to have rexec prompt for login and password info. | | This may be unacceptable, and .rhosts files for use with rsh are much | | more common on BSD systems. | `-------------------------------------------------------------------------*/ X static int _rmt_rexec (char *host, char *user) { X int saved_stdin = dup (fileno (stdin)); X int saved_stdout = dup (fileno (stdout)); X struct servent *rexecserv; X int result; X X /* When using cpio -o < filename, stdin is no longer the tty. But the X rexec subroutine reads the login and the passwd on stdin, to allow X remote execution of the command. So, reopen stdin and stdout on X /dev/tty before the rexec and give them back their original value X after. */ X X if (freopen ("/dev/tty", "r", stdin) == NULL) X freopen ("/dev/null", "r", stdin); X if (freopen ("/dev/tty", "w", stdout) == NULL) X freopen ("/dev/null", "w", stdout); X X if (rexecserv = getservbyname ("exec", "tcp"), !rexecserv) X error (EXIT_ON_EXEC_ERROR, 0, _("exec/tcp: Service not available")); X X result = rexec (&host, rexecserv->s_port, user, NULL, X "/etc/rmt", (int *) NULL); X if (fclose (stdin) == EOF) X error (0, errno, _("stdin")); X fdopen (saved_stdin, "r"); X if (fclose (stdout) == EOF) X error (0, errno, _("stdout")); X fdopen (saved_stdout, "w"); X X return result; } X #endif /* HAVE_NETDB_H */ X /*------------------------------------------------------------------------. | Open a file (a magnetic tape device?) on the system specified in PATH, | | as the given user. PATH has the form `[USER@]HOST:FILE'. OPEN_MODE is | | O_RDONLY, O_WRONLY, etc. If successful, return the remote pipe number | | plus BIAS. REMOTE_SHELL may be overriden. On error, return -1. | `------------------------------------------------------------------------*/ X int rmt_open__ (const char *path, int open_mode, int bias, const char *remote_shell) { X int remote_pipe_number; /* pseudo, biased file descriptor */ X char *path_copy ; /* copy of path string */ X char *remote_host; /* remote host name */ X char *remote_file; /* remote file name (often a device) */ X char *remote_user; /* remote user name */ X X /* Find an unused pair of file descriptors. */ X X for (remote_pipe_number = 0; X remote_pipe_number < MAXUNIT; X remote_pipe_number++) X if (READ_SIDE (remote_pipe_number) == -1 X && WRITE_SIDE (remote_pipe_number) == -1) X break; X X if (remote_pipe_number == MAXUNIT) X { X errno = EMFILE; /* FIXME: errno should be read-only */ X return -1; X } X X /* Pull apart the system and device, and optional user. */ X X { X char *cursor; X X path_copy = xstrdup (path); X remote_host = path_copy; X remote_user = NULL; X remote_file = NULL; X X for (cursor = path_copy; *cursor; cursor++) X switch (*cursor) X { X default: X break; X X case '@': X if (!remote_user) X { X remote_user = remote_host; X *cursor = '\0'; X remote_host = cursor + 1; X } X break; X X case ':': X if (!remote_file) X { X *cursor = '\0'; X remote_file = cursor + 1; X } X break; X } X } X X /* FIXME: Should somewhat validate the decoding, here. */ X X if (remote_user && *remote_user == '\0') X remote_user = NULL; X #if HAVE_NETDB_H X X /* Execute the remote command using rexec. */ X X READ_SIDE (remote_pipe_number) = _rmt_rexec (remote_host, remote_user); X if (READ_SIDE (remote_pipe_number) < 0) X { X free (path_copy); X return -1; X } X X WRITE_SIDE (remote_pipe_number) = READ_SIDE (remote_pipe_number); X #else /* not HAVE_NETDB_H */ X { X const char *remote_shell_basename; X int status; X X /* Identify the remote command to be executed. */ X X if (!remote_shell) X { #ifdef REMOTE_SHELL X remote_shell = REMOTE_SHELL; #else X errno = EIO; /* FIXME: errno should be read-only */ X free (path_copy); X return -1; #endif X } X remote_shell_basename = strrchr (remote_shell, '/'); X if (remote_shell_basename) X remote_shell_basename++; X else X remote_shell_basename = remote_shell; X X /* Set up the pipes for the `rsh' command, and fork. */ X X if (pipe (to_remote[remote_pipe_number]) == -1 X || pipe (from_remote[remote_pipe_number]) == -1) X { X free (path_copy); X return -1; X } X X status = fork (); X if (status == -1) X { X free (path_copy); X return -1; X } X X if (status == 0) X { X /* Child. */ X X close (0); X dup (to_remote[remote_pipe_number][PREAD]); X close (to_remote[remote_pipe_number][PREAD]); X close (to_remote[remote_pipe_number][PWRITE]); X X close (1); X dup (from_remote[remote_pipe_number][PWRITE]); X close (from_remote[remote_pipe_number][PREAD]); X close (from_remote[remote_pipe_number][PWRITE]); X #if !MSDOS X setuid (getuid ()); X setgid (getgid ()); #endif X X if (remote_user) X execl (remote_shell, remote_shell_basename, remote_host, X "-l", remote_user, "/etc/rmt", (char *) 0); X else X execl (remote_shell, remote_shell_basename, remote_host, X "/etc/rmt", (char *) 0); X X /* Bad problems if we get here. */ X X /* In a previous version, _exit was used here instead of exit. */ X error (EXIT_ON_EXEC_ERROR, errno, _("Cannot execute remote shell")); X } X X /* Parent. */ X X close (from_remote[remote_pipe_number][PWRITE]); X close (to_remote[remote_pipe_number][PREAD]); X } #endif /* not HAVE_NETDB_H */ X X /* Attempt to open the tape device. */ X X { X char command_buffer[COMMAND_BUFFER_SIZE]; X X sprintf (command_buffer, "O%s\n%d\n", remote_file, open_mode); X if (do_command (remote_pipe_number, command_buffer) == -1 X || get_status (remote_pipe_number) == -1) X { X _rmt_shutdown (remote_pipe_number, errno); X free (path_copy); X return -1; X } X } X X free (path_copy); X return remote_pipe_number + bias; } X /*----------------------------------------------------------------. | Close remote tape connection HANDLE and shut down. Return 0 if | | successful, -1 on error. | `----------------------------------------------------------------*/ X int rmt_close__ (int handle) { X int status; X X if (do_command (handle, "C\n") == -1) X return -1; X X status = get_status (handle); X _rmt_shutdown (handle, errno); X return status; } X /*-------------------------------------------------------------------------. | Read up to LENGTH bytes into BUFFER from remote tape connection HANDLE. | | Return the number of bytes read on success, -1 on error. | `-------------------------------------------------------------------------*/ X int rmt_read__ (int handle, char *buffer, unsigned int length) { X char command_buffer[COMMAND_BUFFER_SIZE]; X int status; X int counter; X X sprintf (command_buffer, "R%d\n", length); X if (do_command (handle, command_buffer) == -1 X || (status = get_status (handle)) == -1) X return -1; X X for (counter = 0; counter < status; counter += length, buffer += length) X { X length = read (READ_SIDE (handle), buffer, (size_t) (status - counter)); X if (length <= 0) X { X _rmt_shutdown (handle, EIO); X return -1; X } X } X X return status; } X /*-------------------------------------------------------------------------. | Write LENGTH bytes from BUFFER to remote tape connection HANDLE. Return | | the number of bytes written on success, -1 on error. | `-------------------------------------------------------------------------*/ X int rmt_write__ (int handle, char *buffer, unsigned int length) { X char command_buffer[COMMAND_BUFFER_SIZE]; X RETSIGTYPE (*pipe_handler) (); X X sprintf (command_buffer, "W%d\n", length); X if (do_command (handle, command_buffer) == -1) X return -1; X X pipe_handler = signal (SIGPIPE, SIG_IGN); X if (write (WRITE_SIDE (handle), buffer, length) == length) X { X signal (SIGPIPE, pipe_handler); X return get_status (handle); X } X X /* Write error. */ X X signal (SIGPIPE, pipe_handler); X _rmt_shutdown (handle, EIO); X return -1; } X /*------------------------------------------------------------------------. | Perform an imitation lseek operation on remote tape connection HANDLE. | | Return the new file offset if successful, -1 if on error. | `------------------------------------------------------------------------*/ X long rmt_lseek__ (int handle, off_t offset, int whence) { X char command_buffer[COMMAND_BUFFER_SIZE]; X X sprintf (command_buffer, "L%ld\n%d\n", offset, whence); X if (do_command (handle, command_buffer) == -1) X return -1; X X return get_status (handle); } X /*-----------------------------------------------------------------------. | Perform a raw tape operation on remote tape connection HANDLE. Return | | the results of the ioctl, or -1 on error. | `-----------------------------------------------------------------------*/ X int rmt_ioctl__ (int handle, int operation, char *argument) { X switch (operation) X { X default: X errno = EOPNOTSUPP; /* FIXME: errno should be read-only */ X return -1; X #ifdef MTIOCTOP X case MTIOCTOP: X { X char command_buffer[COMMAND_BUFFER_SIZE]; X X /* MTIOCTOP is the easy one. Nothing is transfered in binary. */ X X sprintf (command_buffer, "I%d\n%d\n", ((struct mtop *) argument)->mt_op, X ((struct mtop *) argument)->mt_count); X if (do_command (handle, command_buffer) == -1) X return -1; X X /* Return the count. */ X X return get_status (handle); X } #endif /* MTIOCTOP */ X #ifdef MTIOCGET X case MTIOCGET: X { X int status; X int counter; X X /* Grab the status and read it directly into the structure. This X assumes that the status buffer is not padded and that 2 shorts X fit in a long without any word alignment problems; i.e., the X whole struct is contiguous. NOTE - this is probably NOT a good X assumption. */ X X if (do_command (handle, "S") == -1 X || (status = get_status (handle), status == -1)) X return -1; X X for (; status > 0; status -= counter, argument += counter) X { X counter = read (READ_SIDE (handle), argument, (size_t) status); X if (counter <= 0) X { X _rmt_shutdown (handle, EIO); X return -1; X } X } X X /* Check for byte position. mt_type (or mt_model) is a small integer X field (normally) so we will check its magnitude. If it is larger X than 256, we will assume that the bytes are swapped and go through X and reverse all the bytes. */ X X if (((struct mtget *) argument)->MTIO_CHECK_FIELD < 256) X return 0; X X for (counter = 0; counter < status; counter += 2) X { X char copy = argument[counter]; X X argument[counter] = argument[counter + 1]; X argument[counter + 1] = copy; X } X X return 0; X } #endif /* MTIOCGET */ X X } } SHAR_EOF $shar_touch -am 1111110396 'tar-1.12/src/rtapelib.c' && chmod 0644 'tar-1.12/src/rtapelib.c' || $echo 'restore of' 'tar-1.12/src/rtapelib.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/src/rtapelib.c:' 'MD5 check failed' a02d8081abbf1615bfa62ade9fb5d2d8 tar-1.12/src/rtapelib.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/src/rtapelib.c'`" test 17247 -eq "$shar_count" || $echo 'tar-1.12/src/rtapelib.c:' 'original size' '17247,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/src/tar.c ============== if test -f 'tar-1.12/src/tar.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/src/tar.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/src/tar.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/src/tar.c' && /* A tar (tape archiver) program. X Copyright (C) 1988, 92, 93, 94, 95, 96, 97 Free Software Foundation, Inc. X Written by John Gilmore, starting 1985-08-25. X X This program is free software; you can redistribute it and/or modify it X under the terms of the GNU General Public License as published by the X Free Software Foundation; either version 2, or (at your option) any later X version. X X This program is distributed in the hope that it will be useful, but X WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General X Public License for more details. X X You should have received a copy of the GNU General Public License along X with this program; if not, write to the Free Software Foundation, Inc., X 59 Place - Suite 330, Boston, MA 02111-1307, USA. */ X #include "system.h" X #include X /* The following causes "common.h" to produce definitions of all the global X variables, rather than just "extern" declarations of them. GNU tar does X depend on the system loader to preset all GLOBAL variables to neutral (or X zero) values, explicit initialisation is usually not done. */ #define GLOBAL #include "common.h" X #include "backupfile.h" enum backup_type get_version (); X /* FIXME: We should use a conversion routine that does reasonable error X checking -- atoi doesn't. For now, punt. */ #define intconv atoi X time_t get_date (); X /* Local declarations. */ X #ifndef DEFAULT_ARCHIVE # define DEFAULT_ARCHIVE "tar.out" #endif X #ifndef DEFAULT_BLOCKING # define DEFAULT_BLOCKING 20 #endif X static void usage PARAMS ((int)); X /* Miscellaneous. */ X /*------------------------------------------------------------------------. | Check if STRING is the decimal representation of number, and return its | | value. If not a decimal number, return -1. | `------------------------------------------------------------------------*/ X static int check_decimal (const char *string) { X int value = -1; X X while (*string) X switch (*string) X { X case '0': X case '1': X case '2': X case '3': X case '4': X case '5': X case '6': X case '7': X case '8': X case '9': X value = value < 0 ? *string - '0' : 10 * value + *string - '0'; X string++; X break; X X default: X return -1; X } X return value; } X /*----------------------------------------------. | Doesn't return if stdin already requested. | `----------------------------------------------*/ X /* Name of option using stdin. */ static const char *stdin_used_by = NULL; X void request_stdin (const char *option) { X if (stdin_used_by) X USAGE_ERROR ((0, 0, _("Options `-%s' and `-%s' both want standard input"), X stdin_used_by, option)); X X stdin_used_by = option; } X /*--------------------------------------------------------. | Returns true if and only if the user typed 'y' or 'Y'. | `--------------------------------------------------------*/ X int confirm (const char *message_action, const char *message_name) { X static FILE *confirm_file = NULL; X X if (!confirm_file) X { X if (archive == 0 || stdin_used_by) X confirm_file = fopen (TTY_NAME, "r"); X else X { X request_stdin ("-w"); X confirm_file = stdin; X } X X if (!confirm_file) X FATAL_ERROR ((0, 0, _("Cannot read confirmation from user"))); X } X X fprintf (stdlis, "%s %s?", message_action, message_name); X fflush (stdlis); X X { X int reply = getc (confirm_file); X int character; X X for (character = reply; X character != '\n' && character != EOF; X character = getc (confirm_file)) X continue; X return reply == 'y' || reply == 'Y'; X } } X /* Options. */ X /* For long options that unconditionally set a single flag, we have getopt X do it. For the others, we share the code for the equivalent short X named option, the name of which is stored in the otherwise-unused `val' X field of the `struct option'; for long options that have no equivalent X short option, we use nongraphic characters as pseudo short option X characters, starting at 2 and going upwards. */ X #define BACKUP_OPTION 2 #define DELETE_OPTION 3 #define EXCLUDE_OPTION 4 #define GROUP_OPTION 5 #define MODE_OPTION 6 #define NEWER_MTIME_OPTION 7 #define NO_RECURSE_OPTION 8 #define NULL_OPTION 9 #define OWNER_OPTION 10 #define POSIX_OPTION 11 #define PRESERVE_OPTION 12 #define RECORD_SIZE_OPTION 13 #define RSH_COMMAND_OPTION 14 #define SUFFIX_OPTION 15 #define USE_COMPRESS_PROGRAM_OPTION 16 #define VOLNO_FILE_OPTION 17 X /* Some cleanup is being made in GNU tar long options. Using old names is X allowed for a while, but will also send a warning to stderr. Take old X names out in 1.14, or in summer 1997, whichever happens last. We use X nongraphic characters as pseudo short option characters, starting at 31 X and going downwards. */ X #define OBSOLETE_ABSOLUTE_NAMES 31 #define OBSOLETE_BLOCK_COMPRESS 30 #define OBSOLETE_BLOCKING_FACTOR 29 #define OBSOLETE_BLOCK_NUMBER 28 #define OBSOLETE_READ_FULL_RECORDS 27 #define OBSOLETE_TOUCH 26 #define OBSOLETE_VERSION_CONTROL 25 X /* If nonzero, display usage information and exit. */ static int show_help = 0; X /* If nonzero, print the version on standard output and exit. */ static int show_version = 0; X struct option long_options[] = { X {"absolute-names", no_argument, NULL, 'P'}, X {"absolute-paths", no_argument, NULL, OBSOLETE_ABSOLUTE_NAMES}, X {"after-date", required_argument, NULL, 'N'}, X {"append", no_argument, NULL, 'r'}, X {"atime-preserve", no_argument, &atime_preserve_option, 1}, X {"backup", optional_argument, NULL, BACKUP_OPTION}, X {"block-compress", no_argument, NULL, OBSOLETE_BLOCK_COMPRESS}, X {"block-number", no_argument, NULL, 'R'}, X {"block-size", required_argument, NULL, OBSOLETE_BLOCKING_FACTOR}, X {"blocking-factor", required_argument, NULL, 'b'}, X {"catenate", no_argument, NULL, 'A'}, X {"checkpoint", no_argument, &checkpoint_option, 1}, X {"compare", no_argument, NULL, 'd'}, X {"compress", no_argument, NULL, 'Z'}, X {"concatenate", no_argument, NULL, 'A'}, X {"confirmation", no_argument, NULL, 'w'}, X /* FIXME: --selective as a synonym for --confirmation? */ X {"create", no_argument, NULL, 'c'}, X {"delete", no_argument, NULL, DELETE_OPTION}, X {"dereference", no_argument, NULL, 'h'}, X {"diff", no_argument, NULL, 'd'}, X {"directory", required_argument, NULL, 'C'}, X {"exclude", required_argument, NULL, EXCLUDE_OPTION}, X {"exclude-from", required_argument, NULL, 'X'}, X {"extract", no_argument, NULL, 'x'}, X {"file", required_argument, NULL, 'f'}, X {"files-from", required_argument, NULL, 'T'}, X {"force-local", no_argument, &force_local_option, 1}, X {"get", no_argument, NULL, 'x'}, X {"group", required_argument, NULL, GROUP_OPTION}, X {"gunzip", no_argument, NULL, 'z'}, X {"gzip", no_argument, NULL, 'z'}, X {"help", no_argument, &show_help, 1}, X {"ignore-failed-read", no_argument, &ignore_failed_read_option, 1}, X {"ignore-zeros", no_argument, NULL, 'i'}, X /* FIXME: --ignore-end as a new name for --ignore-zeros? */ X {"incremental", no_argument, NULL, 'G'}, X {"info-script", required_argument, NULL, 'F'}, X {"interactive", no_argument, NULL, 'w'}, X {"keep-old-files", no_argument, NULL, 'k'}, X {"label", required_argument, NULL, 'V'}, X {"list", no_argument, NULL, 't'}, X {"listed-incremental", required_argument, NULL, 'g'}, X {"mode", required_argument, NULL, MODE_OPTION}, X {"modification-time", no_argument, NULL, OBSOLETE_TOUCH}, X {"multi-volume", no_argument, NULL, 'M'}, X {"new-volume-script", required_argument, NULL, 'F'}, X {"newer", required_argument, NULL, 'N'}, X {"newer-mtime", required_argument, NULL, NEWER_MTIME_OPTION}, X {"null", no_argument, NULL, NULL_OPTION}, X {"no-recursion", no_argument, NULL, NO_RECURSE_OPTION}, X {"numeric-owner", no_argument, &numeric_owner_option, 1}, X {"old-archive", no_argument, NULL, 'o'}, X {"one-file-system", no_argument, NULL, 'l'}, X {"owner", required_argument, NULL, OWNER_OPTION}, X {"portability", no_argument, NULL, 'o'}, X {"posix", no_argument, NULL, POSIX_OPTION}, X {"preserve", no_argument, NULL, PRESERVE_OPTION}, X {"preserve-order", no_argument, NULL, 's'}, X {"preserve-permissions", no_argument, NULL, 'p'}, X {"recursive-unlink", no_argument, &recursive_unlink_option, 1}, X {"read-full-blocks", no_argument, NULL, OBSOLETE_READ_FULL_RECORDS}, X {"read-full-records", no_argument, NULL, 'B'}, X /* FIXME: --partial-blocks might be a synonym for --read-full-records? */ X {"record-number", no_argument, NULL, OBSOLETE_BLOCK_NUMBER}, X {"record-size", required_argument, NULL, RECORD_SIZE_OPTION}, X {"remove-files", no_argument, &remove_files_option, 1}, X {"rsh-command", required_argument, NULL, RSH_COMMAND_OPTION}, X {"same-order", no_argument, NULL, 's'}, X {"same-owner", no_argument, &same_owner_option, 1}, X {"same-permissions", no_argument, NULL, 'p'}, X {"show-omitted-dirs", no_argument, &show_omitted_dirs_option, 1}, X {"sparse", no_argument, NULL, 'S'}, X {"starting-file", required_argument, NULL, 'K'}, X {"suffix", required_argument, NULL, SUFFIX_OPTION}, X {"tape-length", required_argument, NULL, 'L'}, X {"to-stdout", no_argument, NULL, 'O'}, X {"totals", no_argument, &totals_option, 1}, X {"touch", no_argument, NULL, 'm'}, X {"uncompress", no_argument, NULL, 'Z'}, X {"ungzip", no_argument, NULL, 'z'}, X {"unlink-first", no_argument, NULL, 'U'}, X {"update", no_argument, NULL, 'u'}, X {"use-compress-program", required_argument, NULL, USE_COMPRESS_PROGRAM_OPTION}, X {"verbose", no_argument, NULL, 'v'}, X {"verify", no_argument, NULL, 'W'}, X {"version", no_argument, &show_version, 1}, X {"version-control", required_argument, NULL, OBSOLETE_VERSION_CONTROL}, X {"volno-file", required_argument, NULL, VOLNO_FILE_OPTION}, X X {0, 0, 0, 0} }; X /*---------------------------------------------. | Print a usage message and exit with STATUS. | `---------------------------------------------*/ X static void usage (int status) { X if (status != TAREXIT_SUCCESS) X fprintf (stderr, _("Try `%s --help' for more information.\n"), X program_name); X else X { X fputs (_("\ GNU `tar' saves many files together into a single tape or disk archive, and\n\ can restore individual files from the archive.\n"), X stdout); X printf (_("\nUsage: %s [OPTION]... [FILE]...\n"), program_name); X fputs (_("\ \n\ If a long option shows an argument as mandatory, then it is mandatory\n\ for the equivalent short option also. Similarly for optional arguments.\n"), X stdout); X fputs(_("\ \n\ Main operation mode:\n\ X -t, --list list the contents of an archive\n\ X -x, --extract, --get extract files from an archive\n\ X -c, --create create a new archive\n\ X -d, --diff, --compare find differences between archive and file system\n\ X -r, --append append files to the end of an archive\n\ X -u, --update only append files newer than copy in archive\n\ X -A, --catenate append tar files to an archive\n\ X --concatenate same as -A\n\ X --delete delete from the archive (not on mag tapes!)\n"), X stdout); X fputs (_("\ \n\ Operation modifiers:\n\ X -W, --verify attempt to verify the archive after writing it\n\ X --remove-files remove files after adding them to the archive\n\ X -k, --keep-old-files don't overwrite existing files when extracting\n\ X -U, --unlink-first remove each file prior to extracting over it\n\ X --recursive-unlink empty hierarchies prior to extracting directory\n\ X -S, --sparse handle sparse files efficiently\n\ X -O, --to-stdout extract files to standard output\n\ X -G, --incremental handle old GNU-format incremental backup\n\ X -g, --listed-incremental handle new GNU-format incremental backup\n\ X --ignore-failed-read do not exit with nonzero on unreadable files\n"), X stdout); X fputs (_("\ \n\ Handling of file attributes:\n\ X --owner=NAME force NAME as owner for added files\n\ X --group=NAME force NAME as group for added files\n\ X --mode=CHANGES force (symbolic) mode CHANGES for added files\n\ X --atime-preserve don't change access times on dumped files\n\ X -m, --modification-time don't extract file modified time\n\ X --same-owner try extracting files with the same ownership\n\ X --numeric-owner always use numbers for user/group names\n\ X -p, --same-permissions extract all protection information\n\ X --preserve-permissions same as -p\n\ X -s, --same-order sort names to extract to match archive\n\ X --preserve-order same as -s\n\ X --preserve same as both -p and -s\n"), X stdout); X fputs (_("\ \n\ Device selection and switching:\n\ X -f, --file=ARCHIVE use archive file or device ARCHIVE\n\ X --force-local archive file is local even if has a colon\n\ X --rsh-command=COMMAND use remote COMMAND instead of rsh\n\ X -[0-7][lmh] specify drive and density\n\ X -M, --multi-volume create/list/extract multi-volume archive\n\ X -L, --tape-length=NUM change tape after writing NUM x 1024 bytes\n\ X -F, --info-script=FILE run script at end of each tape (implies -M)\n\ X --new-volume-script=FILE same as -F FILE\n\ X --volno-file=FILE use/update the volume number in FILE\n"), X stdout); X fputs (_("\ \n\ Device blocking:\n\ X -b, --blocking-factor=BLOCKS BLOCKS x 512 bytes per record\n\ X --record-size=SIZE SIZE bytes per record, multiple of 512\n\ X -i, --ignore-zeros ignore zeroed blocks in archive (means EOF)\n\ X -B, --read-full-records reblock as we read (for 4.2BSD pipes)\n"), X stdout); X fputs (_("\ \n\ Archive format selection:\n\ X -V, --label=NAME create archive with volume name NAME\n\ X PATTERN at list/extract time, a globbing PATTERN\n\ X -o, --old-archive, --portability write a V7 format archive\n\ X --posix write a POSIX conformant archive\n\ X -z, --gzip, --ungzip filter the archive through gzip\n\ X -Z, --compress, --uncompress filter the archive through compress\n\ X --use-compress-program=PROG filter through PROG (must accept -d)\n"), X stdout); X fputs (_("\ \n\ Local file selection:\n\ X -C, --directory=DIR change to directory DIR\n\ X -T, --files-from=NAME get names to extract or create from file NAME\n\ X --null -T reads null-terminated names, disable -C\n\ X --exclude=PATTERN exclude files, given as a globbing PATTERN\n\ X -X, --exclude-from=FILE exclude globbing patterns listed in FILE\n\ X -P, --absolute-names don't strip leading `/'s from file names\n\ X -h, --dereference dump instead the files symlinks point to\n\ X --no-recursion avoid descending automatically in directories\n\ X -l, --one-file-system stay in local file system when creating archive\n\ X -K, --starting-file=NAME begin at file NAME in the archive\n"), X stdout); #if !MSDOS X fputs (_("\ X -N, --newer=DATE only store files newer than DATE\n\ X --newer-mtime compare date and time when data changed only\n\ X --after-date=DATE same as -N\n"), X stdout); #endif X fputs (_("\ X --backup[=CONTROL] backup before removal, choose version control\n\ X --suffix=SUFFIX backup before removel, override usual suffix\n"), X stdout); X fputs (_("\ \n\ Informative output:\n\ X --help print this help, then exit\n\ X --version print tar program version number, then exit\n\ X -v, --verbose verbosely list files processed\n\ X --checkpoint print directory names while reading the archive\n\ X --totals print total bytes written while creating archive\n\ X -R, --block-number show block number within archive with each message\n\ X -w, --interactive ask for confirmation for every action\n\ X --confirmation same as -w\n"), X stdout); X fputs (_("\ \n\ The backup suffix is `~', unless set with --suffix or SIMPLE_BACKUP_SUFFIX.\n\ The version control may be set with --backup or VERSION_CONTROL, values are:\n\ \n\ X t, numbered make numbered backups\n\ X nil, existing numbered if numbered backups exist, simple otherwise\n\ X never, simple always make simple backups\n"), X stdout); X printf (_("\ \n\ GNU tar cannot read nor produce `--posix' archives. If POSIXLY_CORRECT\n\ is set in the environment, GNU extensions are disallowed with `--posix'.\n\ Support for POSIX is only partially implemented, don't count on it yet.\n\ ARCHIVE may be FILE, HOST:FILE or USER@HOST:FILE; and FILE may be a file\n\ or a device. *This* `tar' defaults to `-f%s -b%d'.\n"), X DEFAULT_ARCHIVE, DEFAULT_BLOCKING); X fputs (_("\ \n\ Report bugs to .\n"), X stdout); X } X exit (status); } X /*----------------------------. | Parse the options for tar. | `----------------------------*/ X /* Available option letters are DEHIJQY and aejnqy. Some are reserved: X X y per-file gzip compression X Y per-block gzip compression */ X #define OPTION_STRING \ X "-01234567ABC:F:GK:L:MN:OPRST:UV:WX:Zb:cdf:g:hiklmoprstuvwxz" X static void set_subcommand_option (enum subcommand subcommand) { X if (subcommand_option != UNKNOWN_SUBCOMMAND X && subcommand_option != subcommand) X USAGE_ERROR ((0, 0, X _("You may not specify more than one `-Acdtrux' option"))); X X subcommand_option = subcommand; } X static void set_use_compress_program_option (const char *string) { X if (use_compress_program_option && strcmp (use_compress_program_option, string) != 0) X USAGE_ERROR ((0, 0, _("Conflicting compression options"))); X X use_compress_program_option = string; } X static void decode_options (int argc, char *const *argv) { X int optchar; /* option letter */ X int input_files; /* number of input files */ X const char *backup_suffix_string; X const char *version_control_string; X X /* Set some default option values. */ X X subcommand_option = UNKNOWN_SUBCOMMAND; X archive_format = DEFAULT_FORMAT; X blocking_factor = DEFAULT_BLOCKING; X record_size = DEFAULT_BLOCKING * BLOCKSIZE; X X owner_option = -1; X group_option = -1; X X backup_suffix_string = getenv ("SIMPLE_BACKUP_SUFFIX"); X version_control_string = getenv ("VERSION_CONTROL"); X X /* Convert old-style tar call by exploding option element and rearranging X options accordingly. */ X X if (argc > 1 && argv[1][0] != '-') X { X int new_argc; /* argc value for rearranged arguments */ X char **new_argv; /* argv value for rearranged arguments */ X char *const *in; /* cursor into original argv */ X char **out; /* cursor into rearranged argv */ X const char *letter; /* cursor into old option letters */ X char buffer[3]; /* constructed option buffer */ X const char *cursor; /* cursor in OPTION_STRING */ X X /* Initialize a constructed option. */ X X buffer[0] = '-'; X buffer[2] = '\0'; X X /* Allocate a new argument array, and copy program name in it. */ X X new_argc = argc - 1 + strlen (argv[1]); X new_argv = (char **) xmalloc (new_argc * sizeof (char *)); X in = argv; X out = new_argv; X *out++ = *in++; X X /* Copy each old letter option as a separate option, and have the X corresponding argument moved next to it. */ X X for (letter = *in++; *letter; letter++) X { X buffer[1] = *letter; X *out++ = xstrdup (buffer); X cursor = strchr (OPTION_STRING, *letter); X if (cursor && cursor[1] == ':') X if (in < argv + argc) X *out++ = *in++; X else X USAGE_ERROR ((0, 0, _("Old option `%c' requires an argument."), X *letter)); X } X X /* Copy all remaining options. */ X X while (in < argv + argc) X *out++ = *in++; X X /* Replace the old option list by the new one. */ X X argc = new_argc; X argv = new_argv; X } X X /* Parse all options and non-options as they appear. */ X X input_files = 0; X X while (optchar = getopt_long (argc, argv, OPTION_STRING, long_options, NULL), X optchar != EOF) X switch (optchar) X { X case '?': X usage (TAREXIT_FAILURE); X X case 0: X break; X X case 1: X /* File name or non-parsed option, because of RETURN_IN_ORDER X ordering triggerred by the leading dash in OPTION_STRING. */ X X name_add (optarg); X input_files++; X break; X X case 'A': X set_subcommand_option (CAT_SUBCOMMAND); X break; X X case OBSOLETE_BLOCK_COMPRESS: X WARN ((0, 0, _("Obsolete option, now implied by --blocking-factor"))); X break; X X case OBSOLETE_BLOCKING_FACTOR: X WARN ((0, 0, _("Obsolete option name replaced by --blocking-factor"))); X /* Fall through. */ X X case 'b': X blocking_factor = intconv (optarg); X record_size = blocking_factor * BLOCKSIZE; X break; X X case OBSOLETE_READ_FULL_RECORDS: X WARN ((0, 0, X _("Obsolete option name replaced by --read-full-records"))); X /* Fall through. */ X X case 'B': X /* Try to reblock input records. For reading 4.2BSD pipes. */ X X /* It would surely make sense to exchange -B and -R, but it seems X that -B has been used for a long while in Sun tar ans most X BSD-derived systems. This is a consequence of the block/record X terminology confusion. */ X X read_full_records_option = 1; X break; X X case 'c': X set_subcommand_option (CREATE_SUBCOMMAND); X break; X X case 'C': X name_add ("-C"); X name_add (optarg); X break; X X case 'd': X set_subcommand_option (DIFF_SUBCOMMAND); X break; X X case 'f': X if (archive_names == allocated_archive_names) X { X allocated_archive_names *= 2; X archive_name_array = (const char **) X xrealloc (archive_name_array, X sizeof (const char *) * allocated_archive_names); X } X archive_name_array[archive_names++] = optarg; X break; X X case 'F': X /* Since -F is only useful with -M, make it implied. Run this X script at the end of each tape. */ X X info_script_option = optarg; X multi_volume_option = 1; X break; X X case 'g': X listed_incremental_option = optarg; X /* Fall through. */ X X case 'G': X /* We are making an incremental dump (FIXME: are we?); save X directories at the beginning of the archive, and include in each X directory its contents. */ X X incremental_option = 1; X break; X X case 'h': X /* Follow symbolic links. */ X X dereference_option = 1; X break; X X case 'i': X /* Ignore zero blocks (eofs). This can't be the default, X because Unix tar writes two blocks of zeros, then pads out X the record with garbage. */ X X ignore_zeros_option = 1; X break; X X case 'k': X /* Don't overwrite existing files. */ X X keep_old_files_option = 1; X break; X X case 'K': X starting_file_option = 1; X addname (optarg); X break; X X case 'l': X /* When dumping directories, don't dump files/subdirectories X that are on other filesystems. */ X X one_file_system_option = 1; X break; X X case 'L': X clear_tarlong (tape_length_option); X add_to_tarlong (tape_length_option, intconv (optarg)); X mult_tarlong (tape_length_option, 1024); X multi_volume_option = 1; X break; X X case OBSOLETE_TOUCH: X WARN ((0, 0, _("Obsolete option name replaced by --touch"))); X /* Fall through. */ X X case 'm': X touch_option = 1; X break; X X case 'M': X /* Make multivolume archive: when we can't write any more into X the archive, re-open it, and continue writing. */ X X multi_volume_option = 1; X break; X #if !MSDOS X case 'N': X after_date_option = 1; X /* Fall through. */ X X case NEWER_MTIME_OPTION: X if (newer_mtime_option) X USAGE_ERROR ((0, 0, _("More than one threshold date"))); X X newer_mtime_option = get_date (optarg, (voidstar) 0); X if (newer_mtime_option == (time_t) -1) X USAGE_ERROR ((0, 0, _("Invalid date format `%s'"), optarg)); X X break; #endif /* not MSDOS */ X X case 'o': X if (archive_format == DEFAULT_FORMAT) X archive_format = V7_FORMAT; X else if (archive_format != V7_FORMAT) X USAGE_ERROR ((0, 0, _("Conflicting archive format options"))); X break; X X case 'O': X to_stdout_option = 1; X break; X X case 'p': X same_permissions_option = 1; X break; X X case OBSOLETE_ABSOLUTE_NAMES: X WARN ((0, 0, _("Obsolete option name replaced by --absolute-names"))); X /* Fall through. */ X X case 'P': X absolute_names_option = 1; X break; X X case 'r': X set_subcommand_option (APPEND_SUBCOMMAND); X break; X X case OBSOLETE_BLOCK_NUMBER: X WARN ((0, 0, _("Obsolete option name replaced by --block-number"))); X /* Fall through. */ X X case 'R': X /* Print block numbers for debugging bad tar archives. */ X X /* It would surely make sense to exchange -B and -R, but it seems X that -B has been used for a long while in Sun tar ans most X BSD-derived systems. This is a consequence of the block/record X terminology confusion. */ X X block_number_option = 1; X break; X X case 's': X /* Names to extr are sorted. */ X X same_order_option = 1; X break; X X case 'S': X sparse_option = 1; X break; X X case 't': X set_subcommand_option (LIST_SUBCOMMAND); X verbose_option++; X break; X X case 'T': X files_from_option = optarg; X break; X X case 'u': X set_subcommand_option (UPDATE_SUBCOMMAND); X break; X X case 'U': X unlink_first_option = 1; X break; X X case 'v': X verbose_option++; X break; X X case 'V': X volume_label_option = optarg; X break; X X case 'w': X interactive_option = 1; X break; X X case 'W': X verify_option = 1; X break; X X case 'x': X set_subcommand_option (EXTRACT_SUBCOMMAND); X break; X X case 'X': X exclude_option = 1; X add_exclude_file (optarg); X break; X X case 'z': X set_use_compress_program_option ("gzip"); X break; X X case 'Z': X set_use_compress_program_option ("compress"); X break; X X case OBSOLETE_VERSION_CONTROL: X WARN ((0, 0, _("Obsolete option name replaced by --backup"))); X /* Fall through. */ X X case BACKUP_OPTION: X backup_option = 1; X if (optarg) X version_control_string = optarg; X break; X X case DELETE_OPTION: X set_subcommand_option (DELETE_SUBCOMMAND); X break; X X case EXCLUDE_OPTION: X exclude_option = 1; X add_exclude (optarg); X break; X X case GROUP_OPTION: X if (!gname_to_gid (optarg, &group_option)) X if (!check_decimal (optarg) >= 0) X ERROR ((TAREXIT_FAILURE, 0, _("Invalid group given on option"))); X else X group_option = check_decimal (optarg); X break; X X case MODE_OPTION: X mode_option X = mode_compile (optarg, X MODE_MASK_EQUALS | MODE_MASK_PLUS | MODE_MASK_MINUS); X if (mode_option == MODE_INVALID) X ERROR ((TAREXIT_FAILURE, 0, _("Invalid mode given on option"))); X if (mode_option == MODE_MEMORY_EXHAUSTED) X ERROR ((TAREXIT_FAILURE, 0, _("Memory exhausted"))); X break; X X case NO_RECURSE_OPTION: X no_recurse_option = 1; X break; X X case NULL_OPTION: X filename_terminator = '\0'; X break; X X case OWNER_OPTION: X if (!uname_to_uid (optarg, &owner_option)) X if (!check_decimal (optarg) >= 0) X ERROR ((TAREXIT_FAILURE, 0, _("Invalid owner given on option"))); X else X owner_option = check_decimal (optarg); X break; X X case POSIX_OPTION: #if OLDGNU_COMPATIBILITY X if (archive_format == DEFAULT_FORMAT) X archive_format = GNU_FORMAT; X else if (archive_format != GNU_FORMAT) X USAGE_ERROR ((0, 0, _("Conflicting archive format options"))); #else X if (archive_format == DEFAULT_FORMAT) X archive_format = POSIX_FORMAT; X else if (archive_format != POSIX_FORMAT) X USAGE_ERROR ((0, 0, _("Conflicting archive format options"))); #endif X break; X X case PRESERVE_OPTION: X same_permissions_option = 1; X same_order_option = 1; X break; X X case RECORD_SIZE_OPTION: X record_size = intconv (optarg); X if (record_size % BLOCKSIZE != 0) X USAGE_ERROR ((0, 0, _("Record size must be a multiple of %d."), X BLOCKSIZE)); X blocking_factor = record_size / BLOCKSIZE; X break; X X case RSH_COMMAND_OPTION: X rsh_command_option = optarg; X break; X X case SUFFIX_OPTION: X backup_option = 1; X backup_suffix_string = optarg; X break; X X case VOLNO_FILE_OPTION: X volno_file_option = optarg; X break; X X case USE_COMPRESS_PROGRAM_OPTION: X set_use_compress_program_option (optarg); X break; X X case '0': X case '1': X case '2': X case '3': X case '4': X case '5': X case '6': X case '7': X #ifdef DEVICE_PREFIX X { X int device = optchar - '0'; X int density; X static char buf[sizeof DEVICE_PREFIX + 10]; X char *cursor; X X density = getopt_long (argc, argv, "lmh", NULL, NULL); X strcpy (buf, DEVICE_PREFIX); X cursor = buf + strlen (buf); X #ifdef DENSITY_LETTER X X sprintf (cursor, "%d%c", device, density); X #else /* not DENSITY_LETTER */ X X switch (density) X { X case 'l': #ifdef LOW_NUM X device += LOW_NUM; #endif X break; X X case 'm': #ifdef MID_NUM X device += MID_NUM; #else X device += 8; #endif X break; X X case 'h': #ifdef HGH_NUM X device += HGH_NUM; #else X device += 16; #endif X break; X X default: X usage (TAREXIT_FAILURE); X } X sprintf (cursor, "%d", device); X #endif /* not DENSITY_LETTER */ X X if (archive_names == allocated_archive_names) X { X allocated_archive_names *= 2; X archive_name_array = (const char **) X xrealloc (archive_name_array, X sizeof (const char *) * allocated_archive_names); X } X archive_name_array[archive_names++] = buf; X X /* FIXME: How comes this works for many archives when buf is X not xstrdup'ed? */ X } X break; X #else /* not DEVICE_PREFIX */ X X USAGE_ERROR ((0, 0, X _("Options `-[0-7][lmh]' not supported by *this* tar"))); X #endif /* not DEVICE_PREFIX */ X } X X /* Process trivial options. */ X X if (show_version) X { X printf ("tar (GNU %s) %s\n", PACKAGE, VERSION); X fputs (_("\ \n\ Copyright (C) 1988, 92, 93, 94, 95, 96, 97 Free Software Foundation, Inc.\n"), X stdout); X fputs (_("\ This is free software; see the source for copying conditions. There is NO\n\ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"), X stdout); X fputs (_("\ \n\ Written by John Gilmore and Jay Fenlason.\n"), X stdout); X exit (TAREXIT_SUCCESS); X } X X if (show_help) X usage (TAREXIT_SUCCESS); X X /* Derive option values and check option consistency. */ X X if (archive_format == DEFAULT_FORMAT) X { #if OLDGNU_COMPATIBILITY X archive_format = OLDGNU_FORMAT; #else X archive_format = GNU_FORMAT; #endif X } X X if (archive_format == GNU_FORMAT && getenv ("POSIXLY_CORRECT")) X archive_format = POSIX_FORMAT; X X if ((volume_label_option != NULL X || incremental_option || multi_volume_option || sparse_option) X && archive_format != OLDGNU_FORMAT && archive_format != GNU_FORMAT) X USAGE_ERROR ((0, 0, X _("GNU features wanted on incompatible archive format"))); X X if (archive_names == 0) X { X /* If no archive file name given, try TAPE from the environment, or X else, DEFAULT_ARCHIVE from the configuration process. */ X X archive_names = 1; X archive_name_array[0] = getenv ("TAPE"); X if (archive_name_array[0] == NULL) X archive_name_array[0] = DEFAULT_ARCHIVE; X } X X /* Allow multiple archives only with `-M'. */ X X if (archive_names > 1 && !multi_volume_option) X USAGE_ERROR ((0, 0, X _("Multiple archive files requires `-M' option"))); X X /* If ready to unlink hierarchies, so we are for simpler files. */ X if (recursive_unlink_option) X unlink_first_option = 1; X X /* Forbid using -c with no input files whatsoever. Check that `-f -', X explicit or implied, is used correctly. */ X X switch (subcommand_option) X { X case CREATE_SUBCOMMAND: X if (input_files == 0 && !files_from_option) X USAGE_ERROR ((0, 0, X _("Cowardly refusing to create an empty archive"))); X break; X X case EXTRACT_SUBCOMMAND: X case LIST_SUBCOMMAND: X case DIFF_SUBCOMMAND: X for (archive_name_cursor = archive_name_array; X archive_name_cursor < archive_name_array + archive_names; X archive_name_cursor++) X if (!strcmp (*archive_name_cursor, "-")) X request_stdin ("-f"); X break; X X case CAT_SUBCOMMAND: X case UPDATE_SUBCOMMAND: X case APPEND_SUBCOMMAND: X for (archive_name_cursor = archive_name_array; X archive_name_cursor < archive_name_array + archive_names; X archive_name_cursor++) X if (!strcmp (*archive_name_cursor, "-")) X USAGE_ERROR ((0, 0, X _("Options `-Aru' are incompatible with `-f -'"))); X X default: X break; X } X X archive_name_cursor = archive_name_array; X X /* Prepare for generating backup names. */ X X if (backup_suffix_string) X simple_backup_suffix = xstrdup (backup_suffix_string); X X if (backup_option) X backup_type = get_version (version_control_string); } X /* Tar proper. */ X /*-----------------------. | Main routine for tar. | `-----------------------*/ X int main (int argc, char *const *argv) { X program_name = argv[0]; X setlocale (LC_ALL, ""); X bindtextdomain (PACKAGE, LOCALEDIR); X textdomain (PACKAGE); X X exit_status = TAREXIT_SUCCESS; X filename_terminator = '\n'; X X /* Pre-allocate a few structures. */ X X allocated_archive_names = 10; X archive_name_array = (const char **) X xmalloc (sizeof (const char *) * allocated_archive_names); X archive_names = 0; X X init_names (); X X /* Decode options. */ X X decode_options (argc, argv); X name_init (argc, argv); X X /* Main command execution. */ X X if (volno_file_option) X init_volume_number (); X X switch (subcommand_option) X { X case UNKNOWN_SUBCOMMAND: X USAGE_ERROR ((0, 0, X _("You must specify one of the `-Acdtrux' options"))); X X case CAT_SUBCOMMAND: X case UPDATE_SUBCOMMAND: X case APPEND_SUBCOMMAND: X update_archive (); X break; X X case DELETE_SUBCOMMAND: X delete_archive_members (); X break; X X case CREATE_SUBCOMMAND: X if (totals_option) X init_total_written (); X X create_archive (); X name_close (); X X if (totals_option) X print_total_written (); X break; X X case EXTRACT_SUBCOMMAND: X extr_init (); X read_and (extract_archive); X break; X X case LIST_SUBCOMMAND: X read_and (list_archive); X break; X X case DIFF_SUBCOMMAND: X diff_init (); X read_and (diff_archive); X break; X } X X if (volno_file_option) X closeout_volume_number (); X X /* Dispose of allocated memory, and return. */ X X free (archive_name_array); X name_term (); X X if (exit_status == TAREXIT_FAILURE) X error (0, 0, _("Error exit delayed from previous errors")); X exit (exit_status); } SHAR_EOF $shar_touch -am 0425160997 'tar-1.12/src/tar.c' && chmod 0644 'tar-1.12/src/tar.c' || $echo 'restore of' 'tar-1.12/src/tar.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/src/tar.c:' 'MD5 check failed' 9ed360efd6b9a1f15aaec54767089e16 tar-1.12/src/tar.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/src/tar.c'`" test 34758 -eq "$shar_count" || $echo 'tar-1.12/src/tar.c:' 'original size' '34758,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/src/update.c ============== if test -f 'tar-1.12/src/update.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/src/update.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/src/update.c' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/src/update.c' && /* Update a tar archive. X Copyright (C) 1988, 1992, 1994, 1996, 1997 Free Software Foundation, Inc. X X This program is free software; you can redistribute it and/or modify it X under the terms of the GNU General Public License as published by the X Free Software Foundation; either version 2, or (at your option) any later X version. X X This program is distributed in the hope that it will be useful, but X WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General X Public License for more details. X X You should have received a copy of the GNU General Public License along X with this program; if not, write to the Free Software Foundation, Inc., X 59 Place - Suite 330, Boston, MA 02111-1307, USA. */ X /* Implement the 'r', 'u' and 'A' options for tar. 'A' means that the X file names are tar files, and they should simply be appended to the end X of the archive. No attempt is made to record the reads from the args; if X they're on raw tape or something like that, it'll probably lose... */ X #include "system.h" #include "common.h" X /* FIXME: This module should not directly handle the following variable, X instead, this should be done in buffer.c only. */ extern union block *current_block; X /* We've hit the end of the old stuff, and its time to start writing new X stuff to the tape. This involves seeking back one record and X re-writing the current record (which has been changed). */ int time_to_start_writing = 0; X /* Pointer to where we started to write in the first record we write out. X This is used if we can't backspace the output and have to null out the X first part of the record. */ char *output_start; X /*------------------------------------------------------------------------. | Catenate file PATH to the archive without creating a header for it. It | | had better be a tar file or the archive is screwed. | `------------------------------------------------------------------------*/ X static void append_file (char *path) { X int handle; X struct stat stat_data; X long bytes_left; X X if (stat (path, &stat_data) != 0 X || (handle = open (path, O_RDONLY | O_BINARY), handle < 0)) X { X ERROR ((0, errno, _("Cannot open file %s"), path)); X return; X } X X bytes_left = stat_data.st_size; X X while (bytes_left > 0) X { X union block *start = find_next_block (); X long buffer_size = available_space_after (start); X int status; X X if (bytes_left < buffer_size) X { X buffer_size = bytes_left; X status = buffer_size % BLOCKSIZE; X if (status) X memset (start->buffer + bytes_left, 0, X (size_t) (BLOCKSIZE - status)); X } X X status = read (handle, start->buffer, (size_t) buffer_size); X if (status < 0) X FATAL_ERROR ((0, errno, X _("Read error at byte %ld reading %d bytes in file %s"), X stat_data.st_size - bytes_left, buffer_size, path)); X bytes_left -= status; X X set_next_block_after (start + (status - 1) / BLOCKSIZE); X X if (status != buffer_size) X FATAL_ERROR ((0, 0, _("%s: File shrunk by %d bytes, (yark!)"), X path, bytes_left)); X } X X close (handle); } X /*-----------------------------------------------------------------------. | Implement the 'r' (add files to end of archive), and 'u' (add files to | | end of archive if they arent there, or are more up to date than the | | version in the archive.) commands. | `-----------------------------------------------------------------------*/ X void update_archive (void) { X enum read_header previous_status = HEADER_STILL_UNREAD; X int found_end = 0; X X name_gather (); X if (subcommand_option == UPDATE_SUBCOMMAND) X name_expand (); X open_archive (ACCESS_UPDATE); X X while (!found_end) X { X enum read_header status = read_header (); X X switch (status) X { X case HEADER_STILL_UNREAD: X abort (); X X case HEADER_SUCCESS: X { X struct name *name; X X if (subcommand_option == UPDATE_SUBCOMMAND X && (name = name_scan (current_file_name), name)) X { X struct stat stat_data; X enum archive_format unused; X X decode_header (current_header, ¤t_stat, &unused, 0); X if (stat (current_file_name, &stat_data) < 0) X ERROR ((0, errno, _("Cannot stat %s"), current_file_name)); X else if (current_stat.st_mtime >= stat_data.st_mtime) X name->found = 1; X } X set_next_block_after (current_header); X if (current_header->oldgnu_header.isextended) X skip_extended_headers (); X skip_file ((long) current_stat.st_size); X break; X } X X case HEADER_ZERO_BLOCK: X current_block = current_header; X found_end = 1; X break; X X case HEADER_END_OF_FILE: X found_end = 1; X break; X X case HEADER_FAILURE: X set_next_block_after (current_header); X switch (previous_status) X { X case HEADER_STILL_UNREAD: X WARN ((0, 0, _("This does not look like a tar archive"))); X /* Fall through. */ X X case HEADER_SUCCESS: X case HEADER_ZERO_BLOCK: X ERROR ((0, 0, _("Skipping to next header"))); X /* Fall through. */ X X case HEADER_FAILURE: X break; X X case HEADER_END_OF_FILE: X abort (); X } X break; X } X X previous_status = status; X } X X reset_eof (); X time_to_start_writing = 1; X output_start = current_block->buffer; X X { X char *path; X X while (path = name_from_list (), path) X { X if (interactive_option && !confirm ("add", path)) X continue; X if (subcommand_option == CAT_SUBCOMMAND) X append_file (path); X else X dump_file (path, -1, 1); X } X } X X write_eot (); X close_archive (); X names_notfound (); } SHAR_EOF $shar_touch -am 0419184497 'tar-1.12/src/update.c' && chmod 0644 'tar-1.12/src/update.c' || $echo 'restore of' 'tar-1.12/src/update.c' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/src/update.c:' 'MD5 check failed' a9ae2d5b0053aac277d60d7bf2db0652 tar-1.12/src/update.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/src/update.c'`" test 5599 -eq "$shar_count" || $echo 'tar-1.12/src/update.c:' 'original size' '5599,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/src/arith.h ============== if test -f 'tar-1.12/src/arith.h' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/src/arith.h' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/src/arith.h' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/src/arith.h' && /* Simple arithmetic for numbers greater than a long int, for GNU tar. X Copyright (C) 1996, 1997 Free Software Foundation, Inc. X X This program is free software; you can redistribute it and/or modify X it under the terms of the GNU General Public License as published by X the Free Software Foundation; either version 2, or (at your option) X any later version. X X This program is distributed in the hope that it will be useful, X but WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the X GNU General Public License for more details. X X You should have received a copy of the GNU General Public License X along with this program; if not, write to the Free Software Foundation, X Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X /* Also, see comments at beginning of arith.c. */ X #define BITS_PER_BYTE 8 /* number of bits in each sizeof unit */ #define BITS_PER_TARLONG 42 /* wanted number of bits in each tarlong */ X /* In all cases, tarlong is the proper type for a big number. X X For simulated arithmetic, SUPERDIGIT is the base, TARLONG_FORMAT is the X format to print a single super-digit filled with zeroes to the left, and X BITS_PER_SUPERDIGIT is the smallest number of bits required to fully X represent each super-digit. LONGS_PER_TARLONG says how many longs are X required for a full tarlong, and SIZEOF_TARLONG is the size of a tarlong X in bytes. X X For straight compiler arithmetic, SUPERDIGIT is zero and TARLONG_FORMAT X is the format to directly print a tarlong (without zero-filling). X X The values of SIZEOF_LONG_LONG and SIZEOF_UNSIGNED_LONG, below, are X obtained through the configuration process. */ X #if BITS_PER_BYTE * SIZEOF_UNSIGNED_LONG >= BITS_PER_TARLONG # define SUPERDIGIT 0 # define TARLONG_FORMAT "%uld" typedef unsigned long tarlong; #else # if BITS_PER_BYTE * SIZEOF_LONG_LONG >= BITS_PER_TARLONG + 1 # define SUPERDIGIT 0 # define TARLONG_FORMAT "%lld" typedef long long tarlong; # else # if BITS_PER_BYTE * SIZEOF_UNSIGNED_LONG >= 64 # define SUPERDIGIT 1000000000L # define BITS_PER_SUPERDIGIT 29 # define TARLONG_FORMAT "%09uld" # else # if BITS_PER_BYTE * SIZEOF_UNSIGNED_LONG >= 32 # define SUPERDIGIT 10000L # define BITS_PER_SUPERDIGIT 14 # define TARLONG_FORMAT "%04uld" # endif # endif # endif #endif X #if SUPERDIGIT X # define LONGS_PER_TARLONG \ X ((BITS_PER_TARLONG + BITS_PER_SUPERDIGIT - 1) / BITS_PER_SUPERDIGIT) # define SIZEOF_TARLONG (LONGS_PER_TARLONG * sizeof (unsigned long)) X /* The NEC EWS 4.2 C compiler gets confused by a pointer to a typedef that X is an array. So we wrap the array into a struct. (Pouah!) */ X struct tarlong { X unsigned long digit[LONGS_PER_TARLONG]; }; X typedef struct tarlong tarlong; X int zerop_tarlong_helper PARAMS ((unsigned long *)); int lessp_tarlong_helper PARAMS ((unsigned long *, unsigned long *)); void clear_tarlong_helper PARAMS ((unsigned long *)); void add_to_tarlong_helper PARAMS ((unsigned long *, int)); void mult_tarlong_helper PARAMS ((unsigned long *, int)); void print_tarlong_helper PARAMS ((unsigned long *, FILE *)); X # define zerop_tarlong(Accumulator) \ X zerop_tarlong_helper (&(Accumulator).digit[0]) X # define lessp_tarlong(First, Second) \ X lessp_tarlong_helper (&(First).digit[0], &(Second).digit[0]) X # define clear_tarlong(Accumulator) \ X clear_tarlong_helper (&(Accumulator).digit[0]) X # define add_to_tarlong(Accumulator, Value) \ X add_to_tarlong_helper (&(Accumulator).digit[0], (Value)) X # define mult_tarlong(Accumulator, Value) \ X mult_tarlong_helper (&(Accumulator).digit[0], (Value)) X # define print_tarlong(Accumulator, File) \ X print_tarlong_helper (&(Accumulator).digit[0], (File)) X #else /* not SUPERDIGIT */ X # define zerop_tarlong(Accumulator) \ X ((Accumulator) == 0) X # define lessp_tarlong(First, Second) \ X ((First) < (Second)) X # define clear_tarlong(Accumulator) \ X ((Accumulator) = 0) X # define add_to_tarlong(Accumulator, Value) \ X ((Accumulator) += (Value)) X # define mult_tarlong(Accumulator, Value) \ X ((Accumulator) *= (Value)) X # define print_tarlong(Accumulator, File) \ X (fprintf ((File), TARLONG_FORMAT, (Accumulator))) X #endif /* not SUPERDIGIT */ SHAR_EOF $shar_touch -am 0416170297 'tar-1.12/src/arith.h' && chmod 0644 'tar-1.12/src/arith.h' || $echo 'restore of' 'tar-1.12/src/arith.h' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/src/arith.h:' 'MD5 check failed' 8e818db0e8391b10716efb2586103058 tar-1.12/src/arith.h SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/src/arith.h'`" test 4265 -eq "$shar_count" || $echo 'tar-1.12/src/arith.h:' 'original size' '4265,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/src/common.h ============== if test -f 'tar-1.12/src/common.h' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/src/common.h' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/src/common.h' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/src/common.h' && /* Common declarations for the tar program. X Copyright (C) 1988, 92, 93, 94, 96, 97 Free Software Foundation, Inc. X X This program is free software; you can redistribute it and/or modify it X under the terms of the GNU General Public License as published by the X Free Software Foundation; either version 2, or (at your option) any later X version. X X This program is distributed in the hope that it will be useful, but X WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General X Public License for more details. X X You should have received a copy of the GNU General Public License along X with this program; if not, write to the Free Software Foundation, Inc., X 59 Place - Suite 330, Boston, MA 02111-1307, USA. */ X /* Declare the GNU tar archive format. */ #include "tar.h" X /* The checksum field is filled with this while the checksum is computed. */ #define CHKBLANKS " " /* 8 blanks, no null */ X /* Some constants from POSIX are given names. */ #define NAME_FIELD_SIZE 100 #define PREFIX_FIELD_SIZE 155 #define UNAME_FIELD_SIZE 32 #define GNAME_FIELD_SIZE 32 X /* POSIX specified symbols currently unused are undefined here. */ #undef TSUID #undef TSGID #undef TSVTX #undef TUREAD #undef TUWRITE #undef TUEXEC #undef TGREAD #undef TGWRITE #undef TGEXEC #undef TOREAD #undef TOWRITE #undef TOEXEC X /* Some various global definitions. */ X /* Name of file to use for interacting with user. */ #if MSDOS # define TTY_NAME "con" #else # define TTY_NAME "/dev/tty" #endif X /* GLOBAL is defined to empty in `tar.c' only, and left alone in other `*.c' X modules. Here, we merely set it to "extern" if it is not already set. X GNU tar does depend on the system loader to preset all GLOBAL variables to X neutral (or zero) values, explicit initialisation is usually not done. */ #ifndef GLOBAL # define GLOBAL extern #endif X /* Exit status for GNU tar. Let's try to keep this list as simple as X possible. -d option strongly invites a status different for unequal X comparison and other errors. */ GLOBAL int exit_status; X #define TAREXIT_SUCCESS 0 #define TAREXIT_DIFFERS 1 #define TAREXIT_FAILURE 2 X /* Both WARN and ERROR write a message on stderr and continue processing, X however ERROR manages so tar will exit unsuccessfully. FATAL_ERROR X writes a message on stderr and aborts immediately, with another message X line telling so. USAGE_ERROR works like FATAL_ERROR except that the X other message line suggests trying --help. All four macros accept a X single argument of the form ((0, errno, _("FORMAT"), Args...)). `errno' X is `0' when the error is not being detected by the system. */ X #define WARN(Args) \ X error Args #define ERROR(Args) \ X (error Args, exit_status = TAREXIT_FAILURE) #define FATAL_ERROR(Args) \ X (error Args, error (TAREXIT_FAILURE, 0, \ X _("Error is not recoverable: exiting now")), 0) #define USAGE_ERROR(Args) \ X (error Args, usage (TAREXIT_FAILURE), 0) X /* Information gleaned from the command line. */ X #include "arith.h" #include "modechange.h" X /* Name of this program. */ GLOBAL const char *program_name; X /* Main command option. */ X enum subcommand { X UNKNOWN_SUBCOMMAND, /* none of the following */ X APPEND_SUBCOMMAND, /* -r */ X CAT_SUBCOMMAND, /* -A */ X CREATE_SUBCOMMAND, /* -c */ X DELETE_SUBCOMMAND, /* -D */ X DIFF_SUBCOMMAND, /* -d */ X EXTRACT_SUBCOMMAND, /* -x */ X LIST_SUBCOMMAND, /* -t */ X UPDATE_SUBCOMMAND /* -u */ }; X GLOBAL enum subcommand subcommand_option; X /* Selected format for output archive. */ GLOBAL enum archive_format archive_format; X /* Either NL or NUL, as decided by the --null option. */ GLOBAL char filename_terminator; X /* Size of each record, once in blocks, once in bytes. Those two variables X are always related, the second being BLOCKSIZE times the first. They do X not have _option in their name, even if their values is derived from X option decoding, as these are especially important in tar. */ GLOBAL int blocking_factor; GLOBAL int record_size; X /* Boolean value. */ GLOBAL int absolute_names_option; X /* This variable tells how to interpret newer_mtime_option, below. If zero, X files get archived if their mtime is not less than newer_mtime_option. X If nonzero, files get archived if *either* their ctime or mtime is not less X than newer_mtime_option. */ GLOBAL int after_date_option; X /* Boolean value. */ GLOBAL int atime_preserve_option; X /* Boolean value. */ GLOBAL int backup_option; X /* Boolean value. */ GLOBAL int block_number_option; X /* Boolean value. */ GLOBAL int checkpoint_option; X /* Specified name of compression program, or "gzip" as implied by -z. */ GLOBAL const char *use_compress_program_option; X /* Boolean value. */ GLOBAL int dereference_option; X /* Boolean value. */ GLOBAL int exclude_option; X /* Specified file containing names to work on. */ GLOBAL const char *files_from_option; X /* Boolean value. */ GLOBAL int force_local_option; X /* Specified value to be put into tar file in place of stat () results, or X just -1 if such an override should not take place. */ GLOBAL gid_t group_option; X /* Boolean value. */ GLOBAL int ignore_failed_read_option; X /* Boolean value. */ GLOBAL int ignore_zeros_option; X /* Boolean value. */ GLOBAL int incremental_option; X /* Specified name of script to run at end of each tape change. */ GLOBAL const char *info_script_option; X /* Boolean value. */ GLOBAL int interactive_option; X /* Boolean value. */ GLOBAL int keep_old_files_option; X /* Specified file name for incremental list. */ GLOBAL const char *listed_incremental_option; X /* Specified mode change string. */ GLOBAL struct mode_change *mode_option; X /* Boolean value. */ GLOBAL int multi_volume_option; X /* The same variable hold the time, whether mtime or ctime. Just fake a X non-existing option, for making the code clearer, elsewhere. */ #define newer_ctime_option newer_mtime_option X /* Specified threshold date and time. Files having a more recent timestamp X get archived (also see after_date_option above). If left to zero, it may X be interpreted as very low threshold, just usable as such. */ GLOBAL time_t newer_mtime_option; X /* Boolean value. */ GLOBAL int no_recurse_option; X /* Boolean value. */ GLOBAL int numeric_owner_option; X /* Boolean value. */ GLOBAL int one_file_system_option; X /* Specified value to be put into tar file in place of stat () results, or X just -1 if such an override should not take place. */ GLOBAL uid_t owner_option; X /* Boolean value. */ GLOBAL int recursive_unlink_option; X /* Boolean value. */ GLOBAL int read_full_records_option; X /* Boolean value. */ GLOBAL int remove_files_option; X /* Specified remote shell command. */ GLOBAL const char *rsh_command_option; X /* Boolean value. */ GLOBAL int same_order_option; X /* Boolean value. */ GLOBAL int same_owner_option; X /* Boolean value. */ GLOBAL int same_permissions_option; X /* Boolean value. */ GLOBAL int show_omitted_dirs_option; X /* Boolean value. */ GLOBAL int sparse_option; X /* Boolean value. */ GLOBAL int starting_file_option; X /* Specified maximum byte length of each tape volume (multiple of 1024). */ GLOBAL tarlong tape_length_option; X /* Boolean value. */ GLOBAL int to_stdout_option; X /* Boolean value. */ GLOBAL int totals_option; X /* Boolean value. */ GLOBAL int touch_option; X /* Boolean value. */ GLOBAL int unlink_first_option; X /* Count how many times the option has been set, multiple setting yields X more verbose behavior. Value 0 means no verbosity, 1 means file name X only, 2 means file name and all attributes. More than 2 is just like 2. */ GLOBAL int verbose_option; X /* Boolean value. */ GLOBAL int verify_option; X /* Specified name of file containing the volume number. */ GLOBAL const char *volno_file_option; X /* Specified value or pattern. */ GLOBAL const char *volume_label_option; X /* Other global variables. */ X /* File descriptor for archive file. */ GLOBAL int archive; X /* Nonzero when outputting to /dev/null. */ GLOBAL int dev_null_output; X /* Name of file for the current archive entry. */ GLOBAL char *current_file_name; X /* Name of link for the current archive entry. */ GLOBAL char *current_link_name; X /* List of tape drive names, number of such tape drives, allocated number, X and current cursor in list. */ GLOBAL const char **archive_name_array; GLOBAL int archive_names; GLOBAL int allocated_archive_names; GLOBAL const char **archive_name_cursor; X /* Structure for keeping track of filenames and lists thereof. */ struct name X { X struct name *next; X short length; /* cached strlen(name) */ X char found; /* a matching file has been found */ X char firstch; /* first char is literally matched */ X char regexp; /* this name is a regexp, not literal */ X char *change_dir; /* set with the -C option */ X char *dir_contents; /* for incremental_option */ X char fake; /* dummy entry */ X char name[1]; X }; GLOBAL struct name *namelist; /* points to first name in list */ GLOBAL struct name *namelast; /* points to last name in list */ X /* Pointer to the start of the scratch space. */ struct sp_array X { X off_t offset; X int numbytes; X }; GLOBAL struct sp_array *sparsearray; X /* Initial size of the sparsearray. */ GLOBAL int sp_array_size; X /* Declarations for each module. */ X /* FIXME: compare.c should not directly handle the following variable, X instead, this should be done in buffer.c only. */ X enum access_mode { X ACCESS_READ, X ACCESS_WRITE, X ACCESS_UPDATE }; extern enum access_mode access_mode; X /* Module buffer.c. */ X extern FILE *stdlis; extern char *save_name; extern long save_sizeleft; extern long save_totsize; extern int write_archive_to_stdout; X int available_space_after PARAMS ((union block *)); long current_block_ordinal PARAMS ((void)); void close_archive PARAMS ((void)); void closeout_volume_number PARAMS ((void)); union block *find_next_block PARAMS ((void)); void flush_read PARAMS ((void)); void flush_write PARAMS ((void)); void flush_archive PARAMS ((void)); void init_total_written PARAMS ((void)); void init_volume_number PARAMS ((void)); void open_archive PARAMS ((enum access_mode)); void print_total_written PARAMS ((void)); void reset_eof PARAMS ((void)); void set_next_block_after PARAMS ((union block *)); X /* Module create.c. */ X void create_archive PARAMS ((void)); void dump_file PARAMS ((char *, int, int)); void finish_header PARAMS ((union block *)); void to_oct PARAMS ((long, int, char *)); void write_eot PARAMS ((void)); X /* Module diffarch.c. */ X extern int now_verifying; X void diff_archive PARAMS ((void)); void diff_init PARAMS ((void)); void verify_volume PARAMS ((void)); X /* Module extract.c. */ X void extr_init PARAMS ((void)); void extract_archive PARAMS ((void)); void apply_delayed_set_stat PARAMS ((void)); X /* Module delete.c. */ X void delete_archive_members PARAMS ((void)); X /* Module incremen.c. */ X void collect_and_sort_names PARAMS ((void)); char *get_directory_contents PARAMS ((char *, int)); void write_dir_file PARAMS ((void)); void gnu_restore PARAMS ((int)); void write_directory_file PARAMS ((void)); X /* Module list.c. */ X enum read_header { X HEADER_STILL_UNREAD, /* for when read_header has not been called */ X HEADER_SUCCESS, /* header successfully read and checksummed */ X HEADER_ZERO_BLOCK, /* zero block where header expected */ X HEADER_END_OF_FILE, /* true end of file while header expected */ X HEADER_FAILURE /* ill-formed header, or bad checksum */ }; X extern union block *current_header; extern struct stat current_stat; extern enum archive_format current_format; X void decode_header PARAMS ((union block *, struct stat *, X enum archive_format *, int)); long from_oct PARAMS ((int, char *)); void list_archive PARAMS ((void)); void print_for_mkdir PARAMS ((char *, int, int)); void print_header PARAMS ((void)); void read_and PARAMS ((void (*do_) ())); enum read_header read_header PARAMS ((void)); void skip_extended_headers PARAMS ((void)); void skip_file PARAMS ((long)); X /* Module mangle.c. */ X void extract_mangle PARAMS ((void)); X /* Module misc.c. */ X void assign_string PARAMS ((char **, const char *)); char *quote_copy_string PARAMS ((const char *)); int unquote_string PARAMS ((char *)); X char *merge_sort PARAMS ((char *, int, int, int (*) (char *, char *))); X int is_dot_or_dotdot PARAMS ((const char *)); int remove_any_file PARAMS ((const char *, int)); int maybe_backup_file PARAMS ((const char *, int)); void undo_last_backup PARAMS ((void)); X /* Module names.c. */ X void gid_to_gname PARAMS ((gid_t, char gname[GNAME_FIELD_SIZE])); int gname_to_gid PARAMS ((char gname[GNAME_FIELD_SIZE], gid_t *)); void uid_to_uname PARAMS ((uid_t, char uname[UNAME_FIELD_SIZE])); int uname_to_uid PARAMS ((char uname[UNAME_FIELD_SIZE], uid_t *)); X void init_names PARAMS ((void)); void name_add PARAMS ((const char *)); void name_init PARAMS ((int, char *const *)); void name_term PARAMS ((void)); char *name_next PARAMS ((int change_)); void name_close PARAMS ((void)); void name_gather PARAMS ((void)); void addname PARAMS ((const char *)); int name_match PARAMS ((const char *)); void names_notfound PARAMS ((void)); void name_expand PARAMS ((void)); struct name *name_scan PARAMS ((const char *)); char *name_from_list PARAMS ((void)); void blank_name_list PARAMS ((void)); char *new_name PARAMS ((const char *, const char *)); X void add_exclude PARAMS ((char *)); void add_exclude_file PARAMS ((const char *)); int check_exclude PARAMS ((const char *)); X /* Module tar.c. */ X int confirm PARAMS ((const char *, const char *)); void request_stdin PARAMS ((const char *)); X /* Module update.c. */ X extern char *output_start; X void update_archive PARAMS ((void)); SHAR_EOF $shar_touch -am 0422023197 'tar-1.12/src/common.h' && chmod 0644 'tar-1.12/src/common.h' || $echo 'restore of' 'tar-1.12/src/common.h' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/src/common.h:' 'MD5 check failed' 125191859db441c8aae3ccd64f131954 tar-1.12/src/common.h SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/src/common.h'`" test 13830 -eq "$shar_count" || $echo 'tar-1.12/src/common.h:' 'original size' '13830,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/src/rmt.h ============== if test -f 'tar-1.12/src/rmt.h' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/src/rmt.h' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/src/rmt.h' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/src/rmt.h' && /* Definitions for communicating with a remote tape drive. X Copyright (C) 1988, 1992, 1996, 1997 Free Software Foundation, Inc. X X This program is free software; you can redistribute it and/or modify X it under the terms of the GNU General Public License as published by X the Free Software Foundation; either version 2, or (at your option) X any later version. X X This program is distributed in the hope that it will be useful, X but WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the X GNU General Public License for more details. X X You should have received a copy of the GNU General Public License X along with this program; if not, write to the Free Software Foundation, X Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X extern char *rmt_path__; X int rmt_open__ PARAMS ((const char *, int, int, const char *)); int rmt_close__ PARAMS ((int)); int rmt_read__ PARAMS ((int, char *, unsigned int)); int rmt_write__ PARAMS ((int, char *, unsigned int)); long rmt_lseek__ PARAMS ((int, off_t, int)); int rmt_ioctl__ PARAMS ((int, int, char *)); X /* A filename is remote if it contains a colon not preceeded by a slash, X to take care of `/:/' which is a shorthand for `/...//fs' X on machines running OSF's Distributing Computing Environment (DCE) and X Distributed File System (DFS). However, when --force-local, a X filename is never remote. */ X #define _remdev(Path) \ X (!force_local_option && (rmt_path__ = strchr (Path, ':')) \ X && rmt_path__ > (Path) && rmt_path__[-1] != '/') X #define _isrmt(Fd) \ X ((Fd) >= __REM_BIAS) X #define __REM_BIAS 128 X #ifndef O_CREAT # define O_CREAT 01000 #endif X #define rmtopen(Path, Oflag, Mode, Command) \ X (_remdev (Path) ? rmt_open__ (Path, Oflag, __REM_BIAS, Command) \ X : open (Path, Oflag, Mode)) X #define rmtaccess(Path, Amode) \ X (_remdev (Path) ? 0 : access (Path, Amode)) X #define rmtstat(Path, Buffer) \ X (_remdev (Path) ? (errno = EOPNOTSUPP), -1 : stat (Path, Buffer)) X /* FIXME: errno should be read-only */ X #define rmtcreat(Path, Mode, Command) \ X (_remdev (Path) \ X ? rmt_open__ (Path, 1 | O_CREAT, __REM_BIAS, Command) \ X : creat (Path, Mode)) X #define rmtlstat(Path, Buffer) \ X (_remdev (Path) ? (errno = EOPNOTSUPP), -1 : lstat (Path, Buffer)) X /* FIXME: errno should be read-only */ X #define rmtread(Fd, Buffer, Length) \ X (_isrmt (Fd) ? rmt_read__ (Fd - __REM_BIAS, Buffer, Length) \ X : read (Fd, Buffer, Length)) X #define rmtwrite(Fd, Buffer, Length) \ X (_isrmt (Fd) ? rmt_write__ (Fd - __REM_BIAS, Buffer, Length) \ X : write (Fd, Buffer, Length)) X #define rmtlseek(Fd, Offset, Where) \ X (_isrmt (Fd) ? rmt_lseek__ (Fd - __REM_BIAS, Offset, Where) \ X : lseek (Fd, Offset, Where)) X #define rmtclose(Fd) \ X (_isrmt (Fd) ? rmt_close__ (Fd - __REM_BIAS) : close (Fd)) X #define rmtioctl(Fd, Request, Argument) \ X (_isrmt (Fd) ? rmt_ioctl__ (Fd - __REM_BIAS, Request, Argument) \ X : ioctl (Fd, Request, Argument)) X #define rmtdup(Fd) \ X (_isrmt (Fd) ? (errno = EOPNOTSUPP), -1 : dup (Fd)) X /* FIXME: errno should be read-only */ X #define rmtfstat(Fd, Buffer) \ X (_isrmt (Fd) ? (errno = EOPNOTSUPP), -1 : fstat (Fd, Buffer)) X /* FIXME: errno should be read-only */ X #define rmtfcntl(Fd, Command, Argument) \ X (_isrmt (Fd) ? (errno = EOPNOTSUPP), -1 : fcntl (Fd, Command, Argument)) X /* FIXME: errno should be read-only */ X #define rmtisatty(Fd) \ X (_isrmt (Fd) ? 0 : isatty (Fd)) SHAR_EOF $shar_touch -am 0409122197 'tar-1.12/src/rmt.h' && chmod 0644 'tar-1.12/src/rmt.h' || $echo 'restore of' 'tar-1.12/src/rmt.h' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/src/rmt.h:' 'MD5 check failed' a4fce495ed2ccf1790a18dcf9c028b7f tar-1.12/src/rmt.h SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/src/rmt.h'`" test 3506 -eq "$shar_count" || $echo 'tar-1.12/src/rmt.h:' 'original size' '3506,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/src/system.h ============== if test -f 'tar-1.12/src/system.h' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/src/system.h' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/src/system.h' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/src/system.h' && /* System dependent definitions for GNU tar. X Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc. X X This program is free software; you can redistribute it and/or modify X it under the terms of the GNU General Public License as published by X the Free Software Foundation; either version 2, or (at your option) X any later version. X X This program is distributed in the hope that it will be useful, X but WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the X GNU General Public License for more details. X X You should have received a copy of the GNU General Public License X along with this program; if not, write to the Free Software Foundation, X Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X #if HAVE_CONFIG_H # include #endif X /* Declare alloca. AIX requires this to be the first thing in the file. */ X #if __GNUC__ # define alloca __builtin_alloca #else # if HAVE_ALLOCA_H # include # else # ifdef _AIX X #pragma alloca # else # ifndef alloca char *alloca (); # endif # endif # endif #endif X #include X /* Declare a generic pointer type. */ #if __STDC__ || defined(__TURBOC__) # define voidstar void * #else # define voidstar char * #endif X /* Declare ISASCII. */ X #include X #if STDC_HEADERS # define ISASCII(Char) 1 #else # ifdef isascii # define ISASCII(Char) isascii (Char) # else # if HAVE_ISASCII # define ISASCII(Char) isascii (Char) # else # define ISASCII(Char) 1 # endif # endif #endif X /* Declare string and memory handling routines. Take care that an ANSI X string.h and pre-ANSI memory.h might conflict, and that memory.h and X strings.h conflict on some systems. */ X #if STDC_HEADERS || HAVE_STRING_H # include # if !STDC_HEADERS && HAVE_MEMORY_H # include # endif #else # include # ifndef strchr # define strchr index # endif # ifndef strrchr # define strrchr rindex # endif # ifndef memcpy # define memcpy(Dst, Src, Num) bcopy (Src, Dst, Num) # endif # ifndef memcmp # define memcmp(Src1, Src2, Num) bcmp (Src1, Src2, Num) # endif #endif X /* Declare errno. */ X #include #ifndef errno extern int errno; #endif X /* Declare open parameters. */ X #if HAVE_FCNTL_H # include #else # include #endif X /* Pick only one of the next three: */ #ifndef O_RDONLY # define O_RDONLY 0 /* only allow read */ #endif #ifndef O_WRONLY # define O_WRONLY 1 /* only allow write */ #endif #ifndef O_RDWR # define O_RDWR 2 /* both are allowed */ #endif X /* The rest can be OR-ed in to the above: */ #ifndef O_NDELAY # define O_NDELAY 4 /* don't block on opening devices */ #endif #ifndef O_CREAT # define O_CREAT 8 /* create file if needed */ #endif #ifndef O_EXCL # define O_EXCL 16 /* file cannot already exist */ #endif #ifndef O_TRUNC # define O_TRUNC 32 /* truncate file on open */ #endif #ifndef O_APPEND # define O_APPEND 64 /* always write at end of file */ #endif X /* MS-DOG forever, with my love! */ #ifndef O_BINARY # define O_BINARY 0 #endif X /* Emulate System V 3-argument open call */ #if EMUL_OPEN3 # define open open3 #endif X /* Declare file status routines and bits. */ X #include X #ifndef S_ISLNK # define lstat stat #endif X #if STAT_MACROS_BROKEN # undef S_ISBLK # undef S_ISCHR # undef S_ISDIR # undef S_ISFIFO # undef S_ISLNK # undef S_ISMPB # undef S_ISMPC # undef S_ISNWK # undef S_ISREG # undef S_ISSOCK #endif X /* On MSDOS, there are missing things from . */ #if MSDOS # define S_ISUID 0 # define S_ISGID 0 # define S_ISVTX 0 #endif X #ifndef S_ISREG /* POSIX.1 stat stuff missing */ # define mode_t unsigned short #endif #if !defined(S_ISBLK) && defined(S_IFBLK) # define S_ISBLK(Mode) (((Mode) & S_IFMT) == S_IFBLK) #endif #if !defined(S_ISCHR) && defined(S_IFCHR) # define S_ISCHR(Mode) (((Mode) & S_IFMT) == S_IFCHR) #endif #if !defined(S_ISDIR) && defined(S_IFDIR) # define S_ISDIR(Mode) (((Mode) & S_IFMT) == S_IFDIR) #endif #if !defined(S_ISREG) && defined(S_IFREG) # define S_ISREG(Mode) (((Mode) & S_IFMT) == S_IFREG) #endif #if !defined(S_ISFIFO) && defined(S_IFIFO) # define S_ISFIFO(Mode) (((Mode) & S_IFMT) == S_IFIFO) #endif #if !defined(S_ISLNK) && defined(S_IFLNK) # define S_ISLNK(Mode) (((Mode) & S_IFMT) == S_IFLNK) #endif #if !defined(S_ISSOCK) && defined(S_IFSOCK) # define S_ISSOCK(Mode) (((Mode) & S_IFMT) == S_IFSOCK) #endif #if !defined(S_ISMPB) && defined(S_IFMPB) /* V7 */ # define S_ISMPB(Mode) (((Mode) & S_IFMT) == S_IFMPB) # define S_ISMPC(Mode) (((Mode) & S_IFMT) == S_IFMPC) #endif #if !defined(S_ISNWK) && defined(S_IFNWK) /* HP/UX */ # define S_ISNWK(Mode) (((Mode) & S_IFMT) == S_IFNWK) #endif X #if !HAVE_MKFIFO # define mkfifo(Path, Mode) (mknod (Path, (Mode) | S_IFIFO, 0)) #endif X #if !defined(S_ISCTG) && defined(S_IFCTG) /* contiguous file */ # define S_ISCTG(Mode) (((Mode) & S_IFMT) == S_IFCTG) #endif #if !defined(S_ISVTX) # define S_ISVTX 0001000 #endif X #ifndef _POSIX_SOURCE # include #endif X /* Include before any preprocessor test of _POSIX_VERSION. */ #if HAVE_UNISTD_H # include #endif X /* Declare make device, major and minor. Since major is a function on X SVR4, we have to resort to GOT_MAJOR instead of just testing if X major is #define'd. */ X #if MAJOR_IN_MKDEV # include # define GOT_MAJOR #endif X #if MAJOR_IN_SYSMACROS # include # define GOT_MAJOR #endif X /* Some defines the macros. */ #ifdef major # define GOT_MAJOR #endif X #ifndef GOT_MAJOR # if MSDOS # define major(Device) (Device) # define minor(Device) (Device) # define makedev(Major, Minor) (((Major) << 8) | (Minor)) # define GOT_MAJOR # endif #endif X /* For HP-UX before HP-UX 8, major/minor are not in . */ #ifndef GOT_MAJOR # if defined(hpux) || defined(__hpux__) || defined(__hpux) # include # define GOT_MAJOR # endif #endif X #ifndef GOT_MAJOR # define major(Device) (((Device) >> 8) & 0xff) # define minor(Device) ((Device) & 0xff) # define makedev(Major, Minor) (((Major) << 8) | (Minor)) #endif X #undef GOT_MAJOR X /* Declare directory reading routines and structures. */ X #if __TURBOC__ # include "msd_dir.h" # define NAMLEN(dirent) ((dirent)->d_namlen) #else # if HAVE_DIRENT_H # include # define NAMLEN(dirent) (strlen((dirent)->d_name)) # else # define dirent direct # define NAMLEN(dirent) ((dirent)->d_namlen) # if HAVE_SYS_NDIR_H # include # endif # if HAVE_SYS_DIR_H # include # endif # if HAVE_NDIR_H # include # endif # endif #endif X /* Declare wait status. */ X #if HAVE_SYS_WAIT_H # include #endif X #if HAVE_UNION_WAIT # define WAIT_T union wait # ifndef WTERMSIG # define WTERMSIG(Status) ((Status).w_termsig) # endif # ifndef WCOREDUMP # define WCOREDUMP(Status) ((Status).w_coredump) # endif # ifndef WEXITSTATUS # define WEXITSTATUS(Status) ((Status).w_retcode) # endif #else # define WAIT_T int # ifndef WTERMSIG # define WTERMSIG(Status) ((Status) & 0x7f) # endif # ifndef WCOREDUMP # define WCOREDUMP(Status) ((Status) & 0x80) # endif # ifndef WEXITSTATUS # define WEXITSTATUS(Status) (((Status) >> 8) & 0xff) # endif #endif X #ifndef WIFSTOPPED # define WIFSTOPPED(Status) (WTERMSIG(Status) == 0x7f) #endif #ifndef WIFSIGNALED # define WIFSIGNALED(Status) (WTERMSIG(Status) != 0) #endif #ifndef WIFEXITED # define WIFEXITED(Status) (WTERMSIG(Status) == 0) #endif X /* FIXME: It is wrong to use BLOCKSIZE for buffers when the logical block X size is greater than 512 bytes; so ST_BLKSIZE code below, in preparation X for some cleanup in this area, later. */ X /* Get or fake the disk device blocksize. Usually defined by sys/param.h X (if at all). */ X #if !defined(DEV_BSIZE) && defined(BSIZE) # define DEV_BSIZE BSIZE #endif #if !defined(DEV_BSIZE) && defined(BBSIZE) /* SGI */ # define DEV_BSIZE BBSIZE #endif #ifndef DEV_BSIZE # define DEV_BSIZE 4096 #endif X /* Extract or fake data from a `struct stat'. ST_BLKSIZE gives the X optimal I/O blocksize for the file, in bytes. Some systems, like X Sequents, return st_blksize of 0 on pipes. */ X #if !HAVE_ST_BLKSIZE # define ST_BLKSIZE(Statbuf) DEV_BSIZE #else # define ST_BLKSIZE(Statbuf) \ X ((Statbuf).st_blksize > 0 ? (Statbuf).st_blksize : DEV_BSIZE) #endif X /* Extract or fake data from a `struct stat'. ST_NBLOCKS gives the X number of 512-byte blocks in the file (including indirect blocks). X fileblocks.c uses BSIZE. HP-UX counts st_blocks in 1024-byte units, X this loses when mixing HP-UX and BSD filesystems with NFS. AIX PS/2 X counts st_blocks in 4K units. */ X #if !HAVE_ST_BLOCKS # if defined(_POSIX_SOURCE) || !defined(BSIZE) # define ST_NBLOCKS(Statbuf) (((Statbuf).st_size + 512 - 1) / 512) # else # define ST_NBLOCKS(Statbuf) (st_blocks ((Statbuf).st_size)) # endif #else # if defined(hpux) || defined(__hpux__) || defined(__hpux) # define ST_NBLOCKS(Statbuf) ((Statbuf).st_blocks * 2) # else # if defined(_AIX) && defined(_I386) # define ST_NBLOCKS(Statbuf) ((Statbuf).st_blocks * 8) # else # define ST_NBLOCKS(Statbuf) ((Statbuf).st_blocks) # endif # endif #endif X /* This is a real challenge to properly get MTIO* symbols :-(. ISC uses X . SCO and BSDi uses ; BSDi also requires X and for defining tp_dev and tpr_t. It X seems that the rest use , which itself requires other files, X depending on systems. Pyramid defines _IOW in , for example. */ X #if HAVE_SYS_GENTAPE_H # include #else # if HAVE_SYS_TAPE_H # if HAVE_SYS_DEVICE_H # include # endif # if HAVE_SYS_BUF_H # include # endif # if HAVE_SYS_TPRINTF_H # include # endif # include # else # if HAVE_SYS_MTIO_H # include # if HAVE_SGTTY_H # include # endif # if HAVE_SYS_IO_TRIOCTL_H # include # endif # include # endif # endif #endif X /* Declare standard functions. */ X #if STDC_HEADERS # include #else voidstar malloc (); voidstar realloc (); # if HAVE_GETCWD char *getcwd (); # endif char *getenv (); #endif X #include X #ifndef _POSIX_VERSION # if MSDOS # include # else off_t lseek (); # endif #endif X #include X #if WITH_DMALLOC # undef HAVE_VALLOC # define DMALLOC_FUNC_CHECK # include #endif X /* Prototypes for external functions. */ X #ifndef PARAMS # if PROTOTYPES # define PARAMS(Args) Args # else # define PARAMS(Args) () # endif #endif X #if HAVE_LOCALE_H # include #endif #if !HAVE_SETLOCALE # define setlocale(Category, Locale) #endif X #if ENABLE_NLS # include # define _(Text) gettext (Text) #else # define bindtextdomain(Domain, Directory) # define textdomain(Domain) # define _(Text) Text #endif #define N_(Text) Text X /* Library modules. */ X #include "error.h" X #if !HAVE_STRSTR char *strstr PARAMS ((const char *, const char *)); #endif X #if HAVE_VALLOC # ifndef valloc voidstar valloc PARAMS ((size_t)); # endif #else # define valloc(Size) malloc (Size) #endif X voidstar xmalloc PARAMS ((size_t)); voidstar xrealloc PARAMS ((voidstar, size_t)); char *xstrdup PARAMS ((const char *)); SHAR_EOF $shar_touch -am 0419224397 'tar-1.12/src/system.h' && chmod 0644 'tar-1.12/src/system.h' || $echo 'restore of' 'tar-1.12/src/system.h' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/src/system.h:' 'MD5 check failed' 29c8a9e5916e3b326640a850e3e30482 tar-1.12/src/system.h SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/src/system.h'`" test 11395 -eq "$shar_count" || $echo 'tar-1.12/src/system.h:' 'original size' '11395,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/src/tar.h ============== if test -f 'tar-1.12/src/tar.h' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/src/tar.h' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/src/tar.h' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/src/tar.h' && /* Format of tar archives. X Copyright (C) 1988, 92, 93, 94, 96, 97 Free Software Foundation, Inc. X X This program is free software; you can redistribute it and/or modify it X under the terms of the GNU General Public License as published by the X Free Software Foundation; either version 2, or (at your option) any later X version. X X This program is distributed in the hope that it will be useful, but X WITHOUT ANY WARRANTY; without even the implied warranty of X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General X Public License for more details. X X You should have received a copy of the GNU General Public License along X with this program; if not, write to the Free Software Foundation, Inc., X 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ X /* GNU tar Archive Format description. */ X /* If OLDGNU_COMPATIBILITY is not zero, tar produces archives which, by X default, are readable by older versions of GNU tar. This can be X overriden by using --posix; in this case, POSIXLY_CORRECT in environment X may be set for enforcing stricter conformance. If OLDGNU_COMPATIBILITY X is zero or undefined, tar will eventually produces archives which, by X default, POSIX compatible; then either using --posix or defining X POSIXLY_CORRECT enforces stricter conformance. X X This #define will disappear in a few years. FP, June 1995. */ #define OLDGNU_COMPATIBILITY 1 X /*---------------------------------------------. | `tar' Header Block, from POSIX 1003.1-1990. | `---------------------------------------------*/ X /* POSIX header. */ X struct posix_header { /* byte offset */ X char name[100]; /* 0 */ X char mode[8]; /* 100 */ X char uid[8]; /* 108 */ X char gid[8]; /* 116 */ X char size[12]; /* 124 */ X char mtime[12]; /* 136 */ X char chksum[8]; /* 148 */ X char typeflag; /* 156 */ X char linkname[100]; /* 157 */ X char magic[6]; /* 257 */ X char version[2]; /* 263 */ X char uname[32]; /* 265 */ X char gname[32]; /* 297 */ X char devmajor[8]; /* 329 */ X char devminor[8]; /* 337 */ X char prefix[155]; /* 345 */ X /* 500 */ }; X #define TMAGIC "ustar" /* ustar and a null */ #define TMAGLEN 6 #define TVERSION "00" /* 00 and no null */ #define TVERSLEN 2 X /* Values used in typeflag field. */ #define REGTYPE '0' /* regular file */ #define AREGTYPE '\0' /* regular file */ #define LNKTYPE '1' /* link */ #define SYMTYPE '2' /* reserved */ #define CHRTYPE '3' /* character special */ #define BLKTYPE '4' /* block special */ #define DIRTYPE '5' /* directory */ #define FIFOTYPE '6' /* FIFO special */ #define CONTTYPE '7' /* reserved */ X /* Bits used in the mode field, values in octal. */ #define TSUID 04000 /* set UID on execution */ #define TSGID 02000 /* set GID on execution */ #define TSVTX 01000 /* reserved */ X /* file permissions */ #define TUREAD 00400 /* read by owner */ #define TUWRITE 00200 /* write by owner */ #define TUEXEC 00100 /* execute/search by owner */ #define TGREAD 00040 /* read by group */ #define TGWRITE 00020 /* write by group */ #define TGEXEC 00010 /* execute/search by group */ #define TOREAD 00004 /* read by other */ #define TOWRITE 00002 /* write by other */ #define TOEXEC 00001 /* execute/search by other */ X /*-------------------------------------. | `tar' Header Block, GNU extensions. | `-------------------------------------*/ X /* In GNU tar, SYMTYPE is for to symbolic links, and CONTTYPE is for X contiguous files, so maybe disobeying the `reserved' comment in POSIX X header description. I suspect these were meant to be used this way, and X should not have really been `reserved' in the published standards. */ X /* *BEWARE* *BEWARE* *BEWARE* that the following information is still X boiling, and may change. Even if the OLDGNU format description should be X accurate, the so-called GNU format is not yet fully decided. It is X surely meant to use only extensions allowed by POSIX, but the sketch X below repeats some ugliness from the OLDGNU format, which should rather X go away. Sparse files should be saved in such a way that they do *not* X require two passes at archive creation time. Huge files get some POSIX X fields to overflow, alternate solutions have to be sought for this. */ X /* Descriptor for a single file hole. */ X struct sparse { /* byte offset */ X char offset[12]; /* 0 */ X char numbytes[12]; /* 12 */ X /* 24 */ }; X /* Sparse files are not supported in POSIX ustar format. For sparse files X with a POSIX header, a GNU extra header is provided which holds overall X sparse information and a few sparse descriptors. When an old GNU header X replaces both the POSIX header and the GNU extra header, it holds some X sparse descriptors too. Whether POSIX or not, if more sparse descriptors X are still needed, they are put into as many successive sparse headers as X necessary. The following constants tell how many sparse descriptors fit X in each kind of header able to hold them. */ X #define SPARSES_IN_EXTRA_HEADER 16 #define SPARSES_IN_OLDGNU_HEADER 4 #define SPARSES_IN_SPARSE_HEADER 21 X /* The GNU extra header contains some information GNU tar needs, but not X foreseen in POSIX header format. It is only used after a POSIX header X (and never with old GNU headers), and immediately follows this POSIX X header, when typeflag is a letter rather than a digit, so signaling a GNU X extension. */ X struct extra_header { /* byte offset */ X char atime[12]; /* 0 */ X char ctime[12]; /* 12 */ X char offset[12]; /* 24 */ X char realsize[12]; /* 36 */ X char longnames[4]; /* 48 */ X char unused_pad1[68]; /* 52 */ X struct sparse sp[SPARSES_IN_EXTRA_HEADER]; X /* 120 */ X char isextended; /* 504 */ X /* 505 */ }; X /* Extension header for sparse files, used immediately after the GNU extra X header, and used only if all sparse information cannot fit into that X extra header. There might even be many such extension headers, one after X the other, until all sparse information has been recorded. */ X struct sparse_header { /* byte offset */ X struct sparse sp[SPARSES_IN_SPARSE_HEADER]; X /* 0 */ X char isextended; /* 504 */ X /* 505 */ }; X /* The old GNU format header conflicts with POSIX format in such a way that X POSIX archives may fool old GNU tar's, and POSIX tar's might well be X fooled by old GNU tar archives. An old GNU format header uses the space X used by the prefix field in a POSIX header, and cumulates information X normally found in a GNU extra header. With an old GNU tar header, we X never see any POSIX header nor GNU extra header. Supplementary sparse X headers are allowed, however. */ X struct oldgnu_header { /* byte offset */ X char unused_pad1[345]; /* 0 */ X char atime[12]; /* 345 */ X char ctime[12]; /* 357 */ X char offset[12]; /* 369 */ X char longnames[4]; /* 381 */ X char unused_pad2; /* 385 */ X struct sparse sp[SPARSES_IN_OLDGNU_HEADER]; X /* 386 */ X char isextended; /* 482 */ X char realsize[12]; /* 483 */ X /* 495 */ }; X /* OLDGNU_MAGIC uses both magic and version fields, which are contiguous. X Found in an archive, it indicates an old GNU header format, which will be X hopefully become obsolescent. With OLDGNU_MAGIC, uname and gname are X valid, though the header is not truly POSIX conforming. */ #define OLDGNU_MAGIC "ustar " /* 7 chars and a null */ X /* The standards committee allows only capital A through capital Z for X user-defined expansion. */ X /* This is a dir entry that contains the names of files that were in the X dir at the time the dump was made. */ #define GNUTYPE_DUMPDIR 'D' X /* Identifies the *next* file on the tape as having a long linkname. */ #define GNUTYPE_LONGLINK 'K' X /* Identifies the *next* file on the tape as having a long name. */ #define GNUTYPE_LONGNAME 'L' X /* This is the continuation of a file that began on another volume. */ #define GNUTYPE_MULTIVOL 'M' X /* For storing filenames that do not fit into the main header. */ #define GNUTYPE_NAMES 'N' X /* This is for sparse files. */ #define GNUTYPE_SPARSE 'S' X /* This file is a tape/volume header. Ignore it on extraction. */ #define GNUTYPE_VOLHDR 'V' X /*--------------------------------------. | tar Header Block, overall structure. | `--------------------------------------*/ X /* tar files are made in basic blocks of this size. */ #define BLOCKSIZE 512 X enum archive_format { X DEFAULT_FORMAT, /* format to be decided later */ X V7_FORMAT, /* old V7 tar format */ X OLDGNU_FORMAT, /* GNU format as per before tar 1.12 */ X POSIX_FORMAT, /* restricted, pure POSIX format */ X GNU_FORMAT /* POSIX format with GNU extensions */ }; X union block { X char buffer[BLOCKSIZE]; X struct posix_header header; X struct extra_header extra_header; X struct oldgnu_header oldgnu_header; X struct sparse_header sparse_header; }; X /* End of Format description. */ SHAR_EOF $shar_touch -am 0415163297 'tar-1.12/src/tar.h' && chmod 0644 'tar-1.12/src/tar.h' || $echo 'restore of' 'tar-1.12/src/tar.h' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/src/tar.h:' 'MD5 check failed' cdd41ec3d27678ea826e15754d99cfc7 tar-1.12/src/tar.h SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/src/tar.h'`" test 8960 -eq "$shar_count" || $echo 'tar-1.12/src/tar.h:' 'original size' '8960,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/scripts/ChangeLog ============== if test ! -d 'tar-1.12/scripts'; then $echo 'x -' 'creating directory' 'tar-1.12/scripts' mkdir 'tar-1.12/scripts' fi if test -f 'tar-1.12/scripts/ChangeLog' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/scripts/ChangeLog' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/scripts/ChangeLog' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/scripts/ChangeLog M,3DY-RTP-"TR-"`@1G)A;N=O:7,@4&EN87)D("`\<&EN87)D0&ER;RYU;6]N M=')E86PN8V$^"@H)*B!296QE87-E(#$N,3(N"@H)*B!L979E;"TQ+"!L979E M;"TP.B!297!L86-E("TM8FQO8VLM2`M+6)L;V-K:6YG+@H*,3DY M-BTP-"TQ-R`@1G)A;N=O:7,@4&EN87)D("`\<&EN87)D0&ER;RYU;6]N=')E M86PN8V$^"@H)*B!02X*"C$Y.30M,#8M,S`@($9R86[G;VES(%!I;F%R M9"`@/'!I;F%R9$!IF5D(&)Y(&UO=FEN9R!E M;G1R:65S(')E;&%T960@=&\*"7-C71H:6YG(&9R;VT@=&AE('-U8G-H M96QL('1H6]U"@ER96%L M;'D@=V%N="!M;W-T(&]F('1H92!O=71P=70@=&\@9V\@=&\@=&AE(&QO9V9I M;&4@86YY=V%Y+"!A;F0*"7-I;F-E(&%L;"!T:&]S92!P:7!E;&EN97,@=V5R M92!P&ET('-T871U M2X@(%-U9F9I>"!S:&]U;&0@86QW87ES(&)E M(&!L979E;"UN)R!W:&5R92!N(&ES('1H90H)9'5M<"!L979E;"X@(&QE=F5L M+3`@2X*"2AH;W-T*3H@2!C;VYT86EN('1E>'0@ M=&AA="!S:&]U;&0@8F4*"65X<&%N9&5D(&EN=&\@;75L=&EP;&4@=V]R9',L M(&QI:V4@8%1!4E]005)4,26EN9R!T2!A9&1I;F<@2!P M2YG;G4N86DN;6ET+F5D=3X*"@DJ(&QE=F5L+3`Z M(%)E<&%I"!E2P@"!A(&UI&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/scripts/ChangeLog:' 'MD5 check failed' f27b1188bd6308167983addd052f56dd tar-1.12/scripts/ChangeLog SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/scripts/ChangeLog'`" test 6878 -eq "$shar_count" || $echo 'tar-1.12/scripts/ChangeLog:' 'original size' '6878,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/scripts/Makefile.am ============== if test -f 'tar-1.12/scripts/Makefile.am' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/scripts/Makefile.am' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/scripts/Makefile.am' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/scripts/Makefile.am' && # Makefile for GNU tar scripts. # Copyright (C) 1994 Free Software Foundation, Inc. X # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. X # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. X # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. X AUTOMAKE_OPTIONS = gnits X EXTRA_DIST = WARNING backup-specs dump-remind level-0 level-1 weekly.new SHAR_EOF $shar_touch -am 0417112496 'tar-1.12/scripts/Makefile.am' && chmod 0644 'tar-1.12/scripts/Makefile.am' || $echo 'restore of' 'tar-1.12/scripts/Makefile.am' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/scripts/Makefile.am:' 'MD5 check failed' 47fd558dcebfe632e1a07d4c9f41d17c tar-1.12/scripts/Makefile.am SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/scripts/Makefile.am'`" test 869 -eq "$shar_count" || $echo 'tar-1.12/scripts/Makefile.am:' 'original size' '869,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/scripts/Makefile.in ============== if test -f 'tar-1.12/scripts/Makefile.in' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/scripts/Makefile.in' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/scripts/Makefile.in' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/scripts/Makefile.in' && # Makefile.in generated automatically by automake 1.1n from Makefile.am X # Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. X # Makefile for GNU tar scripts. # Copyright (C) 1994 Free Software Foundation, Inc. X # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. X # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. X # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. X X SHELL = /bin/sh X srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ X bindir = @bindir@ sbindir = @sbindir@ libexecdir = @libexecdir@ datadir = @datadir@ sysconfdir = @sysconfdir@ sharedstatedir = @sharedstatedir@ localstatedir = @localstatedir@ libdir = @libdir@ infodir = @infodir@ mandir = @mandir@ includedir = @includedir@ oldincludedir = /usr/include X pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ X top_builddir = .. X ACLOCAL = @ACLOCAL@ AUTOCONF = @AUTOCONF@ AUTOMAKE = @AUTOMAKE@ AUTOHEADER = @AUTOHEADER@ X INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ transform = @program_transform_name@ X NORMAL_INSTALL = true PRE_INSTALL = true POST_INSTALL = true NORMAL_UNINSTALL = true PRE_UNINSTALL = true POST_UNINSTALL = true ACLOCAL = @ACLOCAL@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ DATADIRNAME = @DATADIRNAME@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ GENCAT = @GENCAT@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GT_NO = @GT_NO@ GT_YES = @GT_YES@ INSTOBJEXT = @INSTOBJEXT@ INTLDEPS = @INTLDEPS@ INTLLIBS = @INTLLIBS@ INTLOBJS = @INTLOBJS@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ PACKAGE = @PACKAGE@ POFILES = @POFILES@ POSUB = @POSUB@ RANLIB = @RANLIB@ RMT = @RMT@ U = @U@ USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ YACC = @YACC@ X AUTOMAKE_OPTIONS = gnits X EXTRA_DIST = WARNING backup-specs dump-remind level-0 level-1 weekly.new mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = ../config.h CONFIG_CLEAN_FILES = DIST_COMMON = ChangeLog Makefile.am Makefile.in X X DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) X TAR = tar GZIP = --best default: all X X.SUFFIXES: $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) X cd $(top_srcdir) && $(AUTOMAKE) --gnits scripts/Makefile X Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) X cd $(top_builddir) \ X && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status X tags: TAGS TAGS: X X distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) X subdir = scripts distdir: $(DISTFILES) X @for file in $(DISTFILES); do \ X d=$(srcdir); \ X test -f $(distdir)/$$file \ X || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ X || cp -p $$d/$$file $(distdir)/$$file; \ X done info: dvi: check: all X $(MAKE) installcheck: install-exec: X @$(NORMAL_INSTALL) X install-data: X @$(NORMAL_INSTALL) X install: install-exec install-data all X @: X uninstall: X all: Makefile X install-strip: X $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install installdirs: X X mostlyclean-generic: X test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) X clean-generic: X test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) X distclean-generic: X rm -f Makefile $(DISTCLEANFILES) X rm -f config.cache config.log stamp-h X test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) X maintainer-clean-generic: X test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) X test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) mostlyclean: mostlyclean-generic X clean: clean-generic mostlyclean X distclean: distclean-generic clean X rm -f config.status X maintainer-clean: maintainer-clean-generic distclean X @echo "This command is intended for maintainers to use;" X @echo "it deletes files that may require special tools to rebuild." X X.PHONY: default tags distdir info dvi installcheck install-exec \ install-data install uninstall all installdirs mostlyclean-generic \ distclean-generic clean-generic maintainer-clean-generic clean \ mostlyclean distclean maintainer-clean X X # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. X.NOEXPORT: SHAR_EOF $shar_touch -am 0425202297 'tar-1.12/scripts/Makefile.in' && chmod 0644 'tar-1.12/scripts/Makefile.in' || $echo 'restore of' 'tar-1.12/scripts/Makefile.in' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/scripts/Makefile.in:' 'MD5 check failed' d130c9cadb1c4922da48bf98fe5ba776 tar-1.12/scripts/Makefile.in SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/scripts/Makefile.in'`" test 5031 -eq "$shar_count" || $echo 'tar-1.12/scripts/Makefile.in:' 'original size' '5031,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/scripts/WARNING ============== if test -f 'tar-1.12/scripts/WARNING' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/scripts/WARNING' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/scripts/WARNING' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/scripts/WARNING' && GNU tar scripts have not been updated in a long while. make will not not install them. Please consider the contents of this directory are provided as indicative for the time being. SHAR_EOF $shar_touch -am 0108221796 'tar-1.12/scripts/WARNING' && chmod 0644 'tar-1.12/scripts/WARNING' || $echo 'restore of' 'tar-1.12/scripts/WARNING' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/scripts/WARNING:' 'MD5 check failed' 16177abad9c395b5cde1b50ed8607456 tar-1.12/scripts/WARNING SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/scripts/WARNING'`" test 183 -eq "$shar_count" || $echo 'tar-1.12/scripts/WARNING:' 'original size' '183,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/scripts/backup-specs ============== if test -f 'tar-1.12/scripts/backup-specs' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/scripts/backup-specs' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/scripts/backup-specs' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/scripts/backup-specs' && # site-specific parameters for file system backup. X # User name of administrator of backups. ADMINISTRATOR=backup-reports X # Hour at which backups are normally done. # This should be a number from 0 to 23. BACKUP_HOUR=1 X # Location of GNU tar. This must be the same for all hosts. TAR=/usr/local/gnubin/tar X # Device to use for dumping. It should be on the host # on which the dump scripts are run. TAPE_FILE=/dev/nrsmt0 X # Command to obtain status of tape drive, including error count. # On some tape drives there may not be such a command; # then simply use `TAPE_STATUS=false'. # # Might also consider # TAPE_STATUS="mt -f ${TAPE_FILE} status" # if `mts' is missing, though this alternative is rather verbose. TAPE_STATUS="mts -t ${TAPE_FILE}" X # Blocking factor to use for writing the dump. BLOCKING=124 X # Name of temporary file to hold volume numbers. This needs to be accessible # by all the machines which have filesystems to be dumped. VOLNO_FILE=/home/gd2/dump/volnofile X # Script to be run when it's time to insert a new tape in for the next # volume. Administrators may want to tailor this script for their site. # If this variable isn't set, tar will use some default behavior which is # probably defined in the manual. #DUMP_REMIND_SCRIPT='rsh apple-gunkies /home/gd2/dump/dump-remind' X # List of file systems to be dumped. # Actually, any directory may be used, but if it has subdirectories on # other file systems, they are not included. # The host name specifies which host to run tar on. # It should normally be the host that actually has the file system. # If GNU tar is not installed on that machine, then you can specify some # other host which can access the file system through NFS. # Although these are arranged one per line, that is not mandatory. # It does not work to use # for comments within the string. X BACKUP_DIRS=' X albert:/fs/fsf X sugar-bombs:/fs/gd X albert:/fs/gd2 X churchy:/fs/gd3 X nutrimat:/fs/gp X nutrimat:/fs/gp2 X albert:/fs/mailer X placebo:/archive X nutrimat:/fs/dist X albert:/ X albert:/usr X nutrimat:/ X placebo:/ X ernst:/usr1 ' X # List of individual files to be dumped. # These should be accesible from the machine on which the dump is run. BACKUP_FILES='' X # Message to display on the terminal while waiting for dump time. Usually # this will just be some literal text, preferably something more # entertaining than this. The awk script here saves some redundant # repetition, but is not really all that desirable. SLEEP_MESSAGE="`awk ' X BEGIN { X for (i = 0; i < 30; i++) X print \" \" \ X \"D O N O T T O U C H T H I S T E R M I N A L !!!!!\" X }' /dev/null`" X X # eof SHAR_EOF $shar_touch -am 0507101693 'tar-1.12/scripts/backup-specs' && chmod 0644 'tar-1.12/scripts/backup-specs' || $echo 'restore of' 'tar-1.12/scripts/backup-specs' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/scripts/backup-specs:' 'MD5 check failed' a9d061cb1a501cf01448edcb597991fc tar-1.12/scripts/backup-specs SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/scripts/backup-specs'`" test 2678 -eq "$shar_count" || $echo 'tar-1.12/scripts/backup-specs:' 'original size' '2678,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/scripts/dump-remind ============== if test -f 'tar-1.12/scripts/dump-remind' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/scripts/dump-remind' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/scripts/dump-remind' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/scripts/dump-remind M(R$O8FEN+W-H"B,@5&AI&%M<&QE+B`@270@:7,*(R!N;W0@ M=7-E9"!B>2!D969A=6QT('5N;&5S'0@=F]L=6UE(&]F('1H92!B86-K=7`@;F5E9',@=&\* M(R!B92!P=70@:6X@=&AE('1A<&4@9')I=F4N(`HC"@HC($EN8VQU9&4@;&]C M871I;VX@;V8@8'-E;F1M86EL)R!A;F0@1TY5(&9I;F=EU1!4$5?1DE,17TB(')E=VEN9`IM="`M9B`B)'M405!%7T9)3$5] M(B!O9F9L"@IV;VQN;STB8&-A="!<(B1[5D],3D]?1DE,17U<(B`R/B`O9&5V M+VYU;&Q@(@II9B!;("0_("UN92`P(%T[('1H96X*("`@=F]L;F\],`IF:0H* M(R!'970@82!L:7-T(&]F('!E;W!L92!T;R!W:&]M('1O(&UA:6P@82!R97%U M97-T(&9O2R]>)"]D"B`@("`@("`@("`@("`O M7G)O;W0_*B0O9`H@("`@("`@("`@("`@+UYZ:7!P>20O9`H@("`@("`@("`@ M("`@+UYF;F]R9"0O9`H@("`@("`@("`@("`@+UYE;'9IV<*("`@("`@("`@("`@.B`Q"B`@("`@("`@("`@(',O M7"A<;EPI7"A;02U:82UZ,"TY7UU;02U:82UZ,"TY7UTJ7"E<*%QN+BI<*5PR M7"@N*EPI+UPQ7#)<,UPT+V<*("`@("`@("`@("`@W)E8VEP:65N='-]"D-C.B`D>T%$34E.25-4 M4D%43U)]"E-U8FIE8W0Z($)A8VMU<"!N965DT%$34E.25-44D%43U)]"@I4:&ES M(&ES(&%N(&%U=&]M871E9"!R97!OW9O;&YO?2!O M9B!T:&4@8F%C:W5P(&YE961S('1O(&)E('!U="!I;B!T:&4@=&%P92!D2!M;W)E+"!I;F9O2!M;W)E"G5P+71O+61A=&4I(&-A;B!A;'-O M(&)E(&9O=6YD(&EN('YFW)E8VEP:65N='-]"D-C.B`D>T%$ M34E.25-44D%43U)]"E-U8FIE8W0Z(%9O;'5M92`D>W9O;&YO?2!F;W(@8F%C M:W5P(&AAT%$34E.25-44D%43U)] M"@I4:&ES(&ES(&%N(&%U=&]M871E9"!R97!O&ET(#`*"B,@96]F"G1T ` end SHAR_EOF $shar_touch -am 1124044893 'tar-1.12/scripts/dump-remind' && chmod 0755 'tar-1.12/scripts/dump-remind' || $echo 'restore of' 'tar-1.12/scripts/dump-remind' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/scripts/dump-remind:' 'MD5 check failed' a456d7669c4820f4b40332991f4cec81 tar-1.12/scripts/dump-remind SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/scripts/dump-remind'`" test 3238 -eq "$shar_count" || $echo 'tar-1.12/scripts/dump-remind:' 'original size' '3238,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/scripts/level-0 ============== if test -f 'tar-1.12/scripts/level-0' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/scripts/level-0' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/scripts/level-0' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/scripts/level-0' && #!/bin/sh # # Run this script as root on the machine that has the tape drive, to make a # full (level-0) dump. # # If you give `now' as an argument, the dump is done immediately. # Otherwise, it waits until 1am, or until the hour given as argument. # Specify the hour as a number from 0 to 23. # # You must edit the file `backup-specs' to set the parameters for your site. X # Useful for backup-specs, in case things have to be done slightly # differently for different dump levels. DUMP_LEVEL=0 X # Insure `mail' is in PATH. PATH="/usr/ucb:${PATH}" export PATH X # This is not the most reliable test in the world. The following might be # more predictable: # # whoami="`whoami`" # euid="`sed -ne '/^'\"${whoami}\"':/{s/^[^:]*:[^:]*://;s/:.*//p;q;}' /etc/passwd`" # if [ "${euid}" != 0 ]; then ... # if [ ! -w / ]; then X echo "The backup must be run as root or else some files will fail to be dumped." X exit 1 fi X # Get the values of BACKUP_DIRS, BACKUP_FILES, and other variables. X. ./backup-specs X # Maybe sleep until around specified or default hour. if [ "${1}" != "now" ]; then X if [ "${1}x" != "x" ]; then X spec="${1}" X else X spec="${BACKUP_HOUR}" X fi X X pausetime="`date | awk ' X { X hr = substr($4, 1, 2); X mn = substr($4, 4, 2); X if((hr + 0) < (spec + 0)) X print 3600 * (spec - hr) - 60 * mn; X else X print 3600 * (spec + (24 - hr)) - 60 * mn; X }' spec=\"${spec}\"`" X X clear X echo "${SLEEP_MESSAGE}" X sleep "${pausetime}" fi X # start doing things X # Put startdate in the subject line of mailed report, since if it happens # to run longer than 24 hours (as may be the case if someone forgets to put # in the next volume of the tape in adequate time), the backup date won't # appear too misleading. startdate="`date`" X here="`pwd`" X # Logfile name should be in the form ``log-1993-03-18-level-0'' # They go in the subdirectory `log' of the current directory. # i.e. year-month-date. This format is useful for sorting by name, since # logfiles are intentionally kept online for future reference. LOGFILE="log/log-`date | sed -ne ' X s/[^ ]* *\([^ ]*\) *\([^ ]*\).* \([^ ]*\)$/\3-\1-\2/ X /-[0-9]$/s/\([0-9]\)$/0\1/ X /Jan/{s/Jan/01/p;q;} X /Feb/{s/Feb/02/p;q;} X /Mar/{s/Mar/03/p;q;} X /Apr/{s/Apr/04/p;q;} X /May/{s/May/05/p;q;} X /Jun/{s/Jun/06/p;q;} X /Jul/{s/Jul/07/p;q;} X /Aug/{s/Aug/08/p;q;} X /Sep/{s/Sep/09/p;q;} X /Oct/{s/Oct/10/p;q;} X /Nov/{s/Nov/11/p;q;} X /Dec/{s/Dec/12/p;q;}'`-level-${DUMP_LEVEL}" X localhost="`hostname | sed -e 's/\..*//'`" X TAR_PART1="${TAR} -c --multi-volume --one-file-system --blocking=${BLOCKING} --sparse --volno-file=${VOLNO_FILE}" X # Only use --info-script if DUMP_REMIND_SCRIPT was defined in backup-specs if [ "x${DUMP_REMIND_SCRIPT}" != "x" ]; then X TAR_PART1="${TAR_PART1} --info-script='${DUMP_REMIND_SCRIPT}'" fi X # Make sure the log file did not already exist. Create it. X if [ -f "${LOGFILE}" ] ; then X echo "Log file ${LOGFILE} already exists." 1>&2 X exit 1 else X touch "${LOGFILE}" fi X # Most everything below here is run in a subshell for which all output is # piped through `tee' to the logfile. Doing this, instead of having # multiple pipelines all over the place, is cleaner and allows access to # the exit value from various commands more easily. ( X # Caveat: Some version of `mt' require `-t', not `-f'. X mt -f "${TAPE_FILE}" rewind X rm -f "${VOLNO_FILE}" X X set - ${BACKUP_DIRS} X while [ $# -ne 0 ] ; do X date="`date`" X remotehost="`echo \"${1}\" | sed -e 's/:.*$//'`" X fs="`echo \"${1}\" | sed -e 's/^.*://'`" X fsname="`echo \"${1}\" | sed -e 's/\//:/g'`" X X # This filename must be absolute; it is opened on the machine that runs tar. X TAR_PART2="--listed=/etc/tar-backup/temp.level-0" X TAR_PART3="--label='Full backup of ${fs} on ${remotehost} at ${date}' -C ${fs} ." X X echo "Backing up ${1} at ${date}" X X # Actually back things up. X X if [ "z${localhost}" != "z${remotehost}" ] ; then X rsh "${remotehost}" mkdir /etc/tar-backup > /dev/null 2>&1 X rsh "${remotehost}" rm -f /etc/tar-backup/temp.level-0 X rsh "${remotehost}" ${TAR_PART1} -f "${localhost}:${TAPE_FILE}" ${TAR_PART2} ${TAR_PART3} X else X mkdir /etc/tar-backup > /dev/null 2>&1 X rm -f /etc/tar-backup/temp.level-0 X # Using `sh -c exec' causes nested quoting and shell substitution X # to be handled here in the same way rsh handles it. X sh -c "exec ${TAR_PART1} -f \"${TAPE_FILE}\" ${TAR_PART2} ${TAR_PART3}" X fi X X # `rsh' doesn't exit with the exit status of the remote command. What X # stupid lossage. TODO: think of a reliable workaround. X if [ $? -ne 0 ] ; then X echo "Backup of ${1} failed." 1>&2 X # I'm assuming that the tar will have written an empty X # file to the tape, otherwise I should do a cat here. X else X if [ "z${localhost}" != "z${remotehost}" ] ; then X rsh "${remotehost}" mv -f /etc/tar-backup/temp.level-0 "/etc/tar-backup/${fsname}.level-0" X else X mv -f /etc/tar-backup/temp.level-0 "/etc/tar-backup/${fsname}.level-0" X fi X fi X ${TAPE_STATUS} X sleep 60 X shift X done X X # Dump any individual files requested. X X if [ "x${BACKUP_FILES}" != "x" ] ; then X date="`date`" X X TAR_PART2="--listed=/etc/tar-backup/temp.level-0" X TAR_PART3="--label='Full backup of miscellaneous files at ${date}'" X X mkdir /etc/tar-backup > /dev/null 2>&1 X rm -f /etc/tar-backup/temp.level-0 X X echo "Backing up miscellaneous files at ${date}" X X # Using `sh -c exec' causes nested quoting and shell substitution X # to be handled here in the same way rsh handles it. X sh -c "exec ${TAR_PART1} -f \"${TAPE_FILE}\" ${TAR_PART2} ${TAR_PART3} ${BACKUP_FILES}" X X # `rsh' doesn't exit with the exit status of the remote command. What X # lossage. TODO: think of a reliable workaround. X if [ $? -ne 0 ] ; then X echo "Backup of miscellaneous files failed." X # I'm assuming that the tar will have written an empty X # file to the tape, otherwise I should do a cat here. X else X mv -f /etc/tar-backup/temp.level-0 /etc/tar-backup/misc.level-0 X fi X ${TAPE_STATUS} X else X echo "No miscellaneous files specified" X fi X X # Caveat: some versions of `mt' use `-t' instead of `-f'. X mt -f "${TAPE_FILE}" rewind X mt -f "${TAPE_FILE}" offl X ) 2>&1 | tee -a "${LOGFILE}" X echo "Sending the dump log to ${ADMINISTRATOR}" mail -s "Results of backup started ${startdate}" ${ADMINISTRATOR} < "${LOGFILE}" X # eof SHAR_EOF $shar_touch -am 0424195897 'tar-1.12/scripts/level-0' && chmod 0755 'tar-1.12/scripts/level-0' || $echo 'restore of' 'tar-1.12/scripts/level-0' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/scripts/level-0:' 'MD5 check failed' 3add91bc7b853c10c60bd39a7d026bbd tar-1.12/scripts/level-0 SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/scripts/level-0'`" test 6526 -eq "$shar_count" || $echo 'tar-1.12/scripts/level-0:' 'original size' '6526,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/scripts/level-1 ============== if test -f 'tar-1.12/scripts/level-1' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/scripts/level-1' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/scripts/level-1' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/scripts/level-1' && #!/bin/sh # # Run this script as root on the machine that has the tape drive, to make a # level-1 dump containing all files changed since the last full dump. # # If you give `now' as an argument, the dump is done immediately. # Otherwise, it waits until 1am. # # You must edit the file `backup-specs' to set the parameters for your site. X # Useful for backup-specs, in case things have to be done slightly # differently for different dump levels. DUMP_LEVEL=1 X # Insure `mail' is in PATH. PATH="/usr/ucb:${PATH}" export PATH X # This is not the most reliable test in the world. The following might be # more predictable: # # whoami="`whoami`" # euid="`sed -ne '/^'\"${whoami}\"':/{s/^[^:]*:[^:]*://;s/:.*//p;q;}' /etc/passwd`" # if [ "${euid}" != 0 ]; then ... # if [ ! -w / ]; then X echo "The backup must be run as root or else some files will fail to be dumped." X exit 1 fi X # Get the values of BACKUP_DIRS, BACKUP_FILES, and other variables. X. ./backup-specs X # Maybe sleep until around specified or default hour. if [ "z${1}" != "znow" ]; then X if [ "${1}x" != "x" ]; then X spec="${1}" X else X spec="${BACKUP_HOUR}" X fi X X pausetime="`date | awk ' X { X hr = substr($4, 1, 2); X mn = substr($4, 4, 2); X if((hr + 0) < (spec + 0)) X print 3600 * (spec - hr) - 60 * mn; X else X print 3600 * (spec + (24 - hr)) - 60 * mn; X }' spec=\"${spec}\"`" X X clear X echo "${SLEEP_MESSAGE}" X sleep "${pausetime}" fi X # start doing things X # Put startdate in the subject line of mailed report, since if it happens # to run longer than 24 hours (as may be the case if someone forgets to put # in the next volume of the tape in adequate time), the backup date won't # appear too misleading. startdate="`date`" X here="`pwd`" X # Logfile name should be in the form ``log-1993-03-18-level-1'' # They go in the subdirectory `log' of the current directory. # i.e. year-month-date. This format is useful for sorting by name, since # logfiles are intentionally kept online for future reference. LOGFILE="log/log-`date | sed -ne ' X s/[^ ]* *\([^ ]*\) *\([^ ]*\).* \([^ ]*\)$/\3-\1-\2/ X /-[0-9]$/s/\([0-9]\)$/0\1/ X /Jan/{s/Jan/01/p;q;} X /Feb/{s/Feb/02/p;q;} X /Mar/{s/Mar/03/p;q;} X /Apr/{s/Apr/04/p;q;} X /May/{s/May/05/p;q;} X /Jun/{s/Jun/06/p;q;} X /Jul/{s/Jul/07/p;q;} X /Aug/{s/Aug/08/p;q;} X /Sep/{s/Sep/09/p;q;} X /Oct/{s/Oct/10/p;q;} X /Nov/{s/Nov/11/p;q;} X /Dec/{s/Dec/12/p;q;}'`-level-${DUMP_LEVEL}" X localhost="`hostname | sed -e 's/\..*//'`" X TAR_PART1="${TAR} -c --multi-volume --one-file-system --blocking=${BLOCKING} --sparse --volno-file=${VOLNO_FILE}" X # Only use --info-script if DUMP_REMIND_SCRIPT was defined in backup-specs if [ "x${DUMP_REMIND_SCRIPT}" != "x" ]; then X TAR_PART1="${TAR_PART1} --info-script='${DUMP_REMIND_SCRIPT}'" fi X # Make sure the log file did not already exist. Create it. X if [ -f "${LOGFILE}" ] ; then X echo "Log file ${LOGFILE} already exists." 1>&2 X exit 1 else X touch "${LOGFILE}" fi X # Most everything below here is run in a subshell for which all output is # piped through `tee' to the logfile. Doing this, instead of having # multiple pipelines all over the place, is cleaner and allows access to # the exit value from various commands more easily. ( X # Caveat: Some version of `mt' require `-t', not `-f'. X mt -f "${TAPE_FILE}" rewind X rm -f "${VOLNO_FILE}" X X set - ${BACKUP_DIRS} X while [ $# -ne 0 ] ; do X date="`date`" X remotehost="`echo \"${1}\" | sed -e 's/:.*$//'`" X fs="`echo \"${1}\" | sed -e 's/^.*://'`" X fsname="`echo \"${1}\" | sed -e 's/\//:/g'`" X X # This filename must be absolute; it is opened on the machine that runs tar. X TAR_PART2="--listed=/etc/tar-backup/temp.level-1" X TAR_PART3="--label='level 1 backup of ${fs} on ${remotehost} at ${date}' -C ${fs} ." X X echo "Backing up ${1} at ${date}" X echo "Last full dump on this filesystem:" X X if [ "z${remotehost}" != "z${localhost}" ] ; then X rsh "${remotehost}" "ls -l /etc/tar-backup/${fsname}.level-0; \ X cp /etc/tar-backup/${fsname}.level-0 /etc/tar-backup/temp.level-1" X else X ls -l "/etc/tar-backup/${fsname}.level-0" X cp "/etc/tar-backup/${fsname}.level-0" /etc/tar-backup/temp.level-1 X fi X X # Actually back things up. X X if [ "z${remotehost}" != "z${localhost}" ] ; then X rsh "${remotehost}" ${TAR_PART1} -f "${localhost}:${TAPE_FILE}" ${TAR_PART2} ${TAR_PART3} X else X # Using `sh -c exec' causes nested quoting and shell substitution X # to be handled here in the same way rsh handles it. X sh -c "exec ${TAR_PART1} -f \"${TAPE_FILE}\" ${TAR_PART2} ${TAR_PART3}" X fi X X # `rsh' doesn't exit with the exit status of the remote command. What X # stupid lossage. TODO: think of a reliable workaround. X if [ $? -ne 0 ] ; then X echo "Backup of ${1} failed." X # I'm assuming that the tar will have written an empty X # file to the tape, otherwise I should do a cat here. X else X if [ "z${localhost}" != "z${remotehost}" ] ; then X rsh "${remotehost}" mv -f /etc/tar-backup/temp.level-1 "/etc/tar-backup/${fsname}.level-1" X else X mv -f /etc/tar-backup/temp.level-1 "/etc/tar-backup/${fsname}.level-1" X fi X fi X ${TAPE_STATUS} X sleep 60 X shift X done X X # Dump any individual files requested. X X if [ "x${BACKUP_FILES}" != "x" ] ; then X date="`date`" X TAR_PART2="--listed=/etc/tar-backup/temp.level-1" X TAR_PART3="--label='Incremental backup of miscellaneous files at ${date}'" X X echo "Backing up miscellaneous files at ${date}" X echo "Last full dump of these files:" X ls -l /etc/tar-backup/misc.level-0 X X rm -f /etc/tar-backup/temp.level-1 X cp /etc/tar-backup/misc.level-0 /etc/tar-backup/temp.level-1 X X # Using `sh -c exec' causes nested quoting and shell substitution X # to be handled here in the same way rsh handles it. X sh -c "exec ${TAR_PART1} -f \"${TAPE_FILE}\" ${TAR_PART2} ${TAR_PART3} ${BACKUP_FILES}" X X if [ $? -ne 0 ] ; then X echo "Backup of miscellaneous files failed." 1>&2 X # I'm assuming that the tar will have written an empty X # file to the tape, otherwise I should do a cat here. X else X mv -f /etc/tar-backup/temp.level-1 /etc/tar-backup/misc.level-1 X fi X ${TAPE_STATUS} X else X echo "No miscellaneous files specified" X fi X X # Caveat: some versions of `mt' use `-t' instead of `-f'. X mt -f "${TAPE_FILE}" rewind X mt -f "${TAPE_FILE}" offl X ) 2>&1 | tee -a "${LOGFILE}" X echo "Sending the dump log to ${ADMINISTRATOR}" mail -s "Results of backup started ${startdate}" ${ADMINISTRATOR} < "${LOGFILE}" X # eof SHAR_EOF $shar_touch -am 0424195997 'tar-1.12/scripts/level-1' && chmod 0755 'tar-1.12/scripts/level-1' || $echo 'restore of' 'tar-1.12/scripts/level-1' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/scripts/level-1:' 'MD5 check failed' 19bda5b89d65f00d2f20af4f1dd17e30 tar-1.12/scripts/level-1 SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/scripts/level-1'`" test 6646 -eq "$shar_count" || $echo 'tar-1.12/scripts/level-1:' 'original size' '6646,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/scripts/weekly.new ============== if test -f 'tar-1.12/scripts/weekly.new' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/scripts/weekly.new' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/scripts/weekly.new' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/scripts/weekly.new' && #!/bin/sh # start doing things TOBACKUP="albert:/" X HOST=`hostname | sed 's/\..*//'` TAPEFILE=/dev/rfd0a LOGFILE=tar-out BLOCKING=20 TAR_PART1="/usr/local/bin/tar clbfVM $BLOCKING" X rm -f $LOGFILE X mt -f $TAPEFILE rewind X X host=`echo $TOBACKUP | sed 's/:.*$//'`; X fs=`echo $TOBACKUP | sed 's/^.*://'`; X date=`date`; X fsname=`echo $TOBACKUP | sed 's/\//:/g'` X X TAR_PART2="'Weekly backup of $fs on $host at $date' -C $fs ." X echo Backing up $TOBACKUP at $date | tee -a $LOGFILE X X # Actually back things up. X X if [ $HOST != $host ] ; then X rsh $host $TAR_PART1 $HOST:$TAPEFILE $TAR_PART2 X else X sh -c "exec $TAR_PART1 $TAPEFILE $TAR_PART2" X fi X if [ $? -ne 0 ] ; then X echo Backup of $TOBACKUP failed. | tee -a $LOGFILE X echo mts at time of failure | tee -a $LOGFILE X mts -t $TAPEFILE | tee -a $LOGFILE X # I'm assuming that the tar will have written an empty X # file to the tape, otherwise I should do a cat here. X else X echo $date > $fsname.lasttar X fi X sleep 60; X mt -f $TAPEFILE rewind mt -f $TAPEFILE offl SHAR_EOF $shar_touch -am 1101141190 'tar-1.12/scripts/weekly.new' && chmod 0644 'tar-1.12/scripts/weekly.new' || $echo 'restore of' 'tar-1.12/scripts/weekly.new' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/scripts/weekly.new:' 'MD5 check failed' d82383a0383435ed54d94bcdd47b92f7 tar-1.12/scripts/weekly.new SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/scripts/weekly.new'`" test 1015 -eq "$shar_count" || $echo 'tar-1.12/scripts/weekly.new:' 'original size' '1015,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/po/ChangeLog ============== if test ! -d 'tar-1.12/po'; then $echo 'x -' 'creating directory' 'tar-1.12/po' mkdir 'tar-1.12/po' fi if test -f 'tar-1.12/po/ChangeLog' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/po/ChangeLog' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/po/ChangeLog' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/po/ChangeLog M,3DY-RTP-"TR-2`@1G)A;N=O:7,@4&EN87)D("`\<&EN87)D0&ER;RYU;6]N M=')E86PN8V$^"@H)*B!296QE87-E(#$N,3(N"@HQ.3DW+3`T+3$X("!&2!F;W5N M9"!A;F0@2!N;W<@86QL(')E'0@,"XV+"!R97!L86-I;F<@=&AE('!R979I;W5S"@EV M97)S:6]N(&]F('1H:7,@9&ER96-T;W)Y+B`@5&AI'0N"@HQ.3DU+3`U+3`Y("!&2!5 /;')I8V@@1')E<'!E&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/po/ChangeLog:' 'MD5 check failed' 7c9011b705963faf7494bbda3425990c tar-1.12/po/ChangeLog SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/po/ChangeLog'`" test 3480 -eq "$shar_count" || $echo 'tar-1.12/po/ChangeLog:' 'original size' '3480,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/po/Makefile.in.in ============== if test -f 'tar-1.12/po/Makefile.in.in' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/po/Makefile.in.in' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/po/Makefile.in.in' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/po/Makefile.in.in' && # Makefile for program source directory in GNU NLS utilities package. # Copyright (C) 1995, 1996 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. X PACKAGE = @PACKAGE@ VERSION = @VERSION@ X SHELL = /bin/sh @SET_MAKE@ X srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ X prefix = @prefix@ exec_prefix = @exec_prefix@ datadir = $(prefix)/@DATADIRNAME@ localedir = $(datadir)/locale gnulocaledir = $(prefix)/share/locale gettextsrcdir = $(prefix)/share/gettext/po subdir = po X INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ MKINSTALLDIRS = @MKINSTALLDIRS@ X CC = @CC@ GENCAT = @GENCAT@ GMSGFMT = PATH=../src:$$PATH @GMSGFMT@ MSGFMT = @MSGFMT@ XXGETTEXT = PATH=../src:$$PATH @XGETTEXT@ MSGMERGE = PATH=../src:$$PATH msgmerge X DEFS = @DEFS@ CFLAGS = @CFLAGS@ CPPFLAGS = @CPPFLAGS@ X INCLUDES = -I.. -I$(top_srcdir)/intl X COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS) X SOURCES = cat-id-tbl.c POFILES = @POFILES@ GMOFILES = @GMOFILES@ DISTFILES = ChangeLog Makefile.in.in POTFILES.in $(PACKAGE).pot \ stamp-cat-id $(POFILES) $(GMOFILES) $(SOURCES) X POTFILES = \ X CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ INSTOBJEXT = @INSTOBJEXT@ X X.SUFFIXES: X.SUFFIXES: .c .o .po .pox .gmo .mo .msg .cat X X.c.o: X $(COMPILE) $< X X.po.pox: X $(MAKE) $(PACKAGE).pot X $(MSGMERGE) $< $(srcdir)/$(PACKAGE).pot -o $*.pox X X.po.mo: X $(MSGFMT) -o $@ $< X X.po.gmo: X file=$(srcdir)/`echo $* | sed 's,.*/,,'`.gmo \ X && rm -f $$file && $(GMSGFMT) -o $$file $< X X.po.cat: X sed -f ../intl/po2msg.sed < $< > $*.msg \ X && rm -f $@ && $(GENCAT) $@ $*.msg X X all: all-@USE_NLS@ X all-yes: cat-id-tbl.c $(CATALOGS) all-no: X $(PACKAGE).pot: $(POTFILES) X $(XGETTEXT) --default-domain=$(PACKAGE) --directory=$(top_srcdir) \ X --add-comments --keyword=_ --keyword=N_ \ X --files-from=$(srcdir)/POTFILES.in X if [ ! -s $(PACKAGE).po ] \ X || cmp -s $(PACKAGE).po $(srcdir)/$(PACKAGE).pot; then \ X rm -f $(PACKAGE).po; \ X else \ X rm -f $(srcdir)/$(PACKAGE).pot \ X && mv $(PACKAGE).po $(srcdir)/$(PACKAGE).pot; \ X fi X cat-id-tbl.c: stamp-cat-id stamp-cat-id: $(PACKAGE).pot X rm -f cat-id-tbl.tmp X sed -f ../intl/po2tbl.sed $(srcdir)/$(PACKAGE).pot \ X | sed -e "s/@PACKAGE NAME@/$(PACKAGE)/" > cat-id-tbl.tmp X if cmp -s cat-id-tbl.tmp $(srcdir)/cat-id-tbl.c; then \ X rm cat-id-tbl.tmp; \ X else \ X echo cat-id-tbl.c changed; \ X rm -f $(srcdir)/cat-id-tbl.c; \ X mv cat-id-tbl.tmp $(srcdir)/cat-id-tbl.c; \ X fi X cd $(srcdir) && rm -f stamp-cat-id && echo timestamp > stamp-cat-id X X install: install-exec install-data install-exec: install-data: install-data-@USE_NLS@ install-data-no: all install-data-yes: all X if test -r $(MKINSTALLDIRS); then \ X $(MKINSTALLDIRS) $(datadir); \ X else \ X $(top_srcdir)/mkinstalldirs $(datadir); \ X fi X @catalogs='$(CATALOGS)'; \ X for cat in $$catalogs; do \ X case "$$cat" in \ X *.gmo) destdir=$(gnulocaledir);; \ X *) destdir=$(localedir);; \ X esac; \ X lang=`echo $$cat | sed 's/$(CATOBJEXT)$$//'`; \ X dir=$$destdir/$$lang/LC_MESSAGES; \ X if test -r $(MKINSTALLDIRS); then \ X $(MKINSTALLDIRS) $$dir; \ X else \ X $(top_srcdir)/mkinstalldirs $$dir; \ X fi; \ X if test -r $$cat; then \ X $(INSTALL_DATA) $$cat $$dir/$(PACKAGE)$(INSTOBJEXT); \ X echo "installing $$cat as $$dir/$(PACKAGE)$(INSTOBJEXT)"; \ X else \ X $(INSTALL_DATA) $(srcdir)/$$cat $$dir/$(PACKAGE)$(INSTOBJEXT); \ X echo "installing $(srcdir)/$$cat as" \ X "$$dir/$(PACKAGE)$(INSTOBJEXT)"; \ X fi; \ X if test -r $$cat.m; then \ X $(INSTALL_DATA) $$cat.m $$dir/$(PACKAGE)$(INSTOBJEXT).m; \ X echo "installing $$cat.m as $$dir/$(PACKAGE)$(INSTOBJEXT).m"; \ X else \ X if test -r $(srcdir)/$$cat.m ; then \ X $(INSTALL_DATA) $(srcdir)/$$cat.m \ X $$dir/$(PACKAGE)$(INSTOBJEXT).m; \ X echo "installing $(srcdir)/$$cat as" \ X "$$dir/$(PACKAGE)$(INSTOBJEXT).m"; \ X else \ X true; \ X fi; \ X fi; \ X done X if test "$(PACKAGE)" = "gettext"; then \ X if test -r $(MKINSTALLDIRS); then \ X $(MKINSTALLDIRS) $(gettextsrcdir); \ X else \ X $(top_srcdir)/mkinstalldirs $(gettextsrcdir); \ X fi; \ X cd $(srcdir) && \ X $(INSTALL_DATA) Makefile.in.in $(gettextsrcdir)/Makefile.in.in; \ X else \ X : ; \ X fi X # Define this as empty until I found a useful application. installcheck: X uninstall: X catalogs='$(CATALOGS)'; \ X for cat in $$catalogs; do \ X lang=`echo $$cat | sed 's/$(CATOBJEXT)$$//'`; \ X rm -f $(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \ X rm -f $(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \ X rm -f $(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \ X rm -f $(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \ X done X rm -f $(gettextsrcdir)/po-Makefile.in.in X check: all X cat-id-tbl.o: ../intl/libgettext.h X dvi info tags TAGS ID: X mostlyclean: X rm -f core core.* *.pox $(PACKAGE).po *.old.po cat-id-tbl.tmp X rm -fr *.o X clean: mostlyclean X distclean: clean X rm -f Makefile Makefile.in POTFILES *.mo *.msg *.cat *.cat.m X maintainer-clean: distclean X @echo "This command is intended for maintainers to use;" X @echo "it deletes files that may require special tools to rebuild." X distdir = ../$(PACKAGE)-$(VERSION)/$(subdir) dist distdir: update-po $(DISTFILES) X dists="$(DISTFILES)"; \ X for file in $$dists; do \ X ln $(srcdir)/$$file $(distdir) 2> /dev/null \ X || cp -p $(srcdir)/$$file $(distdir); \ X done X update-po: Makefile X $(MAKE) $(PACKAGE).pot X PATH=`pwd`/../src:$$PATH; \ X cd $(srcdir); \ X catalogs='$(CATALOGS)'; \ X for cat in $$catalogs; do \ X lang=`echo $$cat | sed 's/$(CATOBJEXT)$$//'`; \ X mv $$lang.po $$lang.old.po; \ X echo "$$lang:"; \ X if $(MSGMERGE) $$lang.old.po $(PACKAGE).pot -o $$lang.po; then \ X rm -f $$lang.old.po; \ X else \ X echo "msgmerge for $$cat failed!"; \ X rm -f $$lang.po; \ X mv $$lang.old.po $$lang.po; \ X fi; \ X done X POTFILES: POTFILES.in X ( if test 'x$(srcdir)' != 'x.'; then \ X posrcprefix='$(top_srcdir)/'; \ X else \ X posrcprefix="../"; \ X fi; \ X sed -e '/^#/d' -e '/^[ ]*$$/d' \ X -e "s@.*@ $$posrcprefix& \\\\@" \ X -e '$$s/\(.*\) \\/\1/' < $(srcdir)/POTFILES.in > POTFILES ) X Makefile: Makefile.in.in ../config.status POTFILES X cd .. \ X && CONFIG_FILES=$(subdir)/$@.in CONFIG_HEADERS= \ X $(SHELL) ./config.status X # Tell versions [3.59,3.63) of GNU make not to export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. X.NOEXPORT: SHAR_EOF $shar_touch -am 0407002997 'tar-1.12/po/Makefile.in.in' && chmod 0644 'tar-1.12/po/Makefile.in.in' || $echo 'restore of' 'tar-1.12/po/Makefile.in.in' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/po/Makefile.in.in:' 'MD5 check failed' b702d7c25f1acbb9ac4b70fca6bb4f93 tar-1.12/po/Makefile.in.in SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/po/Makefile.in.in'`" test 7095 -eq "$shar_count" || $echo 'tar-1.12/po/Makefile.in.in:' 'original size' '7095,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/po/POTFILES.in ============== if test -f 'tar-1.12/po/POTFILES.in' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/po/POTFILES.in' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/po/POTFILES.in' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/po/POTFILES.in' && # List of files which contain translatable strings. # Copyright (C) 1996 Free Software Foundation, Inc. X # Package source files src/common.h src/buffer.c src/create.c src/compare.c src/delete.c src/extract.c src/incremen.c src/list.c src/mangle.c src/names.c src/rmt.c src/rtapelib.c src/tar.c src/update.c X # Checking tools tests/genfile.c SHAR_EOF $shar_touch -am 1122201196 'tar-1.12/po/POTFILES.in' && chmod 0644 'tar-1.12/po/POTFILES.in' || $echo 'restore of' 'tar-1.12/po/POTFILES.in' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/po/POTFILES.in:' 'MD5 check failed' cf7a5d1d9b1426449700bcb8869ede63 tar-1.12/po/POTFILES.in SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/po/POTFILES.in'`" test 341 -eq "$shar_count" || $echo 'tar-1.12/po/POTFILES.in:' 'original size' '341,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/po/tar.pot ============== if test -f 'tar-1.12/po/tar.pot' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/po/tar.pot' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/po/tar.pot' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/po/tar.pot M(R!33TU%($1%4T-225!4259%(%1)5$Q%+@HC($-O<'ER:6=H="`H0RD@645! M4B!&GIY"FUS9V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M86-T(&%L;"!P71E71EF5R M;W,@("`@("`@("`@("`@:6=N;W)E('IE2!I;B!L;V-A;"!F:6QE('-Y2!S=&]R92!F:6QE5QN(@HB("`@("`@+2UA9G1E#U3549&25@@("`@("`@("`@8F%C:W5P(&)E9F]R92!R96UO M=F5L+"!O=F5R&ET7&XB"B(@("`@("`M+79E2!N86UE71E"!I"!O7,@;6%K92!S:6UP;&4@8F%C M:W5P"<@87)C:&EV97,N("!)9B!03U-)6$Q97T-/4E)%0U1< M;B(*(FES('-E="!I;B!T:&4@96YV:7)O;FUE;G0L($=.52!E>'1E;G-I;VYS M(&%R92!D:7-A;&QO=V5D('=I=&@@8"TM<&]S:7@G+EQN(@HB4W5P<&]R="!F M;W(@4$]325@@:7,@;VYL>2!P87)T:6%L;'D@:6UP;&5M96YT960L(&1O;B=T M(&-O=6YT(&]N(&ET('EE="Y<;B(*(D%20TA)5D4@;6%Y(&)E($9)3$4L($A/ M4U0Z1DE,12!O2`M+6)L;V-K:6YG+69A8W1O2`M+6)L;V-K:6YG+69A8W1O2`M+7)E860M9G5L;"UR96-O2`M M+6)L;V-K+6YU;6)E2`M+6)A8VMU M<"(*;7-G2!E>&AA M=7-T960B"FUS9W-TF4@;75S M="!B92!A(&UU;'1I<&QE(&]F("5D+B(*;7-G2`J=&AI7)I9VAT("A#*2`Q.3@X+"`Y,BP@.3,L M(#DT+"`Y-2P@.38L(#DW($9R964@4V]F='=A3L@;F]T(&5V96X@9F]R($U%4D-(04Y404))3$E4 M62!O71E6%R:R$I M(@IM5QN(@HB9F]R('1H92!E<75I=F%L96YT('-H;W)T M(&]P=&EO;B!A;'-O+EQN(@HB7&XB"B(@("UL+"`M+69I;&4M;&5N9W1H/4Q% M3D=42"`@($Q%3D=42"!O9B!G96YEF5R;W,G7&XB"B(@("`@("`M+6AE;'`@("`@("`@("`@("`@("`@(&1I&ET7&XB"B(@("`@("`M+79E&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/po/tar.pot:' 'MD5 check failed' 7ae7cb7b0201e78df42c06819ede519c tar-1.12/po/tar.pot SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/po/tar.pot'`" test 26396 -eq "$shar_count" || $echo 'tar-1.12/po/tar.pot:' 'original size' '26396,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/po/stamp-cat-id ============== if test -f 'tar-1.12/po/stamp-cat-id' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/po/stamp-cat-id' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/po/stamp-cat-id' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/po/stamp-cat-id' && timestamp SHAR_EOF $shar_touch -am 0425165897 'tar-1.12/po/stamp-cat-id' && chmod 0644 'tar-1.12/po/stamp-cat-id' || $echo 'restore of' 'tar-1.12/po/stamp-cat-id' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/po/stamp-cat-id:' 'MD5 check failed' 1ded054093de910d9786c62bc4fe8cc6 tar-1.12/po/stamp-cat-id SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/po/stamp-cat-id'`" test 10 -eq "$shar_count" || $echo 'tar-1.12/po/stamp-cat-id:' 'original size' '10,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/po/de.po ============== if test -f 'tar-1.12/po/de.po' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/po/de.po' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/po/de.po' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/po/de.po M(R!'97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,Z('-R8R]T87(N8SHS-C`*;7-G:60@ M(B(*(EQN(@HB1&5V:6-E(&)L;V-K:6YG.EQN(@HB("`M8BP@+2UB;&]C:VEN M9RUF86-T;W(]0DQ/0TM3("`@0DQ/0TM3('@@-3$R(&)Y=&5S('!EF4]4TE:12`@("`@("`@(%-)6D4@ M8GET97,@<&5R(')E8V]R9"P@;75L=&EP;&4@;V8@-3$R7&XB"B(@("UI+"`M M+6EG;F]R92UZ97)OF5R;V5D(&)L;V-K MF4]1U+64U-%("`@1U+64U-%($)Y=&5S('!R;R!296-OF5R;W,@("`@("`@ M("!";/9C:V4@;6ET($YU;&QE;B!I;2!!G4@ M=F5R"`@("`@("`@("`@("`@("`@("`@("`@('=R:71E(&$@4$]325@@8V]N9F]R M;6%N="!AFEP("`@("`@ M("`@("`@("`@9FEL=&5R('1H92!AFEPJR!K;VUPF5P=&EE'1R86-T(&]R(&-R96%T92!F&-L=61E/5!!5%1%4DX@("`@("`@(&5X8VQU9&4@9FEL97,L(&=I=F5N(&%S M(&$@9VQO8F)I;F<@4$%45$523EQN(@HB("`M6"P@+2UE>&-L=61E+69R;VT] M1DE,12`@("`@(&5X8VQU9&4@9VQO8F)I;F<@<&%T=&5R;G,@;&ES=&5D(&EN M($9)3$5<;B(*(B`@+5`L("TM86)S;VQU=&4M;F%M97,@("`@("`@("!D;VXG M="!S=')I<"!L96%D:6YG(&`O)W,@9G)O;2!F:6QE(&YA;65S7&XB"B(@("UH M+"`M+61E6UL:6YK2!I M;B`B"B)D:7)E8W1O7-T96T@ M("`@("`@('-T87D@:6X@;&]C86P@9FEL92!S>7-T96T@=VAE;B!C3U615):14E#2$Y)4R`@>G4@5D526D5)0TA.25,@ M=V5C:'-E;&Y<;B(*(B`@+50L("TM9FEL97,M9G)O;3U$051%22`@("`@("!. M86UE;B!D97(@>G4@8F5AF5U9V5N($1A=&5I2!S M=&]R92!F:6QE5QN(@HB("`@("`@+2UA9G1EF5I9V5N('5N9""K=&%RNR!B965N9&5N7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R!L:6YK'1R86-T+F,Z-S@Y"B,L(&,M9F]R M;6%T"FUS9VED("(E'1R86-T+F,Z.#(R"B,L(&,M9F]R;6%T"FUS9VED("(E&5C=71E('!E2`E2`E3H@)7,B"FUS9W-T'!E8W1E9"!%3T8@:6X@87)C:&EV92(*;7-G7!E(*MT87*[+BXN(@H*(SH@ M'0@9FEL92!H M96%D97(B"FUS9W-T2!W7!E(&EN8V]N;G4@9&4@9FEC:&EE M6UB;VQI<75E(.`@)7,B"@HC.B!S M7-T96T@97)R;W(B"FUS9W-T&5C+W1C<#H@&ET('=A&ET+@HC M.B!S&5C=71E(')E M;6]T92!S:&5L;"(*;7-G2P@=&AE M;B!I="!ID@8V]M;64@Z71A;G0@;W!T:6]N;F5L+EQN(@H*(SH@2!I;B!A"!F:6-H:65R2`@("`@("`@("`@("`@(&%T=&5M<'0@=&\@=F5R M:69Y('1H92!A&ES=&EN9R!F:6QE5QN(@HB("`M3RP@+2UT;RUS=&1O=70@("`@("`@("`@ M("!E>'1R86-T(&9I;&5S('1O('-T86YD87)D(&]U='!U=%QN(@HB("`M1RP@ M+2UI;F-R96UE;G1A;"`@("`@("`@("!H86YD;&4@;VQD($=.52UF;W)M870@ M:6YC"!F;W)M871S($=.52!D M)V%R8VAI=F5<;B(*(B`@("`@("`@("`@("`@("`@("`@("`@("`@("`@:6YC M6UB;VQI8RD@;6]D92!#2$%.1T53(&9OIM92!P'1R86ER92!T;W5T92!L)VEN9F]R;6%T M:6]N(&1E('!R;W1E8W1I;VY<;B(*(B`@("`@("TM<')E'1R M86-T(&UU;'1I+79O;'5M92!AER;R!D92!V;VQU;65<;B(* M(B`@("`@("`@("`@("`@("`@("`@("`@("`@("`@9&%N71EF5R;W,@("`@ M("`@("`@("`@:6=N;W)E('IENER;W,@9&4@;"=A2`@('=R:71E(&$@5C<@9F]R;6%T(&%R8VAI=F5<;B(*(B`@ M("`@("TM<&]S:7@@("`@("`@("`@("`@("`@("`@("`@("!WBP@+2UG>FEP+"`M+75N M9WII<"`@("`@("`@("`@("`@(&9I;'1E'1R86-T:6]N7&XB"B(@("`@("`@("`@ M("`@("`@("`@("`@("`@("`@(&1E(&9I8VAI97)S7&XB"B(@("UO+"`M+6]L M9"UAFEP("`@("`@('!O2!I;B!L;V-A;"!F:6QE('-Y#U3549&25@@("`@("`@("`@8F%C:W5P M(&)E9F]R92!R96UO=F5L+"!O=F5R=A;G1<;B(*(B`@("`@("`@("`@ M("`@("`@("`@("`@("`@("`@("!P87(@;&4@4U5&1DE812!L92!S=69F:7AE M('5S=65L7&XB"@HC.B!S&ET7&XB"B(@("`@("`M+79E2!N86UE71EER;R!D92!B;&]C(&-O M;G1E;G4@9&%N&ES=&EN9R`@(&YU;6)EER;W1E7!E M('-I;7!L95QN(@H*(SH@"2!I;7!L96UE;G1E9"P@9&]N)W0@8V]U;G0@ M;VX@:70@>65T+EQN(@HB05)#2$E612!M87D@8F4@1DE,12P@2$]35#I&24Q% M(&]R(%5315)`2$]35#I&24Q%.R!A;F0@1DE,12!M87D@8F4@82!F:6QE7&XB M"B)O"B!P87,@<^EL96-T:6]N;F5R('!L=7,@9"=U M;F4@;W!T:6]N('!A"<@(@H*(SH@2`M+7)E860M9G5L;"UR96-O MAT M92XB"@HC.B!S2!E>&AA=7-T960B"FUS9W-TEM;VER92!O8V-U<.EE+B(*"B,Z('-R M8R]T87(N8SHX-C8*;7-G:60@(DEN=F%L:60@;W=N97(@9VEV96X@;VX@;W!T M:6]N(@IMET86ER92!I;G9A;&ED92!D;VYNZ2!E;B!O M<'1I;VXB"@HC.B!S2!&96YL87-O;BY<;B(*"B,Z('-R8R]T87(N8SHQ M,#,U"FUS9VED(")'3E4@9F5A='5R97,@=V%N=&5D(&]N(&EN8V]M<&%T:6)L M92!A2!R969U2!O;F4@;V8@=&AE(&`M06-D=')U>"<@;W!T:6]N71E2!T:&ES(&AE;'`@86YD(&5X:71<;B(*(B`@("`@("TM=F5RF5R;W-<(EQN(@HB("`@("`@+2UH96QP("`@("`@("`@("`@869F:6-H M97(@;"=A:61E+6WI;6]I&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/po/fr.po:' 'MD5 check failed' 5ea71a00bb609959922d7801813482e1 tar-1.12/po/fr.po SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/po/fr.po'`" test 46126 -eq "$shar_count" || $echo 'tar-1.12/po/fr.po:' 'original size' '46126,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/po/it.po ============== if test -f 'tar-1.12/po/it.po' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/po/it.po' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/po/it.po' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/po/it.po M(R!-97-S86=G:2!I;B!)=&%L:6%N;R!P97(@1TY5('1A7!E.B!T97AT+W!L86EN.R!C:&%R71EGDL(&,M9F]R;6%T"FUS9VED M(")#86YN;W0@<')O<&5R;'D@9'5P;&EC871E("5S(@IMF4B"FUS9W-TGIY"FUS9VED(").;R!AGD*;7-G:60@(D-A;FYO M="!V97)I9GD@8V]M<')EGIY"FUS9VED(")#86YN;W0@ M=7!D871E(&-O;7!R97-S960@87)C:&EV97,B"FUS9W-T2!S=&1I M;B]S=&1O=70@87)C:&EV92(*;7-GGDL(&,M9F]R;6%T M"FUS9VED(")!FEO(&1E;"!N87-T MFEO;F4@=F]L=6UE(&UA;F-A;G1E M(@H*(SH@F4@*"5L9"`A/2`E;&0@*R`E;&0I(@IMF$B"@HC M.B!S2P@8RUF;W)M870*;7-G:60@ M(E)E8V]R9"!S:7IE(#T@)60@8FQO8VMS(@IMF$@(@HB M;"=O<'II;VYE("UI(@H*(SH@0IM'1R86-T+F,Z-#$U"B,L(&9U>GIY"FUS9VED(")296UO=FEN M9R!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XB"B(@("U:+"`M+6-O;7!R97-S+"`M+75N8V]M<')EFEO;F4Z7&XB"B(@ M("U6+"`M+6QA8F5L/4Y/344@("`@("`@("`@("`@("`@("`@8W)E82!U;B!A M2`@('-CFEO;F4@+60I7&XB M"@HC.B!SGIY"FUS9VED("(B"B)<;B(*(DQO M8V%L(&9I;&4@2!I;B!L M;V-A;"!F:6QE('-Y2!$25(@("`@ M("`@('-P;W-T871I(&YE;&QA(&1I2!$25)<;B(*(B`@+50L("TM M9FEL97,M9G)O;3U.3TU%("`@("`@<')E;F1I(&D@;F]M:2!D82!E&-L=61E/5!!5%1%4DX@("`@ M("!EGD*;7-G:60@(B(*(B`@+4XL M("TM;F5W97(]1$%412`@("`@("`@("`@("!O;FQY('-T;W)E(&9I;&5S(&YE M=V5R('1H86X@1$%415QN(@HB("`@("`@+2UN97=E#U3549&25@@ M("`@("`@("`@8F%C:W5P(&)E9F]R92!R96UO=F5L+"!O=F5R&ET7&XB"B(@ M("`@("`M+79E&ET7&XB"B(@("UV+"`M+79E2!N86UE71EFEO;F5<;B(*(B`@+5(L("TM8FQO8VLM;G5M8F5R("`@ M(&UO"!I"!O7,@;6%K92!S:6UP;&4@8F%C:W5PGDL(&,M9F]R;6%T"FUS9VED("(B"B)<;B(*(D=. M52!T87(@8V%N;F]T(')E860@;F]R('!R;V1U8V4@8"TM<&]S:7@G(&%R8VAI M=F5S+B`@268@4$]325A,65]#3U)214-47&XB"B)I2!B92!&24Q%+"!(3U-4.D9)3$4@;W(@55-%4D!(3U-4 M.D9)3$4[(&%N9"!&24Q%(&UA>2!B92!A(&9I;&5<;B(*(F]R(&$@9&5V:6-E M+B`@*E1H:7,J(&!T87(G(&1E9F%U;'1S('1O(&`M9B5S("UB)60G+EQN(@IM MFEO;FD@9&D@8V]M<')EFEO;F4@86)B MFEO;F4@;V)S;VQE M=&$L(&]R82!I;7!L:6-I=&%M96YT92!D969I;FET82!D82`M+6)L;V-K:6YG M+69A8W1O2`M+6%B2`M M+6)L;V-K+6YU;6)EFEO;F4@;V)S;VQE M=&\@GD*;7-G:60@(D]BFEO;FDB"@HC.B!S2`J=&AIFEO;FD@ M8"U;,"TW75ML;6A=)R!N;VX@6EN9R!C;VYD:71I;VYS+B`@5&AE MFEO;F%L:71A)R!'3E4@2!AGD*;7-G:60@(D5R6%R:R$I(@IM0IM2!T:&ES(&AE;'`@86YD(&5X M:71<;B(*(B`@("`@("TM=F5RFEO;F4@+4,B"@HC?B!M2!OFEO;FD@97-T97-E(&QO7&XB"B-^(")S;VYO(&%N8VAE('!E M'!R97-S:6]N.B`E&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/po/it.po:' 'MD5 check failed' 72f8f2c9f89302fcb5aaad91c0201206 tar-1.12/po/it.po SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/po/it.po'`" test 42623 -eq "$shar_count" || $echo 'tar-1.12/po/it.po:' 'original size' '42623,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/po/ko.po ============== if test -f 'tar-1.12/po/ko.po' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/po/ko.po' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/po/ko.po' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/po/ko.po M(R!+;W)E86X@;65S4!N;W=N=7)I+FYO=V-O;2YC;RYK'0O<&QA:6X[(&-H87)S970]155# M+4M27&XB"B)#;VYT96YT+51R86YS9F5R+45N8V]D:6YG.B`X+6)I=%QN(@H* M(PHC.B!S71E*\^L#:("5DN*8@ MM-W`NR"\]B"^^+W`M,^TV2(*"B,Z('-R8R]B=69F97(N8SHR-S0*(RP@9G5Z M>GDL(&,M9F]R;6%T"FUS9VED(")#86YN;W0@<')O<&5R;'D@9'5P;&EC871E M("5S(@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<&]R=&%B:6QI M='D@("!6-R#'_+W$P,<@OL;$J\#,NNJXIB"^N;3/M-E<;B(*(B`@("`@("TM M<&]S:7@@("`@("`@("`@("`@("`@("`@("`@("!03U-)6+BF(+7[N*.TPB"^ MQL2KP,RZZKBF(+ZYM,^TV5QN(@HB("`M>BP@+2UG>FEP+"`M+75N9WII<"`@ M("`@("`@("`@("`@(+[&Q*O`S+KJN*8@9WII<+^A(+^IL/K'U;3/M-E<;B(* M(B`@+5HL("TM8V]M<')E_H2"_J;#ZQ]6TS[39("AM=7-T M(&%C8V5P="`M9"E<;B(*"B,Z('-R8R]T87(N8SHS-SD*;7-G:60@(B(*(EQN M(@HB3&]C86P@9FEL92!S96QE8W1I;VXZ7&XB"B(@("U#+"`M+61I3U$25(@("`@("`@("`@8VAA;F=E('1O(&1I2!$25)<;B(*(B`@ M+50L("TM9FEL97,M9G)O;3U.04U%("`@("`@("!G970@;F%M97,@=&\@97AT M&-L=61E(&9I;&5S+"!G:79E;B!A&-L=61E(&=L;V)B:6YG('!A='1EGD*;7-G:60@(B(*(B`@+4XL("TM;F5W97(] M1$%412`@("`@("`@("`@("!O;FQY('-T;W)E(&9I;&5S(&YE=V5R('1H86X@ M1$%415QN(@HB("`@("`@+2UN97=E#U3549&25@@("`@("`@("`@8F%C:W5P(&)E9F]R M92!R96UO=F5L+"!O=F5R&ET7&XB"B(@("`@("`M+79E2!N86UE71E MEP,<@ MN?;`_""Y^,BCN*8@P,Z\XL?/L.T@LZ&SP+3/M-E<;B(*(B`@+78L("TM=F5R M8F]S92`@("`@("`@(,.SN*ZUQ[3"(,;$P,_`NR"\^+RMM.NWSB##XK?"Q]6T MS[397&XB"B(@("`@("`M+6-H96-K<&]I;G0@("`@(""^QL2KP,RZZKBF(,#0 MP+L@M;^^R""U\+>ZQ>2XKB#`S+BGP+L@P,Z\XL?5M,^TV5QN(@HB("`@("`@ M+2UT;W1A;',@("`@("`@("`@OL;$J\#,NNJXIB"XN+7I(+6_OL@@OK*_J<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`Q.3@X+"`Y,BP@.3,L(#DT+"`Y-2P@.38L M(#DW($9R964@4V]F='=A3L@;F]T(&5V96X@9F]R($U%4D-(04Y404))3$E462!O2!A MD@P=\@Q\^SJKBF(,'VP:3'V+[?(,?5M,^TV2(* M"B,Z('-R8R]T87(N8SHQ,3DQ"FUS9VED(")%&ET(&1E;&%Y960@ M9G)O;2!P71E_Z[G].B`EGIY"FUS9VED("(B"B))9B!A(&QO;F<@;W!T:6]N('-H;W=S(&%N(&%R9W5M M96YT(&%S(&UA;F1A=&]R>2P@=&AE;B!I="!I_ MH2"ZSK"AM<>TPB#`SL#:M,(@PJK`NB"_R;S'OZ&UM2#`^[_KMTPB#&Q,#/ MP,<@L>;`S%QN(@HB("`@("`@+2UH96QP("`@("`@("`@("`@P,P@M;6_\KB[ MP+L@NKB_J<'6L.T@N+;$J+3/M-E<;B(*(B`@("`@("TM=F5R7)I9VAT("A#*2`Q.3DU+"`Q.3DV+"`Q.3DW($9R964@4V]F='=A M4B"@HC"B-^ M(&US9VED(")3:7IE(@HC?B!M(B"@HC"B-^(&US9VED(")6 M;VQU;64@;6ES;6%T8V@A("`E2!O_H2"ZSK"AM<>PQ;.J(+RQQ_H;6U(,#[O^NUR[3/M-DN7&XB"@HC"B-^(&US9VED(")"860@'!R97-S:6]N.B`E6EN9R`E9%QN(@HC?B!M&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/po/ko.po:' 'MD5 check failed' 8b73529b8eb3f35903f9b16426969385 tar-1.12/po/ko.po SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/po/ko.po'`" test 36730 -eq "$shar_count" || $echo 'tar-1.12/po/ko.po:' 'original size' '36730,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/po/nl.po ============== if test -f 'tar-1.12/po/nl.po' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/po/nl.po' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/po/nl.po' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/po/nl.po M(R!$=71C:"!M97-S86=E71EGIY+"!C+69OGD*;7-G:60@(G1A&5C("5S(@IMF4B"FUS9W-TGIY"FUS9VED(").;R!A MGIY"FUS9VED(")#86YN;W0@=F5R:69Y(&-O;7!R97-S960@87)C M:&EV97,B"FUS9W-T0IM2!W71E2!EF5N M("5S7&XB"@HC.B!SF4@*"5L9"`A/2`E;&0@*R`E;&0I(@IMGIY+"!C+69OF4@/2`E9"!B;&]C:W,B"FUS9W-T2(*;7-G71E71EF5N('5I="!A2!A(&1I9F9E2!W M87,@97AP96-T960B"FUS9W-TGIY"FUS9VED M("(B"B(@;B!;;F%M95T@("!':79E(&$@;F5W(&9I;&4@;F%M92!F;W(@=&AE M(&YE>'0@*&%N9"!S=6)S97%U96YT*2!V;VQU;64HGD*;7-G:60@(E)E;6]V:6YG(&QE861I;F<@8"\G M(&9R;VT@86)S;VQU=&4@<&%T:"!N86UE6)E M+@HC.B!S71E71EF5R;W,B"FUS9W-T71EGD*;7-G:60@(E)E;6]V:6YG(&QE M861I;F<@8"\G(&9R;VT@86)S;VQU=&4@;&EN:W,B"FUS9W-TFEN9V5N(@H* M(SH@GIY+"!C+69O M2`E2`E2!F;W(@9&EF9B!B=69F97(@;V8@)60@8GET97,B"FUS9W-T2P@8RUF;W)M870*;7-G:60@(D-O=6QD(&]N M;'D@GIY"FUS9VED(")$871A(&1I9F9E'!E8W1E9"!%3T8@;VX@87)C:&EV M92!F:6QE(@IMGIY"FUS9VED(")& M:6QE(&1O97,@;F]T(&5X:7-T(@IM2`B"FUS9W-TGD*;7-G:60@ M(DYO="!A(')E9W5L87(@9FEL92(*;7-GGD*;7-G:60@(DUO9&4@9&EF9F5RGD*;7-G:60@(E5I9"!D:69F97)S(@IMGIY"FUS9VED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T@97)R;W(B"FUS9W-T&ET('=A&ET+@HC.B!S2P@8RUF;W)M870*;7-G:60@(B(*(EQN(@HB57-A9V4Z("5S(%M/ M4%1)3TY=+BXN(%M&24Q%72XN+EQN(@IM5QN(@HB9F]R M('1H92!E<75I=F%L96YT('-H;W)T(&]P=&EO;B!A;'-O+B`@4VEM:6QA2!I;B!A"P@+2UE>'1R86-T+"`M+6=E="`@("!E>'1R86AE97(@8F5S=&%N M9&5N('5I="!E96X@87)C:&EE9EQN(@HB("`M8RP@+2UC5QN(@HB("`M4RP@+2US<&%R2`@("`@("`@("`@("`@('!R M;V)E97(@87)C:&EE9B!N82!S8VAR:6IV96X@=&4@=F5R:69I97)E;EQN(@HB M("`@("`@+2UR96UO=F4M9FEL97,@("`@("`@("!V97)W:6ID97(@8F5S=&%N M9&5N(&YA('1O979O96=E;B!I;B!H970@(@HB87)C:&EE9EQN(@HB("`M:RP@ M+2UK965P+6]L9"UF:6QE'1R86-T:65<;B(*(B`@+54L("TM=6YL:6YK+69I'1R86AE97)D('=OF5L9G,@:&5L92!L M96=E("(*(F1I2=S*5QN(@HB("`@("`@+2UR96-U'1R86-T:65< M;B(*(B`@+5,L("TM6UB;VQI8RD@;6]D92!#2$%.1T53(&9OF5L9F1E(&5I M9V5N86%R7&XB"B(@("`@("`M+6YU;65R:6,M;W=N97(@("`@("`@("`@9V5B M'1R86AE M97(@86QL92!B979E:6QI9VEN9W-I;F9OF5L9F1E(&%LF5L9F1E(&%L2!D5QN(@HB("`M M32P@+2UM=6QT:2UV;VQU;64@("`@("`@("`@("`@8W)E871E+VQI"`Q,#(T(&)Y=&5S7&XB"B(@("U&+"`M+6EN9F\M2=<;B(*(B`@+4TL("TM;75L=&DM=F]L=6UE("`@("`@ M("`@("`@(&UA86LO=&]O;B]E>'1R86AE97(@;65E"`U,3(@8GET97,@<&5R(')E8V]R9%QN(@HB("`@("`@+2UR M96-O71E"`U,3(@8GET97,@ M<&5R(')E8V]R9%QN(@HB("`@("`@+2UR96-O71EGD* M;7-G:60@(B(*(EQN(@HB07)C:&EV92!F;W)M870@FEP7&XB"B(@("U:+"`M+6-O;7!R97-S+"`M+75N8V]M<')E M"`@("`@("`@("`@ M("`@("`@("`@("`@(&=E8G)U:6L@4$]325@@87)C:&EE9F9OBP@+2UG>FEP+"`M+75N9WII<"`@("`@ M("`@("`@("`@(&9I;'1EFEP)UQN(@HB M("`M6BP@+2UC;VUPGIY M"FUS9VED("(B"B)<;B(*(DQO8V%L(&9I;&4@2!I;B!L;V-A;"!F:6QE('-Y2!$25)<;B(*(B`@+50L("TM9FEL97,M9G)O;3U.04U%("`@("`@:&%A M;"!D92!T92!G96)R=6EK96X@8F5S=&%N9'-N86UE;B!U:70@3D%-15QN(@HB M("`@("`@+2UN=6QL("`@("`@("`@("`@("`@("`M5"!L965S="!N=6PM9V5T M97)M:6YE97)D92!N86UE;BP@9&ES86)L92`M0UQN(@HB("`@("`@+2UE>&-L M=61E/5!!5%1%4DX@("`@("!E>&-L=61E97(@8F5S=&%N9&5N+"!G96=E=F5N M(&%L2=S7&XB"B(@("UL+"`M+6]N92UF:6QE+7-Y7-T96T@=VAE;B!CGD*;7-G:60@(B(*(B`@+4XL("TM;F5W M97(]1$%412`@("`@("`@("`@("!O;FQY('-T;W)E(&9I;&5S(&YE=V5R('1H M86X@1$%415QN(@HB("`@("`@+2UN97=EFEG9&4@(@HB9&%T85QN(@HB("`@("`@ M+2UA9G1E#U3549&25@@("`@("`@ M("`@8F%C:W5P(&)E9F]R92!R96UO=F5L+"!O=F5R&ET7&XB"B(@("`@("`M M+79E&ET7&XB"B(@("UV+"`M+79E2!N86UE71E2!L:7-T(&9I;&5S('!R;V-E71E&ES=&EN9R`@(&YU M;6)E2P@8RUF;W)M870*;7-G:60@(B(*(EQN(@HB1TY5('1A"<@87)C:&EV97,N("!)9B!03U-) M6$Q97T-/4E)%0U1<;B(*(FES('-E="!I;B!T:&4@96YV:7)O;FUE;G0L($=. M52!E>'1E;G-I;VYS(&%R92!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,@97)R;W)S(@IM71E("5L M9"!R96%D:6YG("5D(&)Y=&5S(&EN(&9I;&4@)7,B"FUS9W-TF5N9&4@)60@8GET97,@:6X@8F5S=&%N9"`E M6%R:R$I(@IMGIY"FUS9VED("(B"B))9B!A(&QO;F<@;W!T:6]N('-H;W=S(&%N(&%R M9W5M96YT(&%S(&UA;F1A=&]R>2P@=&AE;B!I="!IGD*;7-G:60@(B(*(EQN(@HB0V]P>7)I9VAT M("A#*2`Q.3DU+"`Q.3DV+"`Q.3DW($9R964@4V]F='=A2!O&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/po/nl.po:' 'MD5 check failed' 9dad5449cebae5a36583c50dea8c5b11 tar-1.12/po/nl.po SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/po/nl.po'`" test 42882 -eq "$shar_count" || $echo 'tar-1.12/po/nl.po:' 'original size' '42882,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/po/no.po ============== if test -f 'tar-1.12/po/no.po' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/po/no.po' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/po/no.po' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/po/no.po M(R!.;W)W96=I86X@;65S5L(&1I M86QE8W0I"B,@0V]P>7)I9VAT("A#*2`Q.3DV($9R964@4V]F='=A6=A M71E71E&5C M("5S(@IM71E2!M=6QT:2UV;VQU;64@87)C:&EV97,B"FUS9W-T2!C;VUP2!S=&1I;B]S=&1O=70@87)C:&EV92(*;7-G2!W71E6YN96QS96X@878@8N5N9&5T+"!A=G-L=71T97(@;N4B"@HC.B!SGIY+"!C+69OF4@/2`E9"!B;&]C:W,B"FUS9W-T2(*;7-G2!R96%D("5D(&)Y=&5S(&9R;VT@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;6%T"FUS9VED("(E'1R86-T+F,Z.3'1R86-T+F,Z.3@S"FUS9VED(")6:7-I8FQE(&QO;F<@;F%M92!E M2(*"B,Z('-R8R]I;F-R96UE;BYC.C0S-R!S7!E(*LE8[M<;B(*"B,Z('-R8R]L:7-T+F,Z.#`U"FUS9VED("(M+59O M;'5M92!(96%D97(M+5QN(@IM71E("5L9"TM7&XB"@HC.B!S'!E8W1E9"!% M3T8@:6X@;6%N9VQE9"!N86UE6UL:6YK960@)7,@=&\@)7,B"FUS9W-T6QD:6<@:V]M;6%N M9&\B"@HC.B!S2!@)7,@+2UH96QP)R!F;W(@;6]R92!I;F9O2!F:6QE0IM2P@=&AE;B!I="!I2!F;W(@;W!T:6]N86P@ M87)G=6UE;G1S+EQN(@IM69E+EQN(@H*(SH@2!I;B!A65R92!E;FX@9&4@:2!A2`@("`@("`@("`@("`@ M(&%T=&5M<'0@=&\@=F5R:69Y('1H92!A&ES M=&EN9R!F:6QE'1R M86-T:6YG(&]V97(@:71<;B(*(B`@("`@("TM5QN(@HB("`M3RP@+2UT;RUS M=&1O=70@("`@("`@("`@("!E>'1R86-T(&9I;&5S('1O('-T86YD87)D(&]U M='!U=%QN(@HB("`M1RP@+2UI;F-R96UE;G1A;"`@("`@("`@("!H86YD;&4@ M;VQD($=.52UF;W)M870@:6YCGIY"FUS9VED("(B"B)<;B(*(DAA;F1L:6YG(&]F(&9I;&4@871T M2!E>'1R86-T:6YG(&9I;&5S('=I=&@@=&AE('-A;64@ M;W=N97)S:&EP7&XB"B(@("`@("`M+6YU;65R:6,M;W=N97(@("`@("`@("`@ M86QW87ES('5S92!N=6UB97)S(&9O64@ M9FEL97)<;B(*(B`@("`@("TM871I;64M<')E71E71T(&+E;F0@971T97(@870@3E5-3452('@@ M,3`R-"!B>71E71EF5R;W,@("`@("`@("`@("`@:6=N;W)E('IE7(@9FEL"`@("`@("`@("`@("`@("`@("`@ M("`@('=R:71E(&$@4$]325@@8V]N9F]R;6%N="!AFEP("`@("`@("`@("`@("`@9FEL=&5R('1H92!A M4@9F]R2!I;B!L;V-A;"!F M:6QE('-Y7-T96T@("`@("`@('1A(&EK:V4@;65D(&9I;&5R(&9R82!A;F1R92!F:6QS M>7-T96UE#U3549&25@@("`@("`@("`@8F%C:W5P(&)E9F]R M92!R96UO=F5L+"!O=F5R&ET7&XB"B(@("`@("`M+79E2!N86UE71E M71E&ES=&EN9R`@(&YU;6)E2!B92!&24Q%+"!(3U-4.D9)3$4@;W(@55-%4D!(3U-4 M.D9)3$4[(&%N9"!&24Q%(&UA>2!B92!A(&9I;&5<;B(*(F]R(&$@9&5V:6-E M+B`@*E1H:7,J(&!T87(G(&1E9F%U;'1S('1O(&`M9B5S("UB)60G+EQN(@IM M+LM87)K:79E2!N;W0@2!M;W)E('1H86X@;VYE(&`M06-D=')U M>"<@;W!T:6]N(@IM2`M+6)L;V-K:6YG M+69A8W1O2`M+6)A8VMU<"(*;7-G6QD:6<@9W)U<'!E(&=I='0@:2!F;&%G9R(*"B,Z('-R8R]T87(N8SHX-3`* M;7-G:60@(DEN=F%L:60@;6]D92!G:79E;B!O;B!O<'1I;VXB"FUS9W-T6QD:6<@96EE2`J M=&AI3L@;F]T(&5V96X@9F]R M($U%4D-(04Y404))3$E462!O2!R969U2!O;F4@;V8@=&AE M(&`M06-D=')U>"<@;W!T:6]NGD*;7-G:60@(D5R71E("5L9"!U;F1E2`E9"!B>71EGIY"FUS9VED M("(B"B))9B!A(&QO;F<@;W!T:6]N('-H;W=S(&%N(&%R9W5M96YT(&%S(&UA M;F1A=&]R>2P@=&AE;B!I="!IF4B"B-^(&US9W-T&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/po/no.po:' 'MD5 check failed' 0d78a72d8dd6f6f89bdadaec33cf3764 tar-1.12/po/no.po SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/po/no.po'`" test 41645 -eq "$shar_count" || $echo 'tar-1.12/po/no.po:' 'original size' '41645,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/po/pl.po ============== if test -f 'tar-1.12/po/pl.po' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/po/pl.po' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/po/pl.po' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/po/pl.po M(R!0;VQIFU`<&1I+FYE=#XL(#$Y.38M,3DY-RX*(PIM8@9&5S:W)Y M<'1O>8@87)C:&EW=6T@F%M:VZQYB!P;W1O:W4B"@HC.B!S M>8@87)C:&EW=6T@)7,B M"@HC.B!SG5JZB!D;R!S=&1O=70B"@HC.B!S6MO;F'F("5S(@H*(SH@2!N:64@;6^_92!R;WIW M:61L:>8@<')O8V5S=2(*"B,N(%1H92!C:&EL9"!T87(@:7,@71AYB!Z('!R;V=R86UU(&MO;7!R97-U:K%C96=O(@H*(SH@2DI('!O=&]K(&1O('-T9&EN(@H* M(RX@4')E<&%R92!F;W(@=6YB;&]C:VEN9R!T:&4@9&%T82!FFT*(SH@71E2!O("5D(&)A:G3S=R(*"B,Z('-R M8R]B=69F97(N8SHV-S4*;7-G:60@(DEN=F%L:60@=F%L=64@9F]R(')E8V]R M9%]S:7IE(@IM69I:V]W8>8@87)C:&EW=6T@=VEE;&]C>NJV8VEO=V5G;R(*"B,Z('-R8R]B M=69F97(N8SHW,3D*;7-G:60@(D-A;FYO="!U2!C;VUP>8@)7,B"@HC.B!S6MI971A(&%R8VAI=W5M(&YI92!P87-U:F4@9&\@ M8"5S)R(*"B,Z('-R8R]B=69F97(N8SHX-#$@GET M86YI82`EB!K;_%C>NHB"@HC.B!SGET86T@<'5N:W0@:V]N=')O;&YY("5D(@H*(SH@6MI971Y(&-ZZK9C:2(*"B,Z('-R8R]B M=69F97(N8SHQ,3DQ"B,L(&,M9F]R;6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8W0L("TM9V5T("`@(')O>G!A:W5J M('!L:6MI('H@87)C:&EW=6U<;B(*(B`@+6,L("TM8W)E871E("`@("`@("`@ M("`@=71W\W)Z(&YO=V4@87)C:&EW=6U<;B(*(B`@+60L("TM9&EF9BP@+2UC M;VUP87)E("`@>FYA:F2\('+SOVYI8V4@;6GJ9'IY(&%R8VAI=W5M(&D@<&QI M:V%M:2!N82!D>7-K=5QN(@HB("`M2!T:&4@87)C:&EV92!A9G1E MG5J(&ES=&YI96JQ8WEC:"!P;&EK\W<@F%M87IA;FEE;2!G;R`B"B)R;WIP86MO M=V%N>6U<;B(*(B`@("`@("TM2!K871A;&]G('!R>F5D(')O>G!A:V]W86YI96T@;F]W96=O7&XB"B(@ M("U3+"`M+7-P87)S92`@("`@("`@("`@("`@(&1Z:6&S86H@969E:W1Y=VYI M92!N82!P;&EK86-H(')Z861K:6-H7&XB"B(@("U/+"`M+71O+7-T9&]U="`@ M("`@("`@("`@(')O>G!A:W5J('!L:6MI(&YA('-T86YD87)D;W=E('=Y:K9C M:65<;B(*(B`@+4GER;W-T;W=Y('<@7)OGD*;7-G:60@(B(*(EQN(@HB M2&%N9&QI;F<@;V8@9FEL92!A='1R:6)U=&5S.EQN(@HB("`@("`@+2UO=VYE M7,@=7-E(&YU;6)E'1R86-T(&%L;"!PF5T=V%R>F%N:64@871R>6)U=/-W('!L:6OS=SI< M;B(*(B`@("`@("TM;W=N97(]3D%:5T$@("`@("`@("`@("!N861A:B!WLV&V M8VEC:65L82!.05I702!D;V1A;GEM('!L:6MO;5QN(@HB("`@("`@+2UG6T@ M<&QI:V]M7&XB"B(@("`@("`M+6UO9&4]TU-%34L@("`@("`@("`@("`@;F%D M86P@=7!R87=N:65N:6$@TU-%34L@9&]D86YY;2!P;&EK;VU<;B(*(B`@("`@ M("TM871I;64M<')EFUI96YI86H@8WIA6-H('!L:6OS=UQN(@HB("`M;2P@+2UM;V1I9FEC M871I;VXM=&EM92`@("`@(&YI92!Z87!IG!A:V]W8>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$@<&EP92`B"B(T+C)"4T0I7&XB"@HC.B!S"`@("`@("`@("`@("`@("`@("`@("`@('=R:71E(&$@ M4$]325@@8V]N9F]R;6%N="!AFEP("`@("`@("`@("`@("`@9FEL=&5R('1H92!A6+SB!A6MI M972Q($Y!6E=!7&XB"B(@("`@("`@("`@("`@(%=:3U):14,@("`@("`@("`@ M("`@("`@<')Z>2!W>7!I"`@("`@("`@("`@ M("`@("`@("`@("`@('IA<&ES>B!AB!03U-)6"UE M;5QN(@HB("`M>BP@+2UG>FEP+"`M+75N9WII<"`@("`@("`@("`@("`@(&9I M;'1R=6H@87)C:&EW=6T@<')Z97H@9WII<%QN(@HB("`M6BP@+2UC;VUP2!I;B!L;V-A;"!F:6QE('-Y2!+051!3$]'("`@("`@<')Z96IDO"!D;R!+051! M3$]'=5QN(@HB("`M5"P@+2UF:6QEG=Y M('!L:6OS=R!D;R!R;WHO>F%P86MO=V%N:6$@<[$@=R!P;&EK=2`B"B).05I7 M05QN(@HB("`@("`@+2UN=6QL("`@("`@("`@("`@("`@("`@("U4(&-Z>71A M(&YA>G=Y('IA:V_Q8WIO;F4@>F5R96TL('=YL[%C>B`M0UQN(@HB("`@("`@ M+2UE>&-L=61E/5=:3U):14,@("`@("`@('=Y:VQU8WH@;F%Z=WD@<&%S=6JQ M8V4@9&\@5UI/4D-!7&XB"B(@("U8+"`M+65X8VQU9&4M9G)O;3U03$E+("`@ M("`@=WEK;'5C>B!N87IW>2!P87-U:K%C92!D;R!W>F]R8_-W('<@4$Q)2W5< M;B(*(B`@+5`L("TM86)S;VQU=&4M;F%M97,@("`@("`@("!N:64@=7-U=V%J M('!O8WJQ=&MO=V5G;R`G+R<@>B!N87IW('!L:6OS=UQN(@HB("`M:"P@+2UD M97)E9F5R96YC92`@("`@("`@("`@('IA;6EAG5JL6-E7&XB"B(@("`@("`M+6YO+7)E M8W5R6-Z M;FEE('<@:V%T86QO9VE<;B(*(B`@+6PL("TM;VYE+69I;&4MG5JL6,@<&]Z;W-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&XB"B-^(&US9W-TFT*(WX@;7-G:60@(DYO=R!N97<@)60@ M(&YE960@)60@(&ME97`@)60@(&ME97!?:6X@)60@8FQO8VL@)60O)61<;B(* M(WX@;7-GB!N;W=E("5D("!P;W1R>F5B82`E9"`@=')Z>6UA M("5D("!K965P7VEN("5D(&)L;VL@)60O)61<;B(*"B-^(&US9VED(")7&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/po/pl.po:' 'MD5 check failed' 21918e1f3416819fd63b402499fc4708 tar-1.12/po/pl.po SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/po/pl.po'`" test 44100 -eq "$shar_count" || $echo 'tar-1.12/po/pl.po:' 'original size' '44100,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/po/pt.po ============== if test -f 'tar-1.12/po/pt.po' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/po/pt.po' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/po/pt.po' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/po/pt.po M(R!0;W)T=6=U97-E('1R86YS;&%T:6]N(&]F('1H92`B=&%R(B!M97-S86=E M'0O<&QA:6X[(&-H87)S970]25-/+3@X-3DM M,5QN(@HB0V]N=&5N="U4GD*;7-G:60@(E1O=&%L(&)Y=&5S M('=R:71T96XZ("(*;7-G71E MGDL(&,M9F]R;6%T"FUS9VED(")#86YN;W0@<')O M<&5R;'D@9'5P;&EC871E("5S(@IM&5C=71A M71EF4I(@H*(SH@0IM2!F;W(@8FQO8VMI;F<@9F%C=&]R("5D(@IM0IM2!C;VUP2!S=&1I;B]S=&1O=70@87)C:&EV92(*;7-G2P@8RUF;W)M870*;7-G:60@(D%R8VAI=F4@;F]T(&QA M8F5L;&5D('1O(&UA=&-H(&`E2!W71EGIY+"!C+69OF4@ M/2`E9"!B;&]C:W,B"FUS9W-T71E71EGIY M"FUS9VED("(B"B(@;B!;;F%M95T@("!':79E(&$@;F5W(&9I;&4@;F%M92!F M;W(@=&AE(&YE>'0@*&%N9"!S=6)S97%U96YT*2!V;VQU;64H&EM;R`H92!S96=U:6YT97,I('9O;'5M92AS*5QN(@HB('$@("`@("`@ M("`@0V%N8V5L87(@;R!T87)<;B(*(B`A("`@("`@("`@($-R:6%R('5M82!< M(G-U8BUS:&5L;%PB("AI;G1EGD*;7-G:60@(E)E;6]V:6YG(&QE861I;F<@8"\G(&9R;VT@86)S M;VQU=&4@<&%T:"!N86UE71EF5R;W,B"FUS9W-TF5R;W,B"@HC.B!S0IM2P@8RUF M;W)M870*;7-G:60@(D-A;FYO="!A9&0@9&ER96-T;W)Y("5S(@IM7-T96T[(&YO="!D=6UP960B"FUS9W-T7!E.R!F:6QE(&EG;F]R960B"FUS9W-T?C;RP@9&4@)60@(@HB7")B>71E MGIY+"!C+69O2!R M96%D("5D(&]F("5L9"!B>71EGIY"FUS9VED(")$871A(&1I9F9E'!E M8W1E9"!%3T8@;VX@87)C:&EV92!F:6QE(@IM0IM7!E("GIY"FUS9VED(").;W0@82!R96=U;&%R M(&9I;&4B"FUS9W-TGD*;7-G:60@(DUO9&4@9&EF9F5R?C;R(*"B,Z('-R8R]C;VUP87)E+F,Z-#DT"B,L(&9U>GIY"FUS M9VED(")5:60@9&EF9F5R0IMGD*;7-G:60@(DUO9"!T:6UE(&1I9F9E0IMGIY"FUS9VED(")$ M;V5S(&YO="!E>&ES="(*;7-GGDL(&,M9F]R;6%T"FUS9VED("). M;W0@;&EN:V5D('1O("5S(@IMGD*;7-G:60@ M(DYO('-U8V@@9FEL92!O?C;R`H M7")L:6YK7"(I("5S(@H*(SH@GD* M;7-G:60@(E-Y;6QI;FL@9&EF9F5R?C;R`H M7")L:6YK7"(I('-I;6+S;&EC82#I(&1I9F5R96YT95QN(@H*(SH@GD*;7-G:60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8FQE(&QO;F<@ M;F%M92!E7!E("'1R86-T960@87,@ M;F]R;6%L(&9I;&4B"FUS9W-T2`EGIY+"!C+69O'!E8W1E9"!%3T8@:6X@ M87)C:&EV92(*;7-G&EM M;R!C86)EYV%L:&\@9&4@9FEC:&5I71E=A;&AO(&1E M('9O;'5M92TM7&XB"@HC.B!S71E7"(@)6QD+2U<;B(*"B,Z('-R8R]L:7-T+F,Z M.#$T"FUS9VED("(M+4UA;F=L960@9FEL92!N86UE6UL:6YK960@)7,@=&\@)7,B"FUS9W-T=O('1E M;7!O=O('1E;7!OB!S96YT:61O7&XB"@HC.B!S&5C=71A2!@)7,@+2UH96QP)R!F M;W(@;6]R92!I;F9O?C;RP@=&5N=&4@7"(EGDL(&,M9F]R;6%T"FUS9VED("(B"B)<;B(*(E5S86=E.B`E2!A<'!E M;F0@9FEL97,@;F5W97(@=&AA;B!C;W!Y(&EN(&%R8VAI=F5<;B(*(B`@+4$L M("TM8V%T96YA=&4@("`@("`@("`@87!P96YD('1AGD*;7-G:60@(B(*(EQN(@HB3W!E2!H:65R87)C:&EE'1R86-T:6YG("(*(F1I M5QN(@HB("`M4RP@+2US<&%R2`@("`@("`@ M("`@("`@('1E;G1A0IM6UB;VQI8RD@;6]D92!#2$%.1T53(&9O MGD*;7-G:60@(B(*(EQN(@HB1&5V:6-E M('-E;&5C=&EO;B!A;F0@2!D5QN(@HB M("`M32P@+2UM=6QT:2UV;VQU;64@("`@("`@("`@("`@8W)E871E+VQI"`Q,#(T(&)Y=&5S7&XB"B(@("U&+"`M+6EN9F\MF4]4TE:12`@("`@("`@ M(%-)6D4@8GET97,@<&5R(')E8V]R9"P@;75L=&EP;&4@;V8@-3$R7&XB"B(@ M("UI+"`M+6EG;F]R92UZ97)OF5R;V5D M(&)L;V-KF5R;W-< M;B(*(B`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("AI;7!L:6-A M;2`@9FEM+61E+69I8VAE:7)O*5QN(@HB("`M0BP@+2UR96%D+69U;&PMGD* M;7-G:60@(B(*(EQN(@HB07)C:&EV92!F;W)M870@FEP7&XB"B(@("U:+"`M+6-O;7!R97-S+"`M+75N8V]M<')E M2`@(&5S8W)E=F4@=6T@87)Q=6EV;R!N M;R!F;W)M871O(%8W7&XB"B(@("`@("`M+7!OBP@+2UG>FEP+"`M+75N9WII<"`@("`@("`@("`@("`@(&9I M;'1R82!O(&%R<75I=F\@871R87;IGIY"FUS M9VED("(B"B)<;B(*(DQO8V%L(&9I;&4@2!I;B!L;V-A;"!F:6QE('-Y?U97-<;B(*(B`@("`@("`@("`@("`@("`@("`@("`@("`@("`@ M=AGD*;7-G:60@(B(*(B`@+4XL("TM M;F5W97(]1$%412`@("`@("`@("`@("!O;FQY('-T;W)E(&9I;&5S(&YE=V5R M('1H86X@1$%415QN(@HB("`@("`@+2UN97=E"!I"!O7,@;6%K M92!S:6UP;&4@8F%C:W5PGDL(&,M9F]R;6%T"FUS9VED("(B"B)<;B(*(D=.52!T87(@ M8V%N;F]T(')E860@;F]R('!R;V1U8V4@8"TM<&]S:7@G(&%R8VAI=F5S+B`@ M268@4$]325A,65]#3U)214-47&XB"B)I2!B92!&24Q%+"!(3U-4.D9)3$4@;W(@55-%4D!(3U-4.D9)3$4[ M(&%N9"!&24Q%(&UA>2!B92!A(&9I;&5<;B(*(F]R(&$@9&5V:6-E+B`@*E1H M:7,J(&!T87(G(&1E9F%U;'1S('1O(&`M9B5S("UB)60G+EQN(@IM%V96P@4$]325A,65]#3U)214-4(&5S=&EV97(@ M9&5F:6YI9&$@;F\@86UB:65N=&4L(&%S(&5X=&5N<_5E2`M+7)E860M9G5L;"UR96-OUD;R!P;W(@7"(M+7)E860M9G5L;"UR96-O2`M+71O=6-H(@IMUD;R!P;W(@7"(M+71O=6-H7"(B"@HC.B!S2`M+6%BUD;R!P;W(@7"(M+6%B2`M+6)L;V-K+6YU;6)EGD*;7-G M:60@(D]BUD;R!P;W(@7"(M+71O=6-H7"(B"@HC.B!S2!E>&AA=7-T960B"FUS9W-TF4@;75S="!B92!A(&UU;'1I<&QE(&]F("5D+B(*;7-G2!R969UFEO(@H*(SH@%PB(@H*(SH@GD*;7-G:60@(D5R71E7"(@)6QD+"!D=7)A;G1E M(&$@;&5I='5R82!D92`E9"!<(F)Y=&5S7"(@9&\@(@HB9FEC:&5I2`E9"!B>71E0IM2!T:&ES(&AE M;'`@86YD(&5X:71<;B(*(B`@("`@("TM=F5R2P@8RUF;W)M870*;7-G:60@(E5N:VYO=VX@<&%T=&5R;B!@)7,G M(@IM2!O&]<;B(*"B-^(&US9VED(")F:6QE("5S7&XB"B-^(&US9W-T7!E("5D7&XB"B-^ M(&US9W-T0HC?B!M M%QN(@HC?B!MF5R("5S(@H*(WX@;7-G M:60@(D]N;'D@;VYE(&-O;7!R97-S:6]N(&]P=&EO;B!P97)M:71T960B"B-^ M(&US9W-T2`J=&AI?C;R(*"B-^(&US9VED(")3879E9"`E9"!R96-S+"!N965D("5D M(&UO2`E2`E9"(*(WX@;7-G2!T;R`E9"(*(WX@;7-G?C;R!D92`EF4@/2`E9"!R96-OF5R(&QI9V'G MXV\@<&%R82`E71E7-T96TB"B-^(&US9W-T M&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/po/pt.po:' 'MD5 check failed' 674c2d726a7c851a0272096c92eea496 tar-1.12/po/pt.po SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/po/pt.po'`" test 48065 -eq "$shar_count" || $echo 'tar-1.12/po/pt.po:' 'original size' '48065,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/po/sl.po ============== if test -f 'tar-1.12/po/sl.po' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/po/sl.po' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/po/sl.po' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/po/sl.po M(R!487(@+2T@82!T87!E(&%R8VAI=F5R+@HC($-O<'ER:6=H="`H0RD@,3DY M-B!&BYP971E0IMFQO9V]V.B`E9%QN(@H* M(SH@GDL(&,M9F]R;6%T"FUS9VED(")#86YN;W0@<')O M<&5R;'D@9'5P;&EC871E("5S(@IM0IMB!I>FAO9&$@<')O9W)A;6$@>F$@71EF$@F%P:7-A("AR96-OGIY"FUS9VED("). M;R!A2!F;W(@ M8FQO8VMI;F<@9F%C=&]R("5D(@IM0IM2!C;VUPGD*;7-G:60@(D-A;FYO="!U M<&1A=&4@8V]M<')EGIY+"!C+69OFQO9V]V('IA<&ES86YI:"!N82`EAN92!V96QI:V]S=&D@*"5L9"`A/2`E M;&0@*R`E;&0I(@H*(SH@GIY+"!C+69OF4@/2`E9"!B;&]C:W,B M"FUS9W-T2!R96%D("5D(&)Y=&5S(&9R;VT@ M87)C:&EV92`EF%J('!O(&%R:&EV=2!N92!GB!I>F)IF$@=&\@:V%K(&EZGD*;7-G:60@(B(*(B!N(%MN86UE72`@($=I=F4@82!N97<@9FEL M92!N86UE(&9O&ET:6YG+EQN(@IM'1R86-T+F,Z-#$U"B,L(&9U>GIY"FUS9VED(")296UO M=FEN9R!L96%D:6YG(&`O)R!F6)E+@HC.B!SFQO9V]V+"!V(&1A=&]T96MI("5S(@H*(SH@B!S<')E;65M8B(*"B,@4$]:3U(@3FD@8VES=&\@=&\N+BX* M(SH@GIY"FUS9VED(")296UO=FEN9R!L96%D:6YG(&`O)R!F2P@8RUF;W)M870*;7-G:60@(D-A;FYO="!A9&0@9&ER96-T M;W)Y("5S(@IMAN96T@B!S<')E;65M8B(*"B,Z('-R8R]C7!E.R!F:6QE(&EG;F]R960B"FUS9W-TFYA;B!T:7`@9&%T M;W1E:V4[(&1A=&]T96MA(&EG;F]R:7)A;F$B"@HC.B!S71E2P@8RUF;W)M870* M;7-G:60@(D-O=6QD(&]N;'D@GIY"FUS9VED(")$871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A=&]T96ME(&EZ(&%R:&EV M85QN(@HB("`M8RP@+2UCFQI:R!M960@87)H:79O;2!I;B!D871O=&7H;FEM('-IB!AGIY"FUS9VED("(B"B)<;B(*(D]P97)A=&EO M;B!M;V1I9FEE2`@("`@("`@("`@("`@ M(&%T=&5M<'0@=&\@=F5R:69Y('1H92!A&ES M=&EN9R!F:6QE'1R M86-T:6YG(&]V97(@:71<;B(*(B`@("`@("TM5QN(@HB("`M3RP@+2UT;RUS M=&1O=70@("`@("`@("`@("!E>'1R86-T(&9I;&5S('1O('-T86YD87)D(&]U M='!U=%QN(@HB("`M1RP@+2UI;F-R96UE;G1A;"`@("`@("`@("!H86YD;&4@ M;VQD($=.52UF;W)M870@:6YCB!BB!BAN;R!R879N86YJ92!Z(')A>G!RN65N:6UI M(&1A=&]T96MA;6E<;B(*(B`@+4\L("TM=&\MF$@:6YKGD* M;7-G:60@(B(*(EQN(@HB2&%N9&QI;F<@;V8@9FEL92!A='1R:6)U=&5S.EQN M(@HB("`@("`@+2UO=VYE7,@=7-E M(&YU;6)E'1R86-T(&%L;"!PB!O:')A;FET=FEJ;R!Z M8;GH:71E(&1A=&]T96M<;B(*(B`@("`@("TM<')EG9RB!A MGD*;7-G:60@(B(*(EQN(@HB1&5V:6-E('-E;&5C=&EO;B!A;F0@ M2!D5QN(@HB("`M32P@+2UM=6QT:2UV M;VQU;64@("`@("`@("`@("`@8W)E871E+VQI"`Q,#(T(&)Y M=&5S7&XB"B(@("U&+"`M+6EN9F\MF%P M:7-A7&XB"B(@("U-+"`M+6UU;'1I+79O;'5M92`@("`@("`@("`@("!KG9L9>AE:R!A@@(@HB9&5L:6A< M;B(*(B`@+4PL("TM=&%P92UL96YG=&@]3E5-("`@("`@("`@(&UE;FIA=F$@ M=')A:W4@<&\@3E5-('@@,3`R-"!Z87!IFQO9VEH7&XB"B(@ M("U&+"`M+6EN9F\M"`U M,3(@8GET97,@<&5R(')E8V]R9%QN(@HB("`@("`@+2UR96-O71E"`U M,3(@>FQO9V]V7&XB"B(@("`@("`M+7)E8V]R9"US:7IE/41/3*Y)3D$@("`@ M("!$3TRN24Y!('IA<&ES82!V('IL;V=I:"`H=F7H:W)A=&YI:R`U,3(I7&XB M"B(@("UI+"`M+6EG;F]R92UZ97)OGIY"FUS9VED("(B M"B)<;B(*(D%R8VAI=F4@9F]R;6%T('-E;&5C=&EO;CI<;B(*(B`@+58L("TM M;&%B96P]3D%-12`@("`@("`@("`@("`@("`@("!C"`@("`@("`@("`@("`@("`@("`@("`@('=R:71E(&$@4$]3 M25@@8V]N9F]R;6%N="!AFEP("`@("`@("`@("`@("`@9FEL=&5R('1H92!AF)IG9L9>AK=2!J92!I;65<;B(*(B`@("`@ M("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("!L86AK;R!R96=U;&%R M;FD@:7IR87H@4D5'15A07&XB"B(@("UO+"`M+6]L9"UAF%P:7,@87)H:79A('8@9F]R;6%T=2!6-UQN(@HB("`@ M("`@+2UP;W-I>"`@("`@("`@("`@("`@("`@("`@("`@('IA<&ES(&%R:&EV M82!V(&9OFD@4%)/1U)!32`H:VD@;6]R85QN(@HB("`@("`@("`@("`@("`@ M("`@("`@("`@("`@("`@("`@("`@('-P0IM'1R86-T M(&]R(&-R96%T92!F&-L=61E/5!!5%1%4DX@ M("`@("`@(&5X8VQU9&4@9FEL97,L(&=I=F5N(&%S(&$@9VQO8F)I;F<@4$%4 M5$523EQN(@HB("`M6"P@+2UE>&-L=61E+69R;VT]1DE,12`@("`@(&5X8VQU M9&4@9VQO8F)I;F<@<&%T=&5R;G,@;&ES=&5D(&EN($9)3$5<;B(*(B`@+5`L M("TM86)S;VQU=&4M;F%M97,@("`@("`@("!D;VXG="!S=')I<"!L96%D:6YG M(&`O)W,@9G)O;2!F:6QE(&YA;65S7&XB"B(@("UH+"`M+61E6UL:6YK2!I;B`B"B)D:7)E8W1O7-T96T@("`@("`@('-T87D@:6X@ M;&]C86P@9FEL92!S>7-T96T@=VAE;B!CF)I M&-L=61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]U<&1A=&4N8SHW.0HC+"!C+69O71E("5L9"!R96%D:6YG("5D(&)Y M=&5S(&EN(&9I;&4@)7,B"FUS9W-T6%R:R$I(@IMGD*;7-G:60@(B(*(DEF(&$@;&]N9R!O<'1I;VX@5QN(@HB M9F]R('1H92!E<75I=F%L96YT('-H;W)T(&]P=&EO;B!A;'-O+EQN(@HB7&XB M"B(@("UL+"`M+69I;&4M;&5N9W1H/4Q%3D=42"`@($Q%3D=42"!O9B!G96YE MF5R;W,G7&XB"B(@("`@("`M+6AE M;'`@("`@("`@("`@("`@("`@(&1I&ET M7&XB"B(@("`@("`M+79E&ET7&XB"FUS9W-TFYI('IA(&1O;&=E(&]B;&EK92!I>F)I7)I9VAT("A# M*2`Q.3DU+"`Q.3DV+"`Q.3DW($9R964@4V]F='=AAI;B(*"B-^(&US9VED(")5:60B"B-^(&US M9W-TF)IFYI('IA(&1O;&=E(&]B;&EK92!I>F)IFYI('1U9&D@>F$@:W)A=&ME(&]B;&EK92Y<;B(*"B-^ M(&US9VED(")"860@'!R97-S:6]N.B`EG)A>CH@)7,B"@HC?B!MF%N:V5<;B(*"B-^(&US M9VED(")3879E9"`E9"!B;&]C:W,L(&YE960@)60@;6]R95QN(@HC?B!M7!E("5D7&XB"B-^(&US M9W-TFYI=&5V+BXN7&XB"@HC?B!M6EN M9R`E9%QN(@HC?B!M%QN(@II ` end SHAR_EOF $shar_touch -am 0425205597 'tar-1.12/po/sl.po' && chmod 0644 'tar-1.12/po/sl.po' || $echo 'restore of' 'tar-1.12/po/sl.po' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/po/sl.po:' 'MD5 check failed' 04b168fd7771a4130f2433767af1df8b tar-1.12/po/sl.po SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/po/sl.po'`" test 41879 -eq "$shar_count" || $echo 'tar-1.12/po/sl.po:' 'original size' '41879,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/po/sv.po ============== if test -f 'tar-1.12/po/sv.po' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/po/sv.po' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/po/sv.po' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/po/sv.po M(R!3=V5D:7-H(&UE#(P,"YS=VEP;F5T+G-E/BP@,3DY-BX*(R`D4F5V M:7-I;VXZ(#$N,30@)`HC"FUS9VED("(B"FUS9W-T7!E.B!T97AT+W!L M86EN.R!C:&%R&5K=F5R82`E71E(&MO2!F;W(@8FQO8VMI;F<@9F%C=&]R("5D(@IM2!M M=6QT:2UV;VQU;64@87)C:&EV97,B"FUS9W-T71E('1I;&P@)7,B"@HC.B!S5N9V$@9F5L+"!A=G-L=71A'1R86-T+F,Z.38U"B,L(&,M9F]R;6%T"FUS M9VED(")296%D:6YG("5S7&XB"FUS9W-T6T@:V]M;65R(&EN=&4@:2!RY'1T(&]R9&YI;F2P@8RUF;W)M870*;7-G:60@(E)E8V]R M9"!S:7IE(#T@)60@8FQO8VMS(@IM2(*;7-G M2!A(&1I9F9E M'!E8W1E9"(*;7-G0IM71T(&9I;&YA;6X@9O9R(&[D6TH97(I7&XB"B(@<2`@("`@("`@("!!=G-L=71A('!R M;V=R86UM971<;B(*(B`A("`@("`@("`@(%-T87)T82!E='0@=6YD97)S:V%L M7&XB"B(@/R`@("`@("`@("!3:W)I=B!D96YN82!L:7-T85QN(@H*(RX@475I M="X*(SH@6T[(&%V&5K=F5R82!E='0@71E71E("5L9"P@71E71E+"!I(&9I;"`EF5R;W,B"FUS9W-T1N9V0@Y'(@)60@*&AO<'!AGIY+"!C+69O7!E.R!F:6QE(&EG;F]R960B"FUS9W-T2!F;W(@9&EF9B!B=69F97(@;V8@)60@8GET97,B"FUS9W-T2P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8R]I M;F-R96UE;BYC.C0S-R!S3H@)7,B"FUS9W-T'!E8W1E9"!%3T8@:6X@87)C:&EV92(*;7-G7`@7"(E8UPB7&XB"@HC.B!S2`E2!@)7,@+2UH M96QP)R!F;W(@;6]R92!I;F9OGIY"FUS9VED("(B"B)<;B(*(DEF(&$@;&]N9R!O<'1I;VX@5QN(@HB9F]R('1H92!E<75I=F%L96YT('-H;W)T(&]P=&EO;B!A;'-O+B`@ M4VEM:6QA"P@+2UE>'1R86-T+"`M+6=E="`@ M("!E>'1R86-T(&9I;&5S(&9R;VT@86X@87)C:&EV95QN(@HB("`M8RP@+2UC M"P@+2UE M>'1R86-T+"`M+6=E="`@("!E>'1R86AE2!T M:&4@87)C:&EV92!A9G1E6$@97ATGIY"FUS9VED("(B"B)<;B(*(DAA;F1L:6YG(&]F(&9I;&4@871T2!E>'1R86-T:6YG(&9I;&5S('=I=&@@=&AE('-A;64@;W=N M97)S:&EP7&XB"B(@("`@("`M+6YU;65R:6,M;W=N97(@("`@("`@("`@86QW M87ES('5S92!N=6UB97)S(&9O'1R86AE M71E70@8F%N9"!E9G1E71E"`U,3(@8GET92!P97(@<&]S=%QN(@HB("`@("`@+2UR96-O"`@("`@("`@("`@("`@("`@("`@ M("`@('=R:71E(&$@4$]325@@8V]N9F]R;6%N="!AFEP("`@("`@("`@("`@("`@9FEL=&5R('1H92!A M2`@('-K"`@("`@("`@("`@("`@("`@("`@("`@ M('-KBP@+2UG M>FEP+"`M+75N9WII<"`@("`@("`@("`@("`@(&9I;'1R97)A(&%R:VEV970@ M9V5N;VT@9WII<%QN(@HB("`M6BP@+2UC;VUP2!I;B!L;V-A;"!F:6QE('-Y2!S=&]R92!F:6QE5QN(@HB("`@("`@+2UA9G1E M71E(&[D2!B92!S970@=VET:"`M+6)A8VMU<"!O&ES="P@7)A"2!I;7!L96UE;G1E9"P@9&]N)W0@8V]U;G0@;VX@:70@ M>65T+EQN(@HB05)#2$E612!M87D@8F4@1DE,12P@2$]35#I&24Q%(&]R(%53 M15)`2$]35#I&24Q%.R!A;F0@1DE,12!M87D@8F4@82!F:6QE7&XB"B)O2`M M+71O=6-H(@IM2!E>&AA=7-T960B"FUS9W-T0IM2!A2!O;F4@;V8@ M=&AE(&`M06-D=')U>"<@;W!T:6]N0IM65D(&9R;VT@ M<')E=FEO=7,@97)R;W)S(@IM71E("5L9"!R96%D:6YG("5D(&)Y=&5S(&EN(&9I;&4@)7,B"FUS9W-T71E("5L9"!V:60@;.1S;FEN9R!A=B`E9"!B>71E(&9R MY6X@9FEL("5S(@H*(SH@6UP=&4@;65D("5D(&)Y=&4L("AH=6=A(2DB M"@HC.B!T97-TGIY"FUS9VED("(B"B))9B!A(&QO;F<@;W!T:6]N('-H M;W=S(&%N(&%R9W5M96YT(&%S(&UA;F1A=&]R>2P@=&AE;B!I="!I0IMF4B"B-^(&US9W-T2!O%QN(@H@ ` end SHAR_EOF $shar_touch -am 0425205597 'tar-1.12/po/sv.po' && chmod 0644 'tar-1.12/po/sv.po' || $echo 'restore of' 'tar-1.12/po/sv.po' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/po/sv.po:' 'MD5 check failed' 63ab2137e2029e3bc2ea7107f442c9b0 tar-1.12/po/sv.po SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/po/sv.po'`" test 43166 -eq "$shar_count" || $echo 'tar-1.12/po/sv.po:' 'original size' '43166,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/po/de.gmo ============== if test -f 'tar-1.12/po/de.gmo' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/po/de.gmo' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/po/de.gmo' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/po/de.gmo MWA($E0````#E````'````$0'```S`0``;`X````````X$P``*P```#D3```0 M`@``91,``$L```!V%0``/P```,(5```M`0```A8``(@"```P%P``5P$``+D9 M``"0````$1L````"``"B&P``Y`(``*,=```M`@``B"```.$"``"V(@``*P`` M`)@E```W`0``Q"4``!<```#\)@``(0```!0G```W````-B<``"L```!N)P`` MF0```)HG``"V````-"@```X```#K*```#````/HH``"8````!RD``!@```"@ M*0``"0```+DI```B````PRD``!T```#F*0``)P````0J```?````+"H``"D` M``!,*@``(0```'8J```B````F"H``#(```"[*@``'@```.XJ```9````#2L` M`"0````G*P``&@```$PK```7````9RL``!<```!_*P``&P```)0```(0```'U````9````GT```!,```"Y0```*P```,U````A````^4`` M`#,````;00``+@```$]!```-````?D$``"$```",00``'P```*Y!```?```` MSD$``",```#N00``&0```!)"```4````+$(```4```!!0@``!@```$="```+ M````3D(``!````!:0@``,@$``&M"```R````GD,``'$"``#10P``2P```$-& M```_````CT8``#@!``#/1@``%0,```A(``"Q`0``'DL``)8```#03```$P(` M`&=-``#^`@``>T\``"P"``!Z4@``$P,``*=4```O````NU<``/0!``#K5P`` M&````.!9```C````^5D``#L````=6@``,````%E:``"I````BEH``.H````T M6P``'0```!]<```0````/5P``+D```!.7```'`````A=```*````)5T``"D` M```P70``(P```%I=```L````?ET``"X```"K70``.0```-I=```H````%%X` M`"D````]7@``-P```&=>```C````GUX``!T```##7@``,P```.%>```>```` M%5\``#0````T7P``(P```&E?```B````C5\``"<```"P7P``$0```-A?```: M````ZE\``"8````%8```'0```"Q@```S````2F```"H```!^8```/````*E@ M```E````YF```"H````,80``*@```#=A```B````8F$``"````"%80``,0`` M`*9A```\````V&$``!T````58@``'````#-B```7````4&(``#@```!H8@`` M&````*%B```@````NF(``"H```#;8@``,`````9C```<````-V,``!P```!4 M8P``)````'%C```Y````EF,``",```#08P``'P```/1C```L````%&0``"@` M``!!9```*````&ID```C````DV0``!\```"W9```&````-=D```@````\&0` M`"(````190``20```#1E```5````?F4``!0```"490``%0```*EE```>```` MOV4``"$```#>90``'0````!F```7````'F8``!0````V9@``+0```$MF```J M````>68``!L```"D9@``&````,!F```C````V68``"T```#]9@``'0```"MG M```?````26<``#L```!I9P``+0```*5G```^````TV<``#@````2:```)@`` M`$MH```F````<0``-@```!-R```J````2G(``#P```!U<@``+@```+)R```/````X7(` M`"@```#Q<@``-0```!IS```K````4',``#\```!\````,78``"8```!0=@``)``` M`'=V```I````G'8``*L```#&=@``(P```')W```8````EG<``"````"O=P`` M*0```-!W```C````^G<``"$````>>```+@```$!X```A````;W@``#@```"1 M>```1P```,IX``!&````$GD``!<```!9>0``&0```'%Y```_````BWD```8` M``#+>0``'0```-)Y```=````\'D``!T````.>@``'0```"QZ```J````2GH` M`"$```!U>@``%P```)=Z```^````KWH``"<```#N>@``,P```!9[```K```` M2GL```T```!V>P``(@```(1[```B````IWL``"(```#*>P``-P```.U[```@ M````)7P``!T```!&?```#P```&1\```/````='P```H```"$?```'P```(]\ M```!`````````#(```"Q`````````-H`````````VP```*P```#<```````` M`,0````\````"0```"4```##`````````)(```#4````.@````````"V```` M+@```)4````(````50````````#!````GP```+0```#`````)````!4```"^ M`````P```*(`````````(0````````!W````-````'$```#+````E@```!D` M``"9````E````,4```!D`````````-``````````2@````````"X````3@`` M`&@````_````?0``````````````/@```'L```!3````SP```)`````6```` M5`````4```"F````'0````\```#=````S0```$D`````````.0```+4```!( M````(@```(,```";````?````&<```!Z````7P```!\```#3````G````*$` M``!P````J0```-(````"````2P````````!K````MP```'0```#,````O0`` M`*,```!!`````````%T`````````*````&X``````````````-\```"'```` M?@```$T`````````O`````X``````````````(\````S`````````&D```#7 M````%```````````````=0```-8````7````L````!$```"%````7@`````` M``"D````B0```*``````````NP```.````!B````L@```-X`````````Y0`` M`"P`````````&````*\````>````5@```(H```!$````R0```+H```"N```` M(````(X`````````Q@`````````M````A@````````!M````DP````````!X M````3P````P````F````*P````T```````````````````!V````'``````` M``#*````R````(````!0````10````````#C````.P```$<`````````"@`` M`&,```#9````7````%H`````````EP```#@```"E`````````(0````````` MOP```*T```"K````/0```$8```!A````>0```*<``````````````!L````Q M````0@```'\```!R````"P```.0`````````90```.(````V````F@```+,` M``!@`````````-@```!````````````````C````-0````````!2```````` M`)$``````````````"H```#"````C`````````"(````6`````````"Y```` M3````,<```````````````````!#````-P```',````````````````````` M````@0``````````````!P```%<```#A````$````&\````I`````````(L` M``#.````$P```)X`````````J````!(````:````!@````0```!;```````` M`-$```!L```````````````P``````````````#5`````````)T```!9```` M:@```(T```!F````J@```%$``````````````````````````````"<```"8 M````+P````````""``````=0BP@+2UG>FEP+"`M+75N9WII<"`@("`@("`@("`@ M("`@(&9I;'1E7)I9VAT M("A#*2`Q.3DU+"`Q.3DV+"`Q.3DW($9R964@4V]F='=A71EF5R M;W,@("`@("`@("`@("`@:6=N;W)E('IE"`Q,#(T(&)Y=&5S"B`@ M+48L("TM:6YF;RUS8W)I<'0]1DE,12`@("`@("`@(')U;B!S8W)I<'0@870@ M96YD(&]F(&5A8V@@=&%P92`H:6UP;&EE2!I;7!L96UE;G1E9"P@9&]N)W0@8V]U;G0@;VX@ M:70@>65T+@I!4D-(259%(&UA>2!B92!&24Q%+"!(3U-4.D9)3$4@;W(@55-% M4D!(3U-4.D9)3$4[(&%N9"!&24Q%(&UA>2!B92!A(&9I;&4*;W(@82!D979I M8V4N("`J5&AI2!F;W(@;W!T:6]N86P@87)G M=6UE;G1S+@H`"DEN9F]R;6%T:79E(&]U='!U=#H*("`@("`@+2UH96QP("`@ M("`@("`@("`@<')I;G0@=&AI2!A8W1I;VX*("`@("`@+2UC M;VYF:7)M871I;VX@("`@3U$25(@("`@("`@("`@8VAA;F=E('1O M(&1I2!$25(*("`M5"P@+2UF:6QE'1R86-T(&]R(&-R96%T92!F&-L=61E(&9I;&5S+"!G:79E;B!A&-L=61E+69R;VT]1DE,12`@("`@ M(&5X8VQU9&4@9VQO8F)I;F<@<&%T=&5R;G,@;&ES=&5D(&EN($9)3$4*("`M M4"P@+2UA8G-O;'5T92UN86UE2!I;B!D:7)E8W1O2!I;B!L;V-A;"!F:6QE('-Y M2!A<'!E M;F0@9FEL97,@;F5W97(@=&AA;B!C;W!Y(&EN(&%R8VAI=F4*("`M02P@+2UC M871E;F%T92`@("`@("`@("!A<'!E;F0@=&%R(&9I;&5S('1O(&%N(&%R8VAI M=F4*("`@("`@+2UC;VYC871E;F%T92`@("`@("!S86UE(&%S("U!"B`@("`@ M("TM9&5L971E("`@("`@("`@("`@9&5L971E(&9R;VT@=&AE(&%R8VAI=F4@ M*&YO="!O;B!M86<@=&%P97,A*0H`"D]P97)A=&EO;B!M;V1I9FEE&ES=&EN9R!F:6QE0H@("U/+"`M+71O+7-T M9&]U="`@("`@("`@("`@(&5X=')A8W0@9FEL97,@=&\@2!S=&]R92!F:6QE7!E(&`E8R<*`"5D(&%T("5D"@`E0`E2`E2!W6UB;VQI8R!L:6YK2!F;W(@9&EF9B!B=69F97(@;V8@)60@8GET97,`0V]U;&0@;F]T M(&)A8VMS<&%C92!A2!B92!U;G)E861A8FQE M('=I=&AO=70@+6D`0V]U;&0@;F]T(&=E="!C=7)R96YT(&1I0!# M;W5L9"!N;W0@9V5T(&-U2!R96%D("5D(&]F("5L M9"!B>71E2!R969U2`E2`E2!W87,@97AP96-T960`17)R;W(@=VAI M;&4@8VQO'1R86-T M:6YG(&-O;G1I9W5O=7,@9FEL97,@87,@2`E9"!B>71EF4`365M;W)Y(&5X:&%U7!E(&-H86YG960`36]R92!T:&%N(&]N92!T:')E2`M+6)A8VMU<`!/8G-O M;&5T92!O<'1I;VX@;F%M92!R97!L86-E9"!B>2`M+6)L;V-K+6YU;6)E<@!/ M8G-O;&5T92!O<'1I;VX@;F%M92!R97!L86-E9"!B>2`M+6)L;V-K:6YG+69A M8W1O<@!/8G-O;&5T92!O<'1I;VX@;F%M92!R97!L86-E9"!B>2`M+7)E860M M9G5L;"UR96-O2`M+6)L M;V-K:6YG+69A8W1O<@!/;&0@;W!T:6]N(&`E8R<@71E2!W2!W71E2`J=&AI'0@9FEL92!H96%D97(`4VMI<'!I;F<@ M=&\@;F5X="!H96%D97(`4WEM;&EN:R!D:69F97)S`%-Y;6QI;FME9"`E2!@)7,@+2UH96QP)R!F;W(@;6]R92!I;F9O'!E8W1E M9"!%3T8@:6X@;6%N9VQE9"!N86UE2!O;F4@ M;V8@=&AE(&`M06-D=')U>"<@;W!T:6]NBP@+2UG M>FEP+"`M+75N9WII<"`@("`@("`@("`@("`@($%R8VAI=B!M:70@NV=Z:7"K M(&MO;7!R:6UI97)E;@H@("U:+"`M+6-O;7!R97-S+"`M+75N8V]M<')E7)I9VAT("A# M*2`Q.3@X+"`Y,BP@.3,L(#DT+"`Y-2P@.38L(#DW($9R964@4V]F='=A71EF5R;W,@("`@("`@("!";/9C M:V4@;6ET($YU;&QE;B!I;2!!F5N"B`@+5LP+3==6VQM:%T@("`@("`@("`@("`@ M("`@("`@($QA=69W97)K('5N9"!38VAR96EB9&EC:'1E(&%N9V5B96X*("`M M32P@+2UM=6QT:2UV;VQU;64@("`@("`@("`@("`@;65HFEEG0@:7-T+"!S:6YD($=.52U%G5LY'-S:6F5I9V5N('5N9""K=&%RNR!B965N9&5N"B`@ M("`@("TM=F5RF5I9V5N M('5N9""K=&%RNR!B96YD96X*("`M=BP@+2UV97)B;W-E("`@("`@("`@>G4@ M8F5AF5I9V5N M"B`@+77-T96T@("`@("`@(&)E M:6T@17)Z975G96X@1&%T96ES>7-T96T@;FEC:'0@=V5C:'-E;&X*("`M2RP@ M+2US=&%R=&EN9RUF:6QE/4Y!344@("`@(&UI="!.04U%(&EM($%R8VAI=B!B M96=I;FYE;@H`"D%K=&EO;F5N.@H@("UT+"`M+6QIF5U9V5N"B`@+60L M("TM9&EF9BP@+2UC;VUP87)E("`@1&%T96EE;B!I;2!!G5M($%R8VAI=B!L]G-C M:&5N"B`@+6LL("TM:V5E<"UO;&0M9FEL97,@("`@("`@=F]R:&%N9&5N92!$ M871E:65N(&YI8VAT(/QB97)S8VAR96EB96X*("`M52P@+2UU;FQI;FLM9FER MF5I8VAN:7-S92!V;W(@9&5M($5N='!A8VME;B!L]G-C:&5N"B`@ M+5,L("TM1N M9&5R="!H870*("`@("`@+2UA9G1EG5G(&=E7`@)R5C)RX*`"5D(&)E M:2`E9`H`1&EEG4@)3`N-&\@Y&YD97)N+@`EF5I="!N M:6-H="#D;F1E6UB;VQI7-T96T[(&YI8VAT(&=EF7?*2D@4&EP92!Z=7(@4W1A;F1AG5R(%-T86YD87)D+45I;F=A8F4N`$5N:V5L("A@*&=R86YD8VAI M;&0I)RD@4&EP92!Z=7(@4W1A;F1AF5I8VAN:7,@ M)7,N`$UE:')D975T:6=EG5N9R!E:6YE M71E71EF5U9V4@5F5R>F5I8VAN:7,Z`'5N=&5R MF5I8VAN:7,@ M)R5S)R!IG5S M86UM96YHY&YG96YD92!$871E:65N("A@8V]N=&EG=6]UF5L;F4@1&%T96EE;B!A=7,@9&EEF5U9V5N+@H`1W)U<'!E;FME;FYU;F<@:7-T('5N=&5RF5I M8VAN:7,@;FEC:'0@=F]R:&%N9&5N+@!+96EN92!R96=U;.1R92!$871E:2X` M3FEC:'0@875F(&`EG0@9'5R8V@@)RTM8F%C:W5P)RX`5F5R86QT971E($]P=&EO M;BP@97)S971Z="!D=7)C:"`G+2UB;&]C:RUN=6UB97(G+@!697)A;'1E=&4@ M3W!T:6]N+"!EG0@9'5R8V@@)RTMG0@8F5I("G0@7V1I97-E71E("5L9"!B96EM($QE71E71E("5L9"!B96EM($QE M71EF%H;"!G97-C:')I96)E;F5R($)Y=&5S.B``8"5S("TM:&5L<"<@>F5I9W0@ M=V5I=&5R92!);F9O&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/po/de.gmo:' 'MD5 check failed' fcf71cf5f7ea93ea6233d2246a14720d tar-1.12/po/de.gmo SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/po/de.gmo'`" test 31919 -eq "$shar_count" || $echo 'tar-1.12/po/de.gmo:' 'original size' '31919,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/po/fr.gmo ============== if test -f 'tar-1.12/po/fr.gmo' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/po/fr.gmo' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/po/fr.gmo' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/po/fr.gmo MWA($E0````#I````'````&0'```W`0``K`X```````"($P``*P```(D3```0 M`@``M1,``$L```#&%0``/P```!(6```M`0``4A8``(@"``"`%P``5P$```D: M```?`P``81L``)````"!'@````(``!(?``#D`@``$R$``"T"``#X(P``X0(` M`"8F```K````""D``#````7BX` M`!D```!]+@``)````)3(``!T```"6,@``$@```+0R```:````QS(``!4` M``#B,@``#@```/@R```6````!S,``!L````>,P``/````#HS```+````=S,` M``P```"#,P``#@```)`S```6````GS,``!@```"V,P``$P```,\S```0```` MXS,``!P```#T,P``#@```!$T```B````(#0``"0```!#-```$P```&@T```0 M````?#0``!8```"--```'0```*0T```.````PC0``!,```#1-```%P```.4T M```A````_30``"@````?-0``*P```$@U```A````=#4``",```"6-0``(@`` M`+HU```2````W34``",```#P-0``$0```!0V```;````)C8``!@```!"-@`` M(@```%LV```?````?C8``#````">-@``-0```,\V``!!````!3<``!\```!' M-P``(P```&ST``!4```"G/0``%0```+T]```8````TST``!D```#L M/0``$@````8^```0````&3X``#$````J/@``*0```%P^```O````ACX``#(` M``"V/@``-````.D^```H````'C\``#$```!'/P``)0```'D_```+````GS\` M`"(```"K/P``)@```,X_```?````]3\``#`````50```*P```$9````Q```` M````%$0``!T````S M1```-````%%$```W````AD0``!0```"^1```%````--$```M````Z$0```<` M```610``%P```!Y%```6````-D4``!\```!-10``'@```&U%```A````C$4` M`!D```"N10``$P```,A%```K````W$4``"$````(1@``,P```"I&```N```` M7D8```T```"-1@``(0```)M&```?````O48``!\```#=1@``(P```/U&```9 M````(4<``!0````[1P``!0```%!'```&````5D<```L```!=1P``$````&E' M```T`0``>D<``#8```"O2```,`,``.9(``!%````%TP``#T```!=3```50(` M`)M,``#B`P``\4X``-\!``#44@``_00``+14``"O````LED``"`#``!B6@`` MK`0``(-=``#L`@``,&(``%L$```=90``-P```'EI``"P`0``L6D``!<```!B M:P``)````'IK```V````GVL``"D```#6:P```0$```!L``!7`0```FT``!@` M``!:;@``#@```'-N``#)````@FX``!X```!,;P``"0```&MO```G````=6\` M`"4```"=;P``+0```,-O```D````\6\``%(````6<```-@```&EP```W```` MH'```#H```#8<```(````!-Q```=````-'$``"X```!2<0``)@```(%Q```C M````J'$``!L```#,<0``(P```.AQ```F````#'(``!(````S<@``(````$9R M```L````9W(``"D```"4<@``1````+YR```L`````W,``"0````P````.W@``!<```!:>```(@```')X```? M````E7@``!P```"U>```(````-)X```G````\W@```\````;>0``*0```"MY M```R````57D``!<```"(>0``$@```*!Y```<````LWD``#8```#0>0``$@`` M``=Z```=````&GH``"X````X>@``+P```&=Z```Z````EWH``$<```#2>@`` M*@```!I[```[````17L``$$```"!>P``%@```,-[```P````VGL``#0````+ M?```,````$!\```K````<7P``"X```"=?```)@```,Q\```[````\WP``$(` M```O?0``7P```')]```F````TGT``"D```#Y?0``,@```"-^```X````5GX` M`"H```"/?@``-0```+I^```7````\'X``!T````(?P``+@```"9_```M```` M57\``!\```"#?P``'0```*-_```-````P7\``"\```#/?P``/P```/]_```N M````/X```"$```!N@```&0```)"```!%````JH```#\```#P@```&````#"! M```>````28$``!\```!H@0``C@```(B!```_````%X(``!$```!7@@``1``` M`&F"```2````KH(``#0```#!@@``:0$``/:"```A````8(0``!\```""A``` M'0```**$```E````P(0``"X```#FA```$````!6%```H````)H4``"0```!/ MA0``'````'2%```P````D84``!@```#"A0``00```-N%```:````'88``"8` M```XA@``*````%^&```A````B(8``"8```"JA@``'@```-&&```M````\(8` M`#0````>AP``*P```%.'```N````?X<``#````"NAP``)````-^'```Z```` M!(@``#H````_B```#@```'J(```S````B8@``#$```"]B```-0```.^(``!' M````)8D``#H```!MB0``2P```*B)```@````](D``!\````5B@``30```#6* M``!/````@XH``!@```#3B@``#@```.R*```F````^XH``#D````BBP``0P`` M`%R+```S````H(L``$H```#4BP``#P```!^,```6````+XP``#,```!&C``` M*````'J,```@````HXP``"$```#$C```,0```.:,``"[````&(T``!P```#4 MC0``(````/&-```>````$HX``"\````QC@``$@```&&.```O````=(X``"8` M``"DC@``*@```,N.```C````]HX``$(````:CP``1@```%V/```3````I(\` M`!@```"XCP``/0```-&/```6````#Y```!T````FD```&P```$20```F```` M8)```"@```"'D```*0```+"0```K````VI```"(````&D0``/P```"F1```L M````:9$``$,```"6D0``,P```-J1```,````#I(``!\````;D@``(0```#N2 M```A````79(``"\```!_D@``'0```*^2```>````S9(```4```#LD@``!@`` M`/*2```-````^9(``!(````'DP```0```$(`````````T0```!T````N```` MO0```+P```!T````8````-H```"2````3````-(```#'`````````"<````U M````-````&$```#/````"@```!@```"_`````````&@```!>````;``````` M``!M``````````````"!````T````%@```"=````'P`````````E````"0`` M``\`````````=@```'X```!7````$0````````"E````*0```(T```!(```` MD````&L```!3````N```````````````B@```)@```"6````D0````4```!\ M````EP```&0````$````8@````````#>````NP```,8```##````1P```,P` M```+````GP```#L`````````M````%H```#%`````````-4```"#````V0`` M`#<```!O````J@```+4```"(````S@``````````````!P```+X````````` M00````````!*````!@```"L```"A`````````$D`````````,@````````!9 M````$``````````4````0````````!Z````L```````````````J````#@```#B````K``````` M``#H`````P```#X````<`````````*X```#6````6P````````#3````&P`` M`-0`````````M@```)0```!/````LP```*0`````````WP````````""```` M70```(0````O````50``````````````%0```),```">````2P```*\```"9 M````)@```!H```!0````:@````````"/`````````(<```!_````$@```",` M``"K````L@````````````````````````"M`````````(4```"<````&0`` M`.,```!$````10````````#7`````````#\```!-``````````````!2```` M`````(P`````````0P```!8````-````?0```!<```"Y`````@````````#! M````8P```&<````Q````<````,`````J````/````-P```!F```````````` M``!U`````````&4````S````S0```)L```"``````````'(`````````>P`` M````````!U!R97!AFEP("`@("`@("`@("`@("`@9FEL=&5R M('1H92!A"`U,3(@8GET97,@<&5R(')E8V]R9`H@("`@("`M+7)E M8V]R9"US:7IE/5-)6D4@("`@("`@("!325I%(&)Y=&5S('!EF5R;V5D(&)L;V-K"<@87)C:&EV97,N("!)9B!03U-)6$Q97T-/4E)%0U0*:7,@"6UB;VQI8RD@;6]D92!#2$%.1T53(&9O'1R86-T(&%L;"!P0IF;W(@=&AE(&5Q=6EV86QE;G0@&ET"B`@("`@("TM=F5R2!N M86UE&-L=61E(&=L;V)B:6YG('!A M='1E7-T96T@("`@ M("`@('-T87D@:6X@;&]C86P@9FEL92!S>7-T96T@=VAE;B!C"P@+2UE>'1R86-T+"`M+6=E="`@("!E M>'1R86-T(&9I;&5S(&9R;VT@86X@87)C:&EV90H@("UC+"`M+6-R96%T92`@ M("`@("`@("`@(&-R96%T92!A(&YE=R!A2!I;B!A2`@("`@("`@ M("`@("`@(&%T=&5M<'0@=&\@=F5R:69Y('1H92!A'1R86-T:6YG M(&]V97(@:70*("`@("`@+2UR96-U2!H M:65R87)C:&EE'1R86-T:6YG(&1I0H@("U3 M+"`M+7-P87)S92`@("`@("`@("`@("`@(&AA;F1L92!S<&%R'1R M86-T(&9I;&5S('1O('-T86YD87)D(&]U='!U=`H@("U'+"`M+6EN8W)E;65N M=&%L("`@("`@("`@(&AA;F1L92!O;&0@1TY5+69O2!B92!S970@=VET:"`M+6)A M8VMU<"!O&ES="P@7,@;6%K92!S M:6UP;&4@8F%C:W5P`H`("`M3BP@+2UN97=E0H@("`@("`M+6%F=&5R+61A=&4]1$%412`@("`@ M("`@6UL:6YK('1O(&`E6%R:R$I`"5S.B!.;W0@9F]U;F0@ M:6X@87)C:&EV90`E2`E2`E'1R86-T(&`E2!F;W(@9&EF9B!B=69F97(@;V8@)60@8GET97,` M0V]U;&0@;F]T(&)A8VMS<&%C92!A2!B92!U M;G)E861A8FQE('=I=&AO=70@+6D`0V]U;&0@;F]T(&=E="!C=7)R96YT(&1I M0!#;W5L9"!N;W0@9V5T(&-U2!R96%D M("5D(&]F("5L9"!B>71E2!R969U2!F M:6QE0IF;W(@=&AE(&5Q=6EV86QE;G0@&ET"@!);G9A;&ED(&1A=&4@9F]R M;6%T(&`E0!.;R!N97<@=F]L=6UE M.R!E>&ET:6YG+@H`3F\@0!.;W0@82!R M96=U;&%R(&9I;&4`3F]T(&QI;FME9"!T;R`E2`M+6%BF4@/2`E9"!B M;&]C:W,`4F5C;W)D('-I>F4@;75S="!B92!A(&UU;'1I<&QE(&]F("5D+@!2 M96UO=FEN9R!D6UL:6YK(&1I9F9E6EN9R!C;VYD:71I M;VYS+B`@5&AE71E'!E8W1E9"!%3T8@:6X@87)C:&EV90!5;F5X<&5C=&5D($5/1B!I;B!M M86YG;&5D(&YA;65S`%5N97AP96-T960@14]&(&]N(&%R8VAI=F4@9FEL90!5 M;FMN;W=N(&1E;6%N9VQI;F<@8V]M;6%N9"`E7!E("'1R86-T960@87,@;F]R;6%L(&9I M;&4`56YK;F]W;B!P871T97)N(&`E7-T96T@97)R;W(` M5D522499($9!24Q54D4Z("5D(&EN=F%L:60@:&5A9&5R*',I(&1E=&5C=&5D M`%9E2``5FES:6)L92!L;VYG(&YA;64@97)R;W(`5FES:6)L92!L;VYG M;F%M92!E71E7!E M.B!T97AT+W!L86EN.R!C:&%RAR92!L;W)S(&1E"B`@("`@("`@("`@("`@("`@("`@ M("`@("`@("`@9&4@;"=A9F9I8VAA9V4@9&5S(&YO;7,@;W4@9&4@;"=E>'1R M86-T:6]N"B`@("`@("`@("`@("`@("`@("`@("`@("`@("`@9&4@9FEC:&EE M0H@("`@("`@ M("`@("`@("`@("`@("`@("`@("`@(.ECFEP("`@("`@('!O'1R M86ER92!U;F4@87)C:&EV92#@"B`@("`@("`@("`@("`@("`@("`@("`@("`@ M("`@;75L=&EP;&5S('9O;'5M97,*("`M3"P@+2UT87!E+6QE;F=T:#U.("`@ M("`@("!U=&EL:7-E'1E;G-I;VYS(&1E($=.52!S;VYT(&EN:&EBZ65S M(&%V96,@;"=O<'1I;VX@8"TM<&]S:7@G+@I,92!S=7!P;W)T('!O=7(@4$]3 M25@@97-T('!A6%N=`H@("`@("`@ M("`@("`@("`@("`@("`@("`@("`@(&QE(&WJ;64@<')O<')IZ71A:7)E"B`@ M("`@("TM;G5M97)I8RUO=VYE'1R86ER92!T;W5T92!L)VEN9F]R;6%T:6]N(&1E('!R M;W1E8W1I;VX*("`@("`@+2UP'1R86ER92!C975X"B`@("`@("`@("`@("`@("`@ M("`@("`@("`@("`@<75I(&-O;F-OAT2!2R5`@("`@("`@(&]PZ7)EES('!A&-L=61E+69R;VT]1DE#2$E% M4B!E>&-L=7)E(&QE7-T96T@("`@("!D96UE=7)E.EC=71I;VXZ"B`@+70L("TM;&ES="`@("`@("`@("`@("`@("`@869F:6-H M97(@;&4@8V]N=&5N=2!D)W5N92!A"!F:6-H:65R'1R86-T:6]N"B`@+54L("TM M=6YL:6YK+69I"!F;W)M871S($=.52!D)V%R8VAI M=F4*("`@("`@("`@("`@("`@("`@("`@("`@("`@("!I;F-RZ6UE;G1I96P* M("`M9RP@+2UL:7-T960M:6YC"!F;W)M871S($=.52!D)V%R8VAI=F4*("`@("`@("`@("`@("`@("`@ M("`@("`@("`@("!I;F-RZ6UE;G1I96P*("`@("`@+2UI9VYO&4@9"=A"!O=2`*4TE-4$Q%7T)!0TM54%]3 M549&25@@96X@=71I;&ES92!U;B!A=71R92X@3&4@8V]N='+T;&4@9&4@=F5R M#U3549&25A%("`@("`@("`@87)C:&EV97(@ M879A;G0@;&4@6%N=`H@("`@("`@("`@("`@("`@ M("`@("`@("`@("`@('5N92!D871E('!L=7,@EEEM;VER92D`(&QI96X@=F5R7!E(&EN8V]N;G4@9&4@9FEC:&EE.EC=71E6UB;VQI<75E('9E7!E(&1E(&9I8VAI97(@:6YC;VYN=3L@9FEC M:&EE'1R86ER M92!@)7,G("TM(&QE(&9I8VAI97(@97-T(&QA('-U:71E(&0G=6X@875T6UB;VQI<75E M(&1E("5S('9ENER;W,`3&4@ M9FEC:&EE7!E(*MT87*[+BXN M`%-I('5N92!O<'1I;VX@9&4@9F]R;64@;&]N9W5E(')E<75I97)T('5N('!A MEM;VER90H@("`@("`M+79EAT92!R M96UP;&%CZ64@<&%R("TM86)S;VQU=&4M;F%M97,`3"=O<'1I;VX@+2UB86-K M=7`@AT92!R96UP;&%CZ64@<&%R("TM8FQO8VLM;G5M8F5R`$]P=&EO;B!D MZ7-UZ'1E(')E;7!L86/I92!P87(@+2UB;&]C:VEN9RUF86-T;W(`3W!T:6]N M(&3IAT92P@;6%I;G1E;F%N="!I;7!L:6-I=&4@<&%R("TM8FQO8VMI;FAR96YT M('1O=71E"!L)V5N='+I92!S=&%N9&%R9"X`3&5S(&]P=&EO M;B`@8"U!D@ M<&%R(&QI96X@.EC=71I;VXN`$YO;6)R92!T;W1A;"!D)V]C=&5T7!E(&1E(&9I8VAI97(@:6YC M;VYN=2`G)6,G('!O=7(@)7,L(&5X=')A:70@8V]M;64@=6X@9FEC:&EEB!S MZ6QE8W1I;VYN97(@=6YE(&1E"<@`&)L;V,@ M)3$P;&0Z(`!B;&]C("4Q,&QD.B`J*B!";&]C(&1E($Y53',@*BH*`&)L;V,@ M)3$P;&0Z("HJ($9I;B!D92!F:6-H:65R("HJ"@!E>&5C+W1C<#H@&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/po/fr.gmo:' 'MD5 check failed' 3758da158d8fe4f61fe15f1935eb7b0e tar-1.12/po/fr.gmo SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/po/fr.gmo'`" test 37658 -eq "$shar_count" || $echo 'tar-1.12/po/fr.gmo:' 'original size' '37658,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/po/it.gmo ============== if test -f 'tar-1.12/po/it.gmo' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/po/it.gmo' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/po/it.gmo' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/po/it.gmo MWA($E0````"A````'````"0%``#?````+`H```````"H#0``*P```*D-```M M`0``U0T``(@"```##P````(``(P1```M`@``C1,``.$"``"[%0``%P```)T8 M```,````M1@``!@```#"&```(@```-L8```=````_A@``"<````<&0``'P`` M`$09```I````9!D``"$```".&0``(@```+`9```R````TQD``!X````&&@`` M&0```"4:```D````/QH``!H```!D&@``%P```'\:```7````EQH``!L```"O M&@``(P```,L:```0````[QH``!<`````&P``)````!@;```8````/1L``"D` M``!6&P``(P```(`;```<````I!L``!H```#!&P``%P```-P;```2````]!L` M`#(````''```)````#H<```0````7QP``!$```!P'```(@```((<```U```` MI1P``!(```#;'```'````.X<```=````"QT``!(````I'0``&@```#P=```5 M````5QT```X```!M'0``%@```'P=```;````DQT``#P```"O'0``"P```.P= M```.````^!T``!8````''@``&````!X>```3````-QX``!````!+'@``#@`` M`%P>```B````:QX``"0```".'@``$P```+,>```0````QQX``!8```#8'@`` M'0```.\>```.````#1\``!,````<'P``%P```#`?```H````2!\``"L```!Q M'P``(P```)T?```B````P1\``!(```#D'P``(P```/````0R@``!D```!B*```%0```'PH```F M````DB@``!D```"Y*```'P```-,H```>````\R@``!T````2*0``-````#`I M```W````92D``!0```"=*0``+0```+(I```'````X"D``!X```#H*0``(0`` M``.0``$P```/4Y```?````"3H` M`"`````I.@``+0```$HZ```J````>#H``"H```"C.@``/P```,XZ```^```` M#CL``#\```!-.P``/P```(T[```E````S3L``"````#S.P``.P```!0\```B M````4#P``"X```!S/```(````*(\```I````PSP``"H```#M/```$````!@] M```>````*3T``#L```!(/0``'0```(0]```W````HCT``"8```#:/0``(P`` M``$^```9````)3X``!L````_/@``&````%L^``!#````=#X``#````"X/@`` M$0```.D^```2````^SX``"4````./P``/````#0_```?````<3\``$,```"1 M/P``)@```-4_```I````_#\``"0````F0```'@```$M````5````:D```!X` M``"`0```)P```)]```!*````QT```"@````200``$P```#M!```>````3T$` M`"````!N00``&P```(]!```R````JT$``!0```#>00``)P```/-!```O```` M&T(``"0```!+0@``%@```'!"```<````AT(``#(```"D0@``*0```-="```O M`````4,``#8````Q0P``*@```&A#```N````DT,``"D```#"0P``+````.Q# M```8````&40``"\````R1```,@```&)$```Q````E40``"L```#'1```(P`` M`/-$```H````%T4``%,```!`10``3P```)1%``!6````Y$4``#4````[1@`` M.0```'%&```R````JT8``#8```#>1@``,P```!5'```2````24<``"L```!< M1P``&````(A'```B````H4<``!L```#$1P``)0```.!'```K````!D@``#`` M```R2```)0```&-(``!!````B4@``"T```#+2```(@```/E(```F````'$D` M`"0```!#20``*@```&A)```@````DTD``"P```"T20``&@```.%)```J```` M_$D``!X````G2@``-P```$9*```U````?DH``#4```"T2@``-P```.I*```K M````(DL``$(```!.2P``,````)%+```,````PDL``"0```#/2P``+````/1+ M```D````(4P``#X```!&3```+P```(5,```L````M4P``!<```#B3```'0`` M`/I,```[````&$T``#T```!430``%P```))-```)````JDT``#<```"T30`` M-0```.Q-```2````(DX``!8````U3@``(````$Q.```B````;4X``"@```"0 M3@``(````+E.```6````VDX``"<```#Q3@``+@```!E/```>````2$\``"L` M``!G3P``'@```)-/```E````LD\``$0```#83P``10```!U0```=````8U`` M`#P```"!4```"0```+Y0```F````R%```"H```#O4```*````!I1```?```` M0U$``$T```!C40``)````+%1```S````UE$``"T````*4@``#@```#A2```E M````1U(``"(```!M4@``(@```)!2``!*````LU(``!X```#^4@```0```#0` M``"!`````````",```!)````````````````````B@`````````````````` M`'(```!H````&P```#T```````````````````!T````H````!8````:```` M6@```'X``````````````&L````\`````````&H```"%````,````%P````` M````;0```%``````````.0```%8`````````;@```%(```!*````>P```&\` M```0`````````"``````````'````$,`````````&`````````!;````2P`` M`!$````M````/P```"<```!Y````40```#X````B```````````````A```` M!P```&<````/````10````````!!````@P````````!9``````````````!U M````"P```(P`````````D0````D```"`````D@`````````$````1P```"4` M```R````*````'<```!L````5P```"D```"(````+@```(<````.````4P`` M``````!Q````7P````(```!P`````````"8``````````````)8````````` M70```"0```!C`````````!0````V````1`````````!&`````````%0```"0 M````9@```!X````*``````````````"8````30``````````````EP```)0` M```L`````````!\```"$````*@```%4`````````C@````4````Z````F0`` M``````"&````3P```!T```!Z````H0```$@```";````-0`````````O```` M`````"L```!,````G````#<```""``````````````!A````CP```(D```": M`````````````````````````&`````Q````"`````P```!X````.P```'8` M`````````````&D``````````````',````-````?0`````````#```````` M`(T````S``````````````!.````9````)T`````````E0```#@```!8```` M0````!,```"+````?````!(````&````8@```!D`````````DP```)X```!" M````90```%X```!_````%0```)\````7```````````'4')E<&%R92!V;VQU M;64@(R5D(&9O71EF4]4TE: M12`@("`@("`@(%-)6D4@8GET97,@<&5R(')E8V]R9"P@;75L=&EP;&4@;V8@ M-3$R"B`@+6DL("TM:6=N;W)E+7IE2!D0H@("U-+"`M+6UU;'1I+79O;'5M92`@("`@("`@("`@("!C71E&ET"B`@("`@("TM=F5R2!N86UE"P@+2UE>'1R86-T+"`M+6=E="`@("!E>'1R86-T(&9I;&5S(&9R;VT@ M86X@87)C:&EV90H@("UC+"`M+6-R96%T92`@("`@("`@("`@(&-R96%T92!A M(&YE=R!A2!I;B!A2`@("`@("`@("`@("`@(&%T=&5M<'0@=&\@ M=F5R:69Y('1H92!A'1R86-T:6YG(&]V97(@:70*("`@("`@+2UR M96-U2!H:65R87)C:&EE'1R86-T:6YG(&1I0H@("U3+"`M+7-P87)S92`@("`@("`@ M("`@("`@(&AA;F1L92!S<&%R'1R86-T(&9I;&5S('1O('-T86YD M87)D(&]U='!U=`H@("U'+"`M+6EN8W)E;65N=&%L("`@("`@("`@(&AA;F1L M92!O;&0@1TY5+69O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8FQE`')M=&0Z($-A;FYO="!A;&QO8V%T92!B=69F97(@'0O M<&QA:6X[(&-H87)S970]25-/+3@X-3DM,0I#;VYT96YT+51R86YS9F5R+45N M8V]D:6YG.B`X+6)I=`H`!U!R97!A71E71EF$@:6X@8FQO M8V-H:2!M96YTFEO;F4*("`M4BP@+2UB;&]C:RUN=6UB97(@ M("`@;6]S=')A(&EL(&YU;65R;R!D:2!B;&]C8V\@;F5L;"=AFEO;F4L M(&YO;B!S;W9R87-C2!P0`EFEO(&1E M;"!N87-TFEO;F%L:0!.;VX@ M<&]SGIA M>FEO;F4`3F]N('!OFEO;FD@9&D@9F]R;6%T M;P!#;VYF;&ET=&\@=')A(&QE(&]P>FEO;FD@9&D@8V]M<')EFEO;F%R92!I;"!F:6QE(&%R M8VAI=FEO`$YO;B!P;W-S;R!R:6%V=F]L9V5R92!I;"!F:6QE(&%R8VAI=FEO M('!EFEO;F4@9&D@)7,`17-TFEO;FD`4&]SFEO;F4@8"U-)P!.97-S=6X@ M;G5O=F\@=F]L=6UE.R!T97)M:6YO+@H`3F]M92!D:2!O<'II;VYE(&]BFEO;F4@;V)S;VQE=&\@FEO;F4@;V)S;VQE=&\@FEO;F4@;V)S;VQE=&\@71E71E71E("5L9"!L96=G96YD;R`E9"!B>71E71EFEO;F4O M:2!N;VX@=F%L:61A+V4`5F5R:69I8V$@`$%45$5.6DE/3D4Z($PG87)C:&EV M:6\@;F]N(&4G(&-O;7!L971O`$%45$5.6DE/3D4Z($YO;B!P;W-S;R!C:&EU M9&5R92`EFEO;F4@=F]L M=6UE(&UA;F-A;G1E`%-CFEO;F4@8"U!8V1TF%Z E:6]N90H`&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/po/it.gmo:' 'MD5 check failed' a93c9dc22f5a502e993e55d04e6c52fb tar-1.12/po/it.gmo SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/po/it.gmo'`" test 21277 -eq "$shar_count" || $echo 'tar-1.12/po/it.gmo:' 'original size' '21277,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/po/ko.gmo ============== if test -f 'tar-1.12/po/ko.gmo' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/po/ko.gmo' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/po/ko.gmo' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/po/ko.gmo MWA($E0````"?````'````!0%``#?````#`H```````"(#0````(``(D-```M M`@``B@\``!<```"X$0``#````-`1```8````W1$``"(```#V$0``'0```!D2 M```G````-Q(``!\```!?$@``*0```'\2```A````J1(``"(```#+$@``,@`` M`.X2```>````(1,``!D```!`$P``)````%H3```:````?Q,``!<```":$P`` M%P```+(3```;````RA,``",```#F$P``$`````H4```7````&Q0``"0````S M%```&````%@4```I````<10``",```";%```'````+\4```7````W!0``!@` M``#T%```%0````T5```6````(Q4``!H````Z%0``&P```%45```:````<14` M`!(```",%0``,@```)\5```H````TA4``"0```#[%0``$````"`6```1```` M,18``"(```!#%@``-0```&86```2````G!8``!P```"O%@``'0```,P6```2 M````ZA8``!H```#]%@``%0```!@7```.````+A<``!8````]%P``&P```%07 M```\````&P``$P```'P;```3````D!L``!8```"D&P``%P```+L;```L M````TQL``!<`````'```&````!@<```/````,1P``"D```!!'```&````&L< M```=````A!P``!P```"B'```'0```+\<```=````W1P``!H```#['```*P`` M`!8=```8````0AT``#$```!;'0``+P```(T=```R````O1T``#0```#P'0`` M*````"4>```Q````3AX``"4```"`'@``"P```*8>```B````LAX``"8```#5 M'@``'P```/P>```P````'!\``"L```!-'P``,0```'D?```5````JQ\``!(` M``#!'P``-````-0?```0````"2````L````:(```)0```"8@```M````3"`` M`!````!Z(```'````(L@```7````J"```!(```#`(```)0```-,@```>```` M^2```!D````8(0``%0```#(A```F````2"$``!D```!O(0``'@```(DA```4 M````J"$``"T```"](0``!P```.LA```7````\R$``!8````+(@``'@```"(B M```A````02(``!D```!C(@``$P```'TB```A````D2(``#,```"S(@``+@`` M`.S$``"X```"P,0``)P```-\Q```I````!S(``!,````Q,@``'@```$4R M```9````9#(``!X```!^,@``(@```)TR```;````P#(``!(```#<,@``,P`` M`.\R```S````(S,``!X```!7,P``(@```'8S```F````F3,``"X```#`,P`` M%0```.\S```A````!30``"$````G-```%@```$DT```3````8#0``!@```!T M-```&@```(TT```G````J#0``!P```#0-```'0```.TT```-````"S4``"L` M```9-0``%P```$4U```=````734``!T```![-0``'P```)DU```9````N34` M`!H```#3-0``*P```.XU```6````&C8``#$````Q-@``+P```&,V```O```` MDS8``#0```##-@``*````/@V```M````(3<``"4```!/-P``"0```'4W```F M````?S<``"X```"F-P``)P```-4W```P````_3<``"P````N.```,0```%LX M```.````C3@``!(```"<.```,P```*\X```0````XS@```T```#T.```*``` M``(Y```S````*SD``!,```!?.0``&````',Y```3````C#D``!H```"@.0`` M)P```+LY```=````XSD``!T````!.@``$@```!\Z```L````,CH``!H```!? M.@``'P```'HZ```6````FCH``"4```"Q.@``!0```-````8``` M`)H````2````%@```%D```![````(`````````!I````/P```)L```!H```` M@@```#(```!;`````````&L```!0`````````#P```!5`````````&P````` M````2@```'D```!M````,0`````````<`````````!@``````````````!0` M````````6@```$L````-````+P```$(````I````=P```%$```!!````)``` M````````````'0```$<````B````"P```$4```">`````````(`````````` M6```````````````````)P```!(```````` M`#<`````````9@`````````M````3````)8````Z````?P`````````````` M``````````"&````E`````````````````````````!>````'P````0````( M````=@```#X````S````(P``````````````<`````````!Q````"0```'H` M``!R````9P````````")````-0`````````A````3@```&,```"7```````` M`(T````[````5@```$,````/````B``````````.`````P```&$````5```` M`````(P```"8`````````&0```!=````?````!$```"9````$P`````````` M"DEN9F]R;6%T:79E(&]U='!U=#H*("`@("`@+2UH96QP("`@("`@("`@("`@ M<')I;G0@=&AI2!A8W1I;VX*("`@("`@+2UC;VYF:7)M871I M;VX@("`@2!A<'!E;F0@9FEL97,@;F5W97(@=&AA;B!C;W!Y(&EN(&%R M8VAI=F4*("`M02P@+2UC871E;F%T92`@("`@("`@("!A<'!E;F0@=&%R(&9I M;&5S('1O(&%N(&%R8VAI=F4*("`@("`@+2UC;VYC871E;F%T92`@("`@("!S M86UE(&%S("U!"B`@("`@("TM9&5L971E("`@("`@("`@("`@9&5L971E(&9R M;VT@=&AE(&%R8VAI=F4@*&YO="!O;B!M86<@=&%P97,A*0H`"E5S86=E.B`E M0`E6UB;VQI8R!L:6YK71E0!#2`E2`EF4`36ES&ET:6YG+@H` M3V)S;VQE=&4@;W!T:6]N(&YA;64@2`M+6)L;V-K M+6YU;6)E<@!/8G-O;&5T92!O<'1I;VX@;F%M92!R97!L86-E9"!B>2`M+6)L M;V-K:6YG+69A8W1O<@!/8G-O;&5T92!O<'1I;VX@;F%M92!R97!L86-E9"!B M>2`M+7)E860M9G5L;"UR96-O2`M+6)L;V-K:6YG+69A8W1O<@!/;&0@;W!T:6]N(&`E8R<@71E M2!W2!W71E2`J=&AI M71E6UL:6YK960@)7,@=&\@)7,`5&AI71E'!E8W1E9"!%3T8@:6X@87)C:&EV90!5;F5X<&5C=&5D M($5/1B!O;B!A7-T96T@97)R;W(`5D52 M2499($9!24Q54D4Z("5D(&EN=F%L:60@:&5A9&5R*',I(&1E=&5C=&5D`%9E M2``5FES:6)L92!L;VYG(&YA;64@97)R;W(`5FES:6)L92!L;VYG;F%M M92!E2!N;W0@2!M;W)E('1H M86X@;VYE(&`M06-D=')U>"<@;W!T:6]N`%EO=2!M=7-T('-P96-I9GD@;VYE M(&]F('1H92!@+4%C9'1R=7@G(&]P=&EO;G,`8FQO8VL@)3$P;&0Z(`!B;&]C M:R`E,3!L9#H@*BH@0FQO8VL@;V8@3E5,&5C+W1C<#H@4V5R=FEC92!N;W0@879A:6QA M8FQE`')M=&0Z($-A;FYO="!A;&QO8V%T92!B=69F97(@7!E M.B!T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/("4Q,&QD.B`J*B#&Q,#/P,<@LZ$@*BH*`&5X96,O=&-P.B"^ MM2"\]B"^^+3"(+RMNO&]N@!R;71D.B"Y]L;;(+#XL*/`NR#'TK3GQ](@O/8@ MOOB]P+3/M-D*`')M=&0Z(+ZUN/"^^+3"(+CMM\D@)6,*`')M=&0Z(,#?N/BU DR"!E;V8*`,>EP=C`U+?"`,>EP=C#XK?"`'1A&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/po/ko.gmo:' 'MD5 check failed' 736141d62462e993ad6be22cbe3b8ee5 tar-1.12/po/ko.gmo SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/po/ko.gmo'`" test 15561 -eq "$shar_count" || $echo 'tar-1.12/po/ko.gmo:' 'original size' '15561,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/po/nl.gmo ============== if test -f 'tar-1.12/po/nl.gmo' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/po/nl.gmo' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/po/nl.gmo' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/po/nl.gmo MWA($E0````"Y````'````.0%``#[````K`L```````"8#P``*P```)D/```M M`0``Q0\``(@"``#S$`````(``'P3```M`@``?14``.$"``"K%P``*P```(T: M```7````N1H``"L```#1&@``#@```/T:```,````#!L``!@````9&P``"0`` M`#(;```B````/!L``!T```!?&P``)P```'T;```?````I1L``"D```#%&P`` M(0```.\;```B````$1P``#(````T'```'@```&<<```9````AAP``"0```"@ M'```&@```,4<```7````X!P``!<```#X'```&P```!`=```C````+!T``!`` M``!0'0``%P```&$=```D````>1T``!@```">'0``*0```+<=```C````X1T` M`!P````%'@``%P```"(>```8````.AX``!4```!3'@``%@```&D>```:```` M@!X``!L```";'@``&@```+<>```7````TAX``!(```#J'@``,@```/T>```H M````,!\``"0```!9'P``(@```'X?```0````H1\``!$```"R'P``(@```,0? M```U````YQ\``!(````=(```'````#`@```=````32```!(```!K(```&@`` M`'X@```5````F2````X```"O(```%@```+X@```;````U2```#P```#Q(``` M"P```"XA```,````.B$```X```!'(0``%@```%8A```8````;2$``!,```"& M(0``$````)HA```.````JR$``"(```"Z(0``)````-TA```3`````B(``!`` M```6(@``%@```""8``#(```"1)@``#P```,0F```I````U"8``!@```#^ M)@``'0```!````:"X``"$```"'+@``&0```*DN```3````PRX` M`"L```#7+@``(0````,O```S````)2\``"X```!9+P``#0```(@O```A```` MEB\``!\```"X+P``'P```-@O```C````^"\``!D````<,```%````#8P```% M````2S````8```!1,```$````%@P```O`0``:3```#$```"9,0``*P$``,LQ M``#G`@``]S(```P"``#?-0``4@(``.PW``"^`P``/SH``"P```#^/0``&``` M`"L^```O````1#X```X```!T/@``%````(,^```<````F#X```D```"U/@`` M'P```+\^```?````WSX``"\```#_/@``)P```"\_```V````5S\``#$```". M/P``*@```,`_```T````ZS\``!\````@0```'0```$!````S````7D```"`` M``"20```+P```+-````<````XT```",`````00``*0```"1!```3````3D$` M`!8```!B00``*0```'E!```<````HT$``"X```#`00``+````.]!```>```` M'$(``"@````[0@``*0```&1"```F````CD(``"<```"U0@``*P```-U"```L M````"4,``!H````V0P``'````%%#```0````;D,``#D```!_0P``,@```+E# M```B````[$,``#0````/1```'````$1$```=````840``!P```!_1```2@`` M`)Q$```=````YT0``!\````%10``)0```"5%```8````2T4``"(```!D10`` M'@```(=%```5````ID4``!L```"\10``(0```-A%``!!````^D4``!$````\ M1@``$@```$Y&```2````848``!H```!T1@``'````(]&```:````K$8``!8` M``#'1@``$0```-Y&```E````\$8``"H````61P``'0```$%'```7````7T<` M`!P```!W1P``*````)1'```2````O4<``!H```#01P``-P```.M'``!#```` M(T@``#8```!G2```*````)Y(```T````QT@``!H```#\2```+````!=)```6 M````1$D``!H```!;20``'0```'9)```E````E$D``"$```"Z20``,@```-Q) M```Y````#TH``$0```!)2@``)````(Y*```H````LTH``"<```#<2@``-0`` M``1+```T````.DL``!,```!O2P``(P```(-+```8````ITL``!4```#`2P`` M%0```-9+```5````[$L``!L````"3```-@```!Y,```U````54P``!D```"+ M3```'0```*5,```[````PTP```\```#_3```+0````]-```;````/4T``"$` M``!930``(````'M-```D````G$T``",```#!30``'@```.5-```<````!$X` M`#`````A3@``'@```%).```T````<4X``#(```"F3@``-0```-E.```W```` M#T\``"L```!'3P``-0```'-/```F````J4\```T```#03P``)P```-Y/```T M````!E```"X````[4```,P```&I0```P````GE```#P```#/4```&P````Q1 M```5````*%$``#0````^40``-````'-1```5````J%$```D```"^40``+``` M`,A1```V````]5$``!,````L4@``)P```$!2```?````:%(``#````"(4@`` M*````+E2``"A````XE(``!T```"$4P``%P```*)3```@````NE,``"(```#; M4P``&0```/Y3```A````&%0``"$````Z5```(0```%Q4``!$````?E0``$,` M``##5```%0````=5```S````'54```H```!150``&0```%Q5```9````=E4` M`"8```"050``(````+=5```F````V%4``!H```#_50``&````!I6```R```` M,U8``"D```!F5@``+P```)!6```I````P%8```P```#J5@``(@```/=6```F M````&E<``"0```!!5P``)@```&97```9````C5<``"(```"G5P``#P```,I7 M```0````VE<```\```#K5P```0```($`````````?````#8```!E```````` M````````````A@`````````I````20```&(`````````5@````````"R```` MK````#T```!1````"@```(X```!.`````````#\`````````.``````````` M````C````)X```!2`````P```"4````:````(````&\````R````<@`````` M``!%`````````)`````G````/````&P````9````:P```$$````4````:@`` M`#<````6````I@```"\```";````?@```'\```!D`````````&`````````` M`````*X````K````2````#0````;`````````$<```````````````````!Q M````BP```'T```"8````H@````````!"````B0```'D```"/````3P```(`` M````````0P```%`````L````60````````"M``````````````!I```````` M`)T``````````````$````"?`````````"@``````````````*`````1```` ME0```*<````)````;@````````"J`````````#``````````:````$H```"Q M````%0```!<```"T````G````(4`````````#@```)<````(`````````#$` M``!4````JP```"T```!T`````````%,```!P````MP```&T````8````H0`` M`````````````````#X````/````C0```),```"S````F0```!P```"H```` M)````+4```!A````!@````````":````D@```#4```!F````,P```#D````` M`````````%L``````````````$T``````````````)0````0````@P```(0` M``!>````M@```$0``````````````!X```"D````#````&,```![```````` M`'4```"1``````````````""````.@```!,```"I````(@````L````````` M=@```%T`````````E@```$8`````````B````%P```"P````HP```'H````[ M````I0```+@``````````````"X```!:````(0````T```!W````AP```$L` M``!7`````````!\```!?````(P```!T````````````````````"````$@`` M``4```"O````B@```%4````F````6`````````!X````!P```+D```!G```` M```````````$````"`U,3(@8GET97,@<&5R(')E8V]R9`H@("`@("`M+7)E8V]R9"US:7IE/5-) M6D4@("`@("`@("!325I%(&)Y=&5S('!EF5R;V5D(&)L;V-K2!L:7-T(&9I;&5S('!R M;V-E71E2!T:&4@87)C:&EV92!A9G1E6UL:6YK('1O(&`E6%R:R$I`"5S.B!.;W0@9F]U;F0@:6X@87)C:&EV M90`E&5C=71E('!E2!W6UB;VQI8R!L:6YK2!M M=6QT:2UV;VQU;64@87)C:&EV97,`0V%N;F]T('9E2!S=&1I;B]S=&1O M=70@87)C:&EV90!#86YN;W0@=W)I=&4@=&\@)7,`0V%N;F]T('=R:71E('1O M(&-O;7!R97-S:6]N('!R;V=R86T`0VAI;&0@8V%N;F]T(&9O2!F;W(@8FQO8VMI;F<@9F%C=&]R("5D`$-O=6QD(&YO="!A;&QO8V%T M92!M96UO3H@)7,`0V]U;&0@;F]T M(')E+7!O2!A3H`1&5L M971I;F<@;F]N+6AE861E&ET:6YG+@H`3V)S;VQE=&4@ M;W!T:6]N(&YA;64@2`M+6)L;V-K+6YU;6)E<@!/ M8G-O;&5T92!O<'1I;VX@;F%M92!R97!L86-E9"!B>2`M+6)L;V-K:6YG+69A M8W1O<@!/8G-O;&5T92!O<'1I;VX@;F%M92!R97!L86-E9"!B>2`M+7)E860M M9G5L;"UR96-O2`M+6)L M;V-K:6YG+69A8W1O<@!/;&0@;W!T:6]N(&`E8R<@71E2!W2!W71E2`J=&AI6UL:6YK960@)7,@=&\@)7,`5&AI3L@;F]T(&5V96X@9F]R($U%4D-(04Y404))3$E4 M62!O2!E'!E8W1E M9"!%3T8@;VX@87)C:&EV92!F:6QE`%5N:VYO=VX@9&5M86YG;&EN9R!C;VUM M86YD("5S`%5N:VYO=VX@9FEL92!T>7!E("71E2!N;W0@2!M;W)E('1H86X@;VYE(&`M M06-D=')U>"<@;W!T:6]N`%EO=2!M=7-T('-P96-I9GD@;VYE(&]F('1H92!@ M+4%C9'1R=7@G(&]P=&EO;G,`8FQO8VL@)3$P;&0Z(`!B;&]C:R`E,3!L9#H@ M*BH@0FQO8VL@;V8@3E5,&5C+W1C<#H@4V5R=FEC92!N;W0@879A:6QA8FQE`')M=&0Z M($-A;FYO="!A;&QO8V%T92!B=69F97(@7!E.B!T97AT+W!L86EN.R!C M:&%R71EF4]4TE:12`@("`@("`@(%-)6D4@8GET M97,@<&5R(')E8V]R9"P@=F5E;'9O=60@=F%N(#4Q,@H@("UI+"`M+6EG;F]R M92UZ97)OF5L9G,@86P@:&5E9G0@ M"B`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@(&AE="!E96X@9'5B M8F5L92!P=6YT"B`@("`@("TM2!L:7-T(&9I;&5S M('!R;V-E6YA86T@=&EJ9&5NF5L9F1E(&%L M7-T965M"B`@+7(L("TM87!P96YD("`@("`@("`@("`@=F]E9R!B97-T86YD M96X@=&]E(&%A;B!H970@96EN9&4@=F%N(&5E;B!A'1R86-T:64*("`M4RP@+2US M<&%R2!&96YL87-O;BX*`"`H8V]R92!D=6UP960I`"!V97)W:6IZ:6YG(&YA87(@ M)7,*`"!O;F)E:V5N9"!B97-T86YD2!A86YM86ME;@`EFEN9R!M M86ME;B!N86%R(&`EFEN9V5N(&%L2`EF5N`$MA;B!N:65T('9EFEN9R`EF5N M`$MA;B`EFEN9R!A86YM86ME M;B!V86X@)7,@;F%A'1R87,@9V5V M71E MFEJ M;B!N:65T('5I='=I71E M71E("5L9"P@;&5Z96X@ M)60@8GET97,L(&EN(&)EF5N("5S"@!296-O7!E(&`E8R<@=F]O7!E(&`E8R<@=F]O'1R86AE97)D(&%L71E"<@ M;W!T:65S('-P96-I9FEC97)E;@!B;&]K("4Q,&QD.B``8FQO:R`E,3!L9#H@ M*BH@0FQO:R!V86X@;G5L;&5N("HJ"@!B;&]K("4Q,&QD.B`J*B!%:6YD92!B M97-T86YD("A%3T8I("HJ"@!E>&5C+W1C<#H@8%-E&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/po/nl.gmo:' 'MD5 check failed' a9d2576749a3d5a63b608a269b58f14c tar-1.12/po/nl.gmo SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/po/nl.gmo'`" test 22523 -eq "$shar_count" || $echo 'tar-1.12/po/nl.gmo:' 'original size' '22523,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/po/no.gmo ============== if test -f 'tar-1.12/po/no.gmo' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/po/no.gmo' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/po/no.gmo' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/po/no.gmo MWA($E0````#+````'````'0&```/`0``S`P````````($0``*P````D1```0 M`@``-1$``"T!``!&$P``B`(``'04``!7`0``_18````"``!5&```Y`(``%8: M```M`@``.QT``.$"``!I'P``*P```$LB```W`0``=R(``!<```"O(P``(0`` M`,````T"8``!D` M``#O)@``)`````DG```:````+B<``!<```!))P``%P```&$G```;````>2<` M`",```"5)P``$````+DG```7````RB<``"0```#B)P``&`````,P``+P````@T```R````.#0``#0```!K-```*````*`T M```Q````R30``"4```#[-```"P```"$U```B````+34``"8```!0-0``'P`` M`'ED``#8```"A60``&0```-A9```B```` M\ED``!\````56@``'P```#5:```?````55H``!8```!U6@``%0```(Q:```> M````HEH``"$```#!6@``0P```.-:```C````)UL``"0```!+6P``$````'!; M```8````@5L``!T```":6P``%@```+A;```5````SUL``!4```#E6P``$``` M`/M;```F````#%P``"D````S7```%0```%U<```2```````6````9%X``"L` M``![7@``'````*=>```;````Q%X``!X```#@7@``)````/]>```;````)%\` M`"T```!`7P``-0```&Y?``!"````I%\``"L```#G7P``+P```!-@```F```` M0V```#P```!J8```(0```*=@```1````R6```"(```#;8```'P```/Y@```5 M````'F$``!4````T80``)0```$IA```6````<&$``!<```"'80``,@```)]A M```S````TF$``!L````&8@``'````")B``!:````/V(``#0```":8@``$``` M`,]B```G````X&(``!<````(8P``&P```"!C```:````/&,``!D```!78P`` M'0```'%C```8````CV,``!8```"H8P``*0```+]C```9````Z6,``!P````# M9```+@```"!D```F````3V0``"P```!V9```+P```*-D```Q````TV0``"4` M```%90``,0```"ME```G````764```L```"%90``(@```)%E```H````M&4` M`"````#=90``,@```/YE```J````,68``$8```!<9@``$P```*-F```6```` MMV8``#<```#.9@``-P````9G```.````/F<```D```!-9P``)0```%=G```F M````?6<``"D```"D9P``-````,YG```8`````V@``!@````<:```'0```#5H M```9````4V@``"(```!M:```K0```)!H```F````/FD``!D```!E:0``'0`` M`']I```F````G6D``!H```#$:0``(````-]I```=`````&H``"T````>:@`` M-````$QJ```X````@6H``!(```"Z:@``+P```,UJ```-````_6H``!4````+ M:P``%0```"%K```J````-VL``"$```!B:P``)````(1K```=````J6L``!@` M``#':P``/````.!K```A````'6P``#,````_;```)0```'-L```-````F6P` M`",```"G;```(````,ML```H````[&P``!\````5;0``&0```#5M```:```` M3VT```4```!J;0``!@```'!M```*````=VT```\```"";0```0```+T````` M````>``````````3````"````*L``````````P````````#*````G@```)(` M``";````K@`````````0````C@```$``````````*P````````"9````@``` M``````!-````"0`````````4````@@```'0```"E````&@````````!,```` MH0``````````````A@```(H```!7`````````#D`````````E````$D````L M`````````'8```!U````3@```',```!^````*@```&T```!J````F@```!\` M```"````&````)\````N````00```&L`````````-P`````````\```````` M``````#+````*````"<```"_````6````(D`````````AP```#L````@```` M?````#\`````````R0````````!'````4````+$``````````````"D````` M````/@```%L```!:`````````(,```!R````I@```*H`````````+0```%8` M``"+````L````&P````F`````````*````#%````J0```'````"^````80`` M``````"C````!@```'H`````````G````%P```"-```````````````````` M10```,````"T`````````'D```!>````90```#H````E``````````````!4 M````!P````L`````````N@```&````"H````9````)8`````````9@`````` M``!&````50```$\`````````8P```!T````U````E0```$L`````````;P`` M`$,```"/````#````%D```````````````T```#$`````````'T````/```` MP0```+@````X````D````(@`````````%P```+(```#&````:0`````````1 M````,0```"(```"U````%0```!L````C`````````,@```"7````;@`````` M```<````70```%\```"[````,````#0```"%````1````+8````A````F``` M````````````"@```%$````O`````````),```!*``````````````"1```` MH@```"0`````````LP```'<````$````PP````````!B````-@```'\````6 M````,P````4```"D``````````````"G````P@```#(`````````'@```,<` M````````MP```*T```![````O````$(````9````4@````````"L````/0`` M`&<`````````A````(P````2````G0````````"!`````````+D```!Q```` M``````````"O``````````````!(````4P```&@`````````#@`````'4')E M<&%R92!V;VQU;64@(R5D(&9O2`@('=R:71E(&$@5C<@9F]R M;6%T(&%R8VAI=F4*("`@("`@+2UP;W-I>"`@("`@("`@("`@("`@("`@("`@ M("`@('=R:71E(&$@4$]325@@8V]N9F]R;6%N="!AFEP"B`@+5HL("TM8V]M<')E"`U M,3(@8GET97,@<&5R(')E8V]R9`H@("`@("`M+7)E8V]R9"US:7IE/5-)6D4@ M("`@("`@("!325I%(&)Y=&5S('!EF5R M;V5D(&)L;V-K"<@87)C:&EV97,N("!) M9B!03U-)6$Q97T-/4E)%0U0*:7,@"&ET M"B`@("`@("TM=F5R2!N86UE&-L=61E(&=L;V)B:6YG('!A='1E7-T96T@("`@("`@('-T87D@:6X@;&]C M86P@9FEL92!S>7-T96T@=VAE;B!C"P@+2UE>'1R86-T+"`M+6=E="`@("!E>'1R86-T(&9I;&5S(&9R M;VT@86X@87)C:&EV90H@("UC+"`M+6-R96%T92`@("`@("`@("`@(&-R96%T M92!A(&YE=R!A2!I;B!A2`@("`@("`@("`@("`@(&%T=&5M<'0@ M=&\@=F5R:69Y('1H92!A'1R86-T:6YG(&]V97(@:70*("`@("`@ M+2UR96-U2!H:65R87)C:&EE'1R86-T:6YG(&1I0H@("U3+"`M+7-P87)S92`@("`@ M("`@("`@("`@(&AA;F1L92!S<&%R'1R86-T(&9I;&5S('1O('-T M86YD87)D(&]U='!U=`H@("U'+"`M+6EN8W)E;65N=&%L("`@("`@("`@(&AA M;F1L92!O;&0@1TY5+69O2!B92!S970@=VET:"`M+6)A8VMU<"!O&ES="P@7,@;6%K92!S:6UP;&4@8F%C:W5PF4@*"5L9"`A/2`E;&0@*R`E;&0I`"5S.B!#86YN;W0@8VAA;F=E(&UO9&4@ M=&\@)3`N-&\`)7,Z($-A;FYO="!C:&%N9V4@;W=N97(@=&\@=6ED("5D+"!G M:60@)60`)7,Z($-A;FYO="!C:&]W;B!T;R!U:60@)60@9VED("5D`"5S.B!# M86YN;W0@;&-H;W=N('1O('5I9"`E9"!G:60@)60`)7,Z($-O=6QD(&YO="!C M:&%N9V4@86-C97-S(&%N9"!M;V1I9FEC871I;VX@=&EM97,`)7,Z($-O=6QD M(&YO="!C2!W71E2`E9"!B>71E7-T96T[(&YO M="!D=6UP960`)7,Z(%5N:VYO=VX@9FEL92!T>7!E.R!F:6QE(&EG;F]R960` M)7,Z(%=A&5C=71E('!E2!W6UB;VQI8R!L:6YK2!C;VUP71E0!#;W=A2!R969U2`E2`E2!W87,@97AP M96-T960`17)R;W(@=VAI;&4@8VQO'1R86-T:6YG(&-O;G1I9W5O=7,@9FEL97,@87,@2`E9"!B>71E2!F:6QE2`M+71O=6-H`$]B71E71E'0@9FEL92!H96%D M97(`4VMI<'!I;F<@=&\@;F5X="!H96%D97(`4WEM;&EN:V5D("5S('1O("5S M`%1H:7,@9&]E6EN9R!C M;VYD:71I;VYS+B`@5&AE71E'!E M8W1E9"!%3T8@:6X@87)C:&EV90!5;F5X<&5C=&5D($5/1B!I;B!M86YG;&5D M(&YA;65S`%5N97AP96-T960@14]&(&]N(&%R8VAI=F4@9FEL90!5;FMN;W=N M(&1E;6%N9VQI;F<@8V]M;6%N9"`E7!E("'1R86-T960@87,@;F]R;6%L(&9I;&4`56YK M;F]W;B!S>7-T96T@97)R;W(`5D522499($9!24Q54D4Z("5D(&EN=F%L:60@ M:&5A9&5R*',I(&1E=&5C=&5D`%9E2``5FES:6)L92!L;VYG(&YA;64@ M97)R;W(`5FES:6)L92!L;VYG;F%M92!E71E'0O<&QA:6X[(&-H87)S M970]25-/+3@X-3DM,0I#;VYT96YT+51R86YS9F5R+45N8V]D:6YG.B`X+6)I M=`H`!T=J^'(@:VQA6MK M(')E='5R;CH`"E9A;&<@878@87)K:79F;W)M870Z"B`@+58L("TM;&%B96P] M3D%63B`@("`@("`@("`@("`@("`@("!L86<@970@87)K:78@;65D('9O;'5M M;F%V;B!.059."B`@("`@("`@("`@("`@3=A.4U1%4B`@("`@("`@("`@("`@ M("!F:6QE4@9F]RF4]4U384E)%3%-%("`@(%-4V%)214Q3 M12!B>71E7(@9FEL"`Q,#(T(&)Y=&5S(&5R"B`@("`@("`@("`@("`@("`@("`@("`@("`@("`@ M("`@('-K+LM M87)K:79E6UB;VQI`IE;&QE2!&96YL87-O;BX*`"`@("`@("TM8F%C:W5P6SU+3TY44D],3%T@("`@ M("!G:OAR('-I:VME71E6UB;VQI6UP970@;65D("5D M(&)Y=&5S+"!F>6QL97(@=70@;65D(&YU;&QE<@!&:6QN879N970@)7,E71E71E("5L9"!V960@;&5S:6YG(&%V("5D(&)Y M=&5S(&9R82!F:6P@)7,`3&5S969E:6P@<.4@)7,`3&5S97(@)7,*`$)L;VMK M71E&5C+W1C<#H@5&IE;F5S M=&5N(&5R(&EK:V4@=&EL9VIE;F=E;&EG`')M=&0Z($MA;B!I:VME(&%L;&]K M97)E(&)U9F9E<@H`&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/po/no.gmo:' 'MD5 check failed' 7f255d489fcabdb1402752eae65389ea tar-1.12/po/no.gmo SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/po/no.gmo'`" test 28050 -eq "$shar_count" || $echo 'tar-1.12/po/no.gmo:' 'original size' '28050,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/po/pl.gmo ============== if test -f 'tar-1.12/po/pl.gmo' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/po/pl.gmo' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/po/pl.gmo' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/po/pl.gmo MWA($E0````#+````'````'0&```/`0``S`P````````($0``*P````D1```0 M`@``-1$``"T!``!&$P``B`(``'04``!7`0``_18````"``!5&```Y`(``%8: M```M`@``.QT``.$"``!I'P``*P```$LB```W`0``=R(``!<```"O(P``(0`` M`,````T"8``!D` M``#O)@``)`````DG```:````+B<``!<```!))P``%P```&$G```;````>2<` M`",```"5)P``$````+DG```7````RB<``"0```#B)P``&`````,P``+P````@T```R````.#0``#0```!K-```*````*`T M```Q````R30``"4```#[-```"P```"$U```B````+34``"8```!0-0``'P`` M`'1P``'@(``$1*``#=`@``8TP``#D```!!3P``=P$``'M/```7````\U`` M`"$````+40``,P```"U1``#Y````85$``,$```!;4@``$````!U3```-```` M+E,``!D````\4P``"P```%93```E````8E,``"(```"(4P``)````*M3```G M````T%,``#(```#X4P``(P```"M4```D````3U0``#$```!T5```(````*94 M```=````QU0``#(```#E5```'@```!A5```<````-U4``"D```!450``&P`` M`'Y5```G````FE4```X```#"50``&P```-%5```H````[54``!P````65@`` M*0```#-6```H````758``#````"&5@``(P```+=6```A````VU8``"(```#] M5@``'P```"!7```@````0%<``!@```!A5P``&0```'I7```=````E%<``!P` M``"R5P``%````,]7```W````Y%<``"\````<6```*0```$Q8```D````=E@` M`!0```";6```%0```+!8```?````QE@``"\```#F6```%P```!99```E```` M+ED``!\```!460``'P```'19```?````E%D``!H```"T60``$P```,]9```< M````XUD``"``````6@``/P```"%:```:````85H``!L```!\6@``%````)A: M```=````K5H``!T```#+6@``&@```.E:```7````!%L``"`````<6P``$@`` M`#U;```L````4%L``"D```!]6P``'````*=;```2````Q%L``!X```#76P`` M)P```/9;```G````'EP``"$```!&7```,````&A<```L````F5P``#,```#& M7```.0```/I<```N````-%T``"\```!C70``,````)-=```4````Q%T``"D` M``#970``*0````->```J````+5X``!X```!87@``(````'=>```9````F%X` M`"P```"R7@``0@```-]>``!"````(E\``"L```!E7P``+P```)%?```R```` MP5\``#$```#T7P``,````"9@```/````5V```!X```!G8```(P```(9@```4 M````JF```!0```"_8```+P```-1@```:````!&$``!D````?80``(@```#EA M```R````7&$``!X```"/80``'P```*YA``!_````SF$``$````!.8@``$P`` M`(]B```G````HV(``!<```#+8@``&P```.-B```A````_V(``"`````A8P`` M&@```$)C```;````76,``!\```!Y8P``)P```)EC```9````P6,``!L```#; M8P``-P```/=C```P````+V0``#4```!@9```,P```)9D```Y````RF0``"X` M```$90``-0```#-E```B````:64```H```",90``*@```)=E```K````PF4` M`"0```#N90``/@```!-F```F````4F8``#````!Y9@``&0```*IF```9```` MQ&8``$````#>9@``/````!]G```0````7&<```H```!M9P``*P```'AG```E M````I&<``"X```#*9P``-P```/EG```7````,6@``"@```!):```(@```')H M```@````E6@``!\```"V:```M0```-9H```9````C&D``!8```"F:0``(0`` M`+UI```T````WVD``!P````4:@``*0```#%J```C````6VH``"8```!_:@`` M0@```*9J```Z````Z6H``!4````D:P``+P```#IK```*````:FL``!(```!U M:P``$@```(AK```=````FVL``"$```"Y:P``(P```-MK```;````_VL``!L` M```;;```-0```#=L```E````;6P``#,```"3;```)0```,=L```,````[6P` M`!L```#Z;```(````!9M```<````-VT``"P```!4;0``'0```(%M```7```` MGVT```4```"W;0``!@```+UM```-````Q&T```T```#2;0```0```+T````` M````>``````````3````"````*L``````````P````````#*````G@```)(` M``";````K@`````````0````C@```$``````````*P````````"9````@``` M``````!-````"0`````````4````@@```'0```"E````&@````````!,```` MH0``````````````A@```(H```!7`````````#D`````````E````$D````L M`````````'8```!U````3@```',```!^````*@```&T```!J````F@```!\` M```"````&````)\````N````00```&L`````````-P`````````\```````` M``````#+````*````"<```"_````6````(D`````````AP```#L````@```` M?````#\`````````R0````````!'````4````+$``````````````"D````` M````/@```%L```!:`````````(,```!R````I@```*H`````````+0```%8` M``"+````L````&P````F`````````*````#%````J0```'````"^````80`` M``````"C````!@```'H`````````G````%P```"-```````````````````` M10```,````"T`````````'D```!>````90```#H````E``````````````!4 M````!P````L`````````N@```&````"H````9````)8`````````9@`````` M``!&````50```$\`````````8P```!T````U````E0```$L`````````;P`` M`$,```"/````#````%D```````````````T```#$`````````'T````/```` MP0```+@````X````D````(@`````````%P```+(```#&````:0`````````1 M````,0```"(```"U````%0```!L````C`````````,@```"7````;@`````` M```<````70```%\```"[````,````#0```"%````1````+8````A````F``` M````````````"@```%$````O`````````),```!*``````````````"1```` MH@```"0`````````LP```'<````$````PP````````!B````-@```'\````6 M````,P````4```"D``````````````"G````P@```#(`````````'@```,<` M````````MP```*T```![````O````$(````9````4@````````"L````/0`` M`&<`````````A````(P````2````G0````````"!`````````+D```!Q```` M``````````"O``````````````!(````4P```&@`````````#@`````'4')E M<&%R92!V;VQU;64@(R5D(&9O2`@('=R:71E(&$@5C<@9F]R M;6%T(&%R8VAI=F4*("`@("`@+2UP;W-I>"`@("`@("`@("`@("`@("`@("`@ M("`@('=R:71E(&$@4$]325@@8V]N9F]R;6%N="!AFEP"B`@+5HL("TM8V]M<')E"`U M,3(@8GET97,@<&5R(')E8V]R9`H@("`@("`M+7)E8V]R9"US:7IE/5-)6D4@ M("`@("`@("!325I%(&)Y=&5S('!EF5R M;V5D(&)L;V-K"<@87)C:&EV97,N("!) M9B!03U-)6$Q97T-/4E)%0U0*:7,@"&ET M"B`@("`@("TM=F5R2!N86UE&-L=61E(&=L;V)B:6YG('!A='1E7-T96T@("`@("`@('-T87D@:6X@;&]C M86P@9FEL92!S>7-T96T@=VAE;B!C"P@+2UE>'1R86-T+"`M+6=E="`@("!E>'1R86-T(&9I;&5S(&9R M;VT@86X@87)C:&EV90H@("UC+"`M+6-R96%T92`@("`@("`@("`@(&-R96%T M92!A(&YE=R!A2!I;B!A2`@("`@("`@("`@("`@(&%T=&5M<'0@ M=&\@=F5R:69Y('1H92!A'1R86-T:6YG(&]V97(@:70*("`@("`@ M+2UR96-U2!H:65R87)C:&EE'1R86-T:6YG(&1I0H@("U3+"`M+7-P87)S92`@("`@ M("`@("`@("`@(&AA;F1L92!S<&%R'1R86-T(&9I;&5S('1O('-T M86YD87)D(&]U='!U=`H@("U'+"`M+6EN8W)E;65N=&%L("`@("`@("`@(&AA M;F1L92!O;&0@1TY5+69O2!B92!S970@=VET:"`M+6)A8VMU<"!O&ES="P@7,@;6%K92!S:6UP;&4@8F%C:W5PF4@*"5L9"`A/2`E;&0@*R`E;&0I`"5S.B!#86YN;W0@8VAA;F=E(&UO9&4@ M=&\@)3`N-&\`)7,Z($-A;FYO="!C:&%N9V4@;W=N97(@=&\@=6ED("5D+"!G M:60@)60`)7,Z($-A;FYO="!C:&]W;B!T;R!U:60@)60@9VED("5D`"5S.B!# M86YN;W0@;&-H;W=N('1O('5I9"`E9"!G:60@)60`)7,Z($-O=6QD(&YO="!C M:&%N9V4@86-C97-S(&%N9"!M;V1I9FEC871I;VX@=&EM97,`)7,Z($-O=6QD M(&YO="!C2!W71E2`E9"!B>71E7-T96T[(&YO M="!D=6UP960`)7,Z(%5N:VYO=VX@9FEL92!T>7!E.R!F:6QE(&EG;F]R960` M)7,Z(%=A&5C=71E('!E2!W6UB;VQI8R!L:6YK2!C;VUP71E0!#;W=A2!R969U2`E2`E2!W87,@97AP M96-T960`17)R;W(@=VAI;&4@8VQO'1R86-T:6YG(&-O;G1I9W5O=7,@9FEL97,@87,@2`E9"!B>71E2!F:6QE2`M+71O=6-H`$]B71E71E'0@9FEL92!H96%D M97(`4VMI<'!I;F<@=&\@;F5X="!H96%D97(`4WEM;&EN:V5D("5S('1O("5S M`%1H:7,@9&]E6EN9R!C M;VYD:71I;VYS+B`@5&AE71E'!E M8W1E9"!%3T8@:6X@87)C:&EV90!5;F5X<&5C=&5D($5/1B!I;B!M86YG;&5D M(&YA;65S`%5N97AP96-T960@14]&(&]N(&%R8VAI=F4@9FEL90!5;FMN;W=N M(&1E;6%N9VQI;F<@8V]M;6%N9"`E7!E("'1R86-T960@87,@;F]R;6%L(&9I;&4`56YK M;F]W;B!S>7-T96T@97)R;W(`5D522499($9!24Q54D4Z("5D(&EN=F%L:60@ M:&5A9&5R*',I(&1E=&5C=&5D`%9E2``5FES:6)L92!L;VYG(&YA;64@ M97)R;W(`5FES:6)L92!L;VYG;F%M92!E71E6=O='5J(&-ZZK;F(&YU;65R M("5D(&1L82`EB!A6MI972Q($Y!6E=!"B`@("`@("`@("`@ M("`@5UI/4EI%0R`@("`@("`@("`@("`@("!P7=A;FEU+W)O M>G!A:V]W86YI=0H@("UO+"`M+6]L9"UAF%P:7-Z(&%R8VAI=W5M('<@9F]R;6%C:64@5C<*("`@("`@+2UP;W-I M>"`@("`@("`@("`@("`@("`@("`@("`@('IA<&ES>B!AB!03U-)6"UE;0H@("UZ+"`M+6=Z:7`L("TM=6YG>FEP("`@("`@("`@ M("`@("`@9FEL=')U:B!AB!G>FEP"B`@+5HL("TM8V]M M<')EF5Z(&-O;7!E2!B;&]K\WF5R;W=A;F4@8FQO:VD@*&]Z;F%C M>F$@14]&*0H@("U"+"`M+7)E860M9G5L;"UR96-O71A:K%C("AD;&$@<&EP92`T+C)"4T0I"@`*5WEB M\W(@:2!PF%N:64@=7)ZL61Z9?$Z"B`@+68L("TM9FEL93U!4D-( M25=532`@("`@("`@("`@('6_>6H@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!P87-U:K%C92!D;R!76D]20T$*("`M6"P@+2UE>&-L=61E+69R;VT] M4$Q)2R`@("`@('=Y:VQU8WH@;F%Z=WD@<&%S=6JQ8V4@9&\@=WIOB!N87IW('!L:6OS=PH@("UH+"`M+61E MF%M:6%S="!P;&EK\W<@<&%K=6H@H@875T;VUA='EC>FYI92!W(&MA M=&%L;V=I"B`@+6PL("TM;VYE+69I;&4MG5JL6,@<&]Z;W-T8?$@=R!J961N>6T@FFS86YI83H* M("`M="P@+2UL:7-T("`@("`@("`@("`@("!W>7!IF%W87)T;[;F(&%R M8VAI=W5M"B`@+7@L("TM97ATB!AB!N;W=E(&%R8VAI=W5M"B`@+60L("TM9&EF9BP@+2UC;VUP87)E("`@>FYA M:F2\('+SOVYI8V4@;6GJ9'IY(&%R8VAI=W5M(&D@<&QI:V%M:2!N82!D>7-K M=0H@("UR+"`M+6%P<&5N9"`@("`@("`@("`@(&1OL[%C>B!P;&EK:2!N82!K M;_%C=2!AB!T>6QK;R!P;&EK:2!N;W=S>F4@;FF_(&MO<&EA('<@87)C:&EW=6T*("`M M02P@+2UC871E;F%T92`@("`@("`@("!D;[.Q8WH@<&QI:VD@=&%R(&1O(&%R M8VAI=W5M"B`@("`@("TM8V]N8V%T96YA=&4@("`@("`@=&\@2`@("`@("`@("`@("`@('-PG=E MG5J M(&ES=&YI96JQ8WEC:"!P;&EK\W<@F%N:65M(&=O(')O>G!A:V]W86YY;0H@("`@("`M+7)E8W5R2!W('-T87)Y;2!F;W)M86-I92!'3E4*("`M9RP@+2UL:7-T M960M:6YC7)OGET96QN92!P;&EK:0H`"E)A<&]R M='D@;R!BL^ID86-H('=YF]S=&&S('IM:65N:6]N>2!PB`M+7-U9F9I>`IL=6(@ M4TE-4$Q%7T)!0TM54%]3549&25@N("!3<&]S\V(@>F%R>K%D>F%N:6$@=V5R M>8@>FUI96YI;VYY('!R>F5Z"BTM8F%C:W5P(&QU8B!6 M15)324].7T-/3E123TPL(&UOOVQI=V4@=V%R=&^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>IC96H@:6YF;W)M86-J:0H`3FEE;V-Z96MI=V%N>2!%3T8@=R!AFEE=V%N>2!%3T8@=R!Z86MO9&]W86YY8V@@;F%Z=V%C M:`!.:65S<&]D>FEE=V%N>2!%3T8@=R!P;&EK=2!A2`E2!T>7`@ M;&EK=2`E8R<@9&QA("5S+"!ZG=Y:[-E M9V\@<&QI:W4`3FEE>FYA>2!T>7`@<&QI:W4@8"5C)R!D;&$@)7,[(&]D='=O M6NS>0!.:65Z;F%N>2!BL[%D('-YS\W=K M\W<`4W!R87=D>F%M(`!"L[%D(&2S=6=I96H@;F%Z=WD`0K.Q9"!DLW5G:65J M(&YA>G=Y`$-ZZK;F(&`EF%M M:VZQYB`E2!C>NJV8VD` M6F%P:7,@<'5N:W1U(&MO;G1R;VQN96=O("5D`%IA<&ES(&1O('!R;V=R86UU M(&MO;7!R97-U:K%C96=O('-KB!P;V1A MYB!W:>IC96H@;FF_(&IE9&YE:B!O<&-J:2!@+4%C9'1R=7@G`$UUB!P M;V1AYB!J961NL2!Z(&]P8VII(&`M06-D=')U>"<`8FQO:R`E,3!L9#H@`&)L M;VL@)3$P;&0Z("HJ($)L;VL@>F5R("HJ"@!B;&]K.B`E,3!L9#H@*BH@2V]N M:65C('!L:6MU("HJ"@!E>&5C+W1C<#H@57.S=6=A(&YI961OGED>FEE;&GF(&UI96IS8V$@;F$@8G5F;W(*`')M M=&0Z($)E>G-E;G-O=VYA(&MO;65N9&$@)6,*`')M=&0Z(%!R>F5D=V-Z97-N M>2!%3T8*`'-T9&EN`'-T9&]U=`!T87(@*'!O=&]M;GDI`'1A&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/po/pl.gmo:' 'MD5 check failed' 9f5b74eeedd752e1f279dfb7ea0ee6a0 tar-1.12/po/pl.gmo SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/po/pl.gmo'`" test 28128 -eq "$shar_count" || $echo 'tar-1.12/po/pl.gmo:' 'original size' '28128,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/po/pt.gmo ============== if test -f 'tar-1.12/po/pt.gmo' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/po/pt.gmo' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/po/pt.gmo' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/po/pt.gmo MWA($E0````"J````'````&P%``#C````O`H```````!(#@``*P```$D.```M M`0``=0X````"``"C#P``+0(``*01```7````TA,```X```#J$P``#````/D3 M```8````!A0```D````?%```(@```"D4```=````3!0``"<```!J%```'P`` M`)(4```I````LA0``"$```#<%```,@```/X4```>````,14``!D```!0%0`` M)````&H5```:````CQ4``!<```"J%0``%P```,(5```;````VA4``",```#V M%0``$````!H6```7````*Q8``"0```!#%@``&````&@6```I````@18``",` M``"K%@``'````,\6```7````[!8``!@````$%P``%0```!T7```6````,Q<` M`!H```!*%P``&P```&47```:````@1<``!<```"<%P``$@```+07```R```` MQQ<``"@```#Z%P``)````",8```0````2!@``!$```!9&```(@```&L8```U M````CA@``!(```#$&```'````-<8```=````]!@``!(````2&0``&@```"49 M```5````0!D```X```!6&0``%@```&49```;````?!D``#P```"8&0``"P`` M`-49```,````X1D```X```#N&0``%@```/T9```8````%!H``!,````M&@`` M$````$$:```.````4AH``"(```!A&@``)````(0:```3````J1H``!````"] M&@``%@```,X:```=````Y1H```X````#&P``$P```!(;```7````)AL``"@` M```^&P``*P```&<;```C````DQL``"(```"W&P``$@```-H;```C````[1L` M`!$````1'```&P```",<```8````/QP``"(```!8'```'P```'L<```P```` MFQP``#4```#,'```00````(=```?````1!T``",```!D'0``(@```(@=```H M````JQT``"P```#4'0``$P````$>```@````%1X``!T````V'@``$P```%0> M```3````:!X``!8```!\'@``%P```),>```L````JQX``"X```#8'@``%P`` M``*```O0$``!4I``!Z`@``TRH``&<"``!.+0``'@```+8O```L```` MU2\``!$````",```)````!0P```)````.3```"0```!#,```(@```&@P```O M````BS```"P```"[,```/````.@P```T````)3$``#P```!:,0``)````)````+#0``!L```!+ M-```'````&P```*@` M```Z````0@``````````````3P````````"D````40```&0`````````?0`` M```````^````<````(P`````````3`````````!^````=P```%<````````` MH````%,`````````4@````````!!````"P````````"I````?````'4````` M````DP```)8````,````%````"P```"#`````````)````"*````H@````@` M``!A````H0```#8````2````I@```)4```"2``````````````!G`````@`` M`'@`````````(P```'0````R````````````````````>@```)P````````` M"`U,3(@8GET97,@<&5R(')E8V]R M9`H@("`@("`M+7)E8V]R9"US:7IE/5-)6D4@("`@("`@("!325I%(&)Y=&5S M('!EF5R;V5D(&)L;V-K&ET"B`@("`@("TM=F5R2!N86UE"P@+2UE>'1R86-T+"`M+6=E="`@("!E>'1R86-T(&9I;&5S M(&9R;VT@86X@87)C:&EV90H@("UC+"`M+6-R96%T92`@("`@("`@("`@(&-R M96%T92!A(&YE=R!A2!I;B!AF4@*"5L9"`A/2`E;&0@*R`E;&0I M`"5S.B!#86YN;W0@8VAA;F=E(&UO9&4@=&\@)3`N-&\`)7,Z($-A;FYO="!C M:&%N9V4@;W=N97(@=&\@=6ED("5D+"!G:60@)60`)7,Z($-A;FYO="!C:&]W M;B!T;R!U:60@)60@9VED("5D`"5S.B!#;W5L9"!N;W0@8VAA;F=E(&%C8V5S M0`E6UB;VQI8R!L:6YK2!M=6QT:2UV;VQU;64@87)C:&EV97,`0V%N;F]T('9E2!S M=&1I;B]S=&1O=70@87)C:&EV90!#86YN;W0@=W)I=&4@=&\@)7,`0V%N;F]T M('=R:71E('1O(&-O;7!R97-S:6]N('!R;V=R86T`0VAI;&0@8V%N;F]T(&9O M2!F;W(@8FQO8VMI;F<@9F%C=&]R("5D`$-O=6QD(&YO M="!A;&QO8V%T92!M96UO3H@)7,` M0V]U;&0@;F]T(')E+7!O2!A3H`1&5L971I;F<@;F]N+6AE861E2`M+71O=6-H`$]B71E71E'0@9FEL92!H96%D97(`4VMI<'!I;F<@=&\@ M;F5X="!H96%D97(`4WEM;&EN:V5D("5S('1O("5S`%1H:7,@9&]E'!E8W1E9"!%3T8@ M:6X@87)C:&EV90!5;F5X<&5C=&5D($5/1B!I;B!M86YG;&5D(&YA;65S`%5N M97AP96-T960@14]&(&]N(&%R8VAI=F4@9FEL90!5;FMN;W=N(&1E;6%N9VQI M;F<@8V]M;6%N9"`E7!E("'1R86-T960@87,@;F]R;6%L(&9I;&4`56YK;F]W;B!S>7-T M96T@97)R;W(`5D522499($9!24Q54D4Z("5D(&EN=F%L:60@:&5A9&5R*',I M(&1E=&5C=&5D`%9E2``5FES:6)L92!L;VYG(&YA;64@97)R;W(`5FES M:6)L92!L;VYG;F%M92!E2!O;F4@;V8@=&AE(&`M06-D=')U>"<@;W!T:6]N7!E M.B!T97AT+W!L86EN.R!C:&%R71E MF5R;W,@("`@("`@("`@("`@:6=N;W)A?U97,Z"B`@("`@("TM:&5L<"`@("`@("`@("`@(&UO?C;R!P87)A('1O9&%S(&%S(&%CY_5E?C;R!P87)A("5S"@`@=&EP;R!D92!F:6-H96ER;R!D97-C M;VYH96-I9&\@(B5C(@H`)60@96T@)60*`"5S(&[C;R!T96T@8V]N=&EN=6ED M861E(&YE?C;P`E?C;R!S:6UB\VQI8V$@*&QI;FLI M('!A?C;R`H;&EN M:RD@<&%R82!@)7,G`"5S.B!.XV\@'1R86ER(&QI9V'G]65S('-I;6+S;&EC M87,@*'-Y;2X@;&EN:W,I(&-O;6\@;&EG8>?U97,@9NUS:6-A=O('1E;7!O&5C=71A'1R8>UR(&`E?C;RP@9&\@ M=71I;&EZ861O<@!.XV\@&5C=71A&5C=71A71EUD;R!P;W(@(BTM86)S;VQU=&4M;F%M M97,B`$YO;64@9&4@;W#GXV\@;V)S;VQE=&\L(&9O:2!S=6)S=&ET=>UD;R!P M;W(@(BTM8FQO8VLM;G5M8F5R(@!.;VUE(&1E(&]PY^-O(&]B?C;R!D;R`B9')I=F4B(&%O=A;&AO`"5S(&QI9V%D;R!S:6UB;VQI8V%M96YT92!A("5S("@B;&EN M:R(I`$ES=&\@(&[C;R!S92!P87)E8V4@82!U;2!A?C;RP@=&5N=&4@(B5S M("TM:&5L<"(N"@!&:6T@9&4@9FEC:&5I?C;R`E9`!&86QT M86T@)60@8GET97,@;F\@<75E('-E(&5S8W)E=F5U('!A71E&5C+W1C<#H@4V5R=FGG;R!I;F1IB!S96YT:61O"@!R;71D M.B!&:6T@9&4@9FEC:&5I&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/po/pt.gmo:' 'MD5 check failed' 2ff3eb5f7b1640e178fb9443c7f93810 tar-1.12/po/pt.gmo SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/po/pt.gmo'`" test 19312 -eq "$shar_count" || $echo 'tar-1.12/po/pt.gmo:' 'original size' '19312,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/po/sl.gmo ============== if test -f 'tar-1.12/po/sl.gmo' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/po/sl.gmo' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/po/sl.gmo' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/po/sl.gmo MWA($E0````"H````'````%P%``#C````G`H````````H#@``*P```"D.```M M`0``50X````"``"##P``+0(``(01```7````LA,```X```#*$P``#````-D3 M```8````YA,```D```#_$P``(@````D4```=````+!0``"<```!*%```'P`` M`'(4```I````DA0``"$```"\%```,@```-X4```>````$14``!D````P%0`` M)````$H5```:````;Q4``!<```"*%0``%P```*(5```;````NA4``",```#6 M%0``$````/H5```7````"Q8``"0````C%@``&````$@6```I````818``",` M``"+%@``'````*\6```7````S!8``!@```#D%@``%0```/T6```6````$Q<` M`!H````J%P``&P```$47```:````81<``!<```!\%P``$@```)07```R```` MIQ<``"@```#:%P``)`````,8```0````*!@``!$````Y&```(@```$L8```U M````;A@``!(```"D&```'````+<8```=````U!@``!(```#R&```&@````49 M```5````(!D```X````V&0``%@```$49```;````7!D``#P```!X&0``"P`` M`+49```,````P1D```X```#.&0``%@```-T9```8````]!D``!,````-&@`` M$````"$:```.````,AH``"(```!!&@``)````&0:```3````B1H``!````"= M&@``%@```*X:```=````Q1H```X```#C&@``$P```/(:```7````!AL``"@` M```>&P``*P```$<;```C````QP``#4```"L'```00```.(<```?````)!T``",```!$'0``(@```&@=```H M````BQT``"P```"T'0``$P```.$=```@````]1T``!T````6'@``$P```#0> M```3````2!X``!8```!<'@``%P```',>```L````BQX``"X```"X'@``%P`` M`.<>```R````_QX```\````R'P``*0```$(?```=````;!\``!H```"*'P`` M*P```*4?```8````T1\``#$```#J'P``+P```!P@```R````3"```#0```!_ M(```*````+0@```Q````W2```"4````/(0``"P```#4A```B````02$``"8` M``!D(0``'P```(LA```P````JR$``"L```#<(0``,0````@B```5````.B(` M`!(```!0(@``,@```&,B```T````EB(``!````#+(@``"P```-PB```E```` MZ"(``"T````.(P``$````#PC```<````32,``!<```!J(P``$@```((C```E M````E2,``!X```"[(P``&0```-HC```F````]",``!D````;)```'P```#4D M```>````520``!T```!T)```-````)(D```W````QR0``!0```#_)```+0`` M`!0E```'````0B4``!<```!*)0``%@```&(E```>````>24``"$```"8)0`` M&0```+HE```3````U"4``"L```#H)0``(0```!0F```S````-B8``"X```!J M)@``#0```)DF```A````IR8``!\```#))@``'P```.DF```C````"2<``!D` M```M)P``%````$````EB\``"````"U+P``,0```-8O M```=````"#```!L````F,```'````$(P```>````7S```"(```!^,```#P`` M`*$P```8````L3```"H```#*,```%P```/4P```O````#3$``"P````],0`` M(````&HQ```:````BS$``!L```"F,0``&````,(Q```9````VS$``!L```#U M,0``'````!$R```?````+C(``!P```!.,@``#P```&LR```T````>S(``"@` M``"P,@``(P```-DR```.````_3(```\````,,P``&@```!PS```Q````-S,` M`!P```!I,P``+@```(8S```6````M3,``!4```#,,P``(0```.(S```>```` M!#0``!0````C-```&P```#@T```I````5#0``$8```!^-```$````,4T```1 M````UC0``!0```#H-```&P```/TT```<````&34``!T````V-0``%@```%0U M```2````:S4``"0```!^-0``+````*,U```>````T#4``!<```#O-0``)P`` M``3<``!L```"F M-P``'@```,(W```9````X3<``"L```#[-P``+0```"3L``"````"M.P``*````,X[ M```7````]SL``#4````//```,P```$4\```V````>3P``#@```"P/```+``` M`.D\```S````%CT``",```!*/0``#````&X]```C````>ST``"\```"?/0`` M)````,\]```S````]#T``"@````H/@``*0```%$^```@````>SX``!````"< M/@``0````*T^``!"````[CX``!@````Q/P``"@```$H_```G````53\``"P` M``!]/P``'0```*H_```F````R#\``!H```#O/P``&0````I````<````)$`` M`!H```!!0```%@```%Q````N`````````````),````?````C0````H` M````````I@```%T`````````10````````!'````%0```&`````6````:P`` M`%L```"%````.P`````````D````.0````````!)`````````"@```">```` M```````````@````/P```%0````<````EP````````"6````;0```)@```!B M````4````'H```"G````.@```$(``````````````$\`````````HP```%$` M``!D`````````'P`````````/@```&\```"+`````````$P`````````?0`` M`'8```!7`````````)\```!3`````````%(`````````00````L````````` M`````'L```!T`````````)(```"5````#````!0````L````@@````````"/ M````B0```*$````(````80```*`````V````$@```*4```"4````D0`````` M````````9P````(```!W`````````",```!S````,@`````````````````` M`'D```";`````````'(```!:````3@````<````````````````````````` M``````````"&````C````%P````%````"0```!,`````````,````&@````] M````1@````````!-````+@```*@```!Q````AP```&X````-````-````"D` M```/````F0`````````.```````````````A```````````````>```````` M```````1`````````"L````X````,0```%D```!E`````````#4````E```` MF@```!H```"D````G````$,```!(``````=071EF5R;W,@("`@("`@("`@("`@:6=N;W)E('IE2!L:7-T(&9I;&5S('!R;V-E71E7!E(&`E8R<*`"5D(&%T("5D"@`E M6UL:6YK('1O(&`E6%R:R$I`"5S.B!.;W0@9F]U M;F0@:6X@87)C:&EV90`E&5C M=71E('!E2!W2`E'1R86-T(&`E71E0!# M;W=A2!R969U2`E2`EF5R;W,`1FEL92!N86UE M("5S)7,@=&]O(&QO;F<`1TY5(&9E871U2`M+71O=6-H`$]B M71E71E'0@9FEL92!H96%D97(`4VMI<'!I;F<@=&\@;F5X="!H96%D97(` M4WEM;&EN:V5D("5S('1O("5S`%1H:7,@9&]E'!E8W1E9"!%3T8@:6X@87)C:&EV90!5 M;F5X<&5C=&5D($5/1B!I;B!M86YG;&5D(&YA;65S`%5N97AP96-T960@14]& M(&]N(&%R8VAI=F4@9FEL90!5;FMN;W=N(&1E;6%N9VQI;F<@8V]M;6%N9"`E M7!E("'1R M86-T960@87,@;F]R;6%L(&9I;&4`56YK;F]W;B!S>7-T96T@97)R;W(`5D52 M2499($9!24Q54D4Z("5D(&EN=F%L:60@:&5A9&5R*',I(&1E=&5C=&5D`%9E M2``5FES:6)L92!L;VYG(&YA;64@97)R;W(`5FES:6)L92!L;VYG;F%M M92!E2!O;F4@ M;V8@=&AE(&`M06-D=')U>"<@;W!T:6]NBYP971E7!E.B!T97AT+W!L86EN M.R!C:&%RF$@)7,@:6X@<')I=&ES M;FET92!2971UF1E;&ET978@96YO=&4Z"B`@+6(L M("TM8FQO8VMI;FF%P:7-A($), M3TM)('@@-3$R('IL;V=O=@H@("`@("`M+7)E8V]R9"US:7IE/41/3*Y)3D$@ M("`@("!$3TRN24Y!('IA<&ES82!V('IL;V=I:"`H=F7H:W)A=&YI:R`U,3(I M"B`@+6DL("TM:6=N;W)E+7IEF$@8FQO:V4@;FGH96P@*$5/1BD*("`M0BP@+2UR96%D+69U;&PMG!IB!Z9V]V;W)N M:6T@:7IP:7-O;2!O8F1E;&%N:6@@9&%T;W1E:PH@("`@("`M+6-H96-K<&]I M;G0@("`@("!Z(&EZ<&ES;VT@:6UE;FEK;W8@<')I(&)R86YJ=2!AB!I>G!IF%P:7-U"B`@+5(L("TM8FQO8VLM;G5M8F5R("`@('H@:7IP M:7-O;2!Z87!O"P@+2UE>'1R86-T+"`M+6=E="`@("!I>G9L9>AE;FIE(&1A M=&]T96ME(&EZ(&%R:&EV80H@("UC+"`M+6-R96%T92`@("`@("`@("`@(&MR M96ER86YJ92!N;W9E9V$@87)H:79A"B`@+60L("TM9&EF9BP@+2UC;VUP87)E M("`@:7-K86YJ92!R87IL:6L@;65D(&%R:&EV;VT@:6X@9&%T;W1EZ&YI;2!S M:7-T96UO;0H@("UR+"`M+6%P<&5N9"`@("`@("`@("`@(&1O9&%J86YJ92!D M871O=&5K(&YA(&MO;F5C(&%R:&EV80H@("UU+"`M+75P9&%T92`@("`@("`@ M("`@(&YA9&]M97-T:71E=B!S=&%R:6@O9&]D86IA;FIE(&YO=FEH(&1A=&]T M96L*("`M02P@+2UC871E;F%T92`@("`@("`@("!Z;&EV86YJ92!AF%P:7)A;FIU`"5S.B!$871O=&5K82!S:W+H96YA M('IA("5D('IL;V=O=BP@*'EAAN96T@B!S<')E M;65M8@`EB!S<')E;65M8@`H*&YAF$@;65D<&]M M;FEL;FEK`$EM96YI:R`EF%P@@9&5L:6@@ M;FES;R!M;[YN:0!!F$@F5R=FER871I('!O M;6YI;&YI:V$@>F$@8FQOZ&YI(&9A:W1OG9E9&5T:2!TAE=&5K+"!PFYE9V$@87)H:79A(&)O M:F%Z;&II=F\@>F%VB!AF$@:V]N96,@9&%T;W1E:V4@ M=B!AF$@)60@>FQO9V]V+"!D M;W!O;&YI;6\@>B!N:>AL86UI`$EM92!D871O=&5K92`EKEIF=L961A M(&MO="!AF4I`%IA(&EZ8FER;R`M0R!M86YJ:V$@:6UE M(&1A=&]T96ME`$%R:&EV:2!V('9EZ"!D96QI:"!Z86AT979A:F\@:7IB:7)O M("PM32<`3F]V96=A(&1E;&$@;FDL(&MO;F5C+@H`6F%S=&%R96QA(&EZ8FER M82P@>F1A:B!N861O;66YZ&5N82!Z("TM86)S;VQU=&4M;F%M97,`6F%S=&%R M96QA(&EZ8FER82P@>F1A:B!N861O;66YZ&5N82!Z("TM8FQO8VLM;G5M8F5R M`%IAF)IAE;F$@>B`M+6)L;V-K M:6YG+69A8W1O<@!:87-T87)E;&$@:7IB:7)A+"!Z9&%J(&YA9&]M9;GH96YA M('H@+2UR96%D+69U;&PMF%H=&5V82!AFQO9V]V('H@87)H:79A("5S`%IA<&ES86YI:"!S86UO("5L9"!O M9"`E;&0@>FYA:V]V(&YA(&1A=&]T96MO("5S`%-A;6\@)74@;V0@)74@>FQO M9V]V('IA<&ES86YI:"!N82`EF)IB`L+"UF("TG)P`J5&$J('1AFYA:R!Z82!K;VYE8R!D M871O=&5K90!"FQO9V]V+"!V(&1A=&]T96MI("5S`$YA<&%K82!PF%P:7-A(&UOAKF%N;R!Z("5S`%1O(&YE M(&1E;'5J92!K;W0@87)H:78@+'1AF$@:7KHAA:V]V86X@>FYA:R!Z82!K;VYE8R!D871O=&5K92!V(&%R:&EV=0!. M97IN86X@=6MA>B`EFYA;B!T:7`@+"5C)R!PFYA:V$@9&5L M82!M86YJ:V$`4&ES86YJ92!O>FYA:V4@)60`4&ES86YJ92!N82!V:&]D('!R M;V=R86UA('IA('-T:7-K86YJ92!PF$@)60@>FQO9V]V`%IA M<&ES86YO("5L9"!O9"`E;&0@>FQO9V]V(&YA(&1A=&]T96MO("5S`$YA:G9E MZ"!E;F$@;V0@:7IB:7(@+"PM06-D=')U>""FYA:V]V($Y53"`J*@H` M8FQO:R`E,3!L9#H@*BH@2V]N96,@9&%T;W1E:V4@*BH*`&5X96,O=&-P.B!3 M=&]R:71E=B!N:2!D;W-E9VQJ:79A`')M=&0Z($YI(&UO9V_H92!R97IEB`E8PH`F$@:V]N96,@9&%T :;W1E:V4*`'1A&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/po/sl.gmo:' 'MD5 check failed' ddc92dbf1936e93b6f05e98c26392238 tar-1.12/po/sl.gmo SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/po/sl.gmo'`" test 17576 -eq "$shar_count" || $echo 'tar-1.12/po/sl.gmo:' 'original size' '17576,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/po/sv.gmo ============== if test -f 'tar-1.12/po/sv.gmo' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/po/sv.gmo' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/po/sv.gmo' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/po/sv.gmo MWA($E0````#+````'````'0&```/`0``S`P````````($0``*P````D1```0 M`@``-1$``"T!``!&$P``B`(``'04``!7`0``_18````"``!5&```Y`(``%8: M```M`@``.QT``.$"``!I'P``*P```$LB```W`0``=R(``!<```"O(P``(0`` M`,````T"8``!D` M``#O)@``)`````DG```:````+B<``!<```!))P``%P```&$G```;````>2<` M`",```"5)P``$````+DG```7````RB<``"0```#B)P``&`````,P``+P````@T```R````.#0``#0```!K-```*````*`T M```Q````R30``"4```#[-```"P```"$U```B````+34``"8```!0-0``'P`` M`' M/0``.`(``!@^``!2`0``44```.4"``"D00``;@$``(I$``#W`0``^44``+," M``#Q1P``.`(``*5*``!?`P``WDP``#`````^4```?@$``&]0```<````[E$` M`"4````+4@``+0```#%2```0`0``7U(``+4```!P4P``$````"94```.```` M-U0``!,```!&5```"@```%I4```@````950``!T```"&5```)0```*14```I M````RE0``"L```#T5```,@```"!5```S````4U4``#$```"'50``'````+E5 M```8````UE4``"T```#O50``'@```!U6```9````/%8``!X```!65@``'@`` M`'56```C````E%8``!````"X5@``%0```,E6```F````WU8``!@````&5P`` M*@```!]7```A````2E<``!\```!L5P``(0```(Q7```=````KE<``!@```#, M5P``&P```.57```;`````5@``!\````=6```'P```#U8```<````75@``!,` M``!Z6```#P```(Y8```[````GE@``"P```#:6```+`````=9```M````-%D` M`!8```!B60``%@```'E9```?````D%D``#4```"P60``'````.99```9```` M`UH``!T````=6@``'0```#M:```<````65H``!<```!V6@``%````(Y:```= M````HUH``!L```#!6@``0@```-U:```.````(%L```\````O6P``$0```#]; M```9````45L``!L```!K6P``%P```(=;```2````GUL``!4```"R6P``$``` M`,A;```I````V5L``"H````#7```%0```"Y<```3````1%P``"````!87``` M(0```'E<```8````FUP``!X```"T7```)````--<```F````^%P``#0````? M70``+0```%1=```F````@ET``",```"I70``)P```,U=```7````]5T``"P` M```-7@``%0```#I>```:````4%X``"(```!K7@``'P```(Y>```@````KEX` M`"P```#/7@``.@```/Q>``!`````-U\``"$```!X7P``,0```)I?```E```` MS%\``#@```#R7P``(````"M@```/````3&```"0```!<8```&@```(%@```2 M````G&```!0```"O8```(@```,1@```7````YV```"0```#_8```,0```"1A M```V````5F$``!L```"-80``'````*EA``!X````QF$``#0````_8@``#@`` M`'1B```L````@V(``!D```"P8@``'@```,IB```E````Z6(``"(````/8P`` M'0```#)C```7````4&,``!0```!H8P``)P```'UC```0````I6,``!H```"V M8P``+````-%C```D````_F,``"H````C9```+0```$YD```O````?&0``",` M``"L9```-P```-!D```G````"&4```P````P90``(@```#UE```H````8&4` M`"````")90``.0```*IE```K````Y&4``#L````09@``$@```$QF```6```` M7V8``#8```!V9@``+````*UF```+````VF8```D```#F9@``*````/!F```I M````&6<``"L```!#9P``-P```&]G```8````IV<``"0```#`9P``&@```.5G M```<`````&@``"<````=:```G@```$5H```F````Y&@``!<````+:0``&P`` M`"-I```L````/VD``!D```!L:0``'0```(9I```<````I&D``!L```#!:0`` M,P```-UI```V````$6H```\```!(:@``,@```%AJ```+````BVH``!4```"7 M:@``%0```*UJ```G````PVH``"$```#K:@``)`````UK```9````,FL``!@` M``!,:P``-0```&5K```A````FVL``"T```"]:P``*````.MK```-````%&P` M`"<````B;```&P```$IL```F````9FP``"````"-;```&@```*YL```9```` MR6P```L```#C;```"P```.]L```*````^VP```X````&;0```0```+T````` M````>``````````3````"````*L``````````P````````#*````G@```)(` M``";````K@`````````0````C@```$``````````*P````````"9````@``` M``````!-````"0`````````4````@@```'0```"E````&@````````!,```` MH0``````````````A@```(H```!7`````````#D`````````E````$D````L M`````````'8```!U````3@```',```!^````*@```&T```!J````F@```!\` M```"````&````)\````N````00```&L`````````-P`````````\```````` M``````#+````*````"<```"_````6````(D`````````AP```#L````@```` M?````#\`````````R0````````!'````4````+$``````````````"D````` M````/@```%L```!:`````````(,```!R````I@```*H`````````+0```%8` M``"+````L````&P````F`````````*````#%````J0```'````"^````80`` M``````"C````!@```'H`````````G````%P```"-```````````````````` M10```,````"T`````````'D```!>````90```#H````E``````````````!4 M````!P````L`````````N@```&````"H````9````)8`````````9@`````` M``!&````50```$\`````````8P```!T````U````E0```$L`````````;P`` M`$,```"/````#````%D```````````````T```#$`````````'T````/```` MP0```+@````X````D````(@`````````%P```+(```#&````:0`````````1 M````,0```"(```"U````%0```!L````C`````````,@```"7````;@`````` M```<````70```%\```"[````,````#0```"%````1````+8````A````F``` M````````````"@```%$````O`````````),```!*``````````````"1```` MH@```"0`````````LP```'<````$````PP````````!B````-@```'\````6 M````,P````4```"D``````````````"G````P@```#(`````````'@```,<` M````````MP```*T```![````O````$(````9````4@````````"L````/0`` M`&<`````````A````(P````2````G0````````"!`````````+D```!Q```` M``````````"O``````````````!(````4P```&@`````````#@`````'4')E M<&%R92!V;VQU;64@(R5D(&9O2`@('=R:71E(&$@5C<@9F]R M;6%T(&%R8VAI=F4*("`@("`@+2UP;W-I>"`@("`@("`@("`@("`@("`@("`@ M("`@('=R:71E(&$@4$]325@@8V]N9F]R;6%N="!AFEP"B`@+5HL("TM8V]M<')E"`U M,3(@8GET97,@<&5R(')E8V]R9`H@("`@("`M+7)E8V]R9"US:7IE/5-)6D4@ M("`@("`@("!325I%(&)Y=&5S('!EF5R M;V5D(&)L;V-K"<@87)C:&EV97,N("!) M9B!03U-)6$Q97T-/4E)%0U0*:7,@"&ET M"B`@("`@("TM=F5R2!N86UE&-L=61E(&=L;V)B:6YG('!A='1E7-T96T@("`@("`@('-T87D@:6X@;&]C M86P@9FEL92!S>7-T96T@=VAE;B!C"P@+2UE>'1R86-T+"`M+6=E="`@("!E>'1R86-T(&9I;&5S(&9R M;VT@86X@87)C:&EV90H@("UC+"`M+6-R96%T92`@("`@("`@("`@(&-R96%T M92!A(&YE=R!A2!I;B!A2`@("`@("`@("`@("`@(&%T=&5M<'0@ M=&\@=F5R:69Y('1H92!A'1R86-T:6YG(&]V97(@:70*("`@("`@ M+2UR96-U2!H:65R87)C:&EE'1R86-T:6YG(&1I0H@("U3+"`M+7-P87)S92`@("`@ M("`@("`@("`@(&AA;F1L92!S<&%R'1R86-T(&9I;&5S('1O('-T M86YD87)D(&]U='!U=`H@("U'+"`M+6EN8W)E;65N=&%L("`@("`@("`@(&AA M;F1L92!O;&0@1TY5+69O2!B92!S970@=VET:"`M+6)A8VMU<"!O&ES="P@7,@;6%K92!S:6UP;&4@8F%C:W5PF4@*"5L9"`A/2`E;&0@*R`E;&0I`"5S.B!#86YN;W0@8VAA;F=E(&UO9&4@ M=&\@)3`N-&\`)7,Z($-A;FYO="!C:&%N9V4@;W=N97(@=&\@=6ED("5D+"!G M:60@)60`)7,Z($-A;FYO="!C:&]W;B!T;R!U:60@)60@9VED("5D`"5S.B!# M86YN;W0@;&-H;W=N('1O('5I9"`E9"!G:60@)60`)7,Z($-O=6QD(&YO="!C M:&%N9V4@86-C97-S(&%N9"!M;V1I9FEC871I;VX@=&EM97,`)7,Z($-O=6QD M(&YO="!C2!W71E2`E9"!B>71E7-T96T[(&YO M="!D=6UP960`)7,Z(%5N:VYO=VX@9FEL92!T>7!E.R!F:6QE(&EG;F]R960` M)7,Z(%=A&5C=71E('!E2!W6UB;VQI8R!L:6YK2!C;VUP71E0!#;W=A2!R969U2`E2`E2!W87,@97AP M96-T960`17)R;W(@=VAI;&4@8VQO'1R86-T:6YG(&-O;G1I9W5O=7,@9FEL97,@87,@2`E9"!B>71E2!F:6QE2`M+71O=6-H`$]B71E71E'0@9FEL92!H96%D M97(`4VMI<'!I;F<@=&\@;F5X="!H96%D97(`4WEM;&EN:V5D("5S('1O("5S M`%1H:7,@9&]E6EN9R!C M;VYD:71I;VYS+B`@5&AE71E'!E M8W1E9"!%3T8@:6X@87)C:&EV90!5;F5X<&5C=&5D($5/1B!I;B!M86YG;&5D M(&YA;65S`%5N97AP96-T960@14]&(&]N(&%R8VAI=F4@9FEL90!5;FMN;W=N M(&1E;6%N9VQI;F<@8V]M;6%N9"`E7!E("'1R86-T960@87,@;F]R;6%L(&9I;&4`56YK M;F]W;B!S>7-T96T@97)R;W(`5D522499($9!24Q54D4Z("5D(&EN=F%L:60@ M:&5A9&5R*',I(&1E=&5C=&5D`%9E2``5FES:6)L92!L;VYG(&YA;64@ M97)R;W(`5FES:6)L92!L;VYG;F%M92!E71E#(P,"YS=VEP;F5T+G-E M/@I,86YG=6%G92U496%M.B!3=V5D:7-H(#QS=D!L:2YO'1R86AE2`@('-K"`U,3(@8GET92!P97(@<&]S=`H@("`@("`M+7)E8V]R9"US:7IE M/4%.5$%,("`@("`@("!!3E1!3"!B>71E('!EF5R;W,@("`@("`@("`@("`@:6=N;W)E M70@:V%T86QO9R!T:6QL($M!5$%,3T<*("`M5"P@+2UF:6QE&-L=61E/4W63E-415(@("`@("!T86<@:6YT92!M960@9FEL M97(@2`@("`@("`@("`@("`@(&;V'1R86AE'1R86AE6$@1TY5+69O7`@(B5C(@H`)60@=FED M("5D"@`E71A(.1G87)E('1I;&P@=6ED M("5D+"!G:60@)60`)7,Z($MA;B!I;G1E(&)Y=&$@Y&=A6UP=&4@;65D("5D(&)Y=&4L("AH=6=A M(2D`)7,Z($9A;FYS(&EN=&4@:2!A1N9V0@ MY'(@)60@*&AO<'!A6UB;VQI'1R86AE6T`2V%N(&EN=&4@9W)E;F$`2V%N(&EN=&4@9W)E M;F$A`$MA;B!I;G1E(/9P<&YA("5S`$MA;B!I;G1E(/9P<&YA(&%R:VEV970@ M)7,`2V%N(&EN=&4@]G!P;F$@:V%T86QO9V5N("5S`$MA;B!I;G1E(/9P<&YA M(&9I;&5N("5S`$MA;B!I;G1E(/9P<&YA('+V<@!+86X@:6YT92!D=7!L:6-E M71T(&YA;6X`2V%T86QO9V5N("5S(.1R(&YY M`$9I;'-L=70@:2!A2!V;VQY;3L@879S;'5T87(N"@!&]G+E;&1R M860@9FQA9V=A(&5R71E(&9RY6X@87)K:79E="`E71E+"!I(&9I M;"`E5S=&4@ M=F%R82!E;B!M=6QT:7!E;"!A=B`E9`!487(@8F]R="!E;FAE='-N86UN(&9R MY6X@;F%M;F5N(&D@87)K:79E=`!487(@8F]R="!I;FQE9&%N9&4@(B\B(&9R MY6X@86)S;VQU=&$@;.1N:V%R`%1A6UB;VQI7`@(B5C(B!F]G(@)7,L(&KD;6;V"(`1'4@ M;>5S=&4@86YG92!E;B!A=B!F;&%G9V]R;F$@(BU!8V1T&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/po/sv.gmo:' 'MD5 check failed' db84cad80cc3eca17e2b0864f1245a5a tar-1.12/po/sv.gmo SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/po/sv.gmo'`" test 27925 -eq "$shar_count" || $echo 'tar-1.12/po/sv.gmo:' 'original size' '27925,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/po/cat-id-tbl.c ============== if test -f 'tar-1.12/po/cat-id-tbl.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/po/cat-id-tbl.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/po/cat-id-tbl.c' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/po/cat-id-tbl.c M+RH@075T;VUA=&EC86QL>2!G96YER(B+"`Q?2P* M("![(E1O=&%L(&)Y=&5S('=R:71T96XZ("(L(#)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8V@@ M=&%P92`H:6UP;&EE"`U,3(@8GET97,@<&5R(')E8V]R9%QN7`H@("`@("`M+7)E8V]R9"US:7IE M/5-)6D4@("`@("`@("!325I%(&)Y=&5S('!EF5R;V5D(&)L;V-K3U$25(@("`@("`@("`@ M8VAA;F=E('1O(&1I2!$25)<;EP*("`M5"P@+2UF:6QE'1R86-T(&]R(&-R96%T92!F M&-L=61E/5!!5%1%4DX@("`@("`@(&5X8VQU9&4@ M9FEL97,L(&=I=F5N(&%S(&$@9VQO8F)I;F<@4$%45$523EQN7`H@("U8+"`M M+65X8VQU9&4M9G)O;3U&24Q%("`@("`@97AC;'5D92!G;&]B8FEN9R!P871T M97)N6UL:6YK7-T96T@("`@("`@('-T87D@:6X@;&]C86P@9FEL92!S>7-T96T@=VAE M;B!C5QN7`H@("`@("`M+6%F=&5R+61A=&4] M1$%412`@("`@("`@%QN(BP@,3DR?2P*("![(EP*7&Y<"DEN9F]R;6%T M:79E(&]U='!U=#I<;EP*("`@("`@+2UH96QP("`@("`@("`@("`@<')I;G0@ M=&AI2!A8W1I;VY<;EP*("`@ M("`@+2UC;VYF:7)M871I;VX@("`@2!B92!S970@=VET:"`M+6)A8VMU<"!O"<@87)C:&EV97,N M("!)9B!03U-)6$Q97T-/4E)%0U1<;EP*:7,@"R)<"EQN7`I297!OR)#;VYF;&EC M=&EN9R!C;VUP2`M+6)L;V-K:6YG+69A8W1O MR)/8G-O;&5T92!O<'1I;VX@;F%M92!R97!L86-E9"!B M>2`M+6)L;V-K:6YG+69A8W1OR)/8G-O;&5T92!O<'1I M;VX@;F%M92!R97!L86-E9"!B>2`M+7)E860M9G5L;"UR96-OR));G9A;&ED(&1A=&4@9F]R;6%T(&`ER)/8G-O;&5T92!O<'1I;VX@;F%M92!R97!L86-E9"!B>2`M+6%BR));G9A;&ED(&]W;F5R(&=I=F5N(&]N M(&]P=&EO;B(L(#(Q,WTL"B`@>R)296-O7)I9VAT("A#*2`Q.3@X+"`Y,BP@.3,L(#DT+"`Y-2P@.38L(#DW M($9R964@4V]F='=A6EN9R!C;VYD:71I;VYS+B`@5&AER)'3E4@9F5A='5R97,@=V%N=&5D(&]N(&EN8V]M<&%T:6)L92!A MR)-=6QT:7!L92!A2!A2!O;F4@;V8@=&AE(&`M M06-D=')U>"<@;W!T:6]NR)%&ET(&1E;&%Y M960@9G)O;2!P6%R:R$I M(BP@,C(V?2P*("![(D=E;F5R871E(&1A=&$@9FEL97,@9F]R($=.52!T87(@ M=&5S="!S=6ET92Y<;B(L(#(R-WTL"B`@>R)<"EQN7`I5R)<"DEF(&$@;&]N9R!O<'1I;VX@5QN7`IF;W(@=&AE(&5Q=6EV86QE;G0@&ET7&XB+"`R,CE]+`H@('LB06UB M:6=U;W5S('!A='1ER)5;FMN;W=N('!A='1E MR)<"EQN7`I#;W!Y&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/po/cat-id-tbl.c:' 'MD5 check failed' 1089e1824f4b330d57f65d6256c9b16f tar-1.12/po/cat-id-tbl.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/po/cat-id-tbl.c'`" test 16628 -eq "$shar_count" || $echo 'tar-1.12/po/cat-id-tbl.c:' 'original size' '16628,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/tests/ChangeLog ============== if test ! -d 'tar-1.12/tests'; then $echo 'x -' 'creating directory' 'tar-1.12/tests' mkdir 'tar-1.12/tests' fi if test -f 'tar-1.12/tests/ChangeLog' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/tests/ChangeLog' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/tests/ChangeLog' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/tests/ChangeLog M,3DY-RTP-"TR-2`@1G)A;N=O:7,@4&EN87)D("`\<&EN87)D0&ER;RYU;6]N M=')E86PN8V$^"@H)*B!296QE87-E(#$N,3(N"@H)*B!G>FEP+G-H+"!I9VYF M86EL+G-H.B!!9&IU2P@9&\@ M;F]T(&%S2!!;F1R96%S(%-C:'=A8BX*"C$Y.32!+879E:"!2+B!':&%Z:2X*"C$Y.32!T97-TFDN"@HQ.3DW+3`T+3$W("!&2!"'1R M86,P,2YS:#H@3F5W(&YA;64@9F]R(&5X=')A8W0N2!!>&5L($)O;&1T+@H*,3DY-BTQ,2TR-2`@1G)A M;N=O:7,@4&EN87)D("`\<&EN87)D0&ER;RYU;6]N=')E86PN8V$^"@H)*B!G M96YF:6QE+F,@*'5S86=E*3H@5'EP;R!I;B!M97-S86=E+@H)4F5P;W)T960@ M8GD@0VAR:7-T:6%N($MI2!4;VT@5')O;65Y(&%N9"!2;V)E&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/tests/ChangeLog:' 'MD5 check failed' 579aae10853e44d0d299e710ff5c0244 tar-1.12/tests/ChangeLog SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/tests/ChangeLog'`" test 4898 -eq "$shar_count" || $echo 'tar-1.12/tests/ChangeLog:' 'original size' '4898,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/tests/Makefile.am ============== if test -f 'tar-1.12/tests/Makefile.am' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/tests/Makefile.am' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/tests/Makefile.am' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/tests/Makefile.am M(R!-86ME9FEL92!F;W(@1TY5('1A6]U'1R86,P,2YS:"!E>'1R86,P,BYS:"!E>'1R86,P,RYS M:"!<"F]L9"YS:"!V;VQU;64N"DO0$1!5$%$25). M04U%0"]L;V-A;&4*"FUO6-L96%N.@H)&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/tests/Makefile.am:' 'MD5 check failed' 3f2dbdf01dbcf91a53c04ecdc5241b58 tar-1.12/tests/Makefile.am SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/tests/Makefile.am'`" test 1454 -eq "$shar_count" || $echo 'tar-1.12/tests/Makefile.am:' 'original size' '1454,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/tests/Makefile.in ============== if test -f 'tar-1.12/tests/Makefile.in' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/tests/Makefile.in' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/tests/Makefile.in' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/tests/Makefile.in M(R!-86ME9FEL92YI;B!G96YE2!B>2!A=71O M;6%K92`Q+C%N(&9R;VT@36%K969I;&4N86T*"B,@0V]P>7)I9VAT("A#*2`Q M.3DT+"`Q.3DU+"`Q.3DV($9R964@4V]F='=A2!I="X*"B,@ M36%K969I;&4@9F]R($=.52!T87(@6]U(&-A;B!R961I0HC(&ET('5N M9&5R('1H92!T97)M2!L871E2!O9@HC($U%4D-(04Y404))3$E462!O"`]($!P&5C9&ER(#T@0&QI8F5X96-D:7)`"F1A=&%D:7(@/2!` M9&%T861I7-C;VYF9&ER0`IS:&%R961S=&%T M961I'1R86,P,2YS:"!E>'1R86,P,BYS:"!E>'1R86,P M,RYS:"!<"F]L9"YS:"!V;VQU;64N"DO0$1!5$%$ M25).04U%0"]L;V-A;&4*;6MI;G-T86QL9&ER6-L96%N+6-O M;7!I;&4Z"@ER;2`M9B`J+F\@8V]R90H*8VQE86XM8V]M<&EL93H*"F1I6-L96%N+6MR.@H)&5C.B`*"4`D*$Y/4DU!3%])3E-404Q, M*0H*:6YS=&%L;"UD871A.B`*"4`D*$Y/4DU!3%])3E-404Q,*0H*:6YS=&%L M;#H@:6YS=&%L;"UE>&5C(&ENB`B)"A-3U-43%E#3$5!3D9)3$53*2(@?'P@ M6-L96%N+6-O M;7!I;&4@7`H)"6UO6-L96%N+6MR(&UO6-L96%N+71A9W,@;6]S M=&QY8VQE86XM9V5N97)I8PH*8VQE86XZ("!C;&5A;BUC:&5C:U!23T=204U3 M(&-L96%N+6-O;7!I;&4@8VQE86XM:W(@8VQE86XM=&%G6-L96%N+6MR(%P*9&ES=&-L96%N+6MR(&-L M96%N+6MR(&UA:6YT86EN97(M8VQE86XM:W(@=&%G6-L96%N+6=E;F5R:6,@ M9&ES=&-L96%N+6=E;F5R:6,@8VQE86XM9V5N97)I8R!<"FUA:6YT86EN97(M M8VQE86XM9V5N97)I8R!C;&5A;B!M;W-T;'EC;&5A;B!D:7-T8VQE86X@;6%I M;G1A:6YE6-L96%N.@H)'!O7-T96T@;&EM:70@*&9O7-6(&%T(&QE87-T*2!M ;87D@8F4@97AC965D960N"BY.3T584$]25#H* ` end SHAR_EOF $shar_touch -am 0425202297 'tar-1.12/tests/Makefile.in' && chmod 0644 'tar-1.12/tests/Makefile.in' || $echo 'restore of' 'tar-1.12/tests/Makefile.in' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/tests/Makefile.in:' 'MD5 check failed' 3aa20b5f188bba4004fe6cadaa7332e4 tar-1.12/tests/Makefile.in SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/tests/Makefile.in'`" test 8892 -eq "$shar_count" || $echo 'tar-1.12/tests/Makefile.in:' 'original size' '8892,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/tests/preset.in ============== if test -f 'tar-1.12/tests/preset.in' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/tests/preset.in' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/tests/preset.in' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/tests/preset.in' && #! /bin/sh # Set the testing environment. X PACKAGE=@PACKAGE@ VERSION=@VERSION@ top_srcdir=@top_srcdir@ srcdir=@srcdir@ X echo_n='@ECHO_N@' echo_c='@ECHO_C@' X export LANGUAGE LANGUAGE= export LANG LANG= export LC_MESSAGES LC_MESSAGES= SHAR_EOF $shar_touch -am 0422091797 'tar-1.12/tests/preset.in' && chmod 0755 'tar-1.12/tests/preset.in' || $echo 'restore of' 'tar-1.12/tests/preset.in' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/tests/preset.in:' 'MD5 check failed' b14c4589ed5cbf2438370e6d9a20c658 tar-1.12/tests/preset.in SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/tests/preset.in'`" test 233 -eq "$shar_count" || $echo 'tar-1.12/tests/preset.in:' 'original size' '233,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/tests/genfile.c ============== if test -f 'tar-1.12/tests/genfile.c' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/tests/genfile.c' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/tests/genfile.c' '(binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 tar-1.12/tests/genfile.c M+RH@1V5N97)A=&4@82!F:6QE(&-O;G1A:6YI;F<@2!O9@H@ M("!-15)#2$%.5$%"24Q)5%D@;W(@1DE43D534R!&3U(@02!005)424-53$%2 M(%!54E!/4T4N("!3964@=&AE($=.50H@("!'96YE&ET M+B`@*B\*F5R M;RP@<')I;G0@=&AE('9E&ET+B`@*B\*PH@("`@("!P2P@=&AE;B!I="!IF5R;W,G7&Y<"B`@("`@("TM:&5L<"`@("`@("`@("`@("`@("`@ M9&ES<&QA>2!T:&ES(&AE;'`@86YD(&5X:71<;EP*("`@("`@+2UV97)S:6]N M("`@("`@("`@("`@("!O=71P=70@=F5R2!O9B!\"GP@F5R;W,B+`D)"2\J(#$@*B\* M("!.54Q,"GT["@II;G0*;6%I;B`H:6YT(&%R9V,L(&-H87(@*F-O;G-T("IA MPH@("`@("!D969A=6QT.@H)=7-A9V4@*$58251?1D%)3%5212D["@H@("`@ M("!C87-E("=<,"PH*"2`@8V%S92`M,CH*"2`@("!E6EN9R!C;VYD:71I;VYS+B`@5&AEPH@("`@8V%S92!$149!54Q4.@H@("`@("!F;W(@*&-O=6YT M97(@/2`P.R!C;W5N=&5R(#P@9FEL95]L96YG=&@[(&-O=6YT97(K*RD*"7!U M=&-H87(@*&-O=6YT97(@)B`R-34I.PH@("`@("!B&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/tests/genfile.c:' 'MD5 check failed' dd729ba1faf3c4bda8467ee1e9c78523 tar-1.12/tests/genfile.c SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/tests/genfile.c'`" test 4704 -eq "$shar_count" || $echo 'tar-1.12/tests/genfile.c:' 'original size' '4704,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/tests/after ============== if test -f 'tar-1.12/tests/after' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/tests/after' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/tests/after' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/tests/after' && #! /bin/sh # Do common operations after a particular test. X cd .. exec 1> /dev/null exec 2> /dev/null echo $echo_n "$out$echo_c" | cmp -s - tmp-$$/stdout || exit 1 echo $echo_n "$err$echo_c" | cmp -s - tmp-$$/stderr || exit 1 rm -rf tmp-$$ SHAR_EOF $shar_touch -am 0424193397 'tar-1.12/tests/after' && chmod 0755 'tar-1.12/tests/after' || $echo 'restore of' 'tar-1.12/tests/after' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/tests/after:' 'MD5 check failed' b011e4ac809ef95b8bb1cf8c5fda3790 tar-1.12/tests/after SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/tests/after'`" test 240 -eq "$shar_count" || $echo 'tar-1.12/tests/after:' 'original size' '240,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/tests/before ============== if test -f 'tar-1.12/tests/before' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/tests/before' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/tests/before' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/tests/before' && #! /bin/sh # Do common operations before a particular test. X mkdir tmp-$$ cd tmp-$$ X case $srcdir in X /*|~*) ;; X *) srcdir=../$srcdir ;; esac X out= err= X echo $0 > checking exec 1> stdout exec 2> stderr X PATH=..:../../src:$PATH SHAR_EOF $shar_touch -am 1122123996 'tar-1.12/tests/before' && chmod 0755 'tar-1.12/tests/before' || $echo 'restore of' 'tar-1.12/tests/before' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/tests/before:' 'MD5 check failed' 5a762836fb4829a43a4a1209a990243b tar-1.12/tests/before SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/tests/before'`" test 230 -eq "$shar_count" || $echo 'tar-1.12/tests/before:' 'original size' '230,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/tests/version.sh ============== if test -f 'tar-1.12/tests/version.sh' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/tests/version.sh' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/tests/version.sh' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/tests/version.sh' && #! /bin/sh # Check if the proper version is being tested. X X. ./preset PATH=../src:$PATH X if test -n "`$PACKAGE --version | sed -n s/$PACKAGE.*$VERSION/OK/p`"; then X banner="Regression testing for GNU $PACKAGE, version $VERSION" X dashes=`echo $banner | sed s/./=/g` X echo $dashes X echo $banner X echo $dashes else X echo '==============================================================' X echo 'WARNING: Not using the proper version, *all* checks dubious...' X echo '==============================================================' X exit 1 fi SHAR_EOF $shar_touch -am 0226001297 'tar-1.12/tests/version.sh' && chmod 0755 'tar-1.12/tests/version.sh' || $echo 'restore of' 'tar-1.12/tests/version.sh' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/tests/version.sh:' 'MD5 check failed' bcaf68e212d9d6f48713b46dbe3d9969 tar-1.12/tests/version.sh SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/tests/version.sh'`" test 545 -eq "$shar_count" || $echo 'tar-1.12/tests/version.sh:' 'original size' '545,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/tests/ignfail.sh ============== if test -f 'tar-1.12/tests/ignfail.sh' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/tests/ignfail.sh' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/tests/ignfail.sh' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/tests/ignfail.sh' && #! /bin/sh # Unreadable directories yielded error despite --ignore-failed-read. X X. ./preset X. $srcdir/before X > check-uid set - x`ls -l check-uid` if test $3 = root; then X X # The test is meaningless for super-user. X rm check-uid X else X X touch file X mkdir directory X touch directory/file X X echo 1>&2 ----- X chmod 000 file X tar cf archive file X status=$? X chmod 600 file X test $status = 2 || exit 1 X X echo 1>&2 ----- X chmod 000 file X tar cf archive --ignore-failed-read file || exit 1 X status=$? X chmod 600 file X test $status = 0 || exit 1 X X echo 1>&2 ----- X chmod 000 directory X tar cf archive directory X status=$? X chmod 700 directory X test $status = 2 || exit 1 X X echo 1>&2 ----- X chmod 000 directory X tar cf archive --ignore-failed-read directory || exit 1 X status=$? X chmod 700 directory X test $status = 0 || exit 1 X X err="\ ----- tar: Cannot add file file: Permission denied tar: Error exit delayed from previous errors ----- tar: Cannot add file file: Permission denied ----- tar: Cannot add directory directory: Permission denied tar: Error exit delayed from previous errors ----- tar: Cannot add directory directory: Permission denied " X fi X X. $srcdir/after SHAR_EOF $shar_touch -am 0425162197 'tar-1.12/tests/ignfail.sh' && chmod 0755 'tar-1.12/tests/ignfail.sh' || $echo 'restore of' 'tar-1.12/tests/ignfail.sh' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/tests/ignfail.sh:' 'MD5 check failed' 74a52f39aa1116c962385f8192bfa0cf tar-1.12/tests/ignfail.sh SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/tests/ignfail.sh'`" test 1223 -eq "$shar_count" || $echo 'tar-1.12/tests/ignfail.sh:' 'original size' '1223,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/tests/extrac01.sh ============== if test -f 'tar-1.12/tests/extrac01.sh' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/tests/extrac01.sh' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/tests/extrac01.sh' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/tests/extrac01.sh' && #! /bin/sh # There was a diagnostic when directory already exists. X X. ./preset X. $srcdir/before X set -e mkdir directory touch directory/file tar cf archive directory || exit 1 tar xf archive || exit 1 X X. $srcdir/after SHAR_EOF $shar_touch -am 1122142096 'tar-1.12/tests/extrac01.sh' && chmod 0755 'tar-1.12/tests/extrac01.sh' || $echo 'restore of' 'tar-1.12/tests/extrac01.sh' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/tests/extrac01.sh:' 'MD5 check failed' df1ec6bc39a80ee53eb0d3cbaed517db tar-1.12/tests/extrac01.sh SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/tests/extrac01.sh'`" test 218 -eq "$shar_count" || $echo 'tar-1.12/tests/extrac01.sh:' 'original size' '218,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/tests/extrac02.sh ============== if test -f 'tar-1.12/tests/extrac02.sh' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/tests/extrac02.sh' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/tests/extrac02.sh' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/tests/extrac02.sh' && #! /bin/sh # Could not extract symlinks over an existing file. X X. ./preset X. $srcdir/before X set -e touch file ln -s file link 2> /dev/null || ln file link tar cf archive link rm link touch link tar xf archive X X. $srcdir/after SHAR_EOF $shar_touch -am 0121195397 'tar-1.12/tests/extrac02.sh' && chmod 0755 'tar-1.12/tests/extrac02.sh' || $echo 'restore of' 'tar-1.12/tests/extrac02.sh' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/tests/extrac02.sh:' 'MD5 check failed' 4b86c06fa01decbdde4f44c9ae294fef tar-1.12/tests/extrac02.sh SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/tests/extrac02.sh'`" test 227 -eq "$shar_count" || $echo 'tar-1.12/tests/extrac02.sh:' 'original size' '227,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/tests/extrac03.sh ============== if test -f 'tar-1.12/tests/extrac03.sh' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/tests/extrac03.sh' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/tests/extrac03.sh' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/tests/extrac03.sh' && #! /bin/sh # Paths going up and down were inducing extraction loops. X X. ./preset X. $srcdir/before X set -e mkdir directory tar cfv archive directory/../directory echo ----- tar xfv archive X out="\ directory/../directory/ ----- directory/../directory/ " X X. $srcdir/after SHAR_EOF $shar_touch -am 0422205397 'tar-1.12/tests/extrac03.sh' && chmod 0755 'tar-1.12/tests/extrac03.sh' || $echo 'restore of' 'tar-1.12/tests/extrac03.sh' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/tests/extrac03.sh:' 'MD5 check failed' 80171e4317e5decec476a0db191db142 tar-1.12/tests/extrac03.sh SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/tests/extrac03.sh'`" test 269 -eq "$shar_count" || $echo 'tar-1.12/tests/extrac03.sh:' 'original size' '269,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/tests/old.sh ============== if test -f 'tar-1.12/tests/old.sh' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/tests/old.sh' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/tests/old.sh' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/tests/old.sh' && #! /bin/sh # An old archive was not receiving directories. X X. ./preset X. $srcdir/before X set -e mkdir directory tar cfvo archive directory tar tf archive X out="\ directory/ directory/ " X X. $srcdir/after SHAR_EOF $shar_touch -am 0225194997 'tar-1.12/tests/old.sh' && chmod 0755 'tar-1.12/tests/old.sh' || $echo 'restore of' 'tar-1.12/tests/old.sh' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/tests/old.sh:' 'MD5 check failed' d35ea7b7bf66d035fa0787478af94392 tar-1.12/tests/old.sh SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/tests/old.sh'`" test 203 -eq "$shar_count" || $echo 'tar-1.12/tests/old.sh:' 'original size' '203,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/tests/volume.sh ============== if test -f 'tar-1.12/tests/volume.sh' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/tests/volume.sh' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/tests/volume.sh' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/tests/volume.sh' && #! /bin/sh # Volume labels are checked on read by fnmatch. X X. ./preset X. $srcdir/before X tar cfVT archive label /dev/null || exit 1 X tar xfV archive label || exit 1 tar xfV archive 'la?el' || exit 1 tar xfV archive 'l*l' || exit 1 X echo 1>&2 ----- tar xfV archive lab test $? = 2 || exit 1 echo 1>&2 ----- tar xfV archive bel test $? = 2 || exit 1 echo 1>&2 ----- tar xfV archive babel test $? = 2 || exit 1 X err="\ ----- tar: Volume \`label' does not match \`lab' tar: Error is not recoverable: exiting now ----- tar: Volume \`label' does not match \`bel' tar: Error is not recoverable: exiting now ----- tar: Volume \`label' does not match \`babel' tar: Error is not recoverable: exiting now " X X. $srcdir/after SHAR_EOF $shar_touch -am 0329162897 'tar-1.12/tests/volume.sh' && chmod 0755 'tar-1.12/tests/volume.sh' || $echo 'restore of' 'tar-1.12/tests/volume.sh' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/tests/volume.sh:' 'MD5 check failed' a7b6c211e928d203cd886c90e79500f3 tar-1.12/tests/volume.sh SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/tests/volume.sh'`" test 713 -eq "$shar_count" || $echo 'tar-1.12/tests/volume.sh:' 'original size' '713,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/tests/gzip.sh ============== if test -f 'tar-1.12/tests/gzip.sh' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/tests/gzip.sh' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/tests/gzip.sh' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/tests/gzip.sh' && #! /bin/sh # tar should detect that its gzip child failed. X X. ./preset X. $srcdir/before X tar xfvz /dev/null test $? = 2 || exit 1 X err="\ X gzip: stdin: unexpected end of file tar: Child returned status 1 tar: Error exit delayed from previous errors " X X. $srcdir/after SHAR_EOF $shar_touch -am 0425162197 'tar-1.12/tests/gzip.sh' && chmod 0755 'tar-1.12/tests/gzip.sh' || $echo 'restore of' 'tar-1.12/tests/gzip.sh' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/tests/gzip.sh:' 'MD5 check failed' 9f0b59ad38a6790896aa7c44110c1018 tar-1.12/tests/gzip.sh SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/tests/gzip.sh'`" test 268 -eq "$shar_count" || $echo 'tar-1.12/tests/gzip.sh:' 'original size' '268,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/tests/append.sh ============== if test -f 'tar-1.12/tests/append.sh' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/tests/append.sh' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/tests/append.sh' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/tests/append.sh' && #! /bin/sh # Append was just not working. X X. ./preset X. $srcdir/before X set -e touch file1 touch file2 tar cf archive file1 tar rf archive file2 tar tf archive X out="\ file1 file2 " X X. $srcdir/after SHAR_EOF $shar_touch -am 1122142296 'tar-1.12/tests/append.sh' && chmod 0755 'tar-1.12/tests/append.sh' || $echo 'restore of' 'tar-1.12/tests/append.sh' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/tests/append.sh:' 'MD5 check failed' f332f93c285cf4cef2849099cfff4730 tar-1.12/tests/append.sh SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/tests/append.sh'`" test 199 -eq "$shar_count" || $echo 'tar-1.12/tests/append.sh:' 'original size' '199,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/tests/delete01.sh ============== if test -f 'tar-1.12/tests/delete01.sh' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/tests/delete01.sh' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/tests/delete01.sh' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/tests/delete01.sh' && #! /bin/sh # Deleting a member after a big one was destroying the archive. X X. ./preset X. $srcdir/before X set -e genfile -l 50000 > file1 genfile -l 1024 > file2 tar cf archive file1 file2 tar f archive --delete file2 tar tf archive X out="\ file1 " X X. $srcdir/after SHAR_EOF $shar_touch -am 0422015997 'tar-1.12/tests/delete01.sh' && chmod 0755 'tar-1.12/tests/delete01.sh' || $echo 'restore of' 'tar-1.12/tests/delete01.sh' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/tests/delete01.sh:' 'MD5 check failed' 93b494bf1536e7ff159da4469de8a7ff tar-1.12/tests/delete01.sh SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/tests/delete01.sh'`" test 265 -eq "$shar_count" || $echo 'tar-1.12/tests/delete01.sh:' 'original size' '265,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/tests/incremen.sh ============== if test -f 'tar-1.12/tests/incremen.sh' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/tests/incremen.sh' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/tests/incremen.sh' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/tests/incremen.sh' && #! /bin/sh # A directory older than the listed entry was skipped completely. X X. ./preset X. $srcdir/before X set -e mkdir structure touch structure/file # FIXME: The sleep is necessary for the second tar to work. Exactly why? sleep 1 tar cf archive --listed=list structure tar cfv archive --listed=list structure echo ----- touch structure/file tar cfv archive --listed=list structure X out="\ structure/ ----- structure/ structure/file " X X. $srcdir/after SHAR_EOF $shar_touch -am 1122145896 'tar-1.12/tests/incremen.sh' && chmod 0755 'tar-1.12/tests/incremen.sh' || $echo 'restore of' 'tar-1.12/tests/incremen.sh' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/tests/incremen.sh:' 'MD5 check failed' ed12ac4dd426ccdd8e7376f8a80999bd tar-1.12/tests/incremen.sh SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/tests/incremen.sh'`" test 454 -eq "$shar_count" || $echo 'tar-1.12/tests/incremen.sh:' 'original size' '454,' 'current size' "$shar_count!" fi fi # ============= tar-1.12/tests/delete02.sh ============== if test -f 'tar-1.12/tests/delete02.sh' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'tar-1.12/tests/delete02.sh' '(file already exists)' else $echo 'x -' extracting 'tar-1.12/tests/delete02.sh' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'tar-1.12/tests/delete02.sh' && #! /bin/sh # Deleting a member with the archive from stdin was not working correctly. X X. ./preset X. $srcdir/before X set -e genfile -l 3073 -p zeros > 1 cp 1 2 cp 2 3 tar cf archive 1 2 3 tar tf archive cat archive | tar f - --delete 2 > archive2 echo ----- tar tf archive X out="\ 1 2 3 ----- 1 3 " X X. $srcdir/after SHAR_EOF $shar_touch -am 0425085097 'tar-1.12/tests/delete02.sh' && chmod 0755 'tar-1.12/tests/delete02.sh' || $echo 'restore of' 'tar-1.12/tests/delete02.sh' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'tar-1.12/tests/delete02.sh:' 'MD5 check failed' 7b463653fe3fb50b11d2bce10e58d116 tar-1.12/tests/delete02.sh SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'tar-1.12/tests/delete02.sh'`" test 315 -eq "$shar_count" || $echo 'tar-1.12/tests/delete02.sh:' 'original size' '315,' 'current size' "$shar_count!" fi fi rm -fr _sh03212 exit 0