summaryrefslogtreecommitdiff
path: root/usr.bin/xinstall/xinstall.c
AgeCommit message (Expand)Author
2014-05-20Use errc/warnc to simplify code.Philip Guenther
2013-11-27remove erroneous char cast to switch expression processing getopt(3);Okan Demirmen
2013-11-26unsigned char casts for ctypeTheo de Raadt
2013-06-02Copy approach from mkdir to fix a race condition where multiple install -d'sChristian Weisgerber
2013-02-18Report unlink() errors unless ENOENT; especially useful in case of read-onlyMiod Vallat
2012-09-14There's no reason to unlink the destination if we can't even openTodd C. Miller
2012-04-11Move size == 0 check to the beginnig of copy(); ok espie@Todd C. Miller
2012-04-11fix install to cope with 0-sized mmap now returning EINVAL.Marc Espie
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-03-27-S (safe mode) would copy the file over, rename it to the target, thenPeter Hessler
2007-09-05Missing colon in optsring for 'B'Jonathan Gray
2007-08-06the ellipsis is not an optional argument; while here, sync the usageIgor Sobrado
2007-05-25"boundries" -> "boundaries" in various comments. Started by Diego Casati.Kenneth R Westerback
2007-05-16Allow stripping of files, even if the destination filenameMoritz Jodeit
2006-01-10Use strlcpy(), not strncpy(); OK deraadt@Todd C. Miller
2004-10-04hierarchy is spelt hierarchy, ok djm@Jonathan Gray
2004-07-01setmode(3) returns void *, not mode_t *. ok millert@Otto Moerbeek
2004-02-10- sort optionsJason McIntyre
2003-11-22madvise() -- take twoMichael Shalayeff
2003-11-22Revert the last change since it's broke make release.Alexander Yurchenko
2003-11-21madvise() mmaped memory as sequentially accessed cutting user time almost in ...Michael Shalayeff
2003-07-02bump randomness of mktemp to from 6 to 10 X's, as recommended by mktemp(3)Anil Madhavapeddy
2003-06-10mostly ansi cleanup; pval okTheo de Raadt
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-05-11when doing sparse writes, we must write the last byte or the file willTed Unangst
2003-05-07fix an err() that should be errx()Todd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2002-01-24Fix `necesary' typos; Alexander YurchenkoTodd C. Miller
2001-11-19kill more registersMike Pechkin
2001-08-25It is ok for the target file not to exist even if -b was specifiedHeikki Korpela
2001-07-09correct type on last arg to execl(); nordin@cse.ogi.eduTheo de Raadt
2001-06-23Remove evil #ifdef __GNUC__ garbage to avoid longjmp clobbering andTodd C. Miller
2000-12-22Complain about, and name the missing directory when trying to installJanne Johansson
2000-10-12MAP_FAILED, not -1.Artur Grabowski
2000-07-19new strtofflags/fflagstostrMichael Shalayeff
1999-08-04supply particular mapping type to the mmap(2) instead of bogus 0Michael Shalayeff
1999-05-29compare was broken for files > 8gigTodd C. Miller
1999-03-03fix uninitialized variable; this could have caused problems when installing s...Todd C. Miller
1999-01-26Add a -b(ackup) flag to move any existing file(s) aside by renamingTodd C. Miller
1998-12-17Some -WallTodd C. Miller
1998-12-16sparse file support, ripped out of paxTodd C. Miller
1998-09-26more setmode() leaks -- kill 'em allTheo de Raadt
1997-12-01use MAP_PRIVATE for mmap flags, not the non-standard MAP_FILE (aka 0)chuck
1997-06-04If strip(1) fails it should not be a fatal error.Todd C. Miller
1997-04-17Add support for STRIP environment variable to specify where strip(1)Todd C. Miller
1997-03-07Don't error out when chflags(2) fails if the target filesystem doesn'tTodd C. Miller
1997-01-17r?index -> strr?chrTodd C. Miller
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-12-06warn and _exitTheo de Raadt
1996-09-22Pedanitic indentation: spaces -> tabsimp