cvs commit: src/usr.bin/tar write.c

Colin Percival cperciva at
Sat Mar 31 10:14:04 UTC 2007

cperciva    2007-03-31 10:14:03 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/tar          write.c 
  Split the append_archive function (used for processing @<archive> directives)
  into separate append_archive and append_archive_filename functions; the first
  takes a "struct archive *" as input, while the second takes a filename, opens
  the archive, and calls the first.
  There should be no changes in behaviour as a result of this commit; it simply
  reorganizes code to make more sense.  At some point in the future it may be
  possible to share code between append_archive and read_archive, but not yet.
  Discussed with: kientzle
  Revision  Changes    Path
  1.60      +28 -13    src/usr.bin/tar/write.c

More information about the cvs-src mailing list