summaryrefslogtreecommitdiff
path: root/bin/pax/file_subs.c
AgeCommit message (Expand)Author
2023-05-28pax: don't overwrite destination if -r -w copy failslukem
2019-03-20pax: fix typos in comments in file_subs.c & tar.cgutteridge
2013-07-29PR/48095: NAKAJIMA Yoshihiro: remove casts from time_t to longchristos
2009-04-07Fixes from christos for pr-41167perry
2008-01-10Teach set_ftime about symbolic links, because it has to know: on sometls
2007-04-29fix typosmsaitoh
2006-02-11Change all the 'return(x)' to 'return c'.dsl
2006-01-04obey umask as it used to be before the "mkstemp and then rename" change.yamt
2005-09-18Check for another race reported by chuq.christos
2005-09-16Another missing mkdir() race pointed out by chuq. Factor out the mkdir code.christos
2005-09-13use stat and not lstat to detect if we have a directory. refactor the mkpath()christos
2005-09-13when creating directories, check if the failure occured because someonechristos
2005-04-24For clarity instead of using -1 and -2 use the negative of the archive type.christos
2004-09-22Keep track of the length of the gnu long name/link hack, so thatchristos
2004-08-22Propery handle "cpio" archives where the last hardlink includes thetron
2004-07-02Salvage the `create parent directories and try again' path which isenami
2004-06-26break out of the loop and avoid the infinite loop if attempts togrant
2004-06-26don't attempt to remove the current directory.grant
2004-06-20Completely rework how tools/compat is done. Purge all uses/references tojmc
2004-05-03Don't exit with 1 on broken archives that mark directories as files forchristos
2004-04-30Set the chflags *after* the rename, not before.matt
2004-04-27PR/25350: Alan Barrett: Treat the sticky bit specially as non-superuserschristos
2004-04-25PR/25188: Thomas Klausner: pax-as-tar problem with trailing slasheschristos
2004-04-20PR/25207: Hubert Feyrer: tar cores on certain archive contentschristos
2004-02-13When pax catches a signal and cleans up, make sure to remove any temporarymatt
2004-02-13Nuke extra mkstemp. Use name, not tmp_name with chk_path.matt
2004-02-13Back out last change. Since the name is the entire path, prefixing itmatt
2004-02-13When creating the temporary file, prefix the name with a '.'matt
2004-02-12When restoring files from an archive, initially restore to a temp-file andmatt
2003-10-27Overhaul how `build.sh tools' are used:lukem
2003-10-13Move Keith Muller's code from a 4-clause to a 3-clause licence by removingagc
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
2003-06-23no need for HAVE_LCHOWN and HAVE_LCHMOD anymore.grant
2003-02-10add missing braces.grant
2003-02-09cosmetic error condition improvements.grant
2003-02-02Fix various spelling, grammar, and punctuation problems in comments, from Ser...wiz
2003-01-20The Double-Semi-Colon Police.simonb
2003-01-06writable, not writeable.wiz
2002-12-19Fix oops in last, chown() failure should be fatal.grant
2002-12-19Don't attempt to chown files if euid != 0, and make chown() non-fatalgrant
2002-10-17Add proper longlink support. Previously we handled longname support, andchristos
2002-10-12merge OpenBSD changes:christos
2002-02-11"doesn't" should have an 's'.wiz
2002-01-31Protect __RCSID and __COPYRIGHT from being invoked if not defined.tv
2002-01-29Make almost all tools compile and run properly on non-NetBSD hosts. (Intv
2001-10-25- ansi KNF (just remove all the #ifndef __STDC__ prototype junk,lukem
2000-06-17minor KNF nits.mrg
2000-03-13Fix doubled 'the' in comment.soren
2000-02-17Cleanup and fix typos.itohy
2000-02-17Fix SIGINFO botch (PR #8868).itohy