summaryrefslogtreecommitdiff
path: root/usr.bin/xinstall/xinstall.c
AgeCommit message (Collapse)Author
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 ↵Todd C. Miller
sparse files
1999-01-26Add a -b(ackup) flag to move any existing file(s) aside by renamingTodd C. Miller
them to file.old instead of simply deleting them. A different backup suffix may be chosen with the -B option's argument. hubertf@netbsd.org
1998-12-17Some -WallTodd C. Miller
Don't try to close a descriptor if it was never opened.
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
lives. Idea from NetBSD.
1997-03-07Don't error out when chflags(2) fails if the target filesystem doesn'tTodd C. Miller
support file flags. Fix from NetBSD (minus the typo).
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
1996-08-18Rewind fd's in copy() since we may have already done a compare().Todd C. Miller
1996-08-14Clean up target/tempfile if mmap or write fails (like non-mmap version)Todd C. Miller
1996-08-08Fixed usage sumary and order of args in man page to be consistent.Todd C. Miller
1996-08-05Adds -C, -p, and -S flags. Based on FreeBSD changes but heavilyTodd C. Miller
modified.
1996-06-26rcsidTheo de Raadt
1995-12-21from netbsd: some versions of strip generate a new file; thus we shouldTheo de Raadt
re-open the file before doing chown/chmod operations on it.
1995-10-18initial import of NetBSD treeTheo de Raadt