summaryrefslogtreecommitdiff
path: root/usr.bin/xinstall/xinstall.c
AgeCommit message (Expand)Author
2006-05-11char -> u_char for a buffer passed to MD5*().mrg
2006-04-21Coverity CID 95: Fix resource leak.christos
2005-10-01fix setmode error handling.christos
2005-09-25Use crypto/rmd160.h.elad
2005-06-11mktemp() uses are ok here, so no more warnings.christos
2005-05-10When creating a relative symlink (-lr), use the originally provided `to_name'lukem
2005-05-08strvis(3) encode the link=... argument in the metalog.lukem
2005-05-08metadata_log(): remove leading -D destdir before strsvis(3) encodinglukem
2004-06-20Completely rework how tools/compat is done. Purge all uses/references tojmc
2004-02-02Fix bug when calculating digest when copying from dev/null.lukem
2004-01-30Auso support -h hash for hard-linked files.lukem
2004-01-29Implement -h {none,md5,rmd160,sha1} to determine the appropriate hashlukem
2003-12-29Make "copy the file" (the -c option) the default behaviour. The -c optionsimonb
2003-12-16Initialize uid and gid so that the owner/group is not inadvertantly changedheas
2003-11-21munmap() so that we don't accumulate memory on multiple files.christos
2003-10-27Overhaul how `build.sh tools' are used:lukem
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
2003-07-12strlcatitojun
2003-03-13Don't do the madvise(2) call if __APPLE__. Even though madvise(2)thorpej
2002-12-23DTRT with -D destdir when the target == destdirlukem
2002-12-22Implement '-D destdir'; if '-M metalog' is being used, remove alukem
2002-12-19Add '-N dbdir', to specify that user & group lookups are to be done fromlukem
2002-06-09Convert from flock() to the more portable fcntl().lukem
2002-06-08make an auto const variable static.yamt
2002-04-10doh. don't try and update from_sb and tv if dolink is setlukem
2002-04-10always stat into &from_sb and setup tv[]; stops weird problem noticedlukem
2002-03-19- Add "-a afterinstallcommand", which runs "sh -c afterinstallcmd target"lukem
2002-02-28When metalogging a hard link, don't log it as "type=hlink".lukem
2002-01-31Roll in fixes to permit cross-compiling from non-NetBSD hosts. Thistv
2002-01-28Identify where errors come from, rather than just doing err[x]("%s", foo).tv
2002-01-21Add non-NetBSD host hooks.tv
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