summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* If a file is specifically both included and excluded, then:kientzle2010-04-111-25/+26
| | | | | | | | | | | | | | | * It is not extracted (because it is excluded) * If it's not present in the archive, then an error is reported (because the file was requested and not found) * If it is present in the archive, no error is reported. Previously, this would always report an error because the exclusion prevented the entry from matching the inclusion. Also, tar is now more reluctant to report unmatched inclusions. Previously, "tar x file1 'file*'" against an archive that contained a single entry "file1" would match file1 and then report an error for the second pattern because it wasn't matched. It now considers both inclusions to be matched and reports no error.
* Diff reduction against bsdtar 2.8.3kientzle2010-04-111-11/+25
|
* Diff reduction against bsdtar 2.8.3kientzle2010-04-111-1/+2
|
* Fix -X.kientzle2010-04-111-1/+1
|
* Consistently specify O_BINARY when opening files.kientzle2010-04-111-5/+9
|
* Remove an unnecessary include and conditionalize some code.kientzle2010-04-112-1/+6
|
* Correct the markup for the -s option,kientzle2010-04-111-7/+30
| | | | document the iso9660:rockridge and mtree:indent options
* Rename the ALIGN macro to LINT_ALIGN so it does not clash with machine/param.hrdivacky2010-04-093-7/+7
| | | | | | | | | Bump the alignment to 16bytes because lint1 memory allocator is used for objects that require 16bytes alignment on amd64 (ie. val_t). This makes lint1 work when compiled with compiler(s) that use SSE for memcpy on amd64. (e.g. clang). Approved by: ed (mentor)
* Diff reduction against NetBSD and add myself to AUTHORS section of thedelphij2010-04-073-13/+14
| | | | | manual page as I wrote the unpack functionality. No actual executable code change verified with md5(1).
* Remove yet another vestage of alpha support.imp2010-04-061-2/+0
|
* Change how getent utmpx works.ed2010-04-021-6/+8
| | | | | - Always require active, log or lastlogin to be provided. - Allow the user to provide custom filenames.
* - Add my birthday to the calendardecke2010-04-011-0/+1
| | | | Approved by: miwi (mentor), beat (co-mentor)
* Make -r mean exactly the same thing as -E for increased compatibilityimp2010-03-312-3/+8
| | | | | | with GNU sed. MFC after: 7 days
* indent(1): add a new option, -ta, to treat all *_t identifiers as typesavg2010-03-314-0/+19
| | | | | | Submitted by: Hans Petter Selasky Discussed with: bde MFC after: 10 days
* indent(1): correctly handle case/label at the very start of a functionavg2010-03-311-1/+1
| | | | | Obtained from: NetBSD (rev. 1.11 of indent.c) MFC after: 1 week
* For where possible, make the dates of the Tasmanian holidays properlyedwin2010-03-301-8/+22
| | | | | variable. The leftover ones are the Thursday before the Fourth Saturday of October (Oct/SatFourth-2) which is not possible yet.
* o Make sockstat -6 output more readable for long ipv6maxim2010-03-301-0/+2
| | | | | | | | | addresses (most of them apart from ::1): put a whitespace between local and remote address:port pairs. PR: bin/145194 Submitted by: Fedor Dikarev MFC after: 2 weeks
* On request of joel@:edwin2010-03-3012-36/+8
| | | | | | - Remove the 3rd clause of the UC Berkeley copyrighted files. - For the files added copyrighted by me, move the "All rights reserved" to the next line.
* Update the Australian calendar WRT DST.edwin2010-03-291-28/+28
| | | | Layout changes.
* calendar.freebsd: add my entryavg2010-03-291-0/+1
| | | | MFC after: 4 days
* Add myself.trasz2010-03-291-0/+1
| | | | MFC after: 2 weeks
* size_t is not equivalent to int on 64-bit platforms.des2010-03-291-4/+4
| | | | Pointy hat to: edwin@
* Use new syntax for the dutch calendar: Use local month names insteadedwin2010-03-291-45/+45
| | | | of english ones.
* Bump WARNS to 7edwin2010-03-291-1/+1
|
* Long awaited update to the calendar system:edwin2010-03-2915-792/+2928
| | | | | | | | | | | | - Repeating events which span multiple years (because of -A, -B or just the three days before the end of the year). - Support for lunar events (full moon, new moon) and solar events (equinox and solstice, chinese new year). Because of this, the options -U (UTC offset) and -l (longitude) are available to compensate if reality doesn't match the calculated values. MFC after: 1 month
* Change all our own code to use st_*tim instead of st_*timespec.ed2010-03-285-27/+27
| | | | Also remove some local patches to diff(1) which are now unneeded.
* Remove GNU cpio after fix of CVE-2010-0624.delphij2010-03-261-2/+0
| | | | | | | | | | | | | Note that this is actually a no-op for most users, as this GNU cpio was broken on -HEAD and 8-STABLE since last March until the recent fix. FreeBSD 8.0+ uses BSD cpio by default and the code is being actively maintained. Blessed by: kientzle With hat: secteam MFC after: 3 days
* Enable mmap for minigzip(1).delphij2010-03-221-3/+6
|
* Replace -b with -C and -B (as proposed by Alexander).edwin2010-03-212-9/+23
| | | | | Add -3, -A and -B to the usage. Update regression test for the new parameters.
* Fix command example, presumed leftovers of old markup.gavin2010-03-201-2/+2
| | | | MFC after: 1 week
* Better way to find out available file system types is to use lsvfs(1).pjd2010-03-161-6/+4
| | | | | | | | Using 'sysctl vfs' is not only ugly, but is also not reliable - not all file system types create entries in vfs sysctl tree. Reviewed by: imp MFC after: 1 week
* Update to upstream version 2.3fanf2010-03-123-41/+91
| | | | | | | | Add -V (display version) and -S (list controlling symbols per #if with nesting information) options, and improve unifdefall debug output. Done committing 0 revisions to SVN Obtained from: http://dotat.at/prog/unifdef
* Now fix functionality of 'netstat -f netgraph' that hasn't workedglebius2010-03-121-3/+3
| | | | | | | | | | | | starting from netgraph import in 1999. netstat(8) used pointer to node as node address, oops. That didn't work, we need the node ID in brackets to successfully address a node. We can't look into ng_node, due to inability to include netgraph/netgraph.h in userland code. So let the node make a hint for a userland, storing the node ID in its private data. MFC after: 2 weeks
* Fix several typos in macros or macro misusage.uqs2010-03-121-1/+1
| | | | | | Found by: make manlint Reviewed by: ru Approved by: philip (mentor)
* - With the introduction of -A, -B and -3, not all combinations ofedwin2010-03-122-86/+188
| | | | | | | | | arguments makes sense anymore. For example, what would a combination of -3 (show three months) and -y (show the whole year) do? We will abort on these cases. - Move the debug option -d to -H (from highlight), while -d is now used for setting the day of "today" so that -y and friends can be tested.
* The number after the command is *not* optional.joerg2010-03-111-1/+1
| | | | MFC after: 1 day
* Improve the change made in the previous commit.ed2010-03-111-2/+1
| | | | | doshell() never returns, so there is no need to see whether we are the parent process.
* Make script(1) a little less broken.ed2010-03-111-0/+2
| | | | | | | | | Close the file descriptor to the TTY. There is no reason why the parent process should keep track of the descriptor. This ensures that the application inside properly drains the TTY during exit(2). Reported by: alfred MFC after: 2 weeks
* Fix copyright spelling.imp2010-03-1014-15/+15
| | | | | PR: 139825 Submitted by: Ruslan Mahmatkhanov
* Add SIZE_MAX overflow checkache2010-03-091-0/+2
|
* Add SIZE_MAX overflow checkache2010-03-091-0/+2
|
* - Fix the highlighting for non-terminals when the last week is notedwin2010-03-092-10/+22
| | | | | 7 days long. - "-m <N> <YYYY>" now prints only the month, not the whole year.
* Rewrite input processing to not exit with error on the first EILSEQ foundache2010-03-081-108/+68
| | | | | | | | in the input data but fallback to "binary comparison" instead. POSIX says: "The input files shall be text files", nothing more, so the text file with illegal sequence is valid input. BTW, GNU sort does not fails on EILSEQ too.
* Add file forgotten in r204879.kib2010-03-081-0/+139
|
* Teach procstat(1) to display some information about signal dispositionkib2010-03-084-8/+84
| | | | | | | and pending/blocked status for signals. Reviewed by: rwatson MFC after: 2 weeks
* 1) Reimplement (differently) unlimited line length restricted in prev.ache2010-03-081-54/+65
| | | | | | commit. 2) Honor missing the very last \n (if absent) on output.
* Pass the correct size to memset().jh2010-03-081-1/+1
| | | | | | PR: bin/128094 Submitted by: Henning Petersen MFC after: 1 week
* - document the -3, -A and -B properly in Synopsis.edwin2010-03-072-59/+106
| | | | | | | | - add highlight of current date for non-terminals. - fix -J option. - code cleanup. MFC after: 2 weeks
* Remove vestiges of old %-format which prevents build on amd64ache2010-03-061-2/+2
|
* 1) Rewrite input processing to not exit with error on the first EILSEQ foundache2010-03-061-106/+68
| | | | | | | | | | | | | | in the input data but fallback to "binary equal" check instead. POSIX says: "The input file shall be a text file", nothing more, so the text file with illegal sequence is valid input. BTW, GNU sort does not fails on EILSEQ too. 2) Speedup input processing a bit in complex cases like skipping fields, chars or ignore case. 3) Enforce the implied LINE_MAX limit (from POSIX definition of "text file" and POSIX uniq(1) description).
OpenPOWER on IntegriCloud