home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / gnu / cpio-2.3-src.lha / src / amiga / cpio-2.3 / ChangeLog < prev    next >
Text File  |  1993-07-05  |  28KB  |  782 lines

  1. Mon Jul  5 14:54:08 1993  John Oleynick  (juo@spiff.gnu.ai.mit.edu)
  2.  
  3.     * cpio.1:  Updated man page for 2.3.
  4.     * Makefile.in:  Create distribution with .gz extension, instead of .z.
  5.  
  6. Tue Jun 29 18:54:37 1993  John Oleynick  (juo@goldman.gnu.ai.mit.edu)
  7.  
  8.     * Makefile.in: Added installdirs target (using mkinstalldirs).
  9.     * Added mkinstalldirs script.
  10.     * main.c, mt.c:  Added --help option.  Changed usage() to
  11.     take a stream and exit value (so --help can print on stdout
  12.     and return a 0 exit status).
  13.     * extern.h:  Removed usage()'s prototype (it was out of date,
  14.     and only used in main.c).
  15.  
  16. Thu May  6 00:22:22 1993  John Oleynick  (juo@hal.gnu.ai.mit.edu)
  17.  
  18.     * cpio.1:  Added hpbin and hpodc.
  19.  
  20. Tue May  4 00:32:29 1993  John Oleynick  (juo@hal.gnu.ai.mit.edu)
  21.  
  22.     * copyin.c (process_copy_in), copypass.c (process_copy_pass):  When
  23.     deleting an existing file, if the file is a directory, use rmdir()
  24.     instead of unlink().
  25.  
  26. Thu Apr 29 14:43:56 1993  John Oleynick  (juo@goldman.gnu.ai.mit.edu)
  27.  
  28.     * tar.c (read_in_tar_header):  Clear non-protection bits from
  29.     mode, in case tar has left some device bits in there.
  30.  
  31. Wed Apr 28 10:36:53 1993  John Oleynick  (juo@goldman.gnu.ai.mit.edu)
  32.  
  33.     * util.c: Added code to try and work around broken tape drivers
  34.     that have problems with tapes > 2Gb.
  35.  
  36.     * copyout.c (process_copy_out): Pass file_hdr to 
  37.     writeout_other_defers() and add_link_defer() by reference, 
  38.     not by value.
  39.  
  40.     * copyin.c (process_copy_in): Pass file_hdr to defer_copyin()
  41.     and create_defered_links() by reference, not by value.
  42.  
  43.     * defer.c: include <sys/types.h> (to build on BSD 4.3 on HP300)
  44.  
  45. Fri Apr 16 18:01:17 1993  John Oleynick  (juo@goldman.gnu.ai.mit.edu)
  46.  
  47.     * mt.c, util.c: Include <sys/mtio.h> if HAVE_SYS_MTIO_H is 
  48.     defined, not HAVE_MTIO_H.
  49.  
  50. Wed Apr 14 17:37:46 1993  John Oleynick  (juo@goldman.gnu.ai.mit.edu)
  51.  
  52.     * util.c: Include <sys/io/trioctl.h> if HAVE_SYS_IO_TRIOCTL_H
  53.     is defined.
  54.  
  55.     * mt.c: Only include <sys/mtio.h> if HAVE_SYS_MTIO_H is defined.
  56.  
  57. Fri Apr  2 13:09:11 1993  John Oleynick  (juo@goldman.gnu.ai.mit.edu)
  58.  
  59.     * configure.in: Added fnmatch to AC_REPLACE_FUNCS.  Added
  60.     sys/io/trioctl.h to AC_HAVE_HEADERS.
  61.  
  62.     * Makefile.in: Removed fnmatch.o from OBJS.
  63.  
  64.     * copyin.c: Only include "fnmatch.h" if FNM_PATHNAME isn't
  65.     defined yet.
  66.  
  67.     * mt.c: Include <sys/io/trioctl.h> if HAVE_SYS_IO_TRIOCTL_H is
  68.     defined.
  69.  
  70. Mon Mar 29 17:04:06 1993  John Oleynick  (juo@hal.gnu.ai.mit.edu)
  71.  
  72.     * Many changes for supporting HPUX Context Dependent Files;
  73.     also some bug fixes to fix problems with multiply (hard) linked
  74.     device files; minor changes to support HPUX format archives
  75.     (slightly broken?) System V.4 posix tar archives and HPUX
  76.     posix tar archives.
  77.  
  78.     * Makefile.in: New files defer.o, defer,c and defer.h; added
  79.     -DSYMLINK_USES_UMASK and -DHPUX_CDF comments; changed dist rule
  80.     to use gzip with tar, instead of compress.
  81.  
  82.     * copyin.c: changes for new arf_hpbinary and arf_hpascii formats;
  83.     HPUX CDF's; DEBUG_CPIO; fixes to properly handle multiple
  84.     links in newc and crc format archives (new routines defer_copyin(),
  85.     create_defered_links(), create_final_defers()); move most
  86.     multiple (hard) link code to new routines link_name() and
  87.     link_to_maj_min_ino(); use new macro UMASKED_SYMLINK instead of
  88.     symlink().
  89.  
  90.     * copyout.c: fixes to properly handle multiple links in newc
  91.     and crc format archives (new routines last_link(), 
  92.     count_defered_links_to_dev_ino(), add_link_defer(),
  93.     writeout_other_defers(), writeout_final_defers(),
  94.     writeout_defered_file()); support for new arf_hpbinary and
  95.     arf_hpascii formats; support for HPUX CDF's.
  96.  
  97.     * copypass.c: move most multiple link code to new routines
  98.     link_name() and link_to_maj_min_ino(); use new macro UMASKED_SYMLINK
  99.     instead of symlink(); support for HPUX CDF's.
  100.  
  101.     * extern.h: added arf_hpascii and arf_hpbinary archive enum types;
  102.     added debug_flag.
  103.  
  104.     * global.c: added debug_flag.
  105.  
  106.     * main.c: added debug_flag; support for hpodc and hpbin formats.
  107.  
  108.     * makepath.c: split from standard makpath.c to add support
  109.     for HPUX CDF's.
  110.  
  111.     * mt.c: added !defined(__osf__) (from Andrew Marquis
  112.     <amarquis@genome.wi.mit.edu>).
  113.  
  114.     * system.h: new macro UMASKED_SYMLINK
  115.  
  116.     * tar.c: minor changes to read (slightly broken?) System V.4 posix 
  117.     tar archives and HPUX posix tar archives.
  118.  
  119.     * util.c: HPUX CDF support (including new routines
  120.     add_cdf_double_slashes() and islasparentcdf()); new routine
  121.     umasked_symlink().
  122.  
  123. Sun Mar 14 23:00:14 1993  Jim Meyering  (meyering@comco.com)
  124.  
  125.     * copypass.c (process_copy_pass): Use <=, not just <, when comparing
  126.     mtimes.  From Pieter Bowman <bowman@math.utah.edu>.
  127.  
  128. Fri Jan 15 14:35:37 1993  David J. MacKenzie  (djm@kropotkin.gnu.ai.mit.edu)
  129.  
  130.     * copyin.c: Move include of fnmatch.h to get right FNM* macros.
  131.  
  132. Tue Nov 24 08:45:32 1992  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
  133.  
  134.     * Version 2.2.
  135.  
  136.     * copyout.c (process_copy_out): Add parens for gcc -Wall.
  137.     From Jim Meyering.
  138.  
  139.     * system.h: Use HAVE_FCNTL_H, not USG.
  140.  
  141.     * dstring.c, mt.c, system.h: Use HAVE_STRING_H, not USG.
  142.  
  143. Fri Nov 20 22:47:18 1992  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
  144.  
  145.     * copyin.c (read_in_binary): Copy the dev and ino that are
  146.     already in `file_hdr' into `short_hdr'.
  147.     From dao@abars.att.com (David A Oshinsky).
  148.  
  149.     * system.h [!_POSIX_VERSION]: Declare lseek as off_t, not long.
  150.     From Karl Berry.
  151.  
  152. Wed Oct 14 13:53:41 1992  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
  153.  
  154.     * Version 2.1.
  155.  
  156. Tue Oct 13 22:51:34 1992  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
  157.  
  158.     * main.c: Add --swap equivalent to -b.
  159.  
  160.     * mt.c: Add f_force_local variable and -V --version option.
  161.  
  162. Fri Oct  2 18:42:27 1992  David J. MacKenzie  (djm@kropotkin.gnu.ai.mit.edu)
  163.  
  164.     * main.c (long_opts, usage): Add --force-local option.
  165.  
  166. Thu Oct  1 23:23:43 1992  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
  167.  
  168.     * main.c (process_args) [__MSDOS__]: Don't call geteuid.
  169.  
  170.     * copyin.c (read_in_{old,new}_ascii): Use `l' for sscanf into longs.
  171.     * copyout.c (write_out_header): Ditto for sprintf.
  172.     * global.c, extern.h: Make input_size and output_size long.
  173.  
  174. Thu Sep 10 23:39:30 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  175.  
  176.     * global.c, extern.h: Add new var f_force_local to work with
  177.     rmt.h change from tar.
  178.  
  179. Sun Aug 23 00:18:20 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
  180.  
  181.     * Version 2.0.
  182.  
  183.     * tar.c (otoa): Compute value in an unsigned long, not an int.
  184.     * copyout.c (write_out_header) [__MSDOS__]: Don't use dev_t.
  185.  
  186.     * main.c (process_args): By default, don't chown for non-root users.
  187.  
  188. Sat Aug 22 14:17:54 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  189.  
  190.     * global.c, extern.h: Use uid_t and gid_t.
  191.  
  192.     * main.c (main) [__EMX__]: Expand wildcards.
  193.     * system.h [__EMX__]: Alias some error names.  From Kai Uwe Rommel.
  194.  
  195.     * extern.h [__STDC__]: Use prototypes.
  196.  
  197.     * copyin.c (process_copy_in), copyout.c (process_copy_out),
  198.     copypass.c (process_copy_pass): Open all files with O_BINARY.
  199.     Add cast to chmod call.
  200.     * util.c: Add cast to bcopy calls.  Make hash_insert static.
  201.     From Kai Uwe Rommel.
  202.  
  203. Thu Aug 20 22:03:49 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  204.  
  205.     * util.c (peek_in_buf): Don't print "end of file" before
  206.     getting the next reel of medium.
  207.  
  208.     * copyin.c (read_in_old_ascii): Allocate space for NUL terminator.
  209.     Print newline for dot line when done, even if appending.
  210.  
  211. Thu Jul 23 16:34:53 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  212.  
  213.     * tar.c (write_out_tar_header, read_in_tar_header)
  214.     [__MSDOS__]: Don't try to get user and group names.
  215.     * extern.h: Don't declare the functions to do it (need uid_t).
  216.  
  217.     * main.c [__MSDOS__]: Ignore the -R option.
  218.  
  219.     * system.h: Define makedev if defining major and minor.
  220.  
  221.     * copyin.c, copyout.c [__MSDOS__]: setmode on archive_des, not
  222.     0 and 1.
  223.  
  224. Sat Jul 18 14:30:55 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  225.  
  226.     * tar.c, stripslash.c, userspec.c, cpiohdr.h, tar.h, tarhdr.h,
  227.     system.h: New files.
  228.     * Move portability stuff from various files to system.h.
  229.     * cpio.h: Rename header structure and members, and add
  230.     new structure for SVR4 format.
  231.     * copyin.c, copyout.c: Use the new structure internally, the
  232.     old one only for I/O in the old formats.
  233.     * copyin.c (read_in_header): Recognize the new archive formats.
  234.     (read_in_new_ascii, read_pattern_file, skip_padding): New functions.
  235.     (swab_array): Do the swapping using char pointers instead of
  236.     bitwise arithmetic.
  237.     (process_copy_in): Handle byte and halfword swapping and new formats.
  238.     Ok if a directory we want to make already exists, but set its perms.
  239.     Do chmod after chown to fix any set[ug]id bits.
  240.     Use `struct utimbuf' instead of a long array.
  241.     * copyout.c (write_out_header): Handle new formats.
  242.     (process_copy_out): Use `struct utimbuf'.
  243.     Handle appending and new formats.
  244.     Remove any leading `./' from filenames.
  245.     (read_for_checksum, clear_rest_of_block, pad_output): New functions.
  246.     * copypass.c (process_copy_pass): Use `struct utimbuf'.
  247.     Ok if a directory we want to make already exists, but set its perms.
  248.     Do chmod after chown to fix any set[ug]id bits.
  249.     Don't change perms of `.'.
  250.     * extern.h, global.c: Replace the separate format flags with
  251.     one variable.  Add new variables for the new options.
  252.     * main.c: Add new options -A --append, -H --format, -C --io-size,
  253.     -M --message, --no-preserve-owner, -R --owner, -E --pattern-file,
  254.     -V --dot, -s --swap-bytes, -S --swap-halfwords, -b, -I, -k, -O.
  255.     (usage): Document them.
  256.     (process_args): Recognize them.  Use open_archive.
  257.     (initialize_buffers): Allow room for tar archives and double buffers.
  258.     * util.c (empty_output_buffer_swap): New function.
  259.     (empty_output_buffer): Call it if swapping current file.
  260.     Check additional end of media indicators.
  261.     (swahw_array, peek_in_buf, prepare_append, open_archive,
  262.     set_new_media_message): New functions.
  263.     (fill_input_buffer): Don't print error message if end of media.
  264.     (toss_input): Don't seek, always read.
  265.     (copy_files): Update crc if needed.
  266.     (find_inode_file, add_inode): Check major and minor numbers as
  267.     well as dev.
  268.     (get_next_reel): Prompt user if archive name is unknown.
  269.     Print fancy messages.
  270.     Close the archive and reopen it.
  271.  
  272.     Above primarily from John Oleynick <juo@klinzhai.rutgers.edu>.
  273.  
  274.     * util.c (find_inode_file): Use modulus when computing initial
  275.     loop index.
  276.     (add_inode): Zero out new entry.
  277.     From scott@sctc.com (Scott Hammond).
  278.  
  279.     * cpio.h, copyin.c, copyout.c: Rename `struct cpio_header'
  280.     members from h_foo to c_foo.
  281.  
  282. Wed May 20 00:09:26 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
  283.  
  284.     * copyin.c:  If we include a header file specifically to get
  285.     major et al., assume we have them.
  286.  
  287. Mon Mar  9 19:29:20 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  288.  
  289.     * mt.c (main): rmtclose the tape file descriptor.
  290.  
  291.     * main.c (main): rmtclose the archive, if not in copy-pass mode.
  292.  
  293.     * util.c (create_all_directories): Don't print a message when
  294.     creating a directory, for UNIX compat.
  295.  
  296.     * copyin.c (process_copy_in), copypass.c (process_copy_pass):
  297.     Skip file if it has the same timestamp as existing file, not just
  298.     if it is older than existing file, for UNIX compat.
  299.  
  300. Tue Mar  3 12:06:58 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
  301.  
  302.     * main.c, mt.c (usage): Document long options as starting with
  303.     -- instead of +.
  304.  
  305.     * extern.h: Only declare lseek if not _POSIX_VERSION.
  306.  
  307. Tue Dec 24 00:19:45 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  308.  
  309.     * copyin.c: Use MAJOR_IN_MKDEV and MAJOR_IN_SYSMACROS instead
  310.     of USG and _POSIX_VERSION to find major and minor macros.
  311.  
  312.     * mt.c: Use unistd.h and stdlib.h if available.
  313.  
  314.     * copyin.c, copyout.c, copypass.c, util.c, extern.h: Change
  315.     POSIX ifdefs to HAVE_UNISTD_H and _POSIX_VERSION.
  316.  
  317. Sun Aug 25 06:31:08 1991  David J. MacKenzie  (djm at apple-gunkies)
  318.  
  319.     * Version 1.5.
  320.  
  321.     * bcopy.c: New file (moved from util.c).
  322.  
  323.     * mt.c (print_status): Not all hpux machines have mt_fileno
  324.     and mt_blkno; rather than trying to track HP's product line,
  325.     just assume none of them have them.
  326.  
  327.     * util.c (copy_buf_out, copy_in_buf): Use more efficient
  328.     copying technique for a big speedup.
  329.  
  330. Fri Aug  2 04:06:45 1991  David J. MacKenzie  (djm at apple-gunkies)
  331.  
  332.     * configure: Support +srcdir.  Create config.status.
  333.     Remove it and Makefile if interrupted while creating them.
  334.  
  335. Thu Jul 18 09:43:40 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  336.  
  337.     * Many files: use __MSDOS__ instead of MSDOS.
  338.  
  339.     * util.c, configure: Use NO_MTIO instead of HAVE_MTIO, to keep
  340.     up with tar and rtapelib.c.
  341.  
  342. Mon Jul 15 13:45:30 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  343.  
  344.     * configure: Also look in sys/signal.h for signal decl.
  345.  
  346. Thu Jul 11 01:50:32 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  347.  
  348.     * Version 1.4.
  349.  
  350.     * configure: Remove /etc and /usr/etc from PATH to avoid
  351.     finding /etc/install.
  352.  
  353. Wed Jul 10 01:40:07 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  354.  
  355.     * makefile.pc: Rewrite for Turbo C 2.0.
  356.     * util.c [__TURBOC__] (utime): New function.
  357.     * alloca.c, tcexparg.c: New files.
  358.  
  359.     * extern.h [STDC_HEADERS]: Don't declare malloc and realloc.
  360.  
  361.     * main.c [MSDOS]: Make binary mode the default.
  362.     * copyin.c, copyout.c: Make stdin or stdout binary mode as
  363.     appropriate (so cpio archives don't get corrupted).
  364.  
  365.     * Many files: Use <string.h> if STDC_HEADERS as well as if USG.
  366.  
  367.     * configure, Makefile.in: $(INSTALLPROG) -> $(INSTALL),
  368.     $(INSTALLTEXT) -> $(INSTALLDATA).
  369.  
  370. Mon Jul  8 23:18:28 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  371.  
  372.     * configure: For some library functions that might be missing,
  373.     conditionally add the .o files to Makefile instead of
  374.     defining func_MISSING.
  375.     * mkdir.c: Renamed from mkrmdir.c.
  376.  
  377. Sat Jul  6 02:27:22 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  378.  
  379.     * configure: echo messages to stdout, not stderr.
  380.     Use a test program to see if alloca needs -lPW.
  381.  
  382. Thu Jun 27 16:15:15 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  383.  
  384.     * copyin.c (process_copy_in), copyout.c (process_copy_out),
  385.     copypass.c (process_copy_pass): Check close return value for
  386.     delayed error notification because of NFS.
  387.  
  388. Thu Jun 20 02:43:33 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  389.  
  390.     * configure: Include $DEFS when compiling test programs.
  391.  
  392.     * util.c: Only declare getpwuid and getgrgid if not POSIX.
  393.  
  394.     * Version 1.3.
  395.  
  396.     * copyin.c: Use time_t, not long, for time values.
  397.  
  398.     * mt.c (print_status): Special cases for HP-UX and Ultrix.
  399.  
  400.     * util.c: Compile bcopy if USG or STDC_HEADERS, not BCOPY_MISSING.
  401.  
  402. Tue Jun 11 16:40:02 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  403.  
  404.     * copyin.c: Don't include sys/sysmacros.h if _POSIX_SOURCE.
  405.  
  406.     * copyin.c, copyout.c, copypass.c: Don't include sys/file.h if POSIX.
  407.  
  408.     * util.c: Include sys/types.h before, not after, pwd.h and grp.h.
  409.  
  410.     * configure: New shell script to aid configuration and create
  411.     Makefile from Makefile.in.
  412.  
  413.     * copyin.c (process_copy_in): Use POSIX.2 fnmatch instead of
  414.     glob_match. 
  415.  
  416. Mon Jun 10 22:11:19 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  417.  
  418.     * global.c, extern.h: New variable, name_end.
  419.     * main.c (process_args, usage): Add -0 +null option to set it.
  420.     * copypass.c (process_copy_pass), copyout.c (process_copy_out): 
  421.     Use it.
  422.  
  423.     * dstring.c (ds_fgetstr): New function made from ds_fgets.
  424.     (ds_fgets, ds_fgetname): Implement as front ends to ds_fgetstr.
  425.  
  426. Sun Jun  2 15:45:24 1991  David J. MacKenzie  (djm at wheat-chex)
  427.  
  428.     * most files: use GPL version 2.
  429.  
  430. Sat May 18 11:39:22 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  431.  
  432.     * copyin.c, copypass.c: Take out #ifdef MSDOS around chown.
  433.     * util.c [MSDOS]: Provide dummy chown.
  434.  
  435. Fri May 17 21:29:05 1991  David J. MacKenzie  (djm at churchy.gnu.ai.mit.edu)
  436.  
  437.     * Version 1.2.
  438.  
  439.     * makefile.pc, cpio.cs: Update for new source and object files.
  440.  
  441. Fri Mar 15 05:48:36 1991  David J. MacKenzie  (djm at geech.ai.mit.edu)
  442.  
  443.     * global.c, extern.h: New variable `archive_desc'.
  444.     * main.c (process_args): Set it.
  445.     * copyout.c (process_copy_out), copyin.c (process_copy_in):
  446.     Use it.
  447.  
  448.     * copyout.c (process_copy_out), copyin.c (process_copy_in):
  449.     Remote tapes are special and not seekable; don't fstat them.
  450.  
  451.     * main.c (main, usage): Add -F, +file option.  Use rmtopen.
  452.     (main): Exit after printing version number.
  453.     * util.c (empty_output_buffer): Use rmtwrite instead of write.
  454.     (fill_input_buffer): Use rmtread instead of read.
  455.     (tape_offline): Use rmtioctl instead of ioctl.
  456.     Test HAVE_MTIO instead of MTIO_MISSING, for tar compatibility.
  457.  
  458. Thu Mar 14 17:49:57 1991  David J. MacKenzie  (djm at geech.ai.mit.edu)
  459.  
  460.     * util.c (create_all_directories): Use make_path to do the work.
  461.  
  462. Sat Jan 12 15:32:15 1991  David J. MacKenzie  (djm at geech.ai.mit.edu)
  463.  
  464.     * copyin.c, copyout.c, copypass.c, util.c: Only declare
  465.     `errno' if not MSDOS.  Some Unix errno.h do, some don't . . . .
  466.  
  467.     * global.c, extern.h: Make `input_size' and `output_size'
  468.     unsigned, for 16 bit machines.
  469.  
  470.     * copyin.c (print_name_with_quoting): All non-ctrl chars are
  471.     printable on MS-DOS.
  472.  
  473.     * util.c (empty_output_buffer): Never make sparse files;
  474.     can create unrunnable executables.
  475.     * copyin.c, copyout.c, copypass.c: Callers changed.
  476.     * util.c (finish_output_file): Function removed.
  477.  
  478. Tue Nov  6 15:47:16 1990  David J. MacKenzie  (djm at apple-gunkies)
  479.  
  480.     * copyin.c, util.c, extern.h: Rename copystring to xstrdup.
  481.  
  482. Mon Oct 29 02:24:41 1990  David J. MacKenzie  (djm at apple-gunkies)
  483.  
  484.     * util.c (empty_output_buffer): Only make sparse files if
  485.     NO_SPARSE_FILES is undefined, to accomodate dumb kernels.
  486.  
  487. Wed Jul 25 18:48:35 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  488.  
  489.     * util.c (getuser, getgroup): Make uid and gid unsigned short,
  490.     not int.
  491.  
  492. Sat Jul 21 00:44:44 1990  David J. MacKenzie  (djm at apple-gunkies)
  493.  
  494.     * copyin.c, copyout.c, copypass.c, util.c, cpio.h: Add ifdefs
  495.     for MSDOS.
  496.  
  497. Sun Jul 15 23:51:48 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  498.  
  499.     * copyin.c, copyout.c, copypass.c, global.c, extern.h, util.c:
  500.     Use longs where appropriate, for 16 bit machines.
  501.  
  502. Sun Jul  8 22:58:06 1990  David J. MacKenzie  (djm at apple-gunkies)
  503.  
  504.     * main.c (process_args, usage): Change -b option to -O (old), to
  505.     allow adding byte swapping later.
  506.  
  507. Sat Jul  7 14:48:35 1990  David J. MacKenzie  (dave at edfmd)
  508.  
  509.     * Version 1.1.
  510.  
  511.     * cpio.h: Make `mtime' and `filesize' unsigned long.
  512.     * copyin.c (read_in_binary), copyout.c (write_out_header):
  513.     High short-word of `mtime' and `filesize' always comes first.
  514.  
  515.     * (read_in_ascii, read_in_binary): New functions, from code in
  516.     read_in_header. 
  517.     (read_in_header): Search for valid magic number, then fill in
  518.     rest of header using read_in_ascii and read_in_binary.
  519.     * global.c, extern.h: New variable, `binary_flag'.
  520.     * main.c (process_args): Recognize new -b +binary option.
  521.     * util.c [BCOPY_MISSING] (bcopy): New function.
  522.  
  523. Wed Jul  4 00:40:58 1990  David J. MacKenzie  (djm at apple-gunkies)
  524.  
  525.     * main.c (process_args): Add local pointers to functions to
  526.     work around a pcc bug found on a Convex.
  527.  
  528.     * copyin.c (process_copy_in), util.c (toss_input,
  529.     create_all_directories, add_inode): Don't use `index' as a
  530.     variable name. 
  531.  
  532. Tue Jul  3 02:33:36 1990  David J. MacKenzie  (djm at apple-gunkies)
  533.  
  534.     * version 1.0.
  535.  
  536. Mon Jul  2 23:18:56 1990  David J. MacKenzie  (djm at twiddle)
  537.  
  538.     * copyin.c (process_copy_in), copyout.c (process_copy_out),
  539.     copypass.c (process_copy_pass): Print "1 block", not "1 blocks".
  540.  
  541.     * copyin.c (process_copy_in), copypass.c (process_copy_pass):
  542.     Unlink existing dest. file unless either it is newer and
  543.     not unconditional, or it is a directory.
  544.  
  545. Mon Jul  2 03:57:41 1990  David J. MacKenzie  (dave at edfmd)
  546.  
  547.     * util.c (xrealloc): New function.
  548.     * dstring.c (ds_resize): Use xrealloc instead of free and
  549.     xmalloc.  Never shrink the string.
  550.  
  551.     * copypass.c (process_copy_pass): More efficient
  552.     string handling while constructing output filename.
  553.  
  554.     * global.c, extern.h, main.c, cpio.h: Change from an enum,
  555.     `copy_command', to a pointer to a void function, `copy_function'.
  556.  
  557.     * cpio.h (struct cpio_header): Make most fields unsigned.
  558.     Rename h_filesize to h_filesizes and h_mtime to h_mtimes, and
  559.     add new `long' fields with the old names at the end of the
  560.     structure.
  561.     * copyin.c (read_in_header): Set the long fields from the
  562.     short arrays, making sure longs are aligned properly.
  563.     (process_copy_in, long_format): Use the long fields.
  564.     * copyout.c (write_out_header): Set the short arrays from the
  565.     long fields, making sure longs are aligned properly.
  566.     (process_copy_out): Use the long fields.
  567.  
  568.     * global.c, extern.h: New variable `output_is_seekable'.
  569.     * util.c (empty_output_buffer): If output_is_seekable, use
  570.     lseek to write blocks of zeros.
  571.     (finish_output_file): New function.
  572.     * copyin.c (process_copy_in), copyout.c (process_copy_out),
  573.     copypass.c (process_copy_pass): Set `output_is_seekable'
  574.     correctly and call finish_output_file.
  575.     * main.c (initialize_buffers): Allocate space for sentinel in
  576.     `output_buffer'. 
  577.  
  578.     * global.c, extern.h: New variable `numeric_uid'.
  579.     * main.c (process_args): Accept -n +numeric-uid-gid option, like ls.
  580.     * copyin.c (long_format): Use numeric_uid.
  581.  
  582.     * copyin.c (process_copy_in), copyout.c (process_copy_out),
  583.     copypass.c (process_copy_pass): Don't (for verbose) print the
  584.     names of files that are not copied because of errors.  Try to
  585.     create missing directories for all file types.  Free temporary
  586.     buffers on error.
  587.  
  588. Sat Jun 30 14:28:45 1990  David J. MacKenzie  (djm at apple-gunkies)
  589.  
  590.     * version.c: New file.
  591.     * main.c: Add -V, +version option.
  592.     * Makefile [dist]: Extract version number from version.c.
  593.  
  594. Sat Jun 30 12:44:47 1990  David J. MacKenzie  (dave at edfmd)
  595.  
  596.     * global.c, extern.h, copyin.c, copyout.c, util.c: Rename
  597.     `{input,output}_is_regular' to `{input,output}_is_special' and
  598.     reverse the truth value. 
  599.  
  600.     * global.c, extern.h: New variable `input_is_seekable' to
  601.     control whether to skip data with lseek or read. 
  602.     * copyin.c (process_copy_in): Set it.
  603.     * util.c (toss_input): Use it.
  604.  
  605.     * global.c, extern.h: New variable `xstat' that selects stat
  606.     or lstat for input files.
  607.     * main.c (process_args): New option -L, +dereference to set
  608.     xstat to stat instead of lstat.
  609.     (usage): Document it.
  610.     * copyout.c (process_copy_out), copypass.c
  611.     (process_copy_pass): Use *xstat on input file.
  612.  
  613. Sat Jun 30 01:53:12 1990  David J. MacKenzie  (dave at edfmd)
  614.  
  615.     * dstring.c (ds_init): Return void because return value was
  616.     never used. 
  617.     (ds_resize): Ditto, and free old value instead of new one.
  618.  
  619.     * util.c (empty_output_buffer, fill_input_buffer,
  620.     copy_out_buf, copy_in_buf, toss_input, copy_files): Return
  621.     void instead of an error value and make errors fatal
  622.     immediately instead of several levels up, to prevent printing
  623.     of multiple error messages by different levels of functions.
  624.  
  625.     * copyin.c (read_in_header): Return void, because the error
  626.     handling all happens at lower levels.
  627.     (print_name_with_quoting): New function.
  628.     (long_format): Call print_name_with_quoting.  Take additional
  629.     arg for name of linked-to file, and print it if nonzero.
  630.     (process_copy_in): For verbose listing of symlinks, read in
  631.     the linkname and pass it to long_format.
  632.  
  633.     * extern.h: Declare some more functions.
  634.  
  635. Thu Jun 28 16:07:15 1990  David J. MacKenzie  (dave at edfmd)
  636.  
  637.     * copypass.c (process_copy_pass): Warn about unknown file types.
  638.  
  639.     * copyout.c (process_copy_out): Check fstat return for error.
  640.     Record filesize of 0 for special files.  Warn about unknown
  641.     file types.
  642.  
  643.     * copyin.c (process_copy_in): Warn about unknown file types.
  644.     (read_in_header): Warn about byte-reversed binary headers.
  645.  
  646. Sat Jun 23 22:50:45 1990  David J. MacKenzie  (dave at edfmd)
  647.  
  648.     * main.c (main): Set umask to 0 so permissions of created
  649.     files are preserved. 
  650.  
  651.     * copyin.c, copyout.c, copypass.c, util.c: Pass file
  652.     descriptors as ints, not pointers to ints. 
  653.     Cast file timestamps and sizes to long *, not int *, for 16
  654.     bit machines.
  655.     Use lstat instead of stat, if available.
  656.     Handle FIFO's, sockets, and symlinks, if supported by O.S.
  657.  
  658.     * copyin.c (process_copy_in), copyout.c (process_copy_out):
  659.     Don't consider FIFO'S, sockets, etc. to be possible tape drives.
  660.  
  661.     * util.c (create_all_directories): Fix incorrect loop
  662.     termination check.  Only copy string if it contains slashes.
  663.     Don't check whether directory "" exists.
  664.     (tape_offline): Code moved from get_next_reel.
  665.     (get_next_reel): Print message before taking tape offline.
  666.     Read a line of arbitrary length.
  667.  
  668.     * copyout.c, copyin.c, copypass.c: Always use utime, not utimes.
  669.  
  670.     * copyin.c (swab_short): New macro.
  671.     (swab_array): New function.
  672.     (read_in_header): In binary mode, if a byte-swapped header is
  673.     read, swap the bytes back.
  674.     (process_copy_in, process_copy_pass): Don't stat each file to
  675.     create unless !unconditional_flag.  Create device files correctly.
  676.     Don't temporarily allow files being created to be read by
  677.     other users.  Don't unnecessarily chmod special files.
  678.  
  679. Thu May 31 20:51:43 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  680.  
  681.     * copyin.c (long_format): Use mode_string to format
  682.     file protections instead of doing it ourselves.
  683.     (protections): Function removed.
  684.  
  685. Sat Apr 14 02:31:01 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  686.  
  687.     * cpio.h (struct cpio_header): Make inode, mode, uid, gid
  688.     fields unsigned. 
  689.  
  690.     * util.c (getgroup): New function.
  691.     * copyin.c (long_format): Print group name of files.
  692.     Print file size, etc. as unsigned integers, not signed.
  693.  
  694.     * main.c (process_args): If -t is given and neither -i, -o, or
  695.     -p is given, assume -i.
  696.  
  697.     * Add -f, +nonmatching option.
  698.     * main.c: Rename +out to +create, +in to +extract,
  699.     +modification-time to +preserve-modification-time,
  700.     +pass to +pass-through.
  701.  
  702.     * copyin.c (process_copy_in), copypass.c (process_copy_pass):
  703.     Don't complain in chown fails because the user doesn't have
  704.     permission. 
  705.  
  706. Fri Apr 13 13:53:20 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  707.  
  708.     * Add ifdefs for USG/Xenix.
  709.     * util.c (cpio_error): Function removed.
  710.     * Use error instead of cpio_error, so system error messages
  711.     will be included.
  712.     * cpio.h: Rename 'hdr_struct' to 'struct cpio_header'.
  713.     * Move definition of xmalloc from dstring.c to util.c.
  714.     * global.c, extern.c: Add global `program_name'.
  715.     * main.c (main): Set program_name.
  716.     (process_args): Rename +reset-atime to +reset-access-time,
  717.     +table to +list.
  718.     Have +block-size take an argument.
  719.  
  720. Thu Apr 12 13:33:32 1990  David J. MacKenzie  (djm at rice-chex)
  721.  
  722.     * util.c (find_inode_file): Make inode an int, not a short.
  723.  
  724.     * Make functions that don't return a value have type void.
  725.     Add some casts to function calls.
  726.  
  727. Wed Apr 11 14:55:28 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  728.  
  729.     * main.c (process_args): -i, -o, and -p don't take arguments.
  730.  
  731.     * main.c (process_args): Get the non-option args from the
  732.     correct elements of argv.
  733.  
  734. Tue Apr 10 00:20:26 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  735.  
  736.     * Indent source code and update copyrights.
  737.  
  738.     * cpio.c (usage): Change `collection' to `archive' in message.
  739.  
  740. Thu Dec 28 03:03:55 1989  David J. MacKenzie  (djm at hobbes.ai.mit.edu)
  741.  
  742.     * dstring.c (xmalloc): Don't return a null pointer if size is 0,
  743.     on the assumption that trying to allocate 0 bytes is a bug that
  744.     should be trapped.
  745.  
  746. Wed Dec 20 03:24:48 1989  David J. MacKenzie  (djm at hobbes.ai.mit.edu)
  747.  
  748.     * All files: Change from GNU CPIO General Public License to
  749.     GNU General Public License.
  750.  
  751. Mon Dec 18 13:18:36 1989  David J. MacKenzie  (djm at hobbes.ai.mit.edu)
  752.  
  753.     * Makefile: Add clean target and defines for CC and LDFLAGS.
  754.     Add dist target and SRCS, DISTFILES macros.  Add tags and TAGS targets.
  755.     * dstring.c (ds_fgets): Read characters into an int, not char.
  756.     (xmalloc): New function.
  757.     (out_of_memory): Function removed.
  758.     Global: use xmalloc instead of malloc and out_of_memory.
  759.     * extern.h, global.c: Make flag variables ints instead of chars for
  760.     compatibility with getopt_long.
  761.     * extern.h: Declare more functions.
  762.     * main.c (usage): Put the whole usage message into a single string
  763.     and fix errors.
  764.     * util.c (create_all_directories): Remove unused variable.
  765.     (get_next_reel): Ditto.
  766.     * dstring.h: Declare function.
  767.  
  768. Sat Dec  2 13:22:37 1989  David J. MacKenzie  (djm at hobbes.ai.mit.edu)
  769.  
  770.     * main.c: Change +copy-pass option to +pass, +copy-in to +in,
  771.     +copy-out to +out, and +mkdir to +make-directories, and add null
  772.     option to terminate table.
  773.     (process_args): Use the same code to handle long and short named 
  774.     options.
  775.     (usage): Mention long options in message.
  776.  
  777. Local Variables:
  778. mode: indented-text
  779. left-margin: 8
  780. version-control: never
  781. End:
  782.