Subject: CVS commit: src
To: None <source-changes@netbsd.org>
From: Todd Vierling <tv@netbsd.org>
List: source-changes
Date: 02/06/1999 16:56:55
Module Name: src
Committed By: tv
Date: Sun Feb 7 00:56:55 UTC 1999
Modified Files:
src/bin/pax: options.c
Log Message:
Fix opt_add to take const char * so that it can be passed a constant
string legally (it strdup()s the argument). How pax-as-tar `-o' ever
worked without a coredump is beyond me...
Also modify pax-as-tar `-o' to do three things, which depend on the
create/extract mode:
- write V7 format archives (which, though part of GNU tar, actually
goes along with the following point--after all, old pax-as-tar created
V7 archives by default);
- write archives with "write_opt=nodir", as pax already did, and as
specified by 4.2BSD;
- extract archives with owner/group set to invoking user, as specified
by SUS.