summaryrefslogtreecommitdiffstats
path: root/usr.bin/xinstall
Commit message (Collapse)AuthorAgeFilesLines
* Issue proper diagnostic on the short writes, also consider thekib2012-07-021-5/+20
| | | | | | | case of write reporting 0 bytes as short write. Reported and tested by: adreast MFC after: 1 week
* Add missing static keywords to xinstall(1)ed2011-11-061-7/+8
|
* Teach tools/install.sh the -d directory mode.uqs2011-02-221-2/+2
| | | | | | | | Sync up with flags understood by install(1) [1], and make install(1)'s usage output not hide the clearly documented -M flag. PR: misc/154739 [1] Submitted by: arundel
* Fix typos - remove duplicate "the".brucec2011-02-211-1/+1
| | | | | | PR: bin/154928 Submitted by: Eitan Adler <lists at eitanadler.com> MFC after: 3 days
* Remove the advertising clause from UCB copyrighted files in usr.bin. Thisjoel2010-12-112-8/+0
| | | | | | | | | is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change Also add $FreeBSD$ to a few files to keep svn happy. Discussed with: imp, rwatson
* Fix common misspelling of hierarchyuqs2010-02-201-1/+1
| | | | | Pointed out by: bf1783 at gmail Approved by: np (cxgb), kientzle (tar, etc.), philip (mentor)
* Build usr.bin/ with WARNS=6 by default.ed2010-01-021-1/+0
| | | | Also add some missing $FreeBSD$ to keep svn happy.
* Style improvements:delphij2009-12-141-11/+11
| | | | | | | | | | | | - Sort function prototypes; - Apply static on all function bodies. To quote bde@: > It is a good obfuscation to declare functions as static only in the > prototype, so that you can't see the static for the actual function. > The reverse obfuscation (with static only in the function definition) > would make more sense, but is a constraint error. Reviewed by: bde
* xinstall.c does not require ctype functions, so ctype.h is notdelphij2009-12-131-1/+0
| | | | | | | necessary here. Note: this would change the md5 checksum due to change caused by different register layout.
* Staticify internal functions and make usage() a prototype.delphij2009-12-131-11/+11
|
* Revert most part of 200420 as requested, as more review and polish isdelphij2009-12-131-10/+11
| | | | needed.
* Remove unneeded header includes from usr.bin/ except contributed code.delphij2009-12-111-11/+10
| | | | Tested with: make universe
* Give a better description when a install of multiple files failsedwin2007-12-141-1/+6
| | | | | | | | | | because of the absence of a destination directory or if the "destination directory" is not a directory. PR: bin/11826 Submitted by: Denis Eremenko <moonshade@pnhz.kz> Approved by: grog@ X-MFC after: various freezes
* Markup fixes.ru2006-09-291-4/+6
|
* Add an override (DONTSTRIP) so that one can easily install debugableobrien2006-03-062-0/+14
| | | | | binaries when one cannot easily edit a package's Makefiles and/or configure scripts.
* Fix all the spelling mistakes I could find in the man pages for wordskeramida2005-07-311-1/+1
| | | | | | | | that have at least 3 characters. MFC after: 1 week Thanks to: Music band ``Chingon'' for keeping me company while searching for these.
* Expand *n't contractions.ru2005-02-131-2/+2
|
* - Make WARNS?= 6 cleanssouhlal2005-01-252-0/+3
| | | | | | - Add WARNS?= 6 Approved by: stefanf, grehan (mentor)
* Sort sections.ru2005-01-181-2/+2
|
* Added the EXIT STATUS section where appropriate.ru2005-01-171-1/+1
|
* Mechanically kill hard sentence breaks.ru2004-07-021-1/+2
|
* Document the STRIPBIN environment variable. This includes adding amarcel2004-06-111-0/+12
| | | | | | forward reference from where strip(1) is being mention (-s option). PR: bin/28620
* Improved incorrect usage diagnostics.ru2004-03-171-2/+6
|
* Trust bsd.prog.mk to set SRCS correctly.ru2004-03-171-1/+0
|
* GC unnecessary include file.ru2004-03-172-38/+0
|
* - Demangle usage().ru2004-02-071-10/+9
| | | | - Require the "directory" argument with the -d option.
* Since (x)install is pretty unhelpfull and just spits out a Usagephk2003-07-111-12/+13
| | | | | | | for a lot of unrelated error conditions, at least report the line number where it bailed. Don't use multiline string literals for Usage, gcc 3.3 doesn't like them.
* Migrate to a new way of dealing with building from old revisions ofimp2003-04-051-7/+0
| | | | | | | | | | | | | | | | | FreeBSD. This method attempts to centralize all the necessary hacks or work arounds in one of two places in the tree (src/Makefile.inc1 and src/tools/build). We build a small compatibility library (libbuild.a) as well as selectively installing necessary include files. We then include this directory when building host binaries. This removes all the past release compatibilty hacks from various places in the tree. We still build on tip of stable and current. I will work with those that want to support more, although I anticipate it will just work. Many thanks to ru@, obrien@ and jhb@ for providing valuable input at various stage of implementation, as well as for working together to positively effect a change for the better.
* Uniformly refer to a file system as "file system".ru2002-12-121-2/+2
| | | | Approved by: re
* If both the unlink and the open fail, return the errno from thefenner2002-11-301-2/+8
| | | | | | | | unlink (very likely EPERM), since the errno from the open might be a confusing ETXTBSY. Approved by: re MFC After: 1 week
* #include <sys/time.h> instead of depending on namespace pollution inbde2002-11-301-0/+1
| | | | | | <sys/stat.h> for the declaration of struct timeval. Approved by: re (rwatson)
* A little bit of anti-foot-shooting. Use utimes(2) rather thanpeter2002-11-151-8/+11
| | | | | | | | | the deprecated utime(3). utimes(2) uses timeval, but utime(3) uses time_t's. If you do bad things (like I did) by mixing up include files with libc, then install can do strange things if you mismatch the time_t stuff. utime() is emulated entirely within libc. Approved by: re (jhb)
* Take __FreeBSD_version into account when BOOTSTRAPPING.ru2002-11-131-1/+3
|
* Document the new behavior of -C with respect to inode-change-time.ru2002-10-311-2/+4
| | | | Document that -p also preserves the access time of the source.
* Do not change the target file's inode-change-time if -C isru2002-10-311-3/+5
| | | | | | specified, the target file already exists and the files are the same, and the target's file flags and mode need not to be changed.
* ANSIify function definitions.dwmalone2002-09-041-30/+13
| | | | | | | | | Add some constness to avoid some warnings. Remove use register keyword. Deal with missing/unneeded extern/prototypes. Some minor type changes/casts to avoid warnings. Reviewed by: md5
* Ignore -C, -p, and -S options of install(1) when used with the -dru2002-07-291-1/+1
| | | | | | | option. Warn about COPY being phased out. Restore the old method of always comparing before installing: INSTALL="install -C". Requested by: bde
* Start the (overdue) de-orbit sequence for the -d -C combo,ru2002-06-051-8/+1
| | | | | | as was promised in revision 1.43. MFC after: 1 month
* More consistancy. file system > filesystemtrhodes2002-05-161-2/+2
|
* Report errors properly if wait() fails.fanf2002-05-151-1/+2
| | | | | | PR: 30543 Approved by: dwmalone (mentor) MFC after: 3 weeks
* Fixed 5 style bugs in VCS ids.bde2002-05-121-5/+7
|
* Fixed printing the the strip binary's name in error messages.bde2002-05-121-1/+1
|
* Add support for stripping non-native object files by using anmarcel2002-05-111-1/+5
| | | | | | environment variable that specifies the name of the strip(1) program to use. The envvar is "STRIPBIN". The more natural choice would be "STRIP", but that one is taken already.
* Use `The .Nm utility'charnier2002-04-201-2/+4
|
* No longer needed to #ifdef __FBSDID, this is now handled by Makefile.inc1.ru2002-04-091-3/+0
|
* remove __Pimp2002-03-221-10/+10
|
* Bump the cutoff mark for comparing files from 8 MB to 16 MB.des2002-03-181-1/+3
|
* Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3.markm2002-02-081-1/+0
|
* xinstall is part of the upgrade path for 4.4-RELEASE as well.imp2001-12-191-0/+2
| | | | | | Do the usualy ifdef trick here. Reported by: dworkin muller <addr-removed> and faried nawaz <fn@hungry.com>
* More "const" poisoning, and only use NO_WERROR if we're bootstrapping.ru2001-12-122-23/+22
|
OpenPOWER on IntegriCloud