summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Permit (but ignore) -Z with -x or -t, now that libarchivekientzle2004-05-301-2/+9
| | | | recognizes and decompresses .Z format.
* Include <sys/uio.h> for the complete type of struct iovec.stefanf2004-05-281-0/+2
| | | | Approved by: das (mentor)
* - introduce a new primary `-depth n', which tests whethereik2004-05-286-28/+91
| | | | | | | | | | | | | | | | | | | | | the depth of the current file relative to the starting point of the traversal is n. The usual +/- modifiers to the argument apply. - while I'm here, fix -maxdepth in the case of a depth-first traversal Print the top ten maintainers of python module ports (works with p5-* too): find /usr/ports -depth 2 \! -name 'py-*' -prune -o \ -depth 3 -name Makefile -execdir make -VMAINTAINER \; \ | sort | uniq -c | sort -nr | head PR: 66667 Reviewed by: ru, joerg Approved by: joerg MFC after: 2 weeks
* Minor corrections to error handling and user notifications:kientzle2004-05-271-23/+26
| | | | | | | | * Move format/compression reporting to end of output, since we don't always know the input format until then. * Set bsdtar exit value to 1 if any file could not be restored. * Generate gtar-style warning when stripping leading '/' characters. * Warn when removing symlinks.
* Provide framework for exiting with non-zero value on non-critical errors.kientzle2004-05-272-1/+3
|
* Use humanize_number(3) to format sizes into a human readable form.pjd2004-05-242-69/+11
|
* Mark du(1) as WARNS6 clean.pjd2004-05-241-0/+1
| | | | Tested on: alpha, amd64, i386, ia64, sparc64
* Include <string.h> for prototypes of various string functions.stefanf2004-05-244-0/+7
| | | | Approved by: das (mentor)
* Include <netinet/in.h> for ntoh*() and hton*() prototypes.stefanf2004-05-241-0/+2
| | | | Approved by: das (mentor)
* Add localized calendar file for holidays in Austria.josef2004-05-231-0/+62
| | | | Approved by: le
* Add --no-same-owner as a synonym for -o.kientzle2004-05-221-0/+1
| | | | | | | Note that bsdtar's -o (which follows SUSv2) is not the same as GNU tar's -o. In GNU tar, -o and --no-same-owner are not synonyms. Pointed out by: Kris Kennaway (required by xpenguins port)
* Add a "-r" flag to ktrdump(1) to print relative timestamps when usedrwatson2004-05-222-6/+22
| | | | | | | | with "-t" rather than absolute timestamps. This allows the reader to get a better sense of latency between events, such as time to schedule an interrupt thread from time the interrupt occurred. Assert a copyright on ktrdump.c since I seem to be modifying it more than I thought.
* Add a quiet mode to ktrdump(1): if the "-q" flag is used, don't printrwatson2004-05-212-21/+30
| | | | | the pretty text header on top of the output. Simplifies feeding the results of tracing into a script for mechanical processing.
* When the 'f' flag is passed to ktrdump(1), use 40 characters for therwatson2004-05-211-1/+1
| | | | | | "file and line" field consistently; previously, a 32-character field length was used for the table header, which resulted in the header not lining up with the table.
* Add --dereference as a synonym for -Hkientzle2004-05-211-0/+1
| | | | Pointed out by: Kris Kennaway (unbreaks nspr port build)
* Remove unneeded lseek(2) hack to position past the 2GB point,hmp2004-05-201-18/+9
| | | | | | | | | use fseeko(3) instead. This commit fixes breakage when `lastcomm matchstring` is run. PR: bin/66765, bin/64568 Submitted by: Dan Nelson <dnelson at allantgroup.com>
* Fix a couple of warnings:dwmalone2004-05-192-2/+6
| | | | | | | | 1) Missing include for declaration of time conversion functions. 2) Avoid a couple of alignment warnings on 64 bit arches by memcpying the things pointed to by caddrs into variables of the right type. Bump WARNS to 6 while I'm here.
* Add missing %s so that all of the usage message gets printed.dwmalone2004-05-192-1/+2
| | | | Bump WARNS to 6 while I'm here.
* Fix integer overflow in the file size output when dealing withle2004-05-191-3/+3
| | | | | | large files (i.e. DVD images). Reviewed by: des@
* Added pgrep to the SYNOPSIS.ru2004-05-191-14/+21
| | | | | Fixed SYNOPSIS. Fixed markup nits.
* Clean up language and markup.ru2004-05-192-61/+66
|
* Language and markup polishing.ru2004-05-191-11/+14
|
* Bumped the document date.ru2004-05-192-2/+2
|
* Bumped the document date.ru2004-05-191-2/+2
| | | | Fixed the grammar nit.
* Bumped document date.ru2004-05-191-2/+2
| | | | Fixed markup nit.
* Bumped document date.ru2004-05-191-2/+2
| | | | Fixed the grammar nit.
* Markup nits.ru2004-05-191-7/+7
|
* Bumped document date.ru2004-05-191-6/+8
| | | | Dealt with hard sentence breaks and whitespace at EOL.
* Fixed document date.ru2004-05-191-1/+1
|
* Bumped document date.ru2004-05-191-16/+16
| | | | | Fixed a bunch of hyphen misspellings. Fixed one warning.
* Restore part of the word that got (accidentally) removed.ru2004-05-191-2/+2
| | | | Removed whitespace at EOL.
* Markup nits.ru2004-05-191-8/+5
|
* Bumped document date.ru2004-05-191-2/+3
| | | | Removed hard sentence break.
* Default is to restore timestamps, even when operating as root. <sigh>kientzle2004-05-191-1/+1
|
* Fix a segfault when looking up a non-existent group.kientzle2004-05-181-1/+1
|
* Bump document date on behalf of the -e option.ru2004-05-181-2/+2
| | | | Spell "ID" correctly.
* Bump document date on behalf of the -E option.ru2004-05-181-1/+1
|
* Added -u to the SYNOPSIS.ru2004-05-181-0/+1
|
* Bump document date on behalf of the -u option.ru2004-05-181-2/+2
|
* Bump document date on behalf of the -M option.ru2004-05-181-1/+1
|
* Build/install gprof on amd64 as well, after repocopying the MD bits.peter2004-05-182-1/+4
| | | | Not that it has anything to process yet, but that comes next.
* Accept (but ignore) GNU tar's -B option. bsdtar neverkientzle2004-05-181-2/+8
| | | | needs it, but it does no harm for people to specify it.
* Don't depend on NULL's expansion being a pointer, cast it before it is passedstefanf2004-05-181-1/+1
| | | | | | to variadic functions. Approved by: das (mentor)
* Set errno to 0 before calling getpwuid/getgrgid, so that errorkientzle2004-05-171-0/+2
| | | | messages will be displayed only when there is, in fact, an error.
* Speed up safe_fprintf by copying to a temp buffer, then writingkientzle2004-05-171-13/+32
| | | | blocks at a time, rather than using putc().
* Propagate struct bsdtar down into a lot more places.kientzle2004-05-176-138/+137
| | | | Move global progname variable into struct bsdtar.
* Refactor name caching to use a common piece of code for uname_cache andkientzle2004-05-172-88/+113
| | | | | gname_cache. Cache negative lookups to dramatically improve performance building archives containing nonexistent uid/gid.
* Make symlink protection a bit more useful:kientzle2004-05-173-4/+17
| | | | | | * Remove terminal symlinks so they can be replaced. * If -U, remove intermediate symlinks as well * Otherwise, refuse the extraction
* Update manpage to track new security features.kientzle2004-05-171-28/+125
|
* Remove spurious semicolons. Outside of functions they are actually errors butstefanf2004-05-161-1/+1
| | | | | | | | GCC doesn't warn about them without -pedantic. Approved by: das (mentor) PR: 56649 Reviewed by: md5
OpenPOWER on IntegriCloud