home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / tar-1.11.8-src.tgz / tar.out / fsf / tar / ChangeLog < prev    next >
Text File  |  1996-09-28  |  120KB  |  3,190 lines

  1. Sat Jun 17 07:08:26 1995  =?ISO-8859-1?Q?Fran=E7ois_Pinard?=  (pinard@icule)
  2.  
  3.     * Release 1.11.8.
  4.  
  5.     * lib/Makefile.in (DISTFILES): Remove COPYING.LIB.
  6.     * lib/COPYING.LIB: Deleted.
  7.  
  8.     * src/Makefile.in (mostlyclean): Remove also _*.c and _*.o.
  9.  
  10.     * src/system.h: Remove typedef of off_t, because AC_TYPE_OFF_T
  11.     takes care of it now.
  12.  
  13.     * src/create.c (dump_file), src/gnu.c (get_dir_contents): Cast
  14.     (int) explicitely for test.
  15.  
  16.     * src/Makefile.in ($(OBJECTS)): Depend on ../intl/libgettext.h
  17.     instead of ../intl/libintl.h, which does not always exist.
  18.  
  19.     * src/genfile.c: Define EXIT_SUCCESS and EXIT_FAILURE if not.
  20.     * src/tar.c (main): Use TAREXIT_SUCCESS instead of EXIT_SUCCESS.
  21.  
  22.     * scripts/WARNING: New file.
  23.     * scripts/Makefile.in (DISTFILES): Distribute it.
  24.  
  25.     * po/Makefile.in (.po.gmo): Force moving the created .gmo file to
  26.     $(srcdir), in case it was not already found and replaced there.
  27.     (install-data): Find files in $(srcdir) if not in current dir,
  28.     because .gmo files are taken there, right out the distribution.
  29.     * intl/Makefile.in (DISTFILES): Ensure an all ready stamp-cat-id
  30.     and cat-id-tbl.c into the distribution.
  31.     (stamp-cat-id): Rewrite rule so it replaces files in $(srcdir),
  32.     remove a useless rm and cat.
  33.  
  34.     * po/Makefile.in (install-data, uninstall): Avoid using basename.
  35.  
  36.     * Makefile.in (DISTFILES): Distribute config.guess and config.sub.
  37.     Reported by Ulrich Drepper.
  38.  
  39.     * acconfig.h, aclocal.m4, configure.in, intl/cat-compat.c,
  40.     int/gettext.h, intl/po-to-tbl.sed, po/Makefile.in: Last minutes
  41.     additions, and glimpses to the future gettext 0.6.1.
  42.     Reported by Ulrich Drepper.
  43.  
  44.     * acconfig.h: Document HAVE_MKNOD.
  45.     * configure.in: Test for mknod only once <sys/stat.h> included.
  46.     Reported by Alan Modra, Ray Dassen and Ulrich Drepper.
  47.  
  48.     * aclocal.m4: Test for re_rx_search instead of rx_compile, the
  49.     latter not being exported unless RX_WANT_RX_DEFS is defined.
  50.     Reported by Alan Modra.
  51.  
  52.     * src/tar.h: Use off_t instead of long for the second argument in
  53.     __rmt_lseek declaration.
  54.  
  55. Thu Jun 15 14:30:20 1995  =?ISO-8859-1?Q?Fran=E7ois_Pinard?=  (pinard@icule)
  56.  
  57.     * po/Makefile.in (dist): Comment out tupdate action for now, it
  58.     needs more tweeking before being distributed active.
  59.  
  60.     * intl/Makefile.in (dist), po/Makefile.in (dist): Correct
  61.     missing reference to $(srcdir) on cp call, also avoid outputting
  62.     clutter while doing the work.
  63.  
  64.     * intl/Makefile.in: Use top_srcdir for referring to $(PACKAGE).pot.
  65.  
  66.     * Makefile.in, lib/Makefile.in (dist), scripts/Makefile.in (dist):
  67.     Do not hide copying rule.
  68.  
  69.     * po/Makefile.in (.po.gmo): Get around what seems to be an msgfmt
  70.     bug, which adds .mo even to FILE in `-o FILE'.
  71.  
  72.     * src/checktar.sh: Send a message saying that it is still useless.
  73.  
  74.     * configure.in, intl/Makefile.in, po/Makefile.in: Adjustments to
  75.     NLS, so .sed scripts may now all reside in intl/.
  76.  
  77. Tue Jun 13 16:10:49 1995  =?ISO-8859-1?Q?Fran=E7ois_Pinard?=  (pinard@icule)
  78.  
  79.     * Makefile.in (pot): New goal, triggering po/tar.pot.
  80.  
  81. Sun Jun 11 08:53:50 1995  =?ISO-8859-1?Q?Fran=E7ois_Pinard?=  (pinard@icule)
  82.  
  83.     * src/tar.h, src/tar.c (decode_options), src/extract.c
  84.     (extract_archive), src/diffarch.c (diff_archive), src/create.c
  85.     (dump_file, start_header), src/tar.c (decode_options): Replace
  86.     flag_absolute_paths by flag_absolute_names.
  87.     * src/tar.c (decode_options): Implement OBSOLETE_ABSOLUTE_NAMES for
  88.     reporting --absolute-paths as obsolete.
  89.  
  90.     * src/system.h: Conditionnaly include <locale.h> and define
  91.     setlocale to void independently of ENABLE_NLS.
  92.     Reported by Ulrich Drepper.
  93.  
  94. Sat Jun 10 19:59:19 1995  =?ISO-8859-1?Q?Fran=E7ois_Pinard?=  (pinard@icule)
  95.  
  96.     * src/tar.c (long_options): Use no_argument and require_argument,
  97.     instead of constants.  Have long option names translated to short
  98.     options whenever possible, rather than setting flags directly:
  99.     easing option management is worth a few extra nanoseconds.
  100.  
  101.     * src/tar.c (long_options): Add --gunzip as meaning -z.
  102.     Reported by Bruno Haible.
  103.  
  104. Wed Jun  7 13:51:13 1995  =?ISO-8859-1?Q?Fran=E7ois_Pinard?=  (pinard@icule)
  105.  
  106.     * configure.in: Substitute POTFILES by contents of po/POTFILES.
  107.     * po/POTFILES: New file.
  108.     * po/Makefile.in: Use POTFILES instead of TRANSCSRCS, also use
  109.     top_srcdir.
  110.  
  111.     * {doc,lib,scripts,src}/Makefile.in: Use subdir and distdir.
  112.  
  113.     * configure.in: More adjustments for GNU gettext 0.6.
  114.     * config.guess, config.sub, intl/linux-msg.sed, intl/po-to-tbl.sed,
  115.     intl/xopen-msg.sed: New    files, all taken from gettext 0.6.
  116.     * lib/stpcpy.c, lib/xgetcwd.c: New functions needed by gettext.
  117.     * lib/Makefile.in: Adjusted to always compile these.
  118.     * src/system.h: If NLS, simplify by merely including <libintl.h>.
  119.     Also, define setlocale to emtpy only if the setlocale function is
  120.     not known, instead of when <locale.h> is missing.
  121.     * src/Makefile.in (INCLUDES): Use ../intl in compilations,
  122.     taking care of the fact libintl.h might have been symlinked there.
  123.  
  124. Mon Jun  5 21:51:01 1995  =?ISO-8859-1?Q?Fran=E7ois_Pinard?=  (pinard@icule)
  125.  
  126.     * intl/*:  New from GNU gettext 0.6, replacing the previous
  127.     version of this directory.  This change should solve many problems.
  128.     Reported by Bruno Haible, Christopher Vickery, Jan Carlson,
  129.     Jean-Philippe Martin-Flatin, John David Anglin, Joseph E.
  130.     Sacco, Kaveh R. Ghazi, Kurt Jaeger, Mark W. Eichin, Marty
  131.     Leisner, Minh Tran-Le, Stephen Saroff, Thomas Koenig, Thomas
  132.     Krebs and William Bader.
  133.  
  134.     * src/tar.c, src/tar.h: Rename TAR_EXTERN to GLOBAL.
  135.  
  136.     * src/tar.h: Delete COMMAND_VERSION.
  137.     * src/tar.c: Replace OPTION_HELP and OPTION_VERSION commands by
  138.     show_help and show_version variables, so `--version --create' will
  139.     not diagnose `Too many commands'.  Adjust things so this works.
  140.     Reported by Marty Leisner.
  141.  
  142. Sun Jun  4 15:15:06 1995  =?ISO-8859-1?Q?Fran=E7ois_Pinard?=  (pinard@icule)
  143.  
  144.     * Makefile.in, src/Makefile.in (check): New goal.
  145.     * src/checktar.sh: New script.
  146.     * src/genfile.c: New file.
  147.     * src/Makefile.in (all): Prepare genfile.
  148.     * src/Makefile.in: Distribute checktar.sh and genfile.c.
  149.  
  150. Sat Jun  3 09:30:34 1995  =?ISO-8859-1?Q?Fran=E7ois_Pinard?=  (pinard@icule)
  151.  
  152.     * doc/tar.texinfo: Use header.texi.
  153.     * doc/Makefile.in: Prepare doc/header.texi from src/tar.h.
  154.     Distribute it.
  155.     * src/tar.h: Adjust so extracted doc/header.texi is neater.
  156.  
  157. Tue May 30 08:01:38 1995  =?ISO-8859-1?Q?Fran=E7ois_Pinard?=  (pinard@icule)
  158.  
  159.     * src/tar.c (name_match): Use %s for printing directory, not %d.
  160.     Reported by Marty Leisner.
  161.  
  162.     * src/tar.c (name_gather, addname): chdir_name receives string
  163.     pointers which might later be overwritten, but nevertheless saved
  164.     into structures, so, use xstrdup for the time being.
  165.     Reported by Michael Holmes.
  166.  
  167.     * src/tar.c (name_next, name_from_list): Abort when chdir fails.
  168.     Reported by Ian Jackson and Marty Leisner.
  169.  
  170.     * Makefile.in (DISTFILES): Do not distribute SUPPORT, now
  171.     integrated in the documentation.
  172.     Reported by Karl Berry.
  173.  
  174. Sun May 28 13:36:10 1995  =?ISO-8859-1?Q?Fran=E7ois_Pinard?=  (pinard@icule)
  175.  
  176.     * src/rmt.h: Declare second argument of __rmt_lseek to be off_t
  177.     instead of long, so it is the same as in src/rmt.c.
  178.     Reported by Chris Arthur.
  179.  
  180.     * src/buffer.c (close_archive): Compensate for the addition of 2
  181.     to ar_block at open_archive time, for when -M used, just before
  182.     calling free.
  183.     Reported by Kevin Dalley.
  184.  
  185.     * src/rmt.c: Replace SSIZE by STRING_SIZE, avoiding a conflict
  186.     with some header files.
  187.     Reported by Kaveh R. Ghazi and William Bader.
  188.  
  189.     * src/tar.c: Use DEVICE_PREFIX instead of DEVICE_PREXIX, and
  190.     WITH_REGEX instead of WITH_REGEC.
  191.     Reported by Bruno Haible.
  192.  
  193.     * doc/Makefile.in (DISTFILES): Add tar.info-3.
  194.     Reported by Bruno Haible.
  195.  
  196.     * configure.in: Check for isascii, not iascii.
  197.     Reported by Alan Modra, Bruno Haible and Greg McGary.
  198.  
  199. Tue May 16 12:32:04 1995  =?ISO-8859-1?Q?Fran=E7ois_Pinard?=  (pinard@icule)
  200.  
  201.     * Prerelease 1.11.7.
  202.  
  203.     * src/Makefile.in (tar): Have $(OBJECTS) depend on system.h.
  204.  
  205.     * Makefile.in (DISTFILES): Distribute NLS.
  206.     * lib/insremque.h, lib/insremque.c: New files, from GNU gettext.
  207.     * lib/Makefile.in: Take care of insremque.[hc].
  208.     * configure.in, acconfig.h: Many adjustments for GNU gettext.
  209.     * intl/Makefile.in, po/Makefile.in: Idem.
  210.     * src/system.h: Idem.
  211.  
  212. Tue May  9 00:14:23 1995  =?ISO-8859-1?Q?Fran=E7ois_Pinard?=  (pinard@icule)
  213.  
  214.     * configure.in, src/Makefile.in: Clean glocale out.
  215.  
  216.     * po/Makefile.in: New file.
  217.     * po/de.po, po/fr.po, po/pt.po, po/sv.po: New files, adapted from
  218.     the corresponding .tt files in src/.
  219.     * Makefile.in (SUBDIRS): Add po.
  220.     * Makefile.in (pofile): New goal.
  221.  
  222. Mon May  8 14:58:54 1995  =?ISO-8859-1?Q?Fran=E7ois_Pinard?=  (pinard@icule)
  223.  
  224.     * configure.in: Call ud_WITH_NLS, create intl/Makefile.in.
  225.     Compute size of unsigned short and unsigned int.
  226.  
  227.     * acconfig.h: Document ENABLE_NLS, HAVE_CATGETS and HAVE_GETTEXT.
  228.     * Makefile.in: Process intl subdirectory.
  229.     * src/Makefile.in: Use libintl.a while linking.
  230.     * src/system.h: Include <libintl.h> unconditionally, instead only
  231.     if WITH_CATALOG.  Let <libintl.h> define _() appropriately.
  232.     * src/tar.c (main): Call textdomain.
  233.     * intl/*: New, from nlsutils.
  234.  
  235.     * configure.in (LINGUAS): Add pt.
  236.     * src/pt.po: New file, for Portuguese.
  237.     Reported by Antonio Jose Coutinho.
  238.  
  239. Tue May  2 23:24:10 1995  =?ISO-8859-1?Q?Fran=E7ois_Pinard?=  (pinard@icule)
  240.  
  241.     * src/system.h, src/gnu.c, src/list.c, src/port.c: Avoid
  242.     superfluous parentheses in macro definitions.
  243.     * src/port.c: Capitalize macro arguments.
  244.     * src/buffer.c, src/create.c, src/diffarch.c, src/tar.c: Use comma
  245.     operator when assignment in test.
  246.  
  247. Thu Apr 27 20:56:21 1995  François Pinard  (pinard@icule)
  248.  
  249.     * src/port.c (link): Use WARN to report the message.
  250.     Reported by Sherwood Botsford.
  251.  
  252. Sun Mar 19 10:41:06 1995  François Pinard  (pinard@icule)
  253.  
  254.     * configure.in: Remove GLOCALE, add LINGUAS, use fp_WITH_CATALOGS.
  255.     * lib/Makefile.in, src/Makefile.in: Modify accordingly.
  256.     * acconfig.h: Add description for WITH_CATALOGS.
  257.     * system.h: Use WITH_CATALOGS to define _() differently.
  258.  
  259. Tue Mar 14 23:29:34 1995  François Pinard  (pinard@icule)
  260.  
  261.     * src/rtapelib.c (__rmt_open): Close the unused side of each
  262.     pipe, instead of the useful one, prior to processing.
  263.     Reported by Charles Lopes.
  264.  
  265. Wed Feb 22 00:03:32 1995  Francois Pinard  (pinard@icule)
  266.  
  267.     * configure.in, Makefile.in, doc/Makefile.in, src/Makefile.in:
  268.     Replace `date' by `echo timestamp'.
  269.  
  270. Sun Feb 19 12:25:02 1995  Francois Pinard  (pinard@icule)
  271.  
  272.     * Makefile.in, lib/Makefile.in, src/Makefile.in: Support ID files.
  273.     Do not distribute TAGS.
  274.  
  275. Mon Feb 13 18:29:23 1995  Francois Pinard  (pinard@icule)
  276.  
  277.     * doc/Makefile.in, src/Makefile.in: Use top_srcdir.
  278.  
  279. Sat Feb 11 18:16:40 1995  Francois Pinard  (pinard@icule)
  280.  
  281.     * src/gnu.c (is_dot_or_dotdot): Through NFS, readdir might deliver
  282.     empty filenames under old Solaris 2.4, causing endless loops in
  283.     tar.  As a workaround, avoid `' as done already for `.' and `..'.
  284.     Reported by Jan Carlson.
  285.  
  286. Sun Feb  5 07:38:18 1995  Francois Pinard  (pinard@icule)
  287.  
  288.     * All Makefile.in (maintainer-clean): New name for realclean.
  289.  
  290. Mon Jan  9 13:29:24 1995  Francois Pinard  (pinard@icule)
  291.  
  292.     * src/de.tt: New file, for Swedish.
  293.     Reported by Jan Djarv.
  294.  
  295. Wed Jan  4 12:50:46 1995  Francois Pinard  (pinard@icule)
  296.  
  297.     * src/extract.c (make_dirs): Correct for Turbo C on MSDOS, which
  298.     may return EACCES instead of EEXIST on mkdir.
  299.     Reported by Jeffrey Goldberg.
  300.  
  301.     * src/tar.c (usage): Do not tell about -N and related if MSDOS.
  302.     (decode_options): Be blind to -N and related if MSDOS.
  303.     Reported by Jeffrey Goldberg.
  304.  
  305.     * src/rmt.h (_remdev): A filename is not remote if the colon is
  306.     preceeded by a slash, to take care of `/:/' which is a shorthand
  307.     for `/.../<CELL-NAME>/fs' on OSF's Distributing Computing
  308.     Environment (DCE) and Distributed File System (DFS).
  309.     Reported by Travis L. Priest.
  310.  
  311. Tue Jan  3 21:43:36 1995  Francois Pinard  (pinard@icule)
  312.  
  313.     * src/tar.c (decode_options): Renamed from options.  Convert
  314.     oldish-style non-dashed options to modern writing before
  315.     performing option decoding.  Diagnose when modern options are met
  316.     before old style options are fully converted.  This allows
  317.     mixing of option styles on a single call.  Avoid getoldopt and
  318.     use getopt_long instead.
  319.     * src/getoldopt.c: Deleted.
  320.     * src/tar.h: Prototype deleted.
  321.     * src/Makefile.in: Adjusted.
  322.     Reported by Bruno Haible, Les Mikesell and Patrick Timmons.
  323.  
  324. Mon Jan  2 21:48:49 1995  Francois Pinard  (pinard@icule)
  325.  
  326.     * src/system.h: New file, split out of src/tar.h.
  327.     * src/buffer.c, src/create.c, src/diffarch.c, src/extract.c,
  328.     src/getoldopt.c, src/gnu.c, src/list.c, src/mangle.c, src/names.c,
  329.     src/port.c, src/tar.c, src/update.c: Include "system.h", and move
  330.     the inclusion of "tar.h" down after system dependent definitions.
  331.     * src/Makefile.in: Distribute system.h.
  332.  
  333.     * src/rmt.c: Include "system.h", and simplify accordingly.
  334.     * src/rtapelib.c: Include "system.h", and simplify accordingly.
  335.     * src/rmt.h: Simplify according to the inclusion of "system.h".
  336.  
  337.     * src/system.h: Include conditionnaly <sys/gentape.h>,
  338.     <sys/tape.h>, <sys/mtio.h>, <sys/ioctl.h> and <sys/io/trioctl.h>.
  339.     * src/buffer.c, src/diffarch.c, src/rmt.c, src/rtapelib.c,
  340.     src/update.c: Simplify accordingly.
  341.  
  342.     * configure.in: Check for <sys/ioccom.h>.
  343.     * src/system.h: If it exists, include <sys/ioccom.h> prior to
  344.     <sys/mtio.h>, to account for problems when GNU libc 1.0x is
  345.     installed over SunOS 4.1.3: GNU libc does not provide sys/mtio.h,
  346.     so it is taken from Sun header files which use things like _IOW,
  347.     which GNU libc despises, sys/ioccom.h then provides definitions.
  348.     Reported by Joseph E. Sacco.
  349.  
  350. Sun Jan  1 15:52:44 1995  Francois Pinard  (pinard@icule)
  351.  
  352.     * Makefile.in (DISTFILES): Distribute SUPPORT, with *pre*-releases.
  353.  
  354. Tue Dec 27 11:26:19 1994  Francois Pinard  (pinard@icule)
  355.  
  356.     * src/rmt.h: Ensure strrchr is defined to rindex in some cases.
  357.     Reported by Karl Vogel.
  358.  
  359. Sun Dec 18 19:34:32 1994  Francois Pinard  (pinard@icule)
  360.  
  361.     * configure.in: Check for isascii.
  362.     * src/tar.h: Include <ctype.c> and declare ISASCII.
  363.     * src/gnu.c: Adjust, declare and use ISDIGIT and ISSPACE.
  364.     * src/list.c: Adjust, declare and use ISODIGIT and ISSPACE.
  365.     * src/port.c: Adjust, declare and use ISPRINT.
  366.     Reported by Bruno Haible.
  367.  
  368.     * lib/safe-stat.h: New, from elsewhere.  This solves the fact that
  369.     lib/mkdir.c, lib/rmdir.c and lib/rename.c were needing it.
  370.     * lib/Makefile.in (Makefile): Distribute it.
  371.     Reported by Bruno Haible and Sherwood Botsford.
  372.  
  373. Sun Dec 11 16:17:19 1994  Francois Pinard  (pinard@icule)
  374.  
  375.     * configure.in: Use fp_WITH_REGEX.
  376.     * acconfig.h: Document WITH_REGEX.
  377.     * lib/rx.c, lib/rx.h: New, from elsewhere.
  378.     * lib/Makefile.in: Adjust accordingly.
  379.     * src/buffer.c, src/tar.c: Check WITH_REGEX.
  380.  
  381. Sat Dec 10 08:23:06 1994  Francois Pinard  (pinard@icule)
  382.  
  383.     * src/de.tt: New file, for German.
  384.     Reported by Ulrich Drepper.
  385.  
  386. Sat Dec  3 21:59:23 1994  Francois Pinard  (pinard@icule)
  387.  
  388.     * Prerelease 1.11.6.
  389.  
  390.     * src/rmt.c: Adjust for localization, by including <locale.h> and
  391.     <libintl.h>, by defining _(), by defining and calling setlocale,
  392.     and by defining and initializing program_name.
  393.     * src/Makefile.in: Use locale.o and libtar.a with rmt.
  394.  
  395.     * scripts/ChangeLog: Replaced by a warning for now.  It has
  396.     seemingly been overwritten by the weekly script :-(.
  397.  
  398.     * scripts/Makefile.in (dist): Correct .../examples to .../scripts.
  399.     * doc/Makefile.in (DISTFILES): Include docwarn.texi.
  400.  
  401.     * src/Makefile.in: Ensure INSTALL_DATA is defined.
  402.  
  403.     * configure.in, {,src,lib}/Makefile.in, src/tar.h, src/tar.c:
  404.     Localize, adapting from how it is done in sharutils.
  405.  
  406.     * src/fr.tt: New file, for French.
  407.  
  408.     * configure.in, {,*/}Makefile.in, acconfig.h, src/tar.c:
  409.     Rename PRODUCT to PACKAGE.
  410.  
  411. Tue Nov 29 20:44:14 1994  Francois Pinard  (pinard@icule)
  412.  
  413.     * src/buffer.c (backspace_output): Change cur from long to off_t.
  414.     * src/diffarch.c (diff_archive): Idem for offset.
  415.     * src/extract.c (extract_archive): Idem for offset.
  416.     * src/rmt.c: Idem for lseek ().
  417.     (main): For case 'L', use atol instead of atoi, and cast the
  418.     result to (off_t) rather than (long).
  419.     * src/rtapelib.c (__rmt_lseek): Idem of offset argument.
  420.     * src/tar.h: Change offset of sp_array from int to off_t.
  421.     * src/update.c (move_arch): Change cur from long to off_t.
  422.     Reported by David J. MacKenzie.
  423.  
  424. Sat Nov 26 18:35:37 1994  Francois Pinard  (pinard@icule)
  425.  
  426.     * configure.in: Check for <libintl.h> and <locale.h>.
  427.     * src/rmt.h, src/tar.h, src/buffer.c, src/create.c,
  428.     src/diffarch.c, src/extract.c, src/gnu.c, src/list.c,
  429.     src/rtapelib.c, src/update.c: Rename _ to __P.
  430.     * src/tar.h, src/rmt.h: Declare _ as a macro returning its
  431.     argument, or else, include <libintl.h> and declare _ as gettext.
  432.     * src/tar.c: Possibly include <locale.h> and call setlocale.
  433.     * src/rmt.c, src/buffer.c, src/create.c, src/diffarch.c,
  434.     src/extract.c, src/getoldopt.c, src/gnu.c, src/list.c,
  435.     src/mangle.c, src/port.c, src/rtapelib.c, src/tar.c,
  436.     src/update.c: Use _ macro over all localizable strings.
  437.  
  438.     * src/rtapelib.c: Declare prototype for xstrdup.  Do not declare
  439.     strstr, which is not needed.
  440.  
  441. Mon Nov  7 22:25:27 1994  Francois Pinard  (pinard@icule)
  442.  
  443.     * doc/Makefile.in (stamp-vti): Use new -r option to date.
  444.  
  445. Sat Nov  5 15:53:53 1994  Francois Pinard  (pinard@icule)
  446.  
  447.     * doc/Makefile.in (realclean): Also remove stamp-vti.
  448.  
  449. Wed Nov  2 00:50:31 1994  Francois Pinard  (pinard@icule)
  450.  
  451.     * configure.in: Check for const only after having found possible
  452.     ANSIfying compiler flags, this is of no use to check it before.
  453.  
  454. Tue Nov  1 15:30:12 1994  Francois Pinard  (pinard@icule)
  455.  
  456.     * {,*/}Makefile.in: Clean up, following those of GNU m4.  I will
  457.     not detail all the changes here.
  458.     * configure.in: Likewise.
  459.     * tar.c: Use PRODUCT and VERSION instead of version_string.
  460.     * acconfig.h: Document PRODUCT and VERSION.
  461.  
  462. Sun Oct 30 16:29:05 1994  Francois Pinard  (pinard@icule)
  463.  
  464.     * src/tar.h: Use #if __STDC__ instead of #ifdef __STDC__.
  465.  
  466. Thu Oct 27 12:36:06 1994  Francois Pinard  (pinard@icule)
  467.  
  468.     * src/rmt.h, src/tar.h, src/buffer.c, src/create.c, src/diffarch.c,
  469.     src/extract.c, src/gnu.c, src/list.c, src/mangle.c, src/tar.c,
  470.     src/update.c: Rename all f_* variables to flag_*.
  471.  
  472.     * src/tar.h, src/buffer.c, src/tar.c, src/update.c: Rename
  473.     cmd_mode into command_mode.
  474.     * src/tar.c (SET_COMMAND_MODE): New macro, use it.
  475.  
  476.     * src/port.c (quote_copy_string): Prevent sign extension of
  477.     character while copying it to an int.
  478.     (un_quote_string): Increment to_there pointer in all cases.
  479.     Reported by Mats Lofkvist.
  480.  
  481. Sun Oct  9 08:37:35 1994  Francois Pinard  (pinard@icule)
  482.  
  483.     * src/rmt.c, src/rtapelib.c, src/tar.h: Get rid of CONFIG_BROKETS.
  484.  
  485. Tue Oct  4 22:45:06 1994  Francois Pinard  (pinard@icule)
  486.  
  487.     * src/diffarch.c (fill_in_sparse_array): Add a cast for Pyramid's
  488.     dumb compiler.  Later remove the cast and compare to 0 instead.
  489.     * src/extract.c (extract_archive): Idem.
  490.     Reported by Karl Vogel and Kaveh R. Ghazi.
  491.  
  492.     * configure.in: Correct shell assignment for ac_cv_path_RSH.
  493.     Reported by Kaveh R. Ghazi.
  494.  
  495. Tue Sep 27 12:12:04 1994  Francois Pinard  (pinard@icule)
  496.  
  497.     * src/diffarch.c: Normalize capitalization in diagnostics.
  498.  
  499. Mon Sep 26 18:23:47 1994  Francois Pinard  (pinard@icule)
  500.  
  501.     * src/tar.c (name_next, name_match): Abort tar if directory cannot
  502.     be changed, instead of going on.  This is not an innocuous error.
  503.     Reported by Marty Leisner.
  504.  
  505. Thu Sep 15 23:46:27 1994  Francois Pinard  (pinard@icule)
  506.  
  507.     * src/rtapelib.c: Include "rmt.h" only once <sys/types.h> has been
  508.     included, because off_t might not be defined otherwise.
  509.     Reported by James W. McKelvey, Karl Vogel, Kaveh R. Ghazi an
  510.     and Jim Meyering and Tilman Schmidt.
  511.  
  512. Wed Sep 14 21:43:26 1994  Francois Pinard  (pinard@icule)
  513.  
  514.     * doc/Makefile.in: Cleanup...
  515.     (texclean): Deleted, merged into mostlyclean.
  516.     (Makefile): Have ./config.status create this Makefile only.
  517.  
  518.     * lib/Makefile.in: Cleanup...
  519.     (DISTFILES): Distribute TAGS.
  520.     (check): Deleted.
  521.     (TAGS): Make TAGS in $(srcdir) only.
  522.     (distclean): Do not remove TAGS.
  523.     (realclean): Remove TAGS.
  524.     (Makefile): Have ./config.status create this Makefile only.
  525.  
  526.     * scripts/Makefile.in: Cleanup...
  527.     (check): Deleted.
  528.     (Makefile): Have ./config.status create this Makefile only.
  529.  
  530.     * src/Makefile.in: Cleanup...
  531.     (DISTFILES): Distribute TAGS.
  532.     (ansi2knr): Use $(LIBS).
  533.     (TAGS): Make TAGS in $(srcdir) only.
  534.     (distclean): Do not remove TAGS.
  535.     (realclean): Remove TAGS.
  536.     (Makefile): Have ./config.status create this Makefile only.
  537.  
  538.     * Makefile.in: Cleanup...  Use subshells for all cd's.
  539.     (MDEFINES): Do not use $(INSTALL...), because ./install-sh will
  540.     not be relocated correctly.
  541.     (DISTFILES): Distribute install-sh, not install.sh.
  542.     (tags): Make only in lib and src.
  543.     (TAGS): Deleted.
  544.     (distclean, realclean): Remove config.status.
  545.     (distclean-local): Don't.
  546.     (*-recursive): Combine, use sed to strip -recursive in subgoals.
  547.     (Makefile): Have ./config.status create this Makefile only.
  548.     (stamp-h): Have ./config.status create config.h only.  Do not
  549.     create stamp-h here, it is now done from configure.
  550.     (stamp-h.in): Use date instead of touch.
  551.     * configure.in (AC_OUTPUT): Create stamp-h.
  552.  
  553. Tue Sep 13 23:01:42 1994  Francois Pinard  (pinard@icule)
  554.  
  555.     * src/buffer.c: Remove the presetting of stdlis, because stdout is
  556.     not a constant in GNU libc.
  557.     Reported by Joseph E. Sacco and Michael Innis Bushnell.
  558.  
  559.     * src/buffer.c (new_volume): Pass an otherwise unused argument to
  560.     wait, do not use NULL.
  561.     Reported by Michael Innis Bushnell.
  562.  
  563. Fri Sep  9 18:10:56 1994  Francois Pinard  (pinard@icule)
  564.  
  565.     * configure.in: Use fp_ macros for accessing aclocal.m4.  Revert
  566.     _OS_ macros to their previous names, to follow Autoconf.
  567.  
  568. Thu Sep  8 20:04:03 1994  Francois Pinard  (pinard@icule)
  569.  
  570.     * configure.in: Delete AC_OS_XENIX, now within AC_HEADER_DIRENT.
  571.  
  572. Mon Sep  5 17:06:31 1994  Francois Pinard  (pinard@icule)
  573.  
  574.     * src/Makefile.in (TAGS): Remove -t on etags call.  It has been
  575.     the default behavior for a few releases of Emacs and it seems that
  576.     option -t is now disappearing (from Emacs 19.25, at least).
  577.     Reported by Goeran Uddeborg.
  578.  
  579. Fri Sep  2 22:36:20 1994  Francois Pinard  (pinard@icule)
  580.  
  581.     * src/gnu.c (get_dir_contents): Do not set dp->allnew if dp is not
  582.     set itself.
  583.     Reported by Piercarlo Grandi.
  584.  
  585.     * src/extract.c (extract_archive): Issue diagnostic or verbose
  586.     messages to msg_file, instead of stdout.
  587.     Reported by Piercarlo Grandi.
  588.  
  589. Thu Sep  1 13:37:49 1994  Francois Pinard  (pinard@icule)
  590.  
  591.     * configure.in (PROGS): Warn if $DEFAULT_ARCHIVE was specified,
  592.     while not being found on the current system.
  593.     Reported by Robert Bernstein
  594.  
  595. Wed Aug 31 09:28:51 1994  Francois Pinard  (pinard@icule)
  596.  
  597.     * Makefile.in: Distribute it.
  598.  
  599.     * Makefile.in (distclean-local): Delete config.log.
  600.  
  601. Tue Aug 30 09:45:13 1994  Francois Pinard  (pinard@icule)
  602.  
  603.     * doc/Makefile.in (tar.info): Make the documentation in the source
  604.     directory only.
  605.  
  606. Sat Aug 27 08:05:31 1994  Francois Pinard  (pinard@icule)
  607.  
  608.     * acconfig.h: Document HAVE_UNION_WAIT, no more in Autoconf.
  609.  
  610. Wed Aug 24 12:16:41 1994  Francois Pinard  (pinard@icule)
  611.  
  612.     * configure.in: Replace AC_SYS_REMOTE_TAPE by its definition,
  613.     distillating it around.  It is going out of Autoconf.
  614.     Do not backslash quotes anymore while defining unquoted, this is
  615.     now corrected in Autoconf.
  616.  
  617. Tue Aug 23 02:05:50 1994  Francois Pinard  (pinard@icule)
  618.  
  619.     * src/tar.h: Do not declare alloca if already defined, so HP's
  620.     +Olibcalls compiler option works.
  621.     Reported by John David Anglin.
  622.  
  623.     * src/rtapelib.c (__rmt_open): Use REMOTE_SHELL only if defined.
  624.     Otherwise, if the command argument has been specified and
  625.     REMOTE_SHELL is not defined, immediately return an error.
  626.     Reported by Bruno Haible, Kaveh R. Ghazi, Marty Leisner,
  627.     Torkel Hasle and William Bader.
  628.  
  629.     Because --rsh-command may always be given, even if no remote shell
  630.     was found at configure time, remote capabilities are always compiled:
  631.     * configure.in: Do not define RTAPELIB nor HAVE_RTAPELIB.
  632.     * src/Makefile.in: Always compile $Urtapelib.o.
  633.     * src/buffer.c (child_open): Always test _remdev, do not depend
  634.     anymore on HAVE_RTAPELIB.
  635.     * src/rmt.h: Remove the code for missing HAVE_RTAPELIB.
  636.  
  637.     * src/rtapelib.c: Remove unused COMPAT (mis)feature.  Remove most
  638.     length limitations for remote host name, remote user name and
  639.     remote device name.  Duplicate path, and free it in all cases.
  640.     * (_rmt_rexec): The `user' parameter may never by the empty
  641.     string.  Remove code for that case.
  642.  
  643. Mon Aug 22 17:58:19 1994  Francois Pinard  (pinard@icule)
  644.  
  645.     Little cleanup in installation:
  646.     * configure.in: Do not check for wait3, this function is not used.
  647.     * Makefile.in: Remove useless RSH substitutions.
  648.     * src/Makefile.in: Remove rule for ../lib/libtar.a.
  649.     * lib/Makefile.in (install, check): Depend on all.
  650.  
  651.     * configure.in: Use `-g -O' instead of `-g' as CFLAGS default
  652.     value, when GNU C is being used.  Delay testing for presets.
  653.     Reported by Chris Arthur.
  654.  
  655. Sun Aug 21 08:26:29 1994  Francois Pinard  (pinard@icule)
  656.  
  657.     * Prerelease 1.11.5.
  658.  
  659.     * Makefile.in (BACKLOG, dist, shar): Correct for when a different
  660.     build directory.
  661.     * src/Makefile.in, lib/Makefile.in, doc/Makefile.in: Idem.
  662.  
  663.     * configure.in: Check for union wait.  Adapted from make 3.71.
  664.     * src/tar.h: Replace W* definitions.  Adapted from make 3.71.
  665.     * src/buffer.c (close_archive): Replace WIFCOREDUMPED by
  666.     WCOREDUMP.  Previous WIFSIGNALED definition was excluding SIGSTOP,
  667.     new definition do not exclude it anymore.  We'll see.
  668.     Reported by Demizu Noritoshi, Greg Black, Kaveh R. Ghazi,
  669.     Robert E. Brown and Russ Evans.
  670. FIXME:    (close_archive): 
  671.  
  672.     * doc/docwarn.texi: New file.
  673.     * doc/Makefile.in: Distribute it.
  674.  
  675.     * configure.in: Replace both mkdir and rmdir, not just mkdir,
  676.     because NS32016 running SysVr2.2 has mkdir and lacks rmdir.
  677.     * lib/rmdir.c: New, split out of lib/mkdir.c.
  678.     * lib/Makefile.in: Distribute it.
  679.     Reported by Greg Black.
  680.  
  681.     * configure.in: Do not try anymore to discover the archive device
  682.     by looking around for various device names.  If the installer does
  683.     not override it, nicely use `-' as a convenient default.
  684.     Reported by Andreas Schwab and Kaveh R. Ghazi.
  685.  
  686. Sat Aug 20 09:09:47 1994  Francois Pinard  (pinard@icule)
  687.  
  688.     This might (?) solve the dirent problems on NeXT's and Apollo's:
  689.     * src/tar.h: Change includes and defines from older AC_DIR_HEADER
  690.     style to newer and clearer AC_HEADER_DIRENT style.
  691.     * src/create.c, src/gnu.c: Replace NLENGTH by NAMLEN.
  692.     Reported by Drew Trieger, Hugh Secker-Walker, James W. McKelvey,
  693.     Robert E. Brown and Thomas Krebs. 
  694.  
  695.     * configure.in: Correct a checking message.
  696.     Reported by Bruno Haible.
  697.  
  698. Wed Aug 17 00:37:16 1994  Francois Pinard  (pinard@icule)
  699.  
  700.     Remove some shadowings.
  701.     * src/update.c (update_archive): Rename head_standard to unused.
  702.     * src/buffer.c (open_archive): Rename head to label.
  703.     (fl_read): Rename head to cursor.
  704.  
  705.     * src/gnu.c (dirent_cmp): Use (char *const *), not (const char **)
  706.     for not loosing the const specifier while casting.
  707.  
  708.     * src/mangle.c (extract_mangle): Remove unused argument.
  709.     * src/tar.h: Adjust prototype.
  710.     * src/extract.c (extract_archive): Caller changed.
  711.  
  712.     * src/rtapelib.c (__rmt_open): Remove useless mode parameter.
  713.     * src/rmt.h, src/tar.h: Adjust prototype.
  714.     * src/rmt.h: Adjust macros calling __rmt_open.
  715.     * src/create.c (deal_with_sparse): Remove unused argument.
  716.     * src/create.c (dump_file): Caller changed.
  717.     Reported by Greg Black.
  718.  
  719.     * configure.in: Replace AC_PROG_RSH with its expansion.  Correct
  720.     the no/true confusion in tests.  Do not substitute RSH anymore in
  721.     src/Makefile, instead define REMOTE_SHELL in config.h.  Replace
  722.     NO_REMOTE by HAVE_RTAPELIB, with inverted meaning.  Substitute
  723.     RTAPELIB by $Urtapelib.o instead of rtapelib.o.
  724.     * acconfig.h: Document HAVE_RTAPELIB and REMOTE_SHELL.
  725.     * src/Makefile.in: Avoid $U in defining RTAPELIB.  Remove both
  726.     rtapelib.o and _urtapelib.o explicit rules, not needed anymore.
  727.     * src/rmt.h, src/buffer.c: Use HAVE_RTAPELIB, not !NO_REMOTE.
  728.     Reported by Andreas Schwab.
  729.  
  730.     * configure.in: Checking for remote shell, use the RSH environment
  731.     variable if set.  This is done only when not already in the cache.
  732.     Reported by Kaveh R. Ghazi.
  733.  
  734.     * configure.in: Include <sys/types.h> when testing <utime.h>.
  735.     Reported by Andreas Schwab.
  736.  
  737.     * lib/ftruncate.c: Revised, because there is no ftruncate
  738.     capability whatsoever in Interactive Unix.
  739.     Reported by Peder Chr. Norgaard.
  740.  
  741.     * src/Makefile.in: Correct a typo in $Ubuffer.o dependencies.
  742.     Reported by Andreas Schwab.
  743.  
  744.     * src/rtapelib.c (__rmt_ioctl): Compile the MTIOCGET case only if
  745.     this symbol is defined.  This also solves a missing mt_type field
  746.     on NS32016 running SysVr2.2.
  747.     Reported by Greg Black.
  748.  
  749.     * src/rtapelib.c (__rmt_ioctl): Conditionnalize only the MTIOCTOP
  750.     case, not the whole routine, with the MTIOCTOP symbol.  In case of
  751.     unrecognized operation, return EOPNOTSUPP instead of EINVAL.
  752.     * src/rmt.h: Always provide a prototype for __rmt_ioctl.  Delete
  753.     the RMTIOCTL machinery.
  754.  
  755.     * configure.in: Also create doc/Makefile.
  756.     * Makefile.in: Add doc in subdirs, set infodir, update MDEFINES.
  757.     * doc/Makefile.in: New file.
  758.     * doc/tar.texinfo: New file.
  759.     * doc/texinfo.tex: New, from elsewhere.
  760.  
  761. Tue Aug 16 09:47:49 1994  Francois Pinard  (pinard@icule)
  762.  
  763.     * configure.in: Undo the `test -b' patch of 1994-08-05.  Ultrix
  764.     4.2 test does not know about -b.  Grrr...
  765.     Reported by Kaveh R. Ghazi.
  766.  
  767.     * configure.in: Check for <sys/gentape.h>, HAVE_SYS_GENTAPE_H
  768.     is tested in rmt.c.  Check for <sys/tape.h>, to avoid playing
  769.     with M_UNIX anymore in rmt.c.
  770.     * src/rmt.c, src/buffer.c: Use a more uniform way of including
  771.     <sys/mtio.h> or its alternates.
  772.     Reported by Daniel R. Guilderson and Kaveh R. Ghazi.
  773.  
  774.     * src/Makefile.in: Split rule for $Urtapelib.o into one rule for
  775.     rtapelib.o and one rule for _rtapelib.o, taking care of the fact
  776.     that rtapelib.c is in $(srcdir) while _rtapelib.c is in current
  777.     directory.
  778.     Reported by Andreas Schwab, Kaveh R. Ghazi, Minh Tran-Le and
  779.     Per Foreby.
  780.  
  781.     * configure.in: Use proper function names in AC_CHECK_LIB's.
  782.     Reported by Alexander Dupuy and Kurt Jaeger.
  783.  
  784.     * configure.in: Use $LIBOBJS, not LIBOJBS, while adding to it.
  785.     Reported by Demizu Noritoshi and Kaveh R. Ghazi.
  786.  
  787.     * src/rmt.c (string_error): Correct DEBUG2 into DEBUG1, and strint
  788.     into string.
  789.     Reported by Anders Andersson, Bruno Haible, Thomas Krebs and
  790.     Thomas Koenig.
  791.  
  792.     * src/Makefile.in: Add $U's to rtapelib and rmt specific rules.
  793.     Reported by Thomas Koenig.
  794.  
  795. Mon Aug 15 15:11:12 1994  Francois Pinard  (pinard@icule)
  796.  
  797.     * Prerelease 1.11.4.
  798.  
  799.     * src/rmt.c (numeric_error): Renamed from error.
  800.     (string_error): New, to replace ERROR ((...)), unavailable in rmt.c.
  801.  
  802.     * src/rmt.c (checkbuf): Do not accept, nor return record.  Use the
  803.     global instead.  This will get rid of useless shadowings.
  804.  
  805.     * src/rmt.h: Give prototypes for __rmt_* routines.
  806.     * src/rtapelib.c: Include "rmt.h".
  807.     * src/update.c (move_arch): Cast last rmtioctl argument to char *.
  808.     * src/buffer.c (backspace_output): Idem.
  809.     * src/diffarch.c (verify_volume): Idem.
  810.  
  811.     * src/Makefile.in (rmt): Declare dependencies over rmt.h.
  812.  
  813.     * Makefile.in (dist): Dynamically update FIXME in distributions.
  814.  
  815. Sun Aug 14 10:44:53 1994  Francois Pinard  (pinard@icule)
  816.  
  817.     * configure.in: Decide MTIO_CHECK_FIELD by grepping <sys/mtio.h>.
  818.     * acconfig.h: Document it.
  819.     * src/rtapelib.c: Use it instead of mt_type.
  820.     Reported by Ben A. Mesander.
  821.  
  822.     * Makefile.in: Substitute CC, INSTALL, INSTALL_PROGRAM,
  823.     INSTALL_DATA, RSH, CFLAGS, LDFLAGS, LIBS, prefix, exec_prefix,
  824.     binprefix, bindir and libexecdir.
  825.     (MDEFINES): New, using the previous substitutions.
  826.     (all, install, uninstall): Use it.
  827.     Reported by Bruno Haible.
  828.  
  829. Sat Aug 13 11:21:23 1994  Francois Pinard  (pinard@icule)
  830.  
  831.     * configure.in: Check for <sys/wait.h>.
  832.     * tar.h: Include <sys/wait.h> if it exists, whether POSIX or not.
  833.     Check if WIFSTOPPED is defined, to decide if defining others WIF*.
  834.     Reported by Bruno Haible.
  835.  
  836. Thu Aug 11 22:29:49 1994  Francois Pinard  (pinard@icule)
  837.  
  838.     * configure.in: For <utime.h>, also ensure struct utimbuf is
  839.     defined by the header file before defining HAVE_UTIME_H.  Some
  840.     systems will not define the structure without _POSIX_SOURCE.
  841.     * acconfig.h: Document HAVE_UTIME_H.
  842.     Reported by James W. McKelvey and Robert E. Brown.
  843.  
  844.     * configure.in: Instead of replacing strstr, check for it, so
  845.     HAVE_STRSTR gets defined, then replace it explicitely if required.
  846.     * src/tar.h, src/rtapelib.c: Declare strstr if we replaced it.
  847.     Reported by Ben A. Mesander, Christian T. Dum and Kaveh R. Ghazi.
  848.  
  849.     * src/extract.c (extract_archive): Declare longname variable if
  850.     O_CTG is defined.  Initialize it as NULL.  This dirty kludge will
  851.     allow the module to compile on Masscomp's, for the time being.
  852.     Reported by Ben A. Mesander.
  853.  
  854. Wed Aug 10 06:52:15 1994  Francois Pinard  (pinard@icule)
  855.  
  856.     * src/create.c (dump_file): Do not test only for hpux, but also
  857.     for __hpux.  I added __hpux__ too, as done in src/tar.h.
  858.     Reported by Richard Lloyd.
  859.  
  860.     * src/tar.h: Do not include <sys/mknod.h> anymore for HP-UX from
  861.     HP-UX 8 and after, for which definitions are in <sys/sysmacros.h>,
  862.     and reorganize the tests in this area.
  863.     Reported by Christian T. Dum, Dimitris Fousekis, Kimmy Posey,
  864.     Michael Maass, Richard Lloyd and Thomas Koenig.
  865.  
  866. Tue Aug  9 00:03:00 1994  Francois Pinard  (pinard@icule)
  867.  
  868.     * configure.in: Updated for Autoconf 2.0.
  869.  
  870.     These changes for const-cleaning src/gnu.c and src/tar.c:
  871.     * src/tar.c (read_name_from_file): Work directly on global
  872.     variables instead of accepting parameters.  Return success or
  873.     failure as an int instead of the relocated name_buffer.
  874.     (name_next): Caller changed, internal clean-up of the function.
  875.     Remove trailing slashes on the command call too, not only when
  876.     reading from a file through -T option.
  877.     * src/gnu.c: Add const to name and dir_text in struct dirname.
  878.     Reported by Ben A. Mesander, Bruno Haible, Christian T. Dum,
  879.     Dean Gaudet, James W. McKelvey, Richard Lloyd and Robert E. Brown.
  880.  
  881. Mon Aug  8 11:22:56 1994  Francois Pinard  (pinard@icule)
  882.  
  883.     * src/tar.c (name_next, name_gather, addname): Use strcmp for
  884.     checking for "-C", instead of decomposed tests, just for clarity.
  885.  
  886.     * src/Makefile.in (RSH): Define from configuration.
  887.     (rtapelib.o): Define REMOTE_SHELL from $(RSH) while compiling.
  888.     * src/rtapelib.c (__rmt_open): If command not given, use
  889.     REMOTE_SHELL, instead of cascading tries of filenames.
  890.     Reported by Bruno Haible.
  891.  
  892.     * src/tar.c: Include <fnmatch.h> if FNM_LEADING_DIR is not
  893.     defined, instead of checking for FNM_PATHNAME, because some
  894.     <unistd.h> define the later without defining the former.
  895.     Reported by Thomas Koenig.
  896.  
  897.     * src/create.c (dump_file): Cast alloca results, for those
  898.     compilers not processing void * properly.
  899.     Reported by Kaveh R. Ghazi.
  900.  
  901.     * configure.in: Replace memset, mkdir (and rmdir), rename, strstr,
  902.     ftruncate, when not found.
  903.     * lib/memset.c, lib/mkdir.c, lib/rename.c, lib/strstr.c and
  904.     lib/ftruncate.c: New, from elsewhere.
  905.     * lib/Makefile.in: Distribute them.
  906.     * src/port.c: Delete mkdir (and rmdir), rename, strstr and
  907.     ftruncate replacements.
  908.     Reported by Kaveh R. Ghazi (for memset and strstr).
  909.     Reported by Bruno Haible (for mkdir and rename).
  910.  
  911.     * src/Makefile.in: Get prefix and exec_prefix from configure.
  912.     Reported by Andreas Schwab, Christian T. Dum and Dean Gaudet.
  913.  
  914. Fri Aug  5 03:47:02 1994  Francois Pinard  (pinard@icule)
  915.  
  916.     * src/tar.h: Replace msg_file by stdlis.
  917.     * src/buffer.c, src/gnu.c, src/list.c, src/diffarch.c: Idem.
  918.  
  919.     * src/tar.c (main): Print version on stdout, not stderr.
  920.  
  921.     * configure.in: Remove padding test.
  922.     * acconfig.h: Remove PADDING_IN_TAR_HEADER.
  923.     * tar.h: Unconditionnaly insert the pad.  Why play the game of
  924.     forcing the compiler to do it for us?  (Hum!  I'm not so sure.)
  925.     Reported by Bruno Haible.
  926.  
  927.     * src/list.c (read_header): Initialize signed_sum to 0.  Use this
  928.     opportunity for slightly reorganizing the code around.
  929.     Reported by Anders Andersson, Andrew A. Chernov, Bruno Haible
  930.     and Chris Ransom.
  931.  
  932.     * src/tar.c: Declare name_buffer_length as size_t instead of int.
  933.     Reported by Andreas Schwab, J.T. Conklin, Kaveh R. Ghazi and
  934.     Robert E. Brown.
  935.  
  936.     * configure.in: While defining DEFAULT_ARCHIVE, check for a block
  937.     device, instead of mere existence.  But is `test -b' portable?
  938.     Test for /dev/fd0, instead of for /dev/fd.  Put rct tests last.
  939.     Reported by Andreas Schwab.
  940.  
  941.     * lib/Makefile.in (getdate.c): Tell the installer to expect 10
  942.     shift/reduce conflicts instead of 9.
  943.     Reported by Andreas Schwab.
  944.  
  945.     * src/rmt.h: Have the NO_REMOTE case be a particular case of the
  946.     other, for rmtopen and rmtcreat were not transmitting the proper
  947.     number of parameters to open and creat (since 26 July 1994).
  948.     Reported by Andreas Schwab.
  949.  
  950.     * src/extract.c (extract_archive): Delay changing owner to after
  951.     doing utime, for keeping long enough the permission of utime'ing.
  952.     (extract_archive, restore_saved_dir_info): Idem for directories.
  953.     * configure.in: Define uid_t and gid_t if necessary.
  954.     Reported by Jonathan I. Kamens.
  955.  
  956.     * Makefile.in (distclean-local): Delete config.cache.
  957.     Reported by Thomas Koenig.
  958.  
  959.     * configure.in: Change malloc_dbg to dmalloc, mutatis mutandi.
  960.     * acconfig.h: According changes.
  961.     * tar.h: According changes.
  962.  
  963.     * configure.in: Test for broken stat macros, and for mkfifo.
  964.     * src/tar.h: Undefine many macros if stat macros found to be
  965.     broken.  Define mkfifo only if configure did not find it.
  966.     Include <sys/param.h> if not _POSIX_SOURCE, then <unistd.h> if
  967.     we have it, than "pathmax.h".  Move _POSIX_VERSION dependent
  968.     code further down.  Do not declare getcwd if we do not have it.
  969.     * src/tar.c: Do not include <unistd.h>, now in "src/tar.h".
  970.     Reported by Bernard Chen, Jean-Michel Soenen, John L.
  971.     Chmielewski and Kaveh R. Ghazi.
  972.  
  973.     * configure.in: Check for ST_BLKSIZE and ST_BLOCKS.
  974.     * lib/fileblocks.c: New, from elsewhere.
  975.     * lib/Makefile.in: Distribute it.
  976.     * src/tar.h: Define DEV_BSIZE, ST_BLKSIZE and ST_NBLOCKS,
  977.     borrowing this code from both fileutils-3.9's "lib/system.h" and
  978.     textutils-1.9's "src/system.h".
  979.     * src/create.c (dump_file): Straighten the test for sparseness,
  980.     which was requiring one block too much, most probably for trying
  981.     to get around DEV_BSIZE/st_blksize confusion.  Use ST_NBLOCKS,
  982.     instead of computing a variable block_size and doing specific
  983.     tests for HP-UX or Linux.  Also rewrite the test so it works
  984.     when ST_NBLOCKS is unsigned.
  985.     Reported by Bruno Haible, Dean Gaudet, Dick Streefland, Harald
  986.     Koenig, Jim Meyering, Kai Petzke, Kaveh R. Ghazi and Torkel Hasle.
  987.  
  988. Thu Aug  4 22:03:50 1994  Francois Pinard  (pinard@icule)
  989.  
  990.     * src/tar.c: Do not include <unistd.h> if we do not have it.
  991.     Reported by Kaveh R. Ghazi.
  992.  
  993.     * src/Makefile.in (RTAPELIB): Prefix by $U for unprotoization.
  994.     Reported by Kaveh R. Ghazi and Christian T. Dum.
  995.  
  996.     * src/port.c: Remove many static specifiers.
  997.     Reported by Demizu Noritoshi, Kaveh R. Ghazi and William Bader.
  998.  
  999.     * src/rtapelib.c (__rmt_open): Replace system by remote, twice.
  1000.     Reported by Ben A. Mesander, Christian T. Dum, Demizu Noritoshi
  1001.     and Kaveh R. Ghazi.
  1002.  
  1003.     * src/tar.c (addname): Replace a forgotten EX_SYSTEM by
  1004.     TAREXIT_FAILURE.
  1005.     Reported by Demizu Noritoshi, James W. McKelvey, Kaveh R.
  1006.     Ghazi and Robert E. Brown.
  1007.  
  1008. Tue Aug  2 02:40:23 1994  Francois Pinard  (pinard@icule)
  1009.  
  1010.     * Prerelease 1.11.3.
  1011.  
  1012.     * Makefile.in (dist, shar): Distribute the scripts directory.
  1013.  
  1014.     * src/tar.c (assign_string): New routines.
  1015.     * src/create.c (dump_file, start_header), src/extract.c
  1016.     (extract_archive), src/list.c (list_archive, read_header),
  1017.     src/buffer.c (open_archive), src/diffarch.c (diff_archive): Use
  1018.     assign_string for setting these variables to a string value or
  1019.     NULL.
  1020.     * src/buffer.c (open_archive): Sets current_file_name,
  1021.     current_link_name and save_name to NULL.
  1022.     (close_archive): Free each of them if not NULL.
  1023.     (fl_write): Take a copy of save_name into cursor, and advance the
  1024.     cursor instead, because save_name should stay free-able.
  1025.     Reported by Dave Gentzel, Harald Anlauf, Mark Clements, Robert
  1026.     Weissenfels, Ronald van Loon, Tsutomu Yamada and Vic Abell.
  1027.  
  1028.     * src/extract.c (extract_archive): Use xstrdup, for clarity.
  1029.     * src/gnu.c (add_dir): Idem.
  1030.     * lib/xstrdup.c: New, from elsewhere.
  1031.     * lib/Makefile.in: Adjusted.
  1032.  
  1033.     * src/list.c (print_header): Correct a little bug by which
  1034.     non-symbolic links were not printed properly quoted.
  1035.  
  1036.     * src/diffarch.c (diff_archive): Allocate tmpbuf to the proper
  1037.     size.  NAMSIZ + 2 is not necessarily enough.
  1038.  
  1039. Mon Aug  1 15:49:46 1994  Francois Pinard  (pinard@icule)
  1040.  
  1041.     * configure.in: Check for <memory.h>.
  1042.     * src/tar.h: Refresh str*/mem* configured declarations.  Among
  1043.     other things, this will solve previously missing #undef's.
  1044.     * src/rmt.h: Revise strchr configured declaration.
  1045.     * src/*.c: Replace bzero by memset, bcopy by memcpy, bcmp by
  1046.     memcmp, index by strchr and rindex by strrchr.
  1047.     * src/port.c: Delete functions bzero and bcmp, said to not exist
  1048.     on Minix.  AC_MINIX in configure.in should guarantee POSIX things.
  1049.     Reported by Drew Trieger, Hugh Secker-Walker and Vic Abell.
  1050.  
  1051.     * src/tar.h, src/tar.c, src/buffer.c, src/update.c: Change CMD_*
  1052.     to COMMAND_*.
  1053.  
  1054.     * src/buffer.c (open_archive): Use strcmp to compare archive name
  1055.     to `-', instead of doing it explicitely.  Just for clarity.
  1056.  
  1057.     * src/tar.h, src/tar.c, src/buffer.c: Replace ar_files by
  1058.     archive_name_array, n_ar_files by archive_names and ar_files_len
  1059.     by allocated_archive_names.  Replace the index cur_ar_file by
  1060.     archive_name_cursor, which is a cursor in archive_name_array.
  1061.  
  1062.     * src/tar.c (main): Move the initialization of
  1063.     archive_name_array at beginning, taken from options routine.
  1064.     Free it at end of main.
  1065.     (options): Use xrealloc instead of ck_malloc for archive_name,
  1066.     for the already saved names to be preserved.
  1067.     Reported by Per Bojsen.
  1068.  
  1069.     * src/tar.h, src/tar.c: Replace name_file by namefile_name.
  1070.     * src/tar.c: Replace n_ind by name_array, n_indused by names,
  1071.     n_indalloc by allocated_names, and n_indscan by name_index.
  1072.     Replace namef by name_file, n_argv by names_argv and n_argc by
  1073.     names_argc.
  1074.     (main): Make an initial allocation for name_array at beginning,
  1075.     moved out from name_add, free it at end of main.
  1076.  
  1077.     * src/buffer.c (close_archive): Free ar_block at end.
  1078.  
  1079. Sat Jul 30 03:12:11 1994  Francois Pinard  (pinard@icule)
  1080.  
  1081.     * configure.in: When --with-malloc-dbg, define WITH_MALLOC_DBG and
  1082.     add -lmalloc_dbg to LIBS. 
  1083.     * acconfig.h: Document WITH_MALLOC_DBG.
  1084.     * src/tar.h: Include "malloc_dbg.h" if WITH_MALLOC_DBG is defined.
  1085.  
  1086.     * src/create.c (create_archive): Do not attempt creating a
  1087.     directory summary file if -G, since -G sets gnu_dumpfile to 0.
  1088.     Reported by Alexander Dupuy.
  1089.  
  1090.     * src/create.c (dump_file): Avoid a NULL dereference with -G when
  1091.     trying to dump an empty directory.
  1092.     * src/gnu.c (add_dir_name): Same thing.
  1093.     Reported by Rainer Orth.
  1094.  
  1095.     Correction for the improper `data differs' diagnostic given when
  1096.     the continuation of a multi-volume was compared.
  1097.     * src/diffarch.c (diff_archive): If multi-volume, update save_name
  1098.     and save_totsize before calling wantbytes.
  1099.     * src/buffer.c (wantbytes): If multi-volume, update save_sizeleft.
  1100.     Reported by Andreas Schwab, Denis Fortin and Hiroyuki Bessho.
  1101.  
  1102.     * configure.in: Try deciding DEVICE_PREFIX and DENSITY_LETTER from
  1103.     the selected DEFAULT_ARCHIVE.
  1104.     * acconfig.h: Document DEVICE_PREFIX and DENSITY_LETTER.
  1105.     * src/tar.c (options): Implement these.
  1106.     Reported by Danny R. Johnston.
  1107.  
  1108.     * src/gnu.c (gnu_restore): Use CURRENT_FILE_NAME abbreviation.
  1109.     * src/extract.c (extract_archive): Idem.
  1110.     Reported by Timothy Fossum.
  1111.  
  1112. Fri Jul 29 01:02:02 1994  Francois Pinard  (pinard@icule)
  1113.  
  1114.     * src/create.c (dump_file): Abort if no memory for a possible
  1115.     link, remove related bogus code, and the variable nolinks.
  1116.     Reported by Andreas Schwab.
  1117.  
  1118.     * src/create.c (dump_file): Detect file sparseness correctly for
  1119.     Linux ext2 filesystem.
  1120.     Reported by Kai Petzke.
  1121.  
  1122.     * src/port.c (link): Do not call setmode when not on MS-DOS.
  1123.     Reported by Richard Deal.
  1124.  
  1125.     Reorganization for `tar -d' to provide a different exit status.
  1126.     * src/tar.h: Replace errors by exit_status.  Declare TAREXIT_*.
  1127.     * src/buffer.c (child_open): Exit with exit_status.
  1128.     * src/tar.c (main): Initialize exit_status to TAREXIT_SUCCESS, and
  1129.     exit with exit_status.
  1130.     * src/buffer.c, src/diffarch.c, src/gnu.c, src/list.c, src/port.c,
  1131.     src/rmt.c, src/tar.c, src/update.c: Replace EXIT_FAILURE by
  1132.     TAREXIT_FAILURE, and EXIT_SUCCESS by TAREXIT_SUCCESS.
  1133.     * src/tar.h (ERROR), src/create.c (dump_file): Set exit_status to
  1134.     TAREXIT_FAILURE instead of increasing errors.
  1135.     * src/diffarch.c (sigh, diff_sparse_files): On differences, set
  1136.     exit_status to TAREXIT_DIFFERS if nothing more serious already.
  1137.     Reported by Tilman Schmidt.
  1138.  
  1139.     * src/rmt.c: Define EXIT_FAILURE and EXIT_SUCCESS if not already.
  1140.     * src/rtapelib.c: Define EXIT_ON_EXEC_ERROR to 128 and use it.
  1141.  
  1142.     * aclocal.m4: Adapt AC_PROTOTYPES to caching.
  1143.     * lib/error.c: Add error_print_progname virtual routine.
  1144.  
  1145.     * Using configure as generated by a more recent Autoconf solves a
  1146.     problem of rename being rejected on HP-UX in ANSI mode, because of
  1147.     a conflicting prototype from <stdio.h>.  In this context, Autoconf
  1148.     now uses ctype.c instead for defining __stub macros.
  1149.     Reported by Burkhard Plache, Edward Welbourne, Henrik Bakman,
  1150.     Jeffrey Goldberg, Jim Farrell, Kimmy Posey, Michael Maass,
  1151.     Mike Nolan, Richard Lloyd, Robert McGraw, Robert W. Kim,
  1152.     Stefan Skoglund, Tarang Kumar Patel, Tilman Schmidt, Tim
  1153.     Ramsey, Van Snyder and W. Phillip Moore.
  1154.  
  1155. Wed Jul 27 09:16:01 1994  Francois Pinard  (pinard@icule)
  1156.  
  1157.     * src/diffarch.c (sigh): Increment errors, so a difference will
  1158.     yield a non-zero exit status at end.
  1159.     Reported by Nick Holloway.
  1160.  
  1161.     * tar.h: Rename TARERROR to WARN, then add ERROR which is similar,
  1162.     but increments the errors counter.
  1163.     * *.c: Replace all TARERROR by WARN or ERROR, deciding for each
  1164.     case.  Many errors were not reflected in exit status.
  1165.     Reported by Carl Streeter, Esa Karell, George Chyu, Ian
  1166.     Jackson, Judy Ricker, Massimo Dal Zotto, Tilman Schmidt and
  1167.     Torkel Hasle.
  1168.  
  1169.     * src/buffer.c (child_open): Exit with EXIT_FAILURE if any error.
  1170.  
  1171.     * src/rtapelib.c: Use error for reporting errors.
  1172.     (do_command): New name for command.
  1173.     (get_status): New name for status.
  1174.  
  1175.     * src/buffer.c: Remove definition of MAGIC_STAT.
  1176.     (close_archive): Do not check MAGIC_STAT for an exit value, since
  1177.     this value is never returned.
  1178.  
  1179.     * *.c: Use TARERROR or exit with EXIT_FAILURE, instead of various
  1180.     esoteric statuses.  Normalize using TARERROR with an exit status,
  1181.     instead of calling TARERROR with 0 first, then _exit.  On exit
  1182.     calls, use EXIT_SUCCESS instead of 0.
  1183.     * src/tar.c: Do not use the exit status anymore for outputting an
  1184.     error counter value.  Wrap around was creating spurious success.
  1185.     * src/tar.h: Remove EX_* definitions for tar exit statuses.
  1186.     Reported by Bob Mende and Torbjorn Granlund.
  1187.  
  1188. Tue Jul 26 03:37:07 1994  Francois Pinard  (pinard@icule)
  1189.  
  1190.     * src/tar.h: Add f_rsh_command variable.
  1191.     * src/tar.c: Add and process --rsh-command option.
  1192.     * src/buffer.c (open_archive, child_open, new_volume): Pass
  1193.     f_rsh_command to rmtopen and rmtcreat calls.
  1194.     * src/rmt.h (rmtopen, rmtcreat): Pass a supplementary argument.
  1195.     * src/rtapelib.c (__rmt_open): Accept and process a command
  1196.     argument, to replace rsh.
  1197.     Reported by Jonathan I. Kamens.
  1198.  
  1199.     * configure.in: Check for <fcntl.h>.  Do not define BSD42, do
  1200.     not look anymore if /vmunix, /sdmach or /../../mach exist.
  1201.     * acconfig.h: Remove BSD42.
  1202.     * tar.h: Instead of including <sys/file.h> with BSD42 or
  1203.     <fcntl.h> for V7, merely include <fcntl.h> if it exists,
  1204.     otherwise <sys/file.h>.
  1205.     * src/buffer.c, src/diffarch.c, src/extract.c, src/list.c,
  1206.     src/port.c, src/update.c: Do not include <fcntl.h> or
  1207.     <sys/file.h>, because they are indirectly included through
  1208.     "tar.h".
  1209.  
  1210.     * src/create.c (dump_file): Remove the BSD42 conditional.  If not
  1211.     f_sparse_files, initialize upperbound as when not BSD42.
  1212.     Reported by Alan Bawden, Claude Scarpelli, Laurent
  1213.     Sainte-Marthe, Noah Friedman, Reuben Sumner, Tom Quinn and
  1214.     William Bader.
  1215.  
  1216. Sun Jul 24 10:42:54 1994  Francois Pinard  (pinard@icule)
  1217.  
  1218.     * configure.in: Add gmalloc.o to LIBOBJS, instead of AC_SUBST'ing
  1219.     MALLOC.  Check for valloc only if gmalloc.o is not being selected.
  1220.     valloc was possibly defined both in "port.h" and GNU malloc.
  1221.     * acconfig.h: Add a description for HAVE_VALLOC.
  1222.     * src/tar.h: Merely define valloc as being malloc if valloc does
  1223.     not exist.
  1224.     * src/port.h: Remove valloc, which was only a dummy for malloc.
  1225.     * lib/gmalloc.c: New, from elsewhere.  This renames and updates
  1226.     what was previously malloc.c.  This also solves __const vs const.
  1227.     * lib/Makefile.in: Distribute gmalloc.c.
  1228.     Reported by Cliff Krumvieda, Francois Pinard, Henrik Bakman,
  1229.     J.T. Conklin, Nelson H.F. Beebe and Tilman Schmidt.
  1230.  
  1231. Fri Jul 22 00:05:44 1994  Francois Pinard  (pinard@icule)
  1232.  
  1233.     * src/create.c (start_header): Cast NAMSIZ to size_t before
  1234.     comparing it to strlen result.
  1235.     Reported by Mark Frost.
  1236.  
  1237.     * src/tar.c (main): Zero out label_pattern before compiling in
  1238.     regular expressions, instead of using uninitialized memory.
  1239.     Reported by Holger Teutsch.
  1240.  
  1241.     * configure.in: Use provided fnmatch only as a replacement.
  1242.     * lib/Makefile.in (LIBOBJS): Get configured list of replacements.
  1243.     * src/tar.c: Include fnmatch.h only if unistd.h fails to define
  1244.     FNM_PATHNAME.
  1245.     * lib/fnmatch.h: Undefine FNM_PATHNAME and FNM_PERIOD, for HP-UX
  1246.     defines them in <unistd.h>.
  1247.     Reported by Alan Modra, Christian T. Dum, Eddy ?, John
  1248.     Oleynick and Richard Lloyd.
  1249.  
  1250.     * lib/getdate.y: Acknowledging here a few reports which are
  1251.     likely solved by going to an updated version of getdate.y.
  1252.     Reported by Andrew A. Chernov, Bruce Evans, Dean Gaudet, Ian
  1253.     T. Zimmerman, Jeff Prothero, Mike Nolan, Milan Hodoscek, Peder
  1254.     Chr. Norgaard, Sarah Quady, Tarang Kumar Patel and Thomas
  1255.     Koenig.
  1256.  
  1257.     * configure.in: Check for <sys/io/trioctl.h>, needed for
  1258.     defining _IOW and _IOR on the Tektronix XD88.
  1259.     * src/buffer.c, src/diffarch.c, src/rtapelib.c, src/update.c:
  1260.     Include <sys/io/trioctl.h> before <sys/mtio.h>, if it exists.
  1261.     Reported by Kaveh R. Ghazi.
  1262.  
  1263.     * src/tar.c (options): Use defined OPTION_* constants instead of
  1264.     anonymous numbers for long options not having a short option form.
  1265.  
  1266.     * src/rmt.h (RMTIOCTL): Define only if MTIOCTOP, so __rmt_ioctl
  1267.     will not be called if it has not been compiled in rtapelib.c.
  1268.  
  1269.     * src/tar.h: Add CMD_TOO_MANY.
  1270.     * src/tar.c (main): Use CMD_TOO_MANY, and get rid of badopt label.
  1271.     Reported by David J. MacKenzie.
  1272.  
  1273.     * src/tar.c (usage): New name for describe().  Rewritten with
  1274.     better help formatting and more logical grouping of options.
  1275.     Accepts an exit status argument.  Callers adapted.
  1276.     Reported by Richard O'Neill.
  1277.  
  1278. Wed Jul 20 07:57:54 1994  Francois Pinard  (pinard@icule)
  1279.  
  1280.     * Makefile.in (BACKLOG): New goal, for summarizing the
  1281.     maintainance backlog.  Distribute file BACKLOG.
  1282.  
  1283.     * src/port.c (rename): Constify the arguments.
  1284.     Reported by Elmar Heeb, Jeff Prothero and John Clark.
  1285.  
  1286.     * src/tar.c (main): Declare version_string locally.
  1287.     * src/version.c: Deleted.
  1288.     * src/Makefile.in: Adjusted.
  1289.  
  1290. Tue Jul 19 21:55:21 1994  Francois Pinard  (pinard@icule)
  1291.  
  1292.     * src/tar.h: Merge "port.h" towards the beginning of tar.h.
  1293.     Include <stdio.h> and <errno.h>, and define errno if needed.
  1294.     * src/*.c: Do not include "port.h" anymore after "tar.h", do not
  1295.     include <stdio.h>, <errno.h> nor <sys/types.h>.  Also move
  1296.     "tar.h" as the first file included in every module.  This
  1297.     would solve, among other things, the problem of RE_DUP_MAX
  1298.     being redefined by <limits.h>, when included after "regex.h".
  1299.     * src/port.h: Deleted.
  1300.     * src/Makefile.in: Adjusted.
  1301.     Reported by Alan Modra, Christian T. Dum, Dimitris Fousekis,
  1302.     John David Anglin, Matthew Braun, Michael Maass, Richard Lloyd
  1303.     and Stefan Skoglund.
  1304.  
  1305.     * src/create.c (dump_file): Do not cast alloca result to (char *).
  1306.     The problem reported was that alloca result was seen as int, but
  1307.     with the changes just made, alloca should be properly declared.
  1308.     Reported by Bryant Fujimoto and Michael Kubik.
  1309.  
  1310. Fri Jul  8 23:44:03 1994  Francois Pinard  (pinard@icule)
  1311.  
  1312.     * regex.c, regex.h: Use newer versions.  This solves a few
  1313.     problems reported by users.
  1314.     Reported by Chris Hopps and John David Anglin.
  1315.  
  1316. Wed Jul  6 00:37:18 1994  Francois Pinard  (pinard@icule)
  1317.  
  1318.     * configure.in: Check for <utime.h>.
  1319.     * src/create.c, src/extract.c: Check HAVE_UTIME_H instead of
  1320.     _POSIX_VERSION, for choosing to include <utime.h>.
  1321.     Reported by Carl Swanson and Thomas Krebs.
  1322.  
  1323. Tue Jul  5 07:36:58 1994  Francois Pinard  (pinard@icule)
  1324.  
  1325.     * configure.in:  Substitute DEFAULT_ARCHIVE and DEFAULT_BLOCKING
  1326.     from the environment.  Check for /dev/tape first while trying to
  1327.     decide the default archive, because it is often symlinked right.
  1328.     * acconfig.h: Explain DEFAULT_ARCHIVE and DEFAULT_BLOCKING.
  1329.     * src/tar.c: Replace DEF_AR_FILE with DEFAULT_ARCHIVE, replace
  1330.     DEFBLOCKING with DEFAULT_BLOCKING.
  1331.  
  1332.     * configure.in: Use AC_SET_MAKE.
  1333.     * Makefile.in: Use @SET_MAKE@.
  1334.     Reported by Jim Meyering.
  1335.  
  1336.     * src/rtapelib.c: Replace "??'" by "?? '" at two places in a
  1337.     comment, so avoiding Pyramid's DC/OSx compiler to complain about
  1338.     ANSI trigraph sequences.  Even comments can trigger bugs, now!
  1339.     Reported by Mark Frost.
  1340.  
  1341.     * src/tar.h: Declare valloc.
  1342.     * src/buffer.c, src/diffarch.c: Remove declaration for valloc.
  1343.  
  1344.     * configure.in: Integrate the check, previously in testpad.c,
  1345.     about a needed padding field in the tar header struct.
  1346.     * testpad.c: Deleted.
  1347.     * tar.h: Do not include "testpad.h" anymore.
  1348.     * acconfig.h: Explain PADDING_IN_TAR_HEADER.
  1349.     * src/Makefile.in: Delete testpad matters.
  1350.  
  1351.     * src/buffer.c (new_volume): Inside case 'n', strcpy into r then
  1352.     assign r to p, instead of strcpy'ing directly into p, for making
  1353.     the module const clean.
  1354.  
  1355. Sun Jul  3 11:41:54 1994  Francois Pinard  (pinard@icule)
  1356.  
  1357.     Rename a few variables to avoid shadowing variables or functions:
  1358.     * src/list.c (print_header): Change name to quoted_name.
  1359.     * src/buffer.c (child_open): Change pipe to local_pipe.
  1360.     * src/extract.c (extract_archive): Change namelen to namelen_bis.
  1361.     * src/rtapelib.c (__rmt_open): Change system to remote.
  1362.  
  1363.     * src/tar.c (options): Add two missing arguments to getoldopt
  1364.     call, NULL is not necessarily implied on all systems.
  1365.  
  1366.     * src/list.c (print_header): Add a few missing long specification
  1367.     in formats. 
  1368.     * src/diffarch.c (compare_chunk, diff_sparse_files): Idem.
  1369.     * src/port.c (msg, msg_perror): Idem.
  1370.  
  1371.     * src/tar.h: Include prototypes for all functions which call from
  1372.     one module to another.  Declare voidstar (use it everywhere
  1373.     instead of PTR).  Move in the include <sys/stat.h> from
  1374.     <port.h>, and the include of option.h from tar.c and
  1375.     getoldopt.c, waiting for a better solution for all these things.
  1376.     * src/port.c: Removed PTR declaration and including <sys/stat.h>.
  1377.     * src/getoldopt.c, src/tar.c: Remove including "option.h".
  1378.  
  1379. Sat Jul  2 00:26:54 1994  Francois Pinard  (pinard@icule)
  1380.  
  1381.     * src/*: Protoized all function headers.  Added static to
  1382.     functions which can take it.  Add many const specifiers.  Remove
  1383.     unused variables.
  1384.  
  1385.     * src/port.c (xmalloc): Delete function, do not mask the true one.
  1386.     * src/port.c (ck_malloc): Use xmalloc, waiting for annihilation.
  1387.     * src/port.c (ck_realloc): Use xrealloc, waiting for annihilation.
  1388.     * lib/xmalloc.c: New file, from elsewhere.
  1389.     * lib/Makefile.in: Adjusted.
  1390.     * src/*: Begin switching from ck_malloc (or even pure malloc) to
  1391.     xmalloc.  Same for ck_realloc (pure realloc) to xrealloc.
  1392.     Doing this correctly is a delicate matter, which I'll continue
  1393.     without reporting it anymore, while doing other modifications.
  1394.  
  1395.     * src/*: Replace msg and msg_perror calls by TARERROR macro calls.
  1396.     Capitalize first word of all error messages, remove ending
  1397.     punctuation or newline.  Systematically avoid contractions for
  1398.     `Cannot' and `Could not'.  Always write `WARNING:' all in capitals.
  1399.     * src/tar.h: Declare TARERROR as calling error().  Rename
  1400.     variable tar to program_name.
  1401.     * src/tar.c (main, options), src/buffer.c (child_open), src/port.c
  1402.     (msg, msg_perror), src/gnu.c (gnu_restore): Rename variable tar to
  1403.     program_name.
  1404.     * src/gnu.c (gnu_restore): Remove a spurious repetition of
  1405.     program_name in error message.
  1406.     * lib/error.c: New, from elsewhere.
  1407.     * lib/Makefile.in: Adjusted.
  1408.  
  1409.     * configure.in: Check for -linet, this library is required on
  1410.     a few systems for gettimeofday() or getservbyname().
  1411.     Reported by Dean Gaudet, Goeran Uddeborg, Mike Rogers and
  1412.     Peder Chr. Norgaard.
  1413.  
  1414.     * configure.in: Ensure -lsocket is tested after -lnsl.
  1415.     Reported by Mark Frost.
  1416.  
  1417.     * configure.in: All tests reordered for clarity.
  1418.  
  1419. Fri Jul  1 13:35:16 1994  Francois Pinard  (pinard@icule)
  1420.  
  1421.     * configure.in: Use AC_TIME_WITH_SYS_TIME, test for <sys/time.h>.
  1422.     This should solve the problem of multiple inclusions of <time.h>.
  1423.     Also, also check for <sys/timeb.h>, for getdate.y tests this.
  1424.     Reported by Jim Meyering, John Rouillard, Karl Berry and Rick
  1425.     Emerson.
  1426.  
  1427.     * src/buffer.c, src/create.c src/extract.c, src/gnu.c, src/list.c,
  1428.     src/names.c, src/rmt.c, src/tar.c, src/update.c: Remove all (void)
  1429.     prefixes to function calls.  There are limits to lint clutter.
  1430.  
  1431. Thu Jun 30 07:55:22 1994  Francois Pinard  (pinard@icule)
  1432.  
  1433.     * src/port.h: Remove definition of const.  Let configure do it.
  1434.     * configure.in: AC_CONST was already added since 1.11.2, but no
  1435.     ChangeLog entry for it, so here is one, with list of reporters.
  1436.     * AIX 3.2 RS/6000 IBM's compiler was unable to compile regex.c,
  1437.     this might be solved already through improved Autoconf tests.
  1438.  
  1439.     Reported by Alexey Vovenko, Ben A. Mesander, Bryant
  1440.     Fujimoto, Christian. T. Dum, Christopher Vickery, Dan Bloch,
  1441.     David K. Drum, David Lemson, Demizu Noritoshi, Dimitris
  1442.     Fousekis, Ezra Peisach, Hugh Secker-Walker, Indra Singhal,
  1443.     J.T. Conklin, Jan Hoeglund, Janice Burton, Jeff Siegel,
  1444.     Jim Blandy, John L. Chmielewski, John Rouillard, Jonathan
  1445.     N. Sherman, Kevin D Quitt, Kurt Jaeger, Mark Frost, Matthew
  1446.     Braun, Michael Kubik, Michael Helm, Moritz D. Klingholz,
  1447.     Neil Jerram, Nelson H.F. Beebe, Nick Barron, Paul Eggert,
  1448.     R. Scott Butler, Rob Parry, Ron Guilmette, Scott Grosch,
  1449.     Sherwood and Stephen Saroff.
  1450.  
  1451.     * Makefile.in: Completely replaced, lurking at the previous one.
  1452.     At the same time, solve a few minor problems reported by users.
  1453.     The most frequently reported ones pertained to a trailing \ in a
  1454.     comment, and rmt installing in /etc.
  1455.     Reported by Dean Gaudet, Gerben Wierda, James W. McKelvey,
  1456.     John L. Chmielewski, Karl Berry, Mike Rogers, Ralf Suckow and
  1457.     Richard Lloyd.
  1458.  
  1459.     * lib/Makefile.in, src/Makefile.in: New files.
  1460.     * configure.in: Also process lib/Makefile.in and src/Makefile.in.
  1461.     Substitute CFLAGS, LDFLAGS and YFLAGS from the environment.
  1462.     Use AC_CHECKING instead of using echo explicitely.
  1463.     Use AC_HEADER_CHECK(unistd.h) instead of obsolete AC_UNISTD_H.
  1464.  
  1465.     * configure.in: Generate a configuration header file.  This not
  1466.     only puts less clutter in make output, but also goes around some
  1467.     compilers' limits about the number of allowed -D options.
  1468.     Reported by Nelson H.F. Beebe.
  1469.  
  1470.     * acconfig.h: New file.
  1471.     * src/tar.h, src/rmt.c, src/rtapelib.c, src/version.c,
  1472.     src/testpad.c: Add a block for including <config.h> or "config.h".
  1473.     If "tar.h" was included everywhere, the block will only be needed
  1474.     there.
  1475.  
  1476.     * src/*.[ch]: Reindented to GNU standards (they were not far).
  1477.     Got rid of all `* ' left prefixes in comments and refilled them.
  1478.     There is still a lot of cosmetic changes needed everywhere.  I
  1479.     will not report them any more, doing them along the way of other
  1480.     things in the future.
  1481.  
  1482.     * Split distribution into a few subdirectories, for easing
  1483.     maintainance.  So far: src, lib, scripts, msdos which are to be
  1484.     distributed; then rmail, texinfo, ARCH and misc to be kept here.
  1485.     * scripts/ChangeLog: Initialized by moving entries related to
  1486.     scripts out of this ChangeLog.
  1487.  
  1488.     * Taking over maintainance duties.
  1489.  
  1490. Tue Aug 31 20:06:40 1993  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
  1491.  
  1492.     * rmt.c [M_UNIX]: Include sys/tape.h instead of sys/mtio.h.
  1493.     Reported by Drew Sullivan and William Bader.
  1494.  
  1495. Thu Jul 29 20:53:00 1993  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
  1496.  
  1497.     * Makefile.in (config.status): Run config.status --recheck, not
  1498.     configure, to get the right args passed.
  1499.  
  1500. Mon Jul 19 23:01:00 1993  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
  1501.  
  1502.     * Makefile.in (libdir): Use standard GNU value --
  1503.     $(exec_prefix)/lib, not /etc.
  1504.  
  1505. Thu Jul  8 20:05:03 1993  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
  1506.  
  1507.     * Makefile.in (installdirs, configure, config.status,
  1508.     Makefile): New targets.
  1509.  
  1510. Mon Jun 14 07:44:46 1993  Noah Friedman  (friedman@nutrimat.gnu.ai.mit.edu)
  1511.  
  1512.     * Makefile.in (.c.o): Put -I. before -I$(srcdir), and make
  1513.         $(CFLAGS) last.
  1514.  
  1515. Sat May 22 21:33:36 1993  The King  (elvis@graceland.gnu.ai.mit.edu)
  1516.  
  1517.     * extract.c (extract_archive, restore_saved_dir_info): Print
  1518.     mode in octal, not in decimal.
  1519.     Reported by Scott S. Bertilson.
  1520.  
  1521. Fri Mar 26 19:30:26 1993  Noah Friedman  (friedman@nutrimat.gnu.ai.mit.edu)
  1522.  
  1523.     * configure.in: Better way of detecting HP-UX.
  1524.     Reported by Noah Friedman.
  1525.  
  1526. Thu Mar 25 13:32:40 1993  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)
  1527.  
  1528.     * version.c: Released version 1.11.2.
  1529.  
  1530.     * Makefile.in (dist): Do the link differently; some of the
  1531.     files have changed filesystems which makes it more complex.
  1532.  
  1533.     * Makefile.in (dist, shar): Use gzip instead of compress.
  1534.  
  1535.     * create.c (dump_file): Test for curdev==-1, not curdev<0.
  1536.     Some losing NFS systems give negative device numbers
  1537.     sometimes.
  1538.  
  1539. Fri Mar 19 15:05:15 1993  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)
  1540.  
  1541.     * buffer.c (new_volume): Write the global volume number to the
  1542.     volno file before running the info script, so that the script
  1543.     can look at it.
  1544.  
  1545. Wed Mar 17 10:30:58 1993  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)
  1546.  
  1547.     * tar.c (describe, long_options): Changed --compress-block to
  1548.     --block-compress.
  1549.     (options): Fixed f_compress_block sanity check error message
  1550.     to give the correct name of the option.
  1551.  
  1552. Tue Mar 16 14:52:40 1993  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)
  1553.  
  1554.     * extract.c (extract_archive): case LF_DIR: Do chown when
  1555.     necessary.  Don't bother jumping to set_filestat for
  1556.     f_modified; repeat the chmod code here.  Replace `break',
  1557.     deleted on 2 September 1992.
  1558.  
  1559.     * tar.c (describe, long_options, options): Added gzip options
  1560.     and use-compress-program option.
  1561.     * tar.h: Added new compression options.
  1562.     * buffer.c (child_open, open_archive): Use new compression options.
  1563.  
  1564.     * create.c (start_header): Only mask off high bits when
  1565.     creating old-style archives.
  1566.     * list.c (decode_header): Mask off potentially misleading
  1567.     high bits from the mode when reading headers.
  1568.     Reported by Paul Eggert.
  1569.  
  1570. Mon Mar 15 11:34:34 1993  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)
  1571.  
  1572.     * extract.c (extract_archive): Put arguments in the right
  1573.     order for error message.
  1574.     Reported by Bruno Haible.
  1575.  
  1576.     * create.c (deal_with_sparse): If the last byte was null, we
  1577.     didn't write it out.
  1578.  
  1579.     * gnu.c, create.c, extract.c, diffarch.c, list.c throughout:
  1580.     Replace malloc calls with ck_malloc and realloc with ck_realloc.
  1581.     Reported by Jonathan Kamens.
  1582.  
  1583.     * tar.c (describe): Improve doc for -L.
  1584.  
  1585.     * tar.c (name_next): Don't apply exclusion to explicitly named
  1586.     files.
  1587.  
  1588.     * tar.c (long_options, describe): Added new-volume-script as
  1589.     an alias for info-script.
  1590.  
  1591.     * extract.c (extract_archive): LF_DUMPDIR case; misplaced paren.
  1592.  
  1593.     * extract.c (extract_archive): extract_file case, first if,
  1594.     include space for null in namelen computation.
  1595.  
  1596.     * extract.c (extract_sparse_file): Use value returned by write
  1597.     to properly create error message.
  1598.  
  1599.     * create.c (create_archive): Don't assume we have anything to
  1600.     dump.
  1601.  
  1602.     * buffer.c (open_archive): Set current_file_name for the
  1603.     volume header so that verbose listings work properly.
  1604.  
  1605.     * Makefile.in (realclean): Added getdate.c.
  1606.  
  1607. Thu Jan 14 23:38:44 1993  David J. MacKenzie  (djm@kropotkin.gnu.ai.mit.edu)
  1608.  
  1609.     * tar.c: Include fnmatch.h after port.h to make sure we get our FNM_*
  1610.     (e.g. on HPUX 8).
  1611.  
  1612. Tue Nov 24 08:30:54 1992  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
  1613.  
  1614.     * tar.c (addname), gnu.c (read_dir_file): Use HAVE_GETCWD, not USG.
  1615.  
  1616.     * port.h, rmt.h: Use HAVE_STRING_H, not USG.
  1617.  
  1618.     * port.h: Add dir header decls.
  1619.     * create.c, gnu.c: Use SYSNDIR, SYSDIR, and NDIR
  1620.     instead of BSD42 and USG.  Rename DP_NAMELEN to NLENGTH.
  1621.     Use `struct dirent' instead of `struct direct'.
  1622.     * create.c, gnu.c, tar.c: Remove dir header decls.
  1623.  
  1624. Wed Nov 18 15:31:30 1992  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
  1625.  
  1626.     * tar.c: Change FNM_TARPATH to FNM_LEADING_DIR to match change
  1627.     in fnmatch.[ch].
  1628.  
  1629. Fri Oct  2 00:28:01 1992  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
  1630.  
  1631.     * tar.c (describe): Fix some tab alignments.
  1632.  
  1633.     * Makefile.in (SRC3): Add getdate.c, for systems without bison/yacc
  1634.     (like MS-DOS).
  1635.  
  1636.     * diffarch.c (diff_sparse_files): Add missing arg to fprintf calls.
  1637.  
  1638.     * extract.c (extract_archive, restore_saved_dir_info),
  1639.     buffer.c (child_open), list.c (decode_header, print_header):
  1640.     Delete unused vars.
  1641.  
  1642.     * port.c [__MSDOS__]: Have strstr, rename, and mkdir.  Don't
  1643.     define ck_pipe.
  1644.  
  1645.     * buffer.c, tar.c (init_volume_number, closeout_volume_number),
  1646.     create.c (write_long):     Declare as void, not int, since they
  1647.     don't return a value.
  1648.  
  1649. Tue Sep 22 14:15:48 1992  Michael I Bushnell  (mib@wookumz.gnu.ai.mit.edu)
  1650.  
  1651.     * buffer.c (close_archive): Removed leftover `break' from when
  1652.     this was a switch.
  1653.  
  1654. Tue Sep 22 08:33:16 1992  Noah Friedman  (friedman@nutrimat.gnu.ai.mit.edu)
  1655.  
  1656.     * create.c, port.h: indented #pragma directives with 1 space.
  1657.  
  1658. Fri Sep 18 14:15:17 1992  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)
  1659.  
  1660.     * All source files: re indented using GNU indent.
  1661.  
  1662.     * rtapelib.c (__rmt_read): Only read the amount left in the
  1663.     buffer; otherwise a broken rmt server (which puts too much
  1664.     data out) could overwrite past our buffer.
  1665.  
  1666. Thu Sep 17 14:08:58 1992  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)
  1667.  
  1668.     * create.c: Throughout, use struct utimbuf rather than array
  1669.     of longs.
  1670.     Reported by J.T. Conklin.
  1671.  
  1672.     * configure.in: Check for getpwuid and getgrgid.
  1673.     Reported by J.T. Conklin.
  1674.  
  1675.     * Makefile.in (SRC3, AUX): Move alloca.c to SRC3.
  1676.     (OBJ3): Add @ALLOCA@.
  1677.  
  1678.     * Makefile.in (getdate.c): Look in srcdir for getdate.y.
  1679.  
  1680.     * buffer.c (close_archive): We can't check WTERMSIG
  1681.     meaningfully unless we already know tha WIFSIGNALED is true.
  1682.     (There is no guarantee it WTERMSIG will return zero when
  1683.     WIFSIGNALED is false.)
  1684.     * port.c (rmdir, mkdir): Check WIFSIGNALED rather than
  1685.     WTERMSIG.
  1686.  
  1687.     * Makefile.in (getdate.c): Use $(YACC) instead of `yacc'.
  1688.  
  1689. Tue Sep 15 14:49:48 1992  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)
  1690.  
  1691.     * version.c: Released version 1.11.1.
  1692.  
  1693.     * Makefile (AUX): Added NEWS.
  1694.  
  1695.     * Makefile.in (rmt): Added $(LIBS).
  1696.     * configure.in: Added tests for libraries needed on Solaris.
  1697.  
  1698.     * mangle.c (extract_mangle): Null terminate link name for
  1699.     losing archives missing it.
  1700.  
  1701.     * Makefile.in: added target and rule for getdate.c: getdate.y;
  1702.     some makes don't have one built in.
  1703.  
  1704. Mon Sep 14 16:23:15 1992  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)
  1705.  
  1706.     * tar.c (options, main): Advise use of --help rather than
  1707.     +help.
  1708.     Reported by J.T. Conklin.
  1709.  
  1710.     * create.c (write_long): Using hstat here is a Bad Idea, and
  1711.     totally unnecessary at that.
  1712.  
  1713.     * list.c (read_header): Compute both signed and normal
  1714.     checksums.
  1715.     Reported by Robert E. Brown.
  1716.  
  1717.     * configure.in: Define BSD in the presence of /sdmach or
  1718.     /../../mach.
  1719.     Reported by Robert E. Brown.
  1720.  
  1721.     * diffarch.c, buffer.c: Declare valloc as void* rather than
  1722.     char*.
  1723.     Reported by Robert E. Brown.
  1724.  
  1725.     * Makefile.in: Don't install info files.
  1726.  
  1727.     * configure.in: Check for malloc was scrambled.
  1728.  
  1729.     * port.h: Undefine index and rindex if necessary; some
  1730.     string.h's define them for us.
  1731.  
  1732.     * tar.c (addname): Missing braces after if.
  1733.     * gnu.c (read_dir_file): Missing braces after if.
  1734.  
  1735.     * names.c: Add include of <stdio.h>,
  1736.  
  1737.     * create.c (start_header): Set current_file_name so that
  1738.     print_header (used for verbose create) works properly.
  1739.     (dump_file): Set current_link_name when setting up symlink
  1740.     and hardlink records.
  1741.     Reported by Robert Crowe.
  1742.  
  1743. Fri Sep 11 01:05:52 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  1744.  
  1745.     * fnmatch.[ch]: New files.
  1746.     * wildmat.c: File removed.
  1747.     * tar.c: Include fnmatch.h and use fnmatch instead of wildmat.
  1748.     * Makefile.in, makefile.pc: Replace wildmat.o(bj) with fnmatch.
  1749.  
  1750. Thu Sep 10 23:19:30 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  1751.  
  1752.     * buffer.c, tar.c: Remove redundant decls of getenv, rindex.
  1753.  
  1754.     * Makefile.in: Add uninstall target.
  1755.     Define libdir instead of hardcoding /etc for installing rmt.
  1756.  
  1757. Thu Sep 10 13:06:03 1992  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)
  1758.  
  1759.     * list.c (read_header): On second thought, that doesn't work
  1760.     either, so just store the names in malloced areas.  Sigh.
  1761.  
  1762.     * NEWS: New file.
  1763.     * README: Removed things that belong in NEWS; point to it.
  1764.  
  1765.     * list.c (read_header): current_file_name and
  1766.     current_link_name need to be set to the arrays in head rather
  1767.     than header; header is the actual read buffer and will change.
  1768.  
  1769.     * extract.c (extract_archive):
  1770.     * buffer.c (new_volume): `#' directives need to start in
  1771.     column 1.
  1772.     Reported by J.T. Conklin.
  1773.  
  1774. Wed Sep  9 13:34:26 1992  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)
  1775.  
  1776.     * version.c: Release of version 1.11.
  1777.  
  1778.     * Makefile.in (AUX): Add getpagesize.h.
  1779.     (AUX): Comment out manuals.
  1780.     (all): Comment out dependency on tar.info.
  1781.  
  1782.     * Makefile, configure.in: Arrange to use local malloc on HP-UX.
  1783.  
  1784.     * port.h Use the canonical Autoconf chunk for alloca instead
  1785.     of just    looking for gcc.
  1786.  
  1787. Wed Sep  9 03:16:58 1992  Noah Friedman  (friedman@nutrimat.gnu.ai.mit.edu)
  1788.  
  1789.     * port.h: If compiling with gcc, use __builtin_alloca.
  1790.  
  1791. Tue Sep  8 16:13:41 1992  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)
  1792.  
  1793.     * extract.c: Removed long name support from here.
  1794.     * list.c (read_header): Understand and skip longname/longlink
  1795.     headers here.  Names for current file are stored in new global
  1796.     variables.  All source files except create.c changed to refer
  1797.     to current_file_name and current_link_name instead of fields
  1798.     directly from the current header.
  1799.  
  1800. Thu Sep  3 12:41:08 1992  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)
  1801.  
  1802.     * create.c (write_long): New function.
  1803.     (dump_file): When writing link records or symlink records, use
  1804.     new write_long function instead of mangling when the link
  1805.     target is too long.
  1806.     (start_header): Use write_long instead of mangling for long
  1807.     names.
  1808.     * extract.c (saverec): Recognize LF_LONGNAME and LF_LONGLINK.
  1809.     (saverec): Throughout, use longname and longlink if they are set.
  1810.  
  1811. Wed Sep  2 14:41:13 1992  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)
  1812.  
  1813.     * mangle.c: This is now deprecated; retain extract_mangle for
  1814.     backward compatability.
  1815.  
  1816.     * list.c (print_header): Prevent printing 0 when the gid or uid is
  1817.     null.
  1818.     Reported by Chris Arthur.
  1819.  
  1820.     * list.c (decode_header): Use the gid field when the gid is empty,
  1821.     and similarly for uid.
  1822.     Reported by Chris Arthur.
  1823.  
  1824.     * extract.c: saved_dir_info, saved_dir_info_head: new type and
  1825.     var.
  1826.     (extract_archive): When extracting directories, now save info
  1827.     in saved_dir_info_head.
  1828.     (restore_saved_dir_info): New function.
  1829.     * list.c (read_and): Call restore_saved_dir_info at the end of
  1830.     the run.
  1831.     Reported by Chris Arthur.
  1832.  
  1833. Mon Aug 31 15:39:55 1992  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)
  1834.  
  1835.     * create.c (create_archive): If there are no names specified,
  1836.     write nothing on the archive instead of dumping ".".
  1837.  
  1838.     * buffer.c (open_archive): Useful error message.
  1839.  
  1840.      * tar.c, tar.h: Recognize f_atime_preserve.
  1841.     * create.c (dump_file): Implement f_atime_preserve.
  1842.  
  1843.     * rmt.h (_remdev): Don't require /dev/ to be in remote archive
  1844.     names; obey new force-local flag.
  1845.     * tar.c, tar.h: Implement new force-local flag.
  1846.     Reported by Roland Schemers III.
  1847.  
  1848.     * tar.c (describe): same-owner and same-order were confused.
  1849.  
  1850.     * create.c (dump_file): Check for toplevel had sense reversed.
  1851.  
  1852.     * buffer.c (new_archive): Don't free old_name...when these
  1853.     come from the command line, they aren't malloced, and it isn't
  1854.     important to save this trivial amount of memory.
  1855.  
  1856.     * tar.h: replace ar_file with ar_files, n_ar_files,
  1857.     cur_ar_files.
  1858.     * buffer.c (open_archive): multi-volume compressed archives
  1859.     never worked; give an appropriate error.  Change open of
  1860.     ar_file to open of ar_files[0].
  1861.     (writeerror, readerror, flush_archive): use
  1862.     ar_files[cur_ar_file] instead of ar_file.
  1863.     (new_archive): Necessary changes to support ar_files.
  1864.     * tar.c (options): handle multiple tape drive arguments.
  1865.  
  1866. Fri Aug 28 17:42:13 1992  Michael I Bushnell  (mib@wookumz.gnu.ai.mit.edu)
  1867.  
  1868.     * list.c (decode_header), create.c (start_header), tar.h (TMAGIC):
  1869.     Undo djm's changes below; tar does not support the final
  1870.     Posix.1 format; it's bad to make it look like it does.
  1871.  
  1872. Sun Jul 19 02:13:46 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  1873.  
  1874.     * port.h: Try to prevent redefining major.
  1875.     * port.c: HAVE_BZERO -> minix.  Fix a typo.
  1876.  
  1877.     * list.c (decode_header): Recognize the final POSIX.1 magic as
  1878.     well as the early draft magic for ustar.
  1879.     * create.c (start_header): Create a final POSIX.1 magic string
  1880.     instead of an early draft string for ustar.
  1881.     * tar.h (TMAGIC): Remove the trailing blanks.
  1882.  
  1883.     * rmt.c, rtapelib.c: Use POSIX and STDC headers if available.
  1884.     * rmt.h: Declare the external functions defined in rtapelib.c.
  1885.  
  1886. Tue Jul 14 00:44:37 1992  David J. MacKenzie  (djm@apple-gunkies.gnu.ai.mit.edu)
  1887.  
  1888.     * pathmax.h: New file.
  1889.     * port.h: Include it.
  1890.     * create.c (create_archive): Allocate PATH_MAX instead of
  1891.     NAME_MAX for temporary buffer so we don't have to figure out
  1892.     what NAME_MAX is (portably).
  1893.  
  1894. Fri Jul 10 08:30:42 1992  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)
  1895.  
  1896.     * gnu.c (collect_and_sort_names): write_dir_file has no argument.
  1897.  
  1898. Mon Jul  6 20:11:32 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  1899.  
  1900.     * port.c (rename): If unlinking the source at the end fails,
  1901.     unlink the destination instead to avoid leaving a mess.
  1902.  
  1903. Fri Jul  3 15:16:42 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  1904.  
  1905.     * buffer.c, diffarch.c, update.c, rtapelib.c: Change NO_MTIO to
  1906.     HAVE_SYS_MTIO_H.
  1907.  
  1908.     * port.c, tar.h: Change FOO_MISSING to HAVE_FOO.
  1909.  
  1910. Tue Jun 23 23:39:02 1992  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
  1911.  
  1912.     * rmt.c: Add #ifdefs to work on ISC.
  1913.  
  1914. Wed May 20 00:12:27 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
  1915.  
  1916.     * port.h: Define major, minor, makedev if the system doesn't.
  1917.  
  1918. Wed May 13 21:16:38 1992  Michael I Bushnell  (mib@apple-gunkies.gnu.ai.mit.edu)
  1919.  
  1920.     * gnu.c (add_dir_name): Store legitimate value into
  1921.     dir_contents when get_dir_contents returns NULL.
  1922.  
  1923. Thu May  7 23:44:35 1992  Michael I Bushnell  (mib@apple-gunkies.gnu.ai.mit.edu)
  1924.  
  1925.     * gnu.c (add_dir_name): Check for return of NULL from
  1926.     get_dir_contents; see djm's change of Fri Jul 26 01:12:58 1991.
  1927.  
  1928. Mon May  4 22:50:57 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
  1929.  
  1930.     * tar.h: Make comments for option names say -- instead of +.
  1931.  
  1932. Wed Apr 29 14:23:10 1992  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)
  1933.  
  1934.     * tar.c, tar.t: Added +volno-file option.
  1935.     buffer.c: New functions init_volume_number,
  1936.     closeout_volume_number.
  1937.     tar.c (main): Call new functions in the right place.
  1938.  
  1939.     * buffer.c (fl_write, fl_read): Mod to allow losing tape
  1940.     drives which use short counts to indicate end of tape
  1941.     correctly handle the multi-tape stuff.  The read half won't
  1942.     co-exist with f_reblock; there's no way to fix that, of
  1943.     course.
  1944.  
  1945.     * tar.c, tar.h: Added new option +show-omitted-dirs.
  1946.     list.c (read_and): Implemented show-omitted-dirs.
  1947.     Reported by Karl Berry.
  1948.  
  1949.     * tar.c, tar.h: Added new option +checkpoint.
  1950.     buffer.c (fl_read, fl_write): Implemented +checkpoint lazily.
  1951.  
  1952.     * create.c (dump_file): Added toplevel argument; some devices
  1953.     can be negative, so the old method was bogus.  All callers
  1954.     changed.
  1955.  
  1956.     * tar.c, tar.h: Added new option +ignore-failed-read.
  1957.     create.c (dump_file): Implemented +ignore-failed-read.
  1958.     Reported by Bob Mende Pie.
  1959.  
  1960.     * create.c (finish_sparse_file): Commented out debugging printf.
  1961.  
  1962.     * tar.c, tar.h: Added new option +remove-files to delete files
  1963.     after they are added to the archive.
  1964.     create.c (dump_file): Implemented +remove-files for
  1965.     everything but directories.  I don't think they need it.
  1966.  
  1967. Tue Apr 28 13:21:42 1992  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)
  1968.  
  1969.     * create.c: (dump_file): save_name needs to be set equal to p,
  1970.     not something inside the header, because the header changes at
  1971.     the first buffer flush.
  1972.  
  1973. Fri Apr 24 10:41:13 1992  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)
  1974.  
  1975.     * create.c: Djm incorrectly moved the include of port.h to
  1976.     precede the include of sys/file.h; restored.
  1977.  
  1978.     * tar.c (main): Cases CMD_EXTRACT and CMD_LIST: declare error
  1979.     string with const.
  1980.  
  1981.     * gnu.c (collect_and_sort_names): Leave if around
  1982.     write_dir_file in place.
  1983.  
  1984. Wed Apr 22 02:16:14 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
  1985.  
  1986.     * rtapelib.c: SIGTYPE -> RETSIGTYPE.
  1987.  
  1988. Mon Mar  9 22:42:05 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  1989.  
  1990.     * rtapelib.c: Reformat and make comments more complete.
  1991.     Rename a few variables for clarity.
  1992.  
  1993. Thu Mar  5 14:07:34 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  1994.  
  1995.     * tar.c (describe): Document long options as starting with --.
  1996.  
  1997. Thu Jan 23 22:54:41 1992  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  1998.  
  1999.     * tar.c (options): Check get_date return value for error indication.
  2000.  
  2001. Tue Dec 24 00:03:03 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  2002.  
  2003.     * tar.c, gnu.c, extract.c, create.c, port.h, rmt.h: Change
  2004.     POSIX ifdefs to HAVE_UNISTD_H and _POSIX_VERSION.
  2005.  
  2006. Fri Dec 20 13:50:38 1991  Michael I Bushnell  (mib at geech.gnu.ai.mit.edu)
  2007.  
  2008.     * testpad.c (main): flush stderr so perror and fprintf
  2009.     cooperate right.
  2010.  
  2011. Wed Dec 18 16:52:42 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  2012.  
  2013.     * port.h: Check MAJOR_IN_MKDEV and MAJOR_IN_SYSMACROS to find
  2014.     where to get major, minor and makedev.
  2015.     * create.c, list.c, update.c: Don't check USG to include
  2016.     sys/sysmacros.h.
  2017.  
  2018. Thu Dec 12 21:57:10 1991  Michael I Bushnell  (mib at geech.gnu.ai.mit.edu)
  2019.  
  2020.     * mangle.c (extract_mangle): Correctly null terminate name of
  2021.     link target.
  2022.  
  2023. Thu Nov 21 07:44:18 1991  Michael I Bushnell  (mib at nutrimat)
  2024.  
  2025.     * create.c (dump_file, at start of ISREG output loop): use
  2026.     filename from header instead of real name to make sure that we
  2027.     get the mangled version and not one that is too long and
  2028.     overflows buffers.
  2029.  
  2030. Sat Nov 16 01:37:45 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  2031.  
  2032.     * tar.h: Use new criteria for STDC version of msg.
  2033.  
  2034. Sat Nov  2 21:31:57 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  2035.  
  2036.     * create.c, gnu.c, tar.c: Use DIRENT instead of NDIR to select
  2037.     between dirent.h and ndir.h for USG.
  2038.  
  2039.     * port.c: Rename WANT_FOO to FOO_MISSING to make sharing code
  2040.     and configure script with other utilities easier.  Use
  2041.     VPRINTF_MISSING and DOPRNT_MISSING instead of FOO_MSG to
  2042.     select error reporting routines.
  2043.  
  2044. Thu Aug 29 00:54:01 1991  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)
  2045.  
  2046.     * tar.c (long_options).  Fixed info-script long option.
  2047.     Reported by Eric Norum.
  2048.  
  2049. Mon Aug 26 16:53:50 1991  David J. MacKenzie  (djm at pogo.gnu.ai.mit.edu)
  2050.  
  2051.     * configure, Makefile.in: Only put $< in Makefiles if VPATH
  2052.     is being used, because older makes don't understand it.
  2053.  
  2054. Mon Aug 19 01:47:57 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  2055.  
  2056.     * create.c: Indent '#pragma alloca' so non-ANSI compilers
  2057.     don't choke on it.
  2058.  
  2059. Wed Aug 14 14:10:43 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  2060.  
  2061.     * list.c (UGSWIDTH): Increase from 11 (sort of like Unix tar) to
  2062.     18, so that with normal user and group names of <= 8 chars,
  2063.     the columns never shift in a tar -t listing.
  2064.  
  2065. Fri Aug  2 00:41:08 1991  David J. MacKenzie  (djm at apple-gunkies)
  2066.  
  2067.     * Makefile.in (dist): Include texinfo.tex and tar.info*.
  2068.     (install): Install tar.info*.
  2069.     * configure: Set INSTALLDATA.
  2070.  
  2071.     * configure: Create config.status.  Remove it and Makefile if
  2072.     interrupted while creating them.
  2073.  
  2074.     * configure: Check for +srcdir etc. arg and look for
  2075.     Makefile.in in that directory.  Set VPATH if srcdir is not `.'.
  2076.     * Makefile.in: Add `prefix'.
  2077.     (tar.info): New target.
  2078.  
  2079. Tue Jul 30 17:08:04 1991  David J. MacKenzie  (djm at apple-gunkies)
  2080.  
  2081.     * configure: NEED_TZSET has become FTIME_MISSING.
  2082.  
  2083. Mon Jul 29 19:23:10 1991  David J. MacKenzie  (djm at wombat.gnu.ai.mit.edu)
  2084.  
  2085.     * port.c [F_CHSIZE]: Additional version.
  2086.  
  2087. Sat Jul 27 22:27:47 1991  David J. MacKenzie  (djm at wombat.gnu.ai.mit.edu)
  2088.  
  2089.     * rmt.h: Clean up ifdefs.
  2090.  
  2091.     * makefile.pc: Fix typo.
  2092.     port.h: Change MSDOS to __MSDOS__.
  2093.     [__MSDOS__]: Define off_t.  Include io.h and not sys/param.h.
  2094.     [__TURBOC__]: Use void * and don't define const.
  2095.  
  2096. Fri Jul 26 01:12:58 1991  David J. MacKenzie  (djm at bleen)
  2097.  
  2098.     * buffer.c: Rename `eof' to `hit_eof' to avoid conflict with an
  2099.     MSDOS function.
  2100.     * gnu.c (get_dir_contents): Return NULL, not "\0\0\0\0", on error.
  2101.     * diffarch.c (diff_archive): Open files in binary mode.
  2102.     Don't use or free a non-malloc'd return value from get_dir_contents.
  2103.     * msd_dir.c [__TURBOC__]: Include stdlib.h.
  2104.     * rmt.h: lseek returns off_t, not long.
  2105.  
  2106.     * tar.c (describe): -X is +exclude-from, not +exclude.
  2107.     (names_notfound): Free memory only if amiga, not !unix.
  2108.  
  2109.     * tar.h, tar.c: Add +null option to make -T read
  2110.     null-terminated filenames (such as those produced by GNU find
  2111.     -print0), and disable -C option.
  2112.     This guarantees that odd filenames will get archived.
  2113.     * tar.c (read_name_from_file): New function.
  2114.     (name_next): Call it instead of fgets.
  2115.     From David J. MacKenzie.
  2116.  
  2117. Wed Jul 24 11:17:48 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  2118.  
  2119.     * create.c [_AIX]: Declare alloca.
  2120.  
  2121.     * buffer.c (open_archive): Check for successful open before,
  2122.     not after, fstatting the fd.
  2123.  
  2124. Tue Jul 23 20:51:31 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  2125.  
  2126.     * configure: Only define BSD42 if sys/file.h exists.
  2127.     If alloca is missing and /usr/ucblib exists (SVR4), use it
  2128.     instead of -lPW.
  2129.  
  2130.     * port.h [!__STDC__]: #define const.
  2131.     * gnu.c (dirent_cmp): Fix args to agree with ANSI C prototype.
  2132.     * create.c: Declare ck_realloc.
  2133.     * gnu.c, diffarch.c: Move check for symlinks to after port.h include.
  2134.  
  2135. Sat Jul 20 00:03:54 1991  David J. MacKenzie  (djm at apple-gunkies)
  2136.  
  2137.     * msd_dir.[ch]: Use POSIX-style `struct dirent' instead of
  2138.     `struct direct'.
  2139.     * create.c, gnu.c, tar.c: Adjust callers.
  2140.  
  2141. Thu Jul 18 00:05:01 1991  David J. MacKenzie  (djm at bleen)
  2142.  
  2143.     * port.c (ck_malloc, ck_realloc): Return PTR, not char *.
  2144.     * gnu.c, create.c, tar.c: Fix decls.
  2145.  
  2146.     * port.c: Don't use the preprocessor to guess missing
  2147.     functions on Unix; let configure do it.
  2148.     [WANT_GETWD] (getwd): Function removed; not needed because
  2149.     getcwd is used if needed.
  2150.     * gnu.c, tar.c: Use getcwd if POSIX.
  2151.  
  2152.     * rtapelib.c: Use SIGTYPE instead of testing SIGNAL_VOID.
  2153.     Default to void (more common these days) instead of int.
  2154.  
  2155.     * tar.c, gnu.c, mangle.c: Remove VOIDSTAR defn.  Use PTR instead.
  2156.     * port.h: Define PTR.
  2157.  
  2158.     * gnu.c, tar.c [__MSDOS__ || USG]: Remove incorrect getcwd
  2159.     decl; put correct one in port.h [!POSIX].
  2160.  
  2161.     * tar.c (describe): Print on stdout instead of stderr; it's
  2162.     not so much a usage message (since you have to ask for it
  2163.     explicitly) as on-line help, and you really need to be able to
  2164.     page it because it's more than a screen long.
  2165.  
  2166.     * Make #ifdefs for sys/file.h or fcntl.h, directory header,
  2167.     sys/mtio.h consistent between files.  Use NO_MTIO instead of
  2168.     tricks with USG and HAVE_MTIO and NO_RMTIOCTL.
  2169.     * Move decls of ANSI C and POSIX functions to port.h and
  2170.     use standard headers to declare them if available
  2171.     [STDC_HEADERS or POSIX].
  2172.     * Add many missing function declarations and return types.
  2173.     * Some places used __MSDOS__, some MSDOS; standardize on __MSDOS__.
  2174.     * Change S_IF macros to S_IS for POSIX.
  2175.     * port.h: Define appropriate S_IS macros if missing.
  2176.     * port.h: Rename macros for testing exit status to conform to
  2177.     POSIX; use the system's versions if available [POSIX].
  2178.     * Use POSIX PATH_MAX and NAME_MAX instead of MAXPATHLEN and MAXNAMLEN.
  2179.     * port.h: Define PATH_MAX and NAME_MAX.
  2180.     * create.c, gnu.c, tar.c: Use ck_malloc and free instead of
  2181.     auto arrays of size PATH_MAX or NAME_MAX, since with pathconf
  2182.     they might not be constants.
  2183.     * Move all definitions of O_* to port.h to reduce redundancy.
  2184.     * Make all source files that now need to include port.h do so.
  2185.     * port.c: Remove #undefs of WANT_* so you can use -DWANT_*
  2186.     when compiling, instead of having to edit port.c.
  2187.     [WANT_DUMB_GET_DATE] (get_date): Function removed.
  2188.     Even systems without bison can get bison output and compile it.
  2189.     [WANT_STRING] (index, rindex, bcopy, bzero, bcmp): Functions
  2190.     removed; the translation is now done by macros in port.h.
  2191.     * wildmat.c (wildmat): Use POSIX.2 '!' instead of '^' to negate
  2192.     character classes.
  2193.  
  2194. Mon Jul 15 13:47:45 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  2195.  
  2196.     * testpad.c (main): Return type void.
  2197.  
  2198.     * port.c [WANT_STRING]: Don't include memory.h if NO_MEMORY_H.
  2199.  
  2200.     * create.c (dump_file) [AIX]: Fix typo, `allocate' for `alloca'.
  2201.     * gnu.c (collect_and_sort_names): Move misplaced brace out of #ifdef.
  2202.     Reported by Minh Tran-Le.
  2203.  
  2204.     * configure: Also look in sys/signal.h for signal decl.
  2205.  
  2206. Wed Jul 10 01:42:55 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  2207.  
  2208.     * Rename rtape_server.c to rmt.c and rtape_lib.c to rtapelib.c.
  2209.  
  2210.     * configure, Makefile.in: $(INSTALLPROG) -> $(INSTALL).
  2211.  
  2212. Tue Jul  9 01:38:37 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  2213.  
  2214.     * Most files: Refer to GPL version 2.
  2215.     * COPYING: Use version 2.
  2216.  
  2217.     * port.c [__TURBOC__] (utime): New function.
  2218.  
  2219.     * xmalloc: New function (just calls ck_malloc), for alloca.c
  2220.     and bison.simple (in getdate.y output).
  2221.  
  2222.     * Makefile.in (AUX): Include alloca.c and tcexparg.c, a
  2223.     command line globber for Turbo C.
  2224.  
  2225. Mon Jul  8 14:30:52 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  2226.  
  2227.     * testpad.c: Open and write to testpad.h instead of stdout,
  2228.     because some MS-DOS makes (Borland's at least) can't do
  2229.     redirection in commands.
  2230.     * Makefile.in: Don't redirect testpad output.
  2231.  
  2232. Mon Jul  8 12:56:35 1991  Michael I Bushnell  (mib at churchy.gnu.ai.mit.edu)
  2233.  
  2234.     * buffer.c (fl_read): Missing \n in printf.
  2235.  
  2236. Mon Jul  8 03:40:28 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  2237.  
  2238.     * create.c, extract.c, gnu.c, diffarch.c, tar.c: Comment out
  2239.     unused variables.
  2240.  
  2241.     * tar.c (options): Cast get_date arg to VOIDSTAR instead of
  2242.     `struct timeb *', since on some non-BSD systems the latter is
  2243.     undefined.
  2244.  
  2245. Sat Jul  6 04:53:14 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  2246.  
  2247.     * Replace Makefile with configure, Makefile.in, and makefile.pc.
  2248.     Update README with current compilation instructions.
  2249.  
  2250.     * port.c [WANT_RENAME] (rename): New function.
  2251.  
  2252. Wed Jul  3 18:10:52 1991  Michael I Bushnell  (mib at geech.gnu.ai.mit.edu)
  2253.  
  2254.     * testpad.c (main): Avoid warning from some compilers on array
  2255.     address.
  2256.  
  2257.     * rtape_server.c (sys_errlist): Should be declared extern.
  2258.  
  2259. Mon Jul  1 14:14:06 1991  Michael I Bushnell  (mib at geech.gnu.ai.mit.edu)
  2260.  
  2261.     * Release of version 1.10; appropriate changes to README.
  2262.  
  2263.     * create.c: Removed printf's about sparse files.
  2264.  
  2265. Fri Jun 21 23:04:31 1991  Michael I Bushnell  (mib at geech.gnu.ai.mit.edu)
  2266.  
  2267.     * list.c (skip_extended_headers): Userec was being called in
  2268.     the wrong place.
  2269.  
  2270. Thu Jun 20 19:10:35 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  2271.  
  2272.     * tar.h: Use ANSI prototypes for msg and msg_perror if
  2273.     STDC_MSG is defined, even if BSD42 is also.
  2274.  
  2275.     * Makefile: Replace DESTDIR with bindir.
  2276.     (install): Don't install tar.texinfo.  There's no standard
  2277.     place for texinfo files, and /usr/local/man is inappropriate.
  2278.     Add TAGS, distclean, and realclean targets and SHELL= line.
  2279.  
  2280.     * version.c: Move old change history to bottom of ChangeLog.
  2281.  
  2282. Wed Jun 12 12:43:58 1991  Michael I Bushnell  (mib at geech.gnu.ai.mit.edu)
  2283.  
  2284.     * rtape_lib.c (__rmt_write): #ifdef should reference
  2285.     SIGNAL_VOID, not USG.
  2286.  
  2287. Wed Jun  5 14:57:11 1991  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)
  2288.  
  2289.     * tar.c (name_match, addname): Ugly hack to handle -C without
  2290.     any files specified.
  2291.     tar.h (struct name): New field for ugly hack.
  2292.  
  2293. Mon Jun  3 14:46:46 1991  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)
  2294.  
  2295.     * testpad.c: New file to determine if we need special padding
  2296.     in struct header in tar.h.
  2297.  
  2298.     * tar.h (struct header): include padding if necessary, include
  2299.     testpad.h.
  2300.  
  2301.     * Makefile: rules to create testpad.h, etc.
  2302.  
  2303. Wed May 22 16:02:35 1991  Michael I Bushnell  (mib@churchy.gnu.ai.mit.edu)
  2304.  
  2305.     * tar.c (options): -L takes an argument.
  2306.  
  2307.     * rtape_lib.c (__rmt_open): add /usr/bin/nsh to the list of
  2308.     remote shell programs.
  2309.  
  2310.     * create.c: define MAXPATHLEN if we don't get it from a system
  2311.     header file.
  2312.  
  2313.     * create.c (deal_with_sparse): return a real return value if
  2314.     we can't open the file.
  2315.  
  2316.     * tar.c (long_options): +newer takes an argument.
  2317.     (describe): fix printing in various trivial ways
  2318.  
  2319. Tue May 21 17:15:19 1991  Michael I Bushnell  (mib at geech.gnu.ai.mit.edu)
  2320.  
  2321.     * tar.c (long_options): +get and +concatentate don't require arguments
  2322.  
  2323. Mon May 20 15:55:30 1991  Michael I Bushnell  (mib at geech.gnu.ai.mit.edu)
  2324.  
  2325.     * create.c (write_eot): Don't try and write an EOF if we are
  2326.     already at one.
  2327.  
  2328.     * port.c (strstr): Looking for null string should return zero.
  2329.  
  2330. Sun May 19 22:30:10 1991  Michael I Bushnell  (mib at geech.gnu.ai.mit.edu)
  2331.  
  2332.     * tar.c (options): -l doesn't take an argument
  2333.  
  2334.     * Makefile: Minor fix for SGI 4D defines.
  2335.     Reported by Andrew Torda.
  2336.  
  2337.     * rtape_server.c (main.c): For 386/AIX.  I'm suspicious about this
  2338.     one.
  2339.     * create.c (dump_file): For hidden files on AIX.
  2340.     gnu.c (collect_and_sort_name, get_dir_contents): AIX hidden file mod.
  2341.     Reported by Minh Tran-Le.
  2342.  
  2343.     * tar.c: (name_next): Allow -C inside a file list given to -T.
  2344.     Reported by David Taylor.
  2345.  
  2346.     * Makefile: Comment describing presence of USE_REXEC.
  2347.  
  2348.     * extract.c (extract_archive, case LF_SPARSE): zero check for
  2349.     last element on numbytes needs to look at value after
  2350.     converted from octal.
  2351.  
  2352.     * port.c: Don't always demand strstr, check for HAVE_STRSTR
  2353.     instead.
  2354.     Makefile: Comment describing presence of HAVE_STRSTR option.
  2355.  
  2356. Sun May 19 18:39:48 1991  David J. MacKenzie  (djm at churchy.gnu.ai.mit.edu)
  2357.  
  2358.     * port.c (get_date): Renamed from getdate, to avoid SVR4 conflict.
  2359.     * tar.c: Call get_date instead of getdate.
  2360.  
  2361. Fri May 10 02:58:17 1991  Noah Friedman  (friedman at nutrimat)
  2362.  
  2363.     * tar.c:  added "\n\" to the end of some documentation strings
  2364.     where they were left off.
  2365.  
  2366. Thu May  9 17:28:54 1991  Michael I Bushnell  (mib at geech.gnu.ai.mit.edu)
  2367.  
  2368.     * Makefile: added level-0, level-1, and backup-specs to AUX.
  2369.     * version.c: changed to 1.10 beta.
  2370.     * README: updated for 1.10 beta release.
  2371.  
  2372. Tue Apr  2 12:04:54 1991  Michael I Bushnell  (mib at godwin)
  2373.  
  2374.     * create.c (dump_file): HPUX's st_blocks is in 1024 byte units
  2375.     instead of 512 like the rest of the world, so I special cased
  2376.     it.
  2377.     * tar.c: Undo Noah's changes.
  2378.  
  2379. Mon Apr  1 17:49:28 1991  Noah Friedman  (friedman at wookumz.gnu.ai.mit.edu)
  2380.  
  2381.         (This ought to be temporary until things are fixed properly. )
  2382.  
  2383.     * tar.c: (struct option long_options):  flag for "sparse" zero if
  2384.     compiling under hpux.
  2385.     tar.c: (functon options): case 'S' is a no-op if compiling under
  2386.     hpux.
  2387.  
  2388. Sat Mar 30 12:20:41 1991  Michael I Bushnell  (mib at geech.gnu.ai.mit.edu)
  2389.  
  2390.     * tar.h: new variable tape_length.
  2391.  
  2392.     * tar.c (options): add new option +tape-length / -L.
  2393.  
  2394.     * buffer.c (fl_write): Turn #ifdef TEST code for limited tape
  2395.     length on always, for tape-length option.
  2396.  
  2397.     * create.c (dump_file): avoid apollo lossage where S_IFIFO == S_IFSOCK.
  2398.  
  2399.     * buffer.c: include regex.h
  2400.     * buffer.c (fl_read, open_archive): Use regex routines for
  2401.     volume header match.
  2402.     * xmalloc.c: removed file; wasn't necessary.
  2403.     * tar.c: (main) use ck_malloc instead of xmalloc.
  2404.  
  2405. Thu Mar 28 04:05:05 1991  Noah Friedman  (friedman at goldman)
  2406.  
  2407.     * regex.c, regex.o: New links.
  2408.     * tar.c: include regex.h.
  2409.     * Makefile (OBJ2): Add regex.o.
  2410.         (regex.o, tar.o): Depend on regex.h
  2411.         (SRC2, AUX): Add the new files.
  2412.  
  2413. Sat Mar 23 15:39:42 1991  Noah Friedman  (friedman at wookumz.gnu.ai.mit.edu)
  2414.  
  2415.     * Makefile: added default flags and options for compiling under
  2416.     hpux.
  2417.  
  2418.     * Added files alloca.c and xmalloc.c.
  2419.  
  2420. Sat Mar 23 14:35:31 1991  Michael I Bushnell  (mib at geech.gnu.ai.mit.edu)
  2421.  
  2422.     * port.c: Define WANT_VALLOC in HPUX.
  2423.  
  2424. Fri Mar 15 06:20:15 1991  David J. MacKenzie  (djm at geech.ai.mit.edu)
  2425.  
  2426.     * rtape_lib.c: If USG and not HAVE_MTIO, define NO_RMTIOCTL
  2427.     automatically.
  2428.     (_rmt_rexec): Temporarily re-open stdin and stdout to
  2429.     /dev/tty, to guarantee that rexec() can prompt and read the
  2430.     login name and password from the user.
  2431.     * Makefile: Mention -DUSE_REXEC.
  2432.     Reported by Pascal Meheut.
  2433.  
  2434. Fri Mar  8 20:15:11 1991  Michael I Bushnell  (mib at wookumz.ai.mit.edu)
  2435.  
  2436.     * tar.h, Makefile:  Makefile CPP macro HAVE_SIZE_T might be
  2437.     useful for some people.
  2438.  
  2439.     * gnu.c: lstat->stat define where appropriate
  2440.  
  2441.     * buffer.c (fl_write): keep track of amount written for +totals.
  2442.     * tar.c, tar.h: set flag f_totals from +totals option
  2443.     * tar.h (f_totals, tot_written): new variables
  2444.     * tar.c (main): print total written with CMD_CREATE
  2445.  
  2446.     * tar.c (main): return appropriate exit status
  2447.  
  2448. Thu Jan 17 00:50:21 1991  David J. MacKenzie  (djm at apple-gunkies)
  2449.  
  2450.     * port.c: Remove a spurious `+' between functions (a remnant
  2451.     of a context diff, apparently).
  2452.  
  2453. Wed Jan  9 19:43:59 1991  Michael I Bushnell  (mib at pogo.ai.mit.edu)
  2454.  
  2455.     * create.c (where_is_data): Rewritten to be better, and then
  2456.     #ifdef-ed out.
  2457.     (deal_with_sparse): Severly pruned.  Now we write or don't
  2458.     write only complete blocks, not worrying about partial blocks.
  2459.     This simplifies calculations, removes bugs, and elides the
  2460.     second scan through the block.  The first was zero_record, the
  2461.     second was where_is_data.
  2462.  
  2463. Mon Jan  7 17:13:29 1991  Michael I Bushnell  (mib at wookumz.ai.mit.edu)
  2464.  
  2465.     * create.c (deal_with_sparse): Second computation (for short
  2466.     reads) of numbytes increment had subtraction backwards.
  2467.     Need to handle calling where_is_data better when we did a
  2468.     short read (it might go past the end of the read), also, set
  2469.     sparsearray[...].offset in this case too.
  2470.  
  2471. Fri Jan  4 12:24:38 EST 1991    Jay Fenlason (hack@ai.mit.edu)
  2472.  
  2473.     * buffer.c: Return a special error code if the archive
  2474.     you're trying to read starts with a different label than
  2475.     the one specified on the command line.
  2476.  
  2477. Wed Jan  2 12:05:21 EST 1991    Jay Fenlason (hack@ai.mit.edu)
  2478.  
  2479.     * gnu.c: Prepend the current directory to the gnu_dumpfile, so that
  2480.     -C's won't affect where the output goes. (sigh.)
  2481.  
  2482. Tue Dec 18 18:05:59 EST 1990    Jay Fenlason (hack@ai.mit.edu)
  2483.  
  2484.     * gnu.c: Don't complain if the gnudumpfile we're reading info
  2485.     from doesn't exist.
  2486.  
  2487.     * create.c: Write out gnudumpfile after finishing writing the archive.
  2488.  
  2489.     * tar.c: Add +exclude FNAME, and make +exclude-from do what +exclude
  2490.     used to.
  2491.     * Make +version an operation, not an option.
  2492.     * Add +confirmation alias for +interactive.
  2493.  
  2494. Tue Dec  4 13:28:08 EST 1990    Jay Fenlason (hack@ai.mit.edu)
  2495.  
  2496.     * tar.c (check_exclude): Don't let MUMBLE match MUMBLE.c or
  2497.     fooMUMBLE but only foo/MUMBLE.
  2498.  
  2499.     * mangle.c: New file.
  2500.     * create.c, extract.c: According changes.
  2501.  
  2502.     * extract.c: Don't complain when extracting an already existing link.
  2503.     Don't complain when extracting a directory iff it already exists.
  2504.     Don't ad u+wx to directories when running as root.
  2505.     Reported by Chip Salzenberg.
  2506.  
  2507.     * gnu.c: Make +listed-incremental work.
  2508.     Reported by Chip Salzenberg.
  2509.  
  2510.     * port.c: Add the F_FREESP emulation of the ftruncate syscall.
  2511.  
  2512. Wed Nov 21 15:57:07 EST 1990    Jay Fenlason (hack@ai.mit.edu)
  2513.  
  2514.     Remove excess \n from lots of msg() calls.
  2515.  
  2516. Mon Nov 19 14:09:43 EST 1990    Jay Fenlason (hack@ai.mit.edu)
  2517.  
  2518.     * tar.c: Rename +volume to +label.
  2519.  
  2520. Fri Nov 16 15:43:44 1990  David J. MacKenzie  (djm at apple-gunkies)
  2521.  
  2522.     * tar.c (describe): Include the default values for -b and -f
  2523.     (as set in the Makefile) in the message.
  2524.  
  2525. Thu Nov 15 13:36:45 EST 1990    Jay Fenlason (hack@ai.mit.edu)
  2526.  
  2527.     * extract.c (extract_archive): Do the utime() call before the
  2528.     chmod() call, 'cuz some versons of utime() trash the file's mode
  2529.     bits.
  2530.  
  2531.     * list.c (read_and): Call do_something on volume headers and
  2532.     multivol files even if they don't match the names we're looking
  2533.     for, etc.
  2534.  
  2535. Tue Nov  6 13:51:46 EST 1990    Jay Fenlason (hack@ai.mit.edu)
  2536.  
  2537.     * port.c (un-quote-string): Don't try to write a null if there's
  2538.     already one there.
  2539.  
  2540. Thu Nov  1 14:58:57 EST 1990    Jay Fenlason (hack@ai.mit.edu)
  2541.  
  2542.     * buffer.c (new_volume): fflush(msg_file) before reading for
  2543.     confirmation on new volume.  On EOF or error, print error msg and
  2544.     abort.
  2545.  
  2546. Mon Oct 29 12:06:35 EST 1990    Jay Fenlason (hack@ai.mit.edu)
  2547.  
  2548.     * getdate.y: Use new version of getdate().
  2549.  
  2550.     * tar.c (name_add): Use sizeof(char *) instead of sizeof(int)
  2551.  
  2552.     * README: Give the correct return address.
  2553.  
  2554. Thu Oct 25 16:03:58 EDT 1990    Jay Fenlason (hack@ai.mit.edu)
  2555.  
  2556.     rtape_lib.c: Change RMTIOCTL to NO_RMTIOCTL, so it is on by default.
  2557.  
  2558.     rmt.h: Add _isrmt() #define for NO_REMOTE case.
  2559.  
  2560.     gnu.c: Add forward reference for add_dir_name().
  2561.  
  2562. Tue Oct 16 11:04:52 EDT 1990    Jay Fenlason (hack@ai.mit.edu)
  2563.  
  2564.     Version 1.09 --- New -G file implementation of gnu-dump stuff.
  2565.  
  2566.     * tar.c (name_add): Get the calls to ck_realloc and ck_malloc right.
  2567.  
  2568. Thu Oct 11 11:23:38 EDT 1990    Jay Fenlason (hack@ai.mit.edu)
  2569.  
  2570.     * gnu.c: Fix A couple of typos.
  2571.  
  2572. Wed Sep 19 13:35:03 1990  David J. MacKenzie  (djm at apple-gunkies)
  2573.  
  2574.     * getdate.y [USG] (ftime): Use `daylight' unless DAYLIGHT_MISSING
  2575.     is defined.
  2576.  
  2577. Mon Sep 17 18:04:21 EDT 1990    Jay Fenlason (hack@ai.mit.edu)
  2578.  
  2579.     * gnu.c (gnu_restore): Don't use a passed char* for the
  2580.     file name, use skipcrud+head->header.name, just like everything
  2581.     else does.  This means that gnu_restore will still work with
  2582.     small buffers, etc.
  2583.  
  2584. Thu Sep 13 15:01:17 EDT 1990    Jay Fenlason (hack@ai.mit.edu)
  2585.  
  2586.     * tar.c (add_exclude): Don't bus-error if the exclude file doesn't
  2587.     end with a newline.
  2588.  
  2589. Sun Sep  9 22:35:27 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  2590.  
  2591.     * Makefile (dist): Remove .fname when done.
  2592.  
  2593. Thu Sep  6 12:48:58 EDT 1990    Jay Fenlason (hack@ai.mti.edu)
  2594.  
  2595.     * gnu.c (gnu_restore): Rember to skip_file() over the directory
  2596.     contents, even if we don't have to do anything with them.
  2597.  
  2598.     * create.c, extract.c, diffarch.c: Free sparsearray after we're
  2599.     done with it.
  2600.  
  2601. Tue Sep  4 10:18:50 EDT 1990    Jay Fenlason (hack@ai.mit.edu)
  2602.  
  2603.     * Makefile: Include gnu.c in dist
  2604.  
  2605.     * gnu.c: Move add_dir above read_dir_file so that cc doesn't
  2606.     complain about add_dir returning void.
  2607.  
  2608. Sun Sep  2 20:46:34 1990  David J. MacKenzie  (djm at apple-gunkies)
  2609.  
  2610.     * getdate.y: Declare some more functions and add storage
  2611.     classes where omitted to shut compiler up.
  2612.     [USG] (ftime): Don't use extern var `daylight'; appears that
  2613.     some systems don't have it.
  2614.  
  2615. Wed Aug 29 00:05:06 1990  David J. MacKenzie  (djm at apple-gunkies)
  2616.  
  2617.     * getdate.y (lookup): In the code that allows `Aug.' to be
  2618.     recognized as `Aug', don't chop off the final `.' from words
  2619.     like `a.m.', so they can be recognized.
  2620.  
  2621. Thu Aug 16 11:34:07 EDT 1990    Jay Fenlason (hack@ai.mit.edu)
  2622.  
  2623.     * buffer.c (open_archive): If -O, write verbosity to stderr
  2624.     instead of stdout.
  2625.  
  2626. Fri Aug 10 12:29:28 EDT 1990    Jay Fenlason (hack@ai.mit.edu)
  2627.  
  2628.     * getdate.y: Handle an explicit DST in the input string.
  2629.     Reported by Per Foreby.
  2630.  
  2631. Mon Jul 16 13:05:11 EDT 1990    Jay Fenlason (hack@ai.mit.edu)
  2632.  
  2633.     * tar.c: rename -g -G +incremental, +listed-imcremental, etc.
  2634.  
  2635. Fri Jul 13 14:10:33 EDT 1990    Jay Fenlason (hack@ai.mit.edu)
  2636.  
  2637.     * tar.c: Make +newer and +newer-mtime work according to their names.
  2638.  
  2639.     * gnu.c: If +newer or +newer-mtime, use the time specified on the
  2640.     command line.
  2641.  
  2642.     * buffer.c, create.c: Add test to see if dimwit is trying to
  2643.     archive the archive.
  2644.  
  2645.     * tar.c (long_options[]): Re-ordered, so that groups of similar
  2646.     options are next to each other...  I think.
  2647.  
  2648.     (describe): Modified to more closely reflect reality.
  2649.  
  2650. Fri Jul  6 13:13:59 EDT 1990    Jay Fenlason (hack@ai.mit.edu)
  2651.  
  2652.     * tar.c: Add compile-time option for SYS V (?) style
  2653.     tape-drive names /dev/rmt/{n}[lmh]
  2654.  
  2655.     * tar.c: Fix getopt-style stuff so that -C always works correctly.
  2656.  
  2657.     * gnu.c, tar.c: Make filename to -G optional.
  2658.  
  2659.     * {all over}: Replace some fprintf(stderr...) calls with calls
  2660.     to msg().
  2661.  
  2662.     * port.c: Make -Dmumble_MSG option on command line override
  2663.     internal assumptions.
  2664.  
  2665.     * Makefile: Mention -Dmumble_MSG options
  2666.  
  2667. Fri Jul  6 02:35:31 1990  David J. MacKenzie  (djm at apple-gunkies)
  2668.  
  2669.     * tar.c (options): Don't change `c' if it is 0, as getopt now
  2670.     handles that internally.
  2671.  
  2672. Mon Jul  2 15:21:13 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
  2673.  
  2674.     * gnu.c (new file): Moved all the f_gnudump stuff here where we
  2675.     can keep track of it easier.  Also made -G take a file name where
  2676.     it stores the inode information about directories so that we can
  2677.     detect moved directores.
  2678.  
  2679.     * create.c (dump_file): Changed slightly to work with the new
  2680.     f_gnudump.
  2681.  
  2682.     * tar.c: Moved the f_gnudump stuff to gnu.c
  2683.  
  2684.     * tar.c, extract.c: Added the +do-chown option, which forces tar
  2685.     to always try to chown the created files to their original owners.
  2686.  
  2687.     * version.c: New version 1.09
  2688.  
  2689. Sun Jun 24 14:26:28 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  2690.  
  2691.     * create.c: Change ifdefs for directory library header
  2692.     selection to be like the ones in tar.c.
  2693.     * Makefile [Xenix]: Link with -ldir to get the dirent.h
  2694.     directory library.
  2695.  
  2696. Thu Jun  7 03:31:51 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  2697.  
  2698.     * Makefile, buffer.c, diffarch.c: Change MTIO symbol to HAVE_MTIO
  2699.     because SCO Xenix defines 'MTIO' for an incompatible tape driver
  2700.     system in a file included by termio.h.
  2701.     * tar.h: Don't define size_t for Xenix.
  2702.  
  2703. Tue Jun  5 11:38:00 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
  2704.  
  2705.     * create.c (dump_file): Only print the
  2706.     "... is on a different filesystem..." if f_verbose is on.
  2707.     also add a case for S_IFSOCK and treat it like a FIFO.
  2708.     (Not sure if that's the right thing to do or not, but it's better
  2709.     than all those Unknown File Type msgs.)
  2710.  
  2711. Thu May 31 19:25:36 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
  2712.  
  2713.     * port.c: Use #ifdef sparc instead of #ifdef SPARC since
  2714.     the lowercase version is defined, and the uppercase one isn't.
  2715.  
  2716. Tue May 22 11:49:18 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
  2717.  
  2718.     * port.c (ck_malloc): if size==0 pretend size=1
  2719.     (ck_realloc): if(!ptr) call ck_malloc instead.
  2720.  
  2721. Tue May 15 12:05:45 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
  2722.  
  2723.     * diffarch.c (diff_archive): If not f_absolute_paths, and attempt
  2724.     to open a file listed in the archive fails, try /filename also.
  2725.     This will allow diff to open the wrong file if both /filename and
  2726.     filename exist, but there's nothing we can do about that.
  2727.  
  2728. Fri May 11 16:17:43 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
  2729.  
  2730.     * Makefile: Describe new -DMTIO option.
  2731.  
  2732.     * buffer.c, diffarch.c: Change ifdefs slightly, so that -DMTIO
  2733.     will include sys/mtio.h even if USG is defined.  This is for HUPX
  2734.     and similar BSD/USG crossovers.
  2735.  
  2736. Tue May  8 13:14:54 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
  2737.  
  2738.     * update.c (update_archive): Call reset_eof() when appropriate.
  2739.  
  2740.     * buffer.c (reset_eof): New function, that turns of EOF flag, and
  2741.     re-sets the ar_record and ar_last pointers.  This will allow
  2742.     'tar rf non-existant-file' to not core-dump.
  2743.  
  2744. Fri May  4 14:05:31 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  2745.  
  2746.     * tar.c: Recognize the +sparse option.  It was documented, but
  2747.     only the short form (-S) was actually recognized.
  2748.  
  2749. Tue Apr 17 21:34:14 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
  2750.  
  2751.     * create.c: Don't access location 0 if ->dir_contents is null.
  2752.  
  2753. Wed Apr 11 17:30:03 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
  2754.  
  2755.     * buffer.c (flush_archive, close_archive, new_volume): Always
  2756.     check the return value of rmtclose(), and only give a warning msg
  2757.     if it is <0.  Some device drivers (including Sun floppy disk, and
  2758.     HP streaming tape) return -1 after an IO error (or something like
  2759.     that.)
  2760.  
  2761. Fri Mar 23 00:06:30 1990  Jim Kingdon  (kingdon at mole.ai.mit.edu)
  2762.  
  2763.     * tar.c (long_options): Make it so +append +extract +list +update
  2764.     +catenate and +delete don't take arguments.
  2765.  
  2766. Mon Mar 12 13:33:53 EST 1990
  2767.  
  2768.     * buffer.c (open_archive, fl_write): Set the mtime of the volume
  2769.     header to the current time.
  2770.  
  2771. Wed Mar  7 14:10:10 EST 1990    Jay Fenlason (hack@ai.mit.edu)
  2772.  
  2773.     * buffer.c  Fix +compress-block  A two character patch from
  2774.     Juha Sarlin.
  2775.     Replace #ifdef __GNU__ with #ifdef __STDC__.
  2776.     (new_volume): If open of new archive fails, ask again (Is probably
  2777.     user error.)
  2778.  
  2779.     * tar.c: Replace #ifdef __GNU__ with #ifdef __STDC__
  2780.  
  2781.     * port.c: Clean up #ifdef and #defines a bit.
  2782.     (quote_copy_string): Sometimes the malloc'd buffer would be up to
  2783.     two characters too short.
  2784.  
  2785.     * extract.c (extract_archive): Don't declare ind static.
  2786.  
  2787.     * create.c (dump_file): Don't declare index_offset static.
  2788.  
  2789.     * diffarch.c: Remove diff_name variable, and always use
  2790.     head->header.name, which will always work, unlike diff_name, which
  2791.     becomes trash when the next block is read in.
  2792.  
  2793. Thu Mar  1 13:43:30 EST 1990    Jay Fenlason (hack@wookumz.ai.mit.edu)
  2794.  
  2795.     * Makefile: Mention the -NO_REMOTE option.
  2796.     * port.c: Fix typo, and define WANT_FTRUNCATE on i386 machines.
  2797.  
  2798. Mon Feb 26 17:44:53 1990  Jim Kingdon  (kingdon at pogo.ai.mit.edu)
  2799.  
  2800.     * getdate.y: Declare yylex and yyerror as static.
  2801.     #define yyparse to getdate_yyparse.
  2802.  
  2803. Sun Feb 25 20:47:23 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  2804.  
  2805.     * tar.c: Remove +old option, since it is a valid abbreviation of
  2806.     +old-archive, which does the same thing.
  2807.     (describe): A few small cleanups in message.
  2808.  
  2809. Mon Feb  5 14:29:21 EST 1990    Jay Fenlason    (hack@wookumz)
  2810.  
  2811.     * port.c: Define LOSING_MSG on sparc, since doprnt_msg doesn't
  2812.     work.
  2813.     Fix typo in #ifdef WANT_GETWD
  2814.  
  2815. Fri Jan 26 16:11:20 EST 1990    Jay Fenlason    (hack@wookumz)
  2816.  
  2817.     Version 1.08 --- Sparse file support added.  Also various other
  2818.     features.
  2819.  
  2820.     * diffarch.c (compare_chunk): Include correct arguments in
  2821.     a call to fprintf() for an error msg.
  2822.     (compare_chunks, compare_dir): First argument is a long, not an int.
  2823.  
  2824.     * tar.c (options): Use tar variable (argv[0]) as the name to print
  2825.      in an error msg, instead of a constant "tar".
  2826.     (confirm): Use external variable char TTY_NAME[] for name of file
  2827.     to open for confirmation input.
  2828.  
  2829.     * buffer.c (new_volume): Ditto.
  2830.  
  2831.     * port.c: Add declaration for TTY_NAME[].
  2832.  
  2833.     * rmt.h: Add long declarations for lseek() and __rmt_lseek();
  2834.  
  2835. Tue Jan 23 14:06:21 EST 1990    Jay Fenlason (hack@wookumz)
  2836.  
  2837.     * tar.c, create.c: Create the +newer-mtime option, which is like
  2838.     +newer, but only looks for files whose mtime is newer than the
  2839.     given date.
  2840.  
  2841.     * rtape_lib.c: Make *both* instances of signal-handler stuff use
  2842.     void (*foo)() on USG systems.
  2843.  
  2844. Thu Jan 11 14:03:45 EST 1990  Jay Fenlason  (hack@wookumz)
  2845.  
  2846.     * getdate.y : Parse European dates of the form YYMMDD.
  2847.     In ftime(): Init timezone by calling localtime(), and remember that
  2848.     timezone is in seconds, but we want timeb->timezone to be in minutes.
  2849.     Reported by Joergen Haegg.
  2850.  
  2851.     * rtape_lib.c (__rmt_open): Also look for /usr/bsd/rsh.
  2852.     Declare signal handler as returning void instead of int if USG is
  2853.     defined.
  2854.  
  2855.     * port.c: Declare WANT_GETWD for SGI 4-D IRIS.
  2856.  
  2857.     * Makefile: Include defines for SGI 4D version.
  2858.     Reported by Mike Muuss.
  2859.  
  2860.     * buffer.c (fl_read): Work properly on broken Ultrix systems where
  2861.     read() returns -1 with errno==ENOSPC on end of tape.  Correctly go
  2862.     on to the next volume if f_multivol.
  2863.  
  2864.     * list.c (list_archive, print_header): Flush msg_file after
  2865.     printing messages.
  2866.  
  2867.     * port.c: Delete unused references to alloca().
  2868.     Don't crash if malloc() returns zero in quote_copy_string.
  2869.     Flush stderr in msg() and msg_perror().
  2870.  
  2871.     * tar.c: Flush msg_file after printing confirmation msg.
  2872.  
  2873. Wed Jan 10 01:58:46 1990  David J. MacKenzie  (djm at hobbes.ai.mit.edu)
  2874.  
  2875.     * tar.c (main): Change -help option and references to it to +help,
  2876.     and remove suggestion to run info (which is unreleased, so not
  2877.     likely to be of any help).
  2878.  
  2879. Tue Jan  9 16:16:00 EST 1990    Jay Fenlason  (hack @wookumz)
  2880.  
  2881.     * create.c (dump_file): Close file descriptor if start_header()
  2882.     fails.
  2883.     (dump_file): Change test for `./'-ness to not think that `.' {any
  2884.     character} is a `./'.
  2885.     Reported by Piercarlo Grandi.
  2886.  
  2887.     * diffarch.c (diff_init): Print correct number of bytes in error
  2888.     message.
  2889.  
  2890. Tue Jan  9 03:19:49 1990  David J. MacKenzie  (djm at hobbes.ai.mit.edu)
  2891.  
  2892.     * Makefile: Add comment at top noting that two source files also
  2893.     contain #defines that might need to be changed by hand.
  2894.  
  2895.     * create.c, diffarch.c, extract.c: Change L_SET to 0 in lseek
  2896.     calls, because only BSD defines it.
  2897.     * create.c (dump_file): Make sparse file checking code conditional
  2898.     on BSD42 because it uses st_blocks, which the other systems lack.
  2899.  
  2900. Tue Jan  2 13:35:56 EST 1990 Jay Fenlason (hack@gnu)
  2901.  
  2902.     * port.c (quote_copy_string): Fix so it doesn't scramble memory if
  2903.     the last character is non-printable.
  2904.     Reported by Kian-Tat Lim.
  2905.  
  2906. Tue Dec 19 11:19:37 1989  Jim Kingdon  (kingdon at pogo)
  2907.  
  2908.     * port.c [BSD42]: Define DOPRNT_MSG.
  2909.     tar.h [BSD42]: Do not prototype msg{,_perror}.
  2910.  
  2911. Fri Dec  8 11:02:47 EST 1989    Jay Fenlason (hack@gnu)
  2912.  
  2913.     * create.c (dump_file): Remove typo in msg.
  2914.  
  2915. Fri Dec  1 19:26:47 1989  David J. MacKenzie  (djm at trix)
  2916.  
  2917.     * Makefile: Remove comments referring to certain systems lacking
  2918.     getopt, since it is now provided always and needed by all systems.
  2919.  
  2920.     * port.c: Remove copy of getopt.c, as it is now linked in
  2921.     separately to always get the current version.
  2922.  
  2923.     * tar.c: Rename +cat-tars option to +catenate or +concatenate,
  2924.     and +local-filesystem to +one-file-system (preferred by rms
  2925.     and used in GNU cp for the same purpose).
  2926.     (describe): Reflect changes.
  2927.  
  2928. Tue Nov 28 04:28:26 1989  David J. MacKenzie  (djm at hobbes.ai.mit.edu)
  2929.  
  2930.     * port.c: Move declaration of alloca into #else /* sparc */
  2931.     so it will compile on sparcs.
  2932.  
  2933. Mon Nov 27 15:17:08 1989  David J. MacKenzie  (djm at hobbes.ai.mit.edu)
  2934.  
  2935.     * tar.c (options): Remove -version option (replaced by +version).
  2936.     (describe): Mention long options.
  2937.  
  2938. Sat Nov 25 04:25:23 1989  David J. MacKenzie  (djm at hobbes.ai.mit.edu)
  2939.  
  2940.     * getoldopt.c (getoldopt): Make `opt_index' argument a pointer to
  2941.     an int, not char.
  2942.  
  2943.     * tar.c: Modify long options per rms's suggestions:
  2944.     Make preserve-permissions an alias for same-permissions.
  2945.     Make preserve-order an alias for same-order.
  2946.     Define preserve to mean both of those combined.
  2947.     Make old an alias for old-archive.
  2948.     Make portability an alias for old-archive, also.
  2949.     Rename sym-links to dereference.
  2950.     Rename gnudump to incremental.
  2951.     Rename filename to file.
  2952.     Make compare an alias for diff.  Leave diff but prefer compare.
  2953.     Rename blocking-factor to block-size.
  2954.     Rename chdir to directory.
  2955.     Make uncompress an alias for compress.
  2956.     Rename confirm to interactive.
  2957.     Make get an alias for extract.
  2958.     Rename volume-header to volume.
  2959.  
  2960.     Also make +version an alias for -version.
  2961.  
  2962.     (options): Shorten code that interprets long options by using
  2963.     the equivalent short options' code.  This also makes it tons
  2964.     easier to change the long options.
  2965.  
  2966.     (describe): Make usage message more internally consistent
  2967.     stylistically.
  2968.  
  2969. Mon Nov 20 14:55:39 EST 1989    hack@ai.mit.edu
  2970.  
  2971.     * list.c (read_and): Call check_exclude() to see if the files
  2972.     should be skipped on extract or list.
  2973.  
  2974. Thu Nov  9 18:59:32 1989  Jim Kingdon  (kingdon at hobbes.ai.mit.edu)
  2975.  
  2976.     * buffer.c (fl_read): Fix typos in error message
  2977.     "tar EOF not on block boundary".
  2978.  
  2979. Mon Oct 23 13:09:40 EDT 1989        (hack@ai.mit.edu)
  2980.  
  2981.     * tar.c (long_options[]): Add an option for blocked compression.
  2982.  
  2983. Thu Oct 19 13:38:16 EDT 1989        (hack@ai.mit.edu)
  2984.  
  2985.     * buffer.c (writeerror): Print a more useful error msg.
  2986.  
  2987. Wed Sep 27 18:33:41 EDT 1989        (hack@ai.mit.edu)
  2988.  
  2989.     * tar.c (main): Mention "tar -help" if the luser types a non-workable
  2990.     set of options.
  2991.  
  2992. Mon Sep 11 15:03:29 EDT 1989        (hack@ai.mit.edu)
  2993.  
  2994.     * tar.c (options): Have -F correctly set info_script.
  2995.  
  2996. Tue Aug 29 12:58:06 EDT 1989        (hack@ai.mit.edu)
  2997.  
  2998.     * Makefile  Include ChangeLog in tar.tar and tar.tar.Z
  2999.  
  3000. Mon Aug 28 17:42:24 EDT 1989        (hack@ai.mit.edu)
  3001.  
  3002.     * tar.c (options) Made -F imply -M.
  3003.     Also remind tar that the -f option takes an argument!
  3004.  
  3005.     * Modified -F option to make it do what (I think) it
  3006.     should.  e.g, if you say -F, tar won't send a msg to
  3007.     msg_file and wait for a <return> It'll just run the program
  3008.     it was given, and when the prog returns, the new tape had
  3009.     *better* be ready...
  3010.  
  3011.     * buffer.c (open_archive): Give error message and abort if
  3012.     the luser didn't give an archive name.
  3013.  
  3014. Fri Aug 25 20:05:27 EDT 1989        Joy Kendall (jak at hobbes)
  3015.  
  3016.     * Added code to make a new option to run a specified script
  3017.     at the end of each tape in a multi-volume backup.  Changed:
  3018.     tar.c: made new switch, -F, and new long-named option,
  3019.     "info-script".  Code is where you would expect.
  3020.     tar.h: added flag f_run_script_at_end, and an extern char *
  3021.     called info_script, which optarg gets set to.
  3022.     buffer.c (new_volume): if f_run_script_at_end is set, we give
  3023.     info_script to system(), otherwise we do what we've always done.
  3024.  
  3025. Thu Aug 24 10:09:38 EDT 1989        Joy Kendall (jak at spiff)
  3026. (These changes made over the course of 6/89 - 8/89)
  3027.  
  3028.     * diffarch.c: diff_archive: Added switches for LF_SPARSE in the
  3029.     case statements that needed it.  Also, skip any extended headers
  3030.     if we need to when we skip over a file.  (need to change
  3031.     the bit about, if the size doesn't agree AND the file is NOT
  3032.     sparse, then there's a discrepancy, because I added another
  3033.     field to the header which should be able to deal with the
  3034.     sizes):  If the file is sparse, call the added routine
  3035.     "diff_sparse_files" to compare.  Also added routine
  3036.     "fill_in_sparse_array".
  3037.  
  3038.     * extract.c: extract_archive: added the switch LF_SPARSE
  3039.     to the case statement as needed, and code to treat the
  3040.     sparse file.  At label "again_file", modified opening the
  3041.     file to see if we should have O_APPEND be one of the modes.
  3042.     Added code at label "extract_file" to call the new routine
  3043.      "extract_sparse_file" when we have an LF_SPARSE flag.
  3044.  
  3045.     Note: really should erase the commented-out code in there,
  3046.     because it's confusing.
  3047.  
  3048.     * update.c: made sure that if a file needed to be "skipped"
  3049.     over, it would check to see if the linkflag was sparse, and
  3050.     if so, would then make sure to skip over any "extended
  3051.     headers" that might come after the header itself.  Do so by
  3052.     calling "skip_extended_headers".
  3053.  
  3054.     * create.c: create_archive: added code to detect a sparse
  3055.     file when in the long case statement.  Added ways to detect
  3056.     extended headers, and label "extend" (ack! should get rid of
  3057.     that, is atrocious).  Call the new routine "finish_sparse_file"
  3058.     if the linkflag is LF_SPARSE to write the info to the tape.
  3059.     Also added routines "init_sparsearray", "deal_with_sparse",
  3060.     "clear_buffer", "where_is_data", "zero_record", and
  3061.     "find_new_file_size".
  3062.  
  3063.     * tar.h:  Added the #define's SPARSE_EXT_HDR and
  3064.     SPARSE_IN_HDR.  Added the struct sparse and the struct
  3065.     sp_array.  Added the linkflag LF_SPARSE. Changed the tar
  3066.      header in several ways:
  3067.         - added an array of struct sparse's SPARSE_IN_HDR long
  3068.         - added a char flag isextended
  3069.         - added a char string realsize to store the true
  3070.         size of a sparse file
  3071.     Added another choice to the union record called a
  3072.     struct extended_header, which is an array of 21 struct
  3073.     sparse's and a char isextended flag.  Added flag
  3074.     f_sparse_file to list of flags.
  3075.  
  3076.     * tar.c: added long-named options to make tar compatible with
  3077.     getopt_long, changed Makefile.
  3078.  
  3079. Fri Mar  3 1989 23:14:55  David MacKenzie  (edf at rocky2.rockefeller.edu)
  3080. (I'm not sure all these have been integrated, I guess yes -- FP.)
  3081.  
  3082.     * buffer.c: ifdef'd out #include <sys/file.h> if USG.
  3083.     (close_archive): SysV doesn't have ftruncate, so substituted
  3084.     fmtwrite (just copied the code for MS-DOS).
  3085.     * create.c: Unos lacks <sys/sysmacros.h> so provided a substitute.
  3086.     (start_header): Only strip leading paths if f_relative_paths is true.
  3087.     * extract.c:
  3088.     (extract_archive): Only strip leading paths if
  3089.     f_relative_paths is true.  Because the Unos filesystem has
  3090.     only one timestamp, moved the utime call to after the chown
  3091.     and chmod calls.
  3092.     * getdate.y: Don't define ftime if Unos.
  3093.     * list.c: Defined size_t for Unos.  Don't include <sys/file.h> if USG.
  3094.     Define <sys/sysmacros> stuff manually for Unos.
  3095.     (decode_header): Add braces around switch cases; some compilers
  3096.     require them.
  3097.     (print_header): Changed UGSWIDTH from 11 to 25 because the smaller
  3098.     value made tape listings of files owned by more than one user
  3099.     gradually get wider, making them hard to read.
  3100.     * port.c: Don't include <sys/file.h> if SysV.  Define
  3101.     size_t for Unos.
  3102.     (mkdir): Add code to support Unos makedir sys call.
  3103.     (getopt): Use malloc instead of alloca, because tar doesn't
  3104.     use alloca anywhere else and many systems lack it.  A few other
  3105.     changes from the current version of getopt.c incorporated.
  3106.     * rtape_lib.c: Undefine RMTIOCTL.  Doesn't seem to be needed,
  3107.     and can't compile on Unos/SysV with it defined.  Might need to be
  3108.     ifdef'd.
  3109.     * tar.c: Alias addname to add_name and rmdir to deldir on Unos
  3110.     due to C library weirdness.
  3111.     (options): Recognize new -P option to set f_relative paths.
  3112.     (describe): Clean up error message and add -P description.
  3113.     * tar.h: Add variable, f_relative_paths, to cause tar to strip
  3114.     leading `/' characters in pathnames during create and extract.
  3115.     * tar.texinfo: Fixed a couple of typos, detected by texi2roff.
  3116.     * update.c: Simulate <sys/sysmacros.h> for Unos.
  3117.  
  3118. Previous releases by Jay Fenlason (hack@ai.mit.edu)
  3119.  
  3120.     * Version 1.07 --- New version to go on beta tape with GCC 1.35.
  3121.     Better USG support.  Also support for __builtin_alloca if we're
  3122.     compiling with GCC.
  3123.  
  3124.     diffarch.c: Include the correct header files so MTIOCTOP
  3125.     is defined.
  3126.     tar.c:  Don't print the verbose list of options unless
  3127.     given -help.  The list of options is *way* too long.
  3128.  
  3129.     * Version 1.06 --- Use STDC_MSG if __STDC__ defined.
  3130.     ENXIO meand end-of-volume in archive (for the UNIX PC)
  3131.     Added break after volume-header case (line 440) extract.c
  3132.     Added patch to rtape_lib.c (reported by Arnold Robbins).
  3133.     Added f_absolute_paths option.
  3134.     Deleted refereces to UN*X manual sections (dump(8), etc)
  3135.     Fixed to not core-dump on illegal options
  3136.     Modified msg_perror to call perror("") instead of perror(0)
  3137.     patch so -X - works
  3138.     Fixed tar.c so 'tar cf - -C dir' doesn't core-dump
  3139.     tar.c (name_match): Fixed to chdir() to the appropriate
  3140.     directory if the matching name's change_dir is set.  This
  3141.     makes tar xv -C foo {files} work.
  3142.  
  3143.     * Version 1.05 --- A fix to make confirm() work when the archive is
  3144.     on stdin; include 'extern FILE *msg_file;' in pr_mkdir(), and fix
  3145.     tar.h to work with __STDC__.
  3146.  
  3147.     Added to port.c: mkdir() ftruncate(): Removed: lstat()
  3148.     Fixed -G to work with -X
  3149.     Another fix to tar.texinfo
  3150.     Changed tar.c to say argv[0]":you must specify exactly ...
  3151.     buffer.c: modified child_open() to keep tar from hanging when
  3152.     it is done reading/writing a compressed archive
  3153.     added fflush(msg_file) before printing error messages
  3154.     create.c: fixed to make link_names non-absolute
  3155.  
  3156.     * Version 1.04 --- Added functions msg() and msg_perror(): Modified
  3157.     all the files to call them.  Also checked that all (I hope) calls
  3158.     to msg_perror() have a valid errno value.
  3159.     (modified anno() to leave errno alone), etc.
  3160.     Re-fixed the -X option.  This time for sure...
  3161.     re-modified the msg stuff.  flushed anno() completely
  3162.     Modified the directory stuff so it should work on sysV boxes
  3163.     added ftime() to getdate.y
  3164.     Fixed un_quote_string() so it won't wedge on \" Also fixed
  3165.     \ddd (like \123, etc)
  3166.     More fixes to tar.texinfo
  3167.  
  3168.     * Version 1.03 --- Fixed buffer.c so 'tar tzf NON_EXISTENT_FILE'
  3169.     returns an error message instead of hanging forever.
  3170.     More fixes to tar.texinfo.
  3171.  
  3172.     * Version 1.02 --- Fixed tar.c so 'tar -h' and 'tar -v' don't cause
  3173.     core dump.  Also fixed the 'usage' message to be more up-to-date.
  3174.     Fixed diffarch.c so verify should compile without MTIOCTOP
  3175.     defined.
  3176.  
  3177.     * Version 1.01 --- Fixed typoes in tar.texinfo.
  3178.     Fixed a bug in the #define for rmtcreat().
  3179.     Fixed the -X option to not call realloc() of 0.
  3180.  
  3181.     * Version 1.00 --- version.c added.  -version option added.
  3182.     Installed new version of the remote-tape library.
  3183.     Added -help option.
  3184.  
  3185. Local Variables:
  3186. mode: indented-text
  3187. left-margin: 8
  3188. version-control: never
  3189. End:
  3190.