summaryrefslogtreecommitdiff
path: root/usr.bin/xinstall
AgeCommit message (Expand)Author
2020-04-07install -d should error out if no directory is givenMarc Espie
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-05-09This no longer uses utime(3), so it doesn't need <utime.h>Philip Guenther
2019-02-24Remove -S from install commandskn
2019-02-14properly track file names and fds in case the installed file was alreadyMarc Espie
2019-02-14recommit ingo's 1.68 fix, now that we got a fix for the fringe caseMarc Espie
2019-02-09Revert previous.Ingo Schwarze
2019-02-08Fix a race condition: do not unlink(2) a file and then open(2) itIngo Schwarze
2018-09-16Use uid_from_user(3) and gid_from_group(3) in utilities thatTodd C. Miller
2017-08-21Use waitpid()/EINTR idiom for the specific pid, rather than generic wait(),Theo de Raadt
2017-07-09remove redundant variable declarations in Makefiles, since those areMarc Espie
2016-05-13spelling and usage() fixes;Jason McIntyre
2016-05-13-F is nonstandard as well. from Caspar SchutijserTed Unangst
2016-05-12Add -F option to install(1) that calls fsync(2) on the installedTodd C. Miller
2016-02-01missing word; from jan staryJason McIntyre
2015-12-31Remove use of sysexits.h.Todd C. Miller
2015-07-19when using -D, do not use the mode set for the target file as the directory modeJasper Lievisse Adriaanse
2015-07-18kill trailing whitespaceJasper Lievisse Adriaanse
2015-07-18add -D to create the full destination path before installing the source into itJasper Lievisse Adriaanse
2015-04-18Use futimens() to preserve timestamps with subsec precision.Philip Guenther
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
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
2011-11-08Pass install the -S option to avoid a window where the target isn'tPhilip Guenthe
2010-09-29various EXIT STATUS fixes; from Daniel DickmanJason McIntyre
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
2009-03-16improve spacing in synopsis.Igor Sobrado
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-31convert to new .Dd format;Jason McIntyre
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
2004-02-06- options description cleanupJason 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-10- section reorderJason McIntyre