summaryrefslogtreecommitdiff
path: root/usr.bin/xinstall/xinstall.c
AgeCommit message (Expand)Author
2001-12-10ADD MISSING SLASH.msaitoh
2001-11-24fix an accidental use of dirname instead of xdirnameperry
2001-11-23add comments noting the mktemp usage is safe.perry
2001-11-23Overhaul link creation - splitting out hard and symbolic link handlingsimonb
2001-11-22Make metadata logging of set-id bits work for unprived installs.dillo
2001-11-19simplify metadata logging, and add metadata logging for hard links.perry
2001-11-12Actually do a chmod if -U, but only try chmod'ing the lower 0777 bits.tv
2001-10-29change metadata_log() to support logging symlink info as welllukem
2001-10-29Do not attempt to stat the source if we are dealing with a link. Weperry
2001-10-281) Remove a comment that bore no resemblance to reality. It was worseperry
2001-10-25Add '-T tags', to specify mtree(8) tags to be written out to the '-M metalog'lukem
2001-10-25minor knflukem
2001-10-19If unprivileged, we may be running on a system that doesn't have the propertv
2001-10-11oops, got chflags() error checking around the wrong waylukem
2001-10-11- Implement "-M log", which appends the metadata associated with thelukem
2001-09-15Throw out home-grown strdup().simonb
2001-09-15ANSIfy.simonb
2001-08-24heirarchy -> hierarchywiz
2001-06-15Add the -r flag to usage output.kleink
2001-05-28fall back to read() if mmap() returns an error.chs
2001-03-21slight portability improvement: use madvise(... MADV_SEQUENTIAL ...)cgd
2001-02-21call setprogname(argv[0]) at start of main()cgd
2000-10-10- The type of return value of setmode is a void * and getmode takes it,enami
2000-07-27If unprivileged, don't even look up user or group name. (always set uid andcgd
2000-07-27invoke stripprog using execlp. (this mirrors the behaviour that wouldcgd
2000-01-15don't bitch if madvise returns EOPNOTSUPPchristos
1999-08-01Add `-U' flag (for "unprivileged"). Currently just skips thesommerfeld
1999-07-06pacify gcc-2.8 uninitialized variable warnings, and only use timespecs inchristos
1999-06-26If we choose the mmap() method of copying the file, advise the VMthorpej
1999-03-29Check if given suffix really generates different suffixes - catch e.g. ".%"hubertf
1999-03-24Don't unlink the file first if we are renaming. We want to be as atomic aschristos
1999-02-04PR/2936: Brian C. Grayson: Avoid truncating precious files when installingchristos
1999-01-26enable numbered backups via -B.old%02dhubertf
1999-01-25Add a -b(ackup) flag to move any existing file(s) aside by renaminghubertf
1998-12-20char -> unsigned charchristos
1998-10-10create a "stat_flags.h" to go with stat_flags.cmrg
1998-10-08Add new option -S, which is like -s, but takes a string of options to pass to...wsanchez
1998-10-01Add -p flag to usage().erh
1998-09-28add -p flag, similar to cp(1)christos
1998-02-20Fill in missing (default) mmap(2) flags.mycroft
1997-12-01use MAP_PRIVATE for mmap flags, not the non-standard MAP_FILE (aka 0)chuck
1997-11-30accept -c silently with -d; fixes GNU autoconf (among others) that assumetv
1997-10-27In strip():thorpej
1997-10-20getopt returns -1 not EOF, fix .Nmlukem
1997-10-19WARNSify; deprecate register; clean up .Nmmrg
1997-04-19use proper pathname when unable to exec stripmikel
1997-04-17Allow the environment variable $STRIP to override _PATH_STRIP forthorpej
1997-03-16Fix pasto in error message.christos
1997-03-16Add support for installing hard and symbolic links via the [-l harms] flag.christos
1997-03-12Remove kluge for GCC bug on m68k.mycroft