summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* bsdtar 2.2.3:kientzle2007-05-296-20/+39
| | | | | | | | | * Implement --use-compress-program using new libarchive feature. * Minor portability improvement by adjusting casts used to print out uids, gids, and device numbers. Thanks to: Joerg Sonnenberger for the --use-compress-program implementation. MFC after: 15 days
* Add a '-k' flag which is similar with its bzip2(1) counterpart,delphij2007-05-282-4/+15
| | | | | | | | meaning that the user wants the input file to be left intact. Feature request: Ighighi <ighighi gmail.com> PR: bin/103006 MFC after: 1 month
* Update for the 4.21 import (manuals didn't change).ru2007-05-252-2/+2
|
* FreeBSD has <limits.h>.obrien2007-05-241-0/+3
|
* Update for the 'file' 4.21 import.obrien2007-05-241-1/+1
|
* Fix handling of filenames containing whitespace.le2007-05-241-3/+3
| | | | | PR: bin/112860 MFC in: 3 days
* Update for the 'file' 4.19 import.obrien2007-05-241-1/+10
|
* Don't want a stray systrace_args.c in objdir.ru2007-05-222-2/+6
|
* Increase precision of time values in the process accountingdds2007-05-223-67/+260
| | | | | structure, while maintaining backward compatibility with legacy file and record formats.
* Remove duplicate ' 2' manpage section number.keramida2007-05-211-1/+1
| | | | | Submitted by: Rui Paulo MFC after: 3 days
* Mention the formats supported by bsdtar; include ankientzle2007-05-201-0/+6
| | | | example that shows how to work with an ISO 9660 image.
* Fix typo.jmallett2007-05-171-1/+1
|
* o) Correct for missing whitespace.jmallett2007-05-171-4/+4
| | | | | o) We don't need to check if ifp == stdin to give the filename, since we already know that ifn will be "stdin" if it is.
* Fix confusing misindentation of a closing-brace. (It goes with the switch, notjmallett2007-05-171-1/+1
| | | | with the while.)
* Backout revisions 1.16-1.14.dds2007-05-142-59/+7
| | | | | | Backwards compatibility with the new acct(5) format will be implemented through the explicit versioning of acct records, not through an export/import procedure.
* 'netstat -A -p tcp' doesn't print the Socket but the Tcpcb pointer in theandre2007-05-131-1/+1
| | | | first column.
* Replace rev. 1.9 with patch from OpenBSD.pav2007-05-121-3/+3
| | | | | | Submitted by: Ray Lai <ray@cyth.net> Obtained from: http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/tip/acu.c.diff?r1=1.13&r2=1.14 MFC after: 1 week
* Fix crash when using 'du' capability: NULL return of strpbrk was not handledpav2007-05-121-2/+2
| | | | | | | PR: bin/108368 Reported by: Ivo Hazmuk <ivo@vutbr.cz> Submitted by: rdivacky MFC after: 2 weeks
* Expand documentation of -f optionpav2007-05-121-1/+8
| | | | | | PR: docs/66265 Submitted by: Michel Lavondes <fox@vader.aacc.cc.md.us> MFC after: 1 week
* Set the program return value non-zero if we enounterkientzle2007-05-081-0/+1
| | | | | | | | an error while skipping the body of an entry during "tar -t" processing. Thanks to: Spencer Minear PR: misc/112521
* Cast to intmax_t to print tv_sec in struct timeval.dwmalone2007-05-072-16/+19
| | | | | Avoid shadowing a global variable with a function argument. Set WARNS to 6.
* Use [u]intmax_t to printf unknown integer types.dwmalone2007-05-071-36/+31
| | | | | Make timeprt always allocate memory, to make things a little simpler. Remove an unused variable.
* Make logmsg take const char * arguments.dwmalone2007-05-072-3/+5
| | | | Set WARNS to 6.
* ANSIfy function definitions.dwmalone2007-05-076-41/+22
| | | | | Move some extern declarations to a header file. Remove an unneeded extern declaration for optarg.
* Fix some warnings by making things const, adding missing headers,dwmalone2007-05-073-5/+6
| | | | | | removing some unused variables and making a variable unsigned. MFC after: 3 weeks
* Initialise variable size so that reading stdin works deterministically.dwmalone2007-05-032-2/+5
| | | | | | Add missing include. Default to WARNS=6.
* Add myselfbenjsc2007-05-031-0/+1
| | | | Approved by: mlaier (mentor)
* If lstat(2) fails, have bsdtar return a non-zero exit code if thecperciva2007-05-031-0/+10
| | | | | | | | | | | | | failed path is one which was specified on the command line. This is a compromise between the situation prior to revision 1.57 (where a race between tar(1) and rm(1) could cause tar(1) to spuriously report an error) and the situation after revision 1.57 (where "tar -c /no/such/path" prints a warning but returns with an exit code of zero). Inspired by: rafan MFC after: 1 week
* Back out all POSIXified *env() changes.ache2007-05-015-13/+12
| | | | | | | | | Not because I admit they are technically wrong and not because of bug reports (I receive nothing). But because I surprisingly meets so strong opposition and resistance so lost any desire to continue that. Anyone who interested in POSIX can dig out what changes and how through cvs diffs.
* limits calls setenv("name=value", "value", 1); which violates POSIX:ache2007-04-301-2/+2
| | | | | | | "The setenv( ) function shall fail if: [EINVAL] The name argument is a null pointer, points to an empty string, or points to a string containing an '=' character." The fix (like all others in this subject) is backward-compatible.
* env calls setenv("name=value", "value", 1); which violates POSIX:ache2007-04-301-3/+3
| | | | | | | "The setenv( ) function shall fail if: [EINVAL] The name argument is a null pointer, points to an empty string, or points to a string containing an '=' character." The fix (like all others in this subject) is backward-compatible.
* Slightly tune previous fix: free memory if !exportache2007-04-301-2/+2
|
* Prepare for upcoming POSIXed putenv() rewrite:ache2007-04-301-2/+3
| | | | don't free memory after putenv()
* Prepare for upcoming POSIXed putenv() rewrite:ache2007-04-301-1/+1
| | | | don't free memory after putenv()
* o Fill the list of icmp types; make its size depend on ICMP_MAXTYPE.maxim2007-04-301-20/+50
| | | | | | | | | | o Print "unknown ICMP" instead of "(null)" if we don't have a description for a icmp type. Based on code Submitted by: Christoph Weber-Fahr PR: misc/112126 MFC after: 2 weeks
* Eliminate error with -W* strict flags and make putenv() calls conforming toache2007-04-301-3/+3
| | | | standard and portable in the same way as f.e. gcc internal portable code does.
* Change the date for Daylight Savings in the US.dwmalone2007-04-291-2/+2
| | | | | | PR: 111102 Submitted by: Sean Farley <sean-freebsd@farley.org> Obtained from: OpenBSD
* Add some more examples. It always takes me a long time to find the Sbrian2007-04-271-2/+27
| | | | | | modifier (-t is ignored without it). MFC after: 1 week
* - Added entry for Marcelo S. Araujo.araujo2007-04-271-0/+1
| | | | Approved by: itetcu (comentor)
* add myself.nemoliu2007-04-251-0/+1
| | | | Approved by: delphij (mentor)
* Insert explicit space between the output fields to prevent themyar2007-04-231-3/+3
| | | | | | from running together when a field overflows. MFC after: 1 week
* Don't forget to bump document date after changing the content.yar2007-04-211-1/+1
|
* Change the semantics of -i (in-place editing) so that it treatsyar2007-04-214-11/+83
| | | | | | | | | | | | | | | | | each file independently from other files. The new semantics are desired in the most of practical cases, e.g.: delete lines 5-9 from each file. Keep the previous semantics of -i under a new option, -I, which uses a single continuous address space covering all files to edit in-place -- they are too cool to just drop them. Add regression tests for -i and -I. Approved by: dds Compared with: GNU sed Discussed on: -hackers MFC after: 2 weeks
* Improve logging when -dm is specified: if the node is consideredfjoe2007-04-203-8/+7
| | | | | out-of-date print not only "modified before source" message but also the path of youngest source.
* When remaking makefiles check that mtime has actually changed.fjoe2007-04-201-3/+14
| | | | | | | | | | | | | | | | | This fixes infinite restart in the following case: Makefile: foo foo: bar do-something Unlike GNU make, BSD make considers "Makefile" node as remade even if "foo" is up-to-date and was not actually rebuilt. GNU make does not consider nodes without commands as remade if child nodes were not actually rebuilt. Most probably, more proper fix would be to bring BSD make behaviour in-line with GNU make but this would be more intrusive change.
* Change the export option from -w (write) to -X.dds2007-04-182-15/+15
| | | | | | | While implementing import it became apparent that write as a mnemonic is ambiguous and confusing. MFC after: 8 days
* Complain on write errors.dds2007-04-181-2/+6
| | | | | | Use correct type for write_text. MFC after: 8 days
* Add export capability through the new -w flag.dds2007-04-182-7/+57
| | | | | Discussed in: -arch MFC after: 8 days
* Ignore trailing '/' when comparing pathnames, so thatkientzle2007-04-181-3/+26
| | | | | "tar -u" works again. Otherwise, "tar -u" wants to treat every dir as new and re-adds it.
* When testing basic functionality, strip trailing '/' fromkientzle2007-04-181-3/+3
| | | | dir names, so they match the names generated by 'find'.
OpenPOWER on IntegriCloud