summaryrefslogtreecommitdiff
path: root/bin/pax/options.c
AgeCommit message (Expand)Author
2024-05-10pax: make list file handle line-buffered unless it is stderr.Todd C. Miller
2024-04-17Provide a pax format specific option handlerJeremie Courreges-Anglas
2024-04-17Fixup commentJeremie Courreges-Anglas
2024-04-16Switch tar(1) write default format to 'pax'Jeremie Courreges-Anglas
2024-04-16Add tar(1) -F option to select write formatJeremie Courreges-Anglas
2024-04-16Correctly detect 'pax' format archives in append modeJeremie Courreges-Anglas
2024-04-15Amend previous: improve commentCaspar Schutijser
2024-04-15Switch pax(1) to write archives using the 'pax' format by defaultJeremie Courreges-Anglas
2023-12-09Add basic write support for 'pax' format archivesJeremie Courreges-Anglas
2023-11-26mark functions as static when they're unused elsewhere, makes theMarc Espie
2023-01-17pax: Switch a function definition from K&R to ANSI.Theo Buehler
2022-12-04userspace: remove vestigial '?' cases from top-level getopt(3) loopsScott Soule Cheloha
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