summaryrefslogtreecommitdiff
path: root/bin/pax/options.c
AgeCommit message (Expand)Author
2019-11-15In cpio mode, when processing the -o switch, only set the archive formatChristian Weisgerber
2018-09-13Use the new libc uid_from_user() and gid_from_group() instead ofTodd C. Miller
2016-12-26Put some variable declarations under appropriate #if/#endif protectionKenneth R Westerback
2016-08-26-E NONE has *never* worked; it was always -E none. It's a dubious optionPhilip Guenther
2016-08-26options.h is only used by options.c; merge it into the .c filePhilip Guenther
2016-08-25Replace name_{uid,gid}() with the libc routines user_from_uid() andPhilip Guenther
2016-08-24Make list-like output go to stderr when appending to an archive on stdout.Philip Guenther
2016-08-24Treat cpio's -t option as a modifier to -i, so they're ordering independentPhilip Guenther
2016-08-23Instead of doing strcmp(argv0), track the invocation mode (pax/tar/cpio)Philip Guenther
2016-08-14Replace u_quad_t with unsigned long long and replace "uqd" with "ull" inPhilip Guenther
2016-04-19Switch from fgetln() to getline() to simplify error handling.Philip Guenther
2015-12-06Use __progname instead of manually handling argv[0].Tobias Stoeckmann
2015-05-18Make TAPE=- mean stdout in tarczarkoff
2015-04-18Convert many atoi() calls to strtonum(), adding range checks and failureTheo de Raadt
2015-03-15Define chdname once in a .c and make it extern in the .hPhilip Guenther
2015-03-15Handle tar -o by setting the tar_nodir directly instead of faking up aPhilip Guenther
2015-03-12If an archive isn't a recognized type, then check whether it looksPhilip Guenther
2014-05-24Delete pointless casts: free() return value to (void), free()'sPhilip Guenther
2014-05-07use reallocarray. ok guentherTed Unangst
2014-02-06Oops, pax -x and cpio -H need to set frmtPhilip Guenther
2014-02-05make pax cope with a stripped down format list, e.g. when compiledAlexander Hall
2014-01-30abstraction for the sake of abstraction is distracting.Marc Espie
2014-01-11Add -DNOCPIO option for use by distrib/specialTheo de Raadt
2014-01-08Zap leading whitespaceTheo de Raadt
2014-01-08Replace strtoq(), QUAD_MAX, and %qu with their long long equivalentPhilip Guenther
2014-01-08Eliminate poisonous LONG_OFF_T conditionalPhilip Guenther
2013-03-27Enable support for write_opt=nodir for ustar archives which helps to fixVadim Zhukov
2012-12-04remove some unnecessary sys/param.h inclusionsTheo de Raadt
2012-03-04In preparation for getline and getdelim additions to libc, rename getline()Federico G. Schwindt
2010-12-02a -N option for tar that uses numeric only IDs, useful for cross systemTed Unangst
2009-11-13stop the options string leak if it is not attached into the optionsTheo de Raadt
2009-11-12Do realloc() the paranoid way, at the very least to once again educateTheo de Raadt
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2008-06-11Add tar -j option that calls bzip2 for compress/decompress. RequiresPeter Valchev
2008-05-28write cpio_usage() in a way consistent with pax_usage() and tar_usage();Igor Sobrado
2008-05-17documentation tweaks.Igor Sobrado
2007-02-24sort options; sync usage(); from Igor SobradoJason McIntyre
2007-02-24sort options; sync usage(); from Igor SobradoJason McIntyre
2006-11-17Fix extracting and setting permissions for tar archives whenOtto Moerbeek
2006-04-09ftree_add arg #2 expects int not pointer.Jared Yanovich
2005-06-02add -O to getopt (ok otto) and sync usageJared Yanovich
2005-05-24variety of man page fixesJared Yanovich
2004-04-16spacingTheo de Raadt
2003-11-30Ignore -o/-O in non-extract mode. Earlier version OK'd by henning@Todd C. Miller
2003-06-26protos. this requires changing the api for the *trail() functions a bitTheo de Raadt
2003-06-13Add a -0 flag to make pax use a NUL instead of a newline as theTodd C. Miller
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-02-03typos;Jason McIntyre
2002-10-18Pull in some changes from NetBSDTodd C. Miller
2002-10-16sprinkle const; mostly from NetBSDTodd C. Miller