summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Retire most of the classful network behaviour of netstat -r output, for IPv4.bms2007-02-141-52/+9
| | | | | | | | | | | | | | | | Without -n, we now only print a "network name" without the prefix length under the following conditions: 1) the network address and mask matches a classful network prefix; 2) getnetbyaddr(3) returns a network name for this network address. With -n, we unconditionally print the full unabbreviated CIDR network prefix in the form "a.b.c.d/p". 0.0.0.0/0 is still printed as "default". This change is in preparation for changes such as equal-cost multipath, and to more generally assist operational deployment of FreeBSD as a modern IPv4 router. There are currently no plans to backport this change. Discussed on: freebsd-net
* Correctly handle writes beyond the end of the archive entrykientzle2007-02-141-1/+9
| | | | | | | (as determined by the initial size given to the header). Libarchive recently changed to correctly return the amount of data actually consumed in this case, which revealed this bug in bsdtar.
* Allow the -c -f file options to actually execute.mpp2007-02-131-1/+1
|
* Fix some spelling / markup / grammar.mpp2007-02-111-5/+5
| | | | Pointed out by: ru
* Add two new options to quota:mpp2007-02-112-24/+94
| | | | | | | | | -f path Only print quota information for the file system that path resides on. -r Display the quota information in a raw format. Reviewed by: freebsd-hackers
* Do not install zgrep, or links to zgrep, since zgrep is provided bysimon2007-02-103-228/+4
| | | | | | src/gnu/usr.bin/grep. Reviewed by: delphij
* Update -r handling:kientzle2007-02-081-12/+40
| | | | | | | * Create file if it doesn't exist. * If archive is "empty", then append to it with pax restricted * If user specified a format, use that if it's compatible with the existing format.
* getopt(3) returns -1, not EOF.kevlo2007-02-061-1/+1
|
* getopt(3) returns -1, not EOF when out of args.kevlo2007-02-052-2/+2
|
* cleanup code: remove superfluous comma at end of enumerationrse2007-02-041-2/+2
| | | | | declaration, remove useless "break" after exit(3) call, and add a missing va_end(3) call.
* cleanup code: remove unnecessary and useless void castrse2007-02-041-1/+1
| | | | from void-function skip_string().
* Correct parser by using intended C equality ("==") instead ofrse2007-02-041-1/+1
| | | | assignment ("=") operator.
* fix bug: avoid dereferencing content of an already free(3)'ed chunkrse2007-02-041-1/+3
|
* If a user is over both the soft block limit and soft i-nodempp2007-02-041-13/+29
| | | | | | | | | | | | limit, quota will report one of the grace times incorrectly. This is due to it storing the result in a static buffer, and the routine being called like: printf("....", ..., timeprnt(btime), timeprnt(itime), ...) The problem becomes very obvious if you change one of the default grace periods to be much larger than the other one. Changed timeprnt to dynamically allocate the string to be displayed.
* If two files systems, /a and /b are marked as having quotas enabledmpp2007-02-041-7/+21
| | | | | | | | | | | | | in fstab and they are normally mounted as /a/b, if /b is not mounted, the various quota utilities will incorrectly operate with the quotas on /a (silently) when operations are attemted on /b. Sync up all the hasquota() routines between all the different quota utilities and change it to detect if the file system we are attempting to perform quota operations on is not currently mounted and warn the user accordingly. PR: bin/38918
* Make quota exit with a non-zero status if one more more filempp2007-02-011-30/+37
| | | | | | systems are over quota, as documented in the man page. PR: bin/77918
* Fix typo.delphij2007-01-311-1/+1
| | | | Obtained from: DragonFly
* Replace the GNU gzip with a slightly modified NetBSD gzip. Thedelphij2007-01-2618-0/+3989
| | | | | | | | | | | | | | | | | | | | | NetBSD version is a feature-to-feature re-implementation of GNU gzip using the freely-redistributable zlib and this version is expected to be mostly bug-to-bug compatible with the GNU implementation. - Because this is a piece of mature code and we want to make changes so it is added directly rather than importing to src/contrib. - Connect newly added code to src/usr.bin/ and rescue/rescue build. - Disconnect the GNU gzip code from build for now, they will be eventually removed completely. - Provide two new src.conf(5) knobs, WITHOUT_BZIP2_SUPPORT and WITHOUT_BZIP2. Tested by: kris (full exp-7 pointyhat build) Approved by: core (importing a 4-clause BSD licensed file) Approved by: re (adding new utility during -HEAD code slush)
* Bah. Kris says the default-to-a.out knowledge has migrated into thepeter2007-01-252-0/+33
| | | | | | | | official gnu configure scripts and a couple of other places. Add an example noisy, loud and annoying placeholder for /usr/bin/objformat if it turns out to too much trouble to be gone. It is not connected to the build yet.
* Retire objformat(1) as threatened in 2002.peter2007-01-254-107/+0
| | | | Laughed-at-by: kris
* Add "server mode" to rfcomm_sppd(1).emax2007-01-252-40/+153
| | | | | Submitted by: Dave Eckhardt, bms Tested by: Dave Eckhardt, Eric Anderson, bms
* Update birth entry for Warren Zevon with his birthplace, and add andougb2007-01-241-1/+2
| | | | entry for his death. Both per Wikipedia.
* o Remove duplicate includes.maxim2007-01-201-1/+0
| | | | Obtained from: Slava Semushin via NetBSD
* Make DK-HOSTMASTER show contact info for .dk domains.phk2007-01-191-0/+2
| | | | Submitted by: Søren Hansen <shan@soeren-hansen.dk>
* Fix definitions of kilobits etc.ru2007-01-181-21/+25
| | | | | | PR: bin/106116 Nudged by: Rostislav Krasny MFC after: 3 days
* Document that uniq(1) limits input line length to LINE_MAX characters.keramida2007-01-151-0/+4
| | | | | | PR: docs/107578 Submitted by: Jan Schaumann, jschauma.at.netmeister.org MFC after: 3 days
* Tidy up formatting and some wording.ru2007-01-152-43/+65
|
* Updated calendar.judaic from Josef Grosch. I converted some tabs to spacesdwmalone2007-01-141-206/+212
| | | | before committing this.
* Fix build on architectures where off_t is signed by casting to uintmax_tbrooks2007-01-111-1/+1
| | | | before comparing with a size_t.
* Fix head -c ### where ### is greater than 2^31. Unlike the submittedbrooks2007-01-112-4/+8
| | | | | | | | | | patch this uses off_t. WARNSify and add $FreeBSD$ to Makefile. PR: bin/107824 Submitted by: Brian Cornell <briancornell at earthlink dot net> MFC after: 3 days
* Add various utrace's for use with ktrace to the ELF runtime linker. Tojhb2007-01-091-0/+107
| | | | | | | | activate the traces, set the LD_UTRACE (or LD_32_UTRACE) environment variable. This also includes code in kdump(8) to parse the traces. Reviewed by: kan, jdp MFC after: 2 weeks
* Update for japanese holidays.bland2007-01-091-2/+2
| | | | PR: 107703
* Correct the copyright messages: Make this a standard vanillakientzle2007-01-0911-34/+21
| | | | 2-clause BSD license, update the year to 2007.
* Add code to parse the utrace(2) entries generated by malloc(3) in a morejhb2007-01-051-1/+30
| | | | | | | | human-readable format. Note that we report 'realloc(p, 0)' as 'free(p)' since both cases are encoded the same way and 'free()' is more common than a realloc() to 0. MFC after: 1 week
* If append_archive fails while writing an archive header, output the errorcperciva2007-01-051-1/+1
| | | | | | | message from the archive being written (not the message from the archive being read, where no error has occurred). MFC after: 3 days
* Add sockipprotoname() function. Decode the third parameter (protocol)rodrigc2007-01-043-1/+14
| | | | | | | | | | | of a socket() call with sockipprotoname() if the first parameter (domain) is PF_INET or PF_INET6. Old parsing behavior before this change: ping6 CALL socket(PF_INET6,SOCK_RAW,0x3a) New behavior after this change: ping6 CALL socket(PF_INET6,SOCK_RAW,IPPROTO_ICMPV6)
* Generate sockdomainname() function with auto_if_type() insteadrodrigc2007-01-041-1/+1
| | | | | | | | | | | of auto_or_type. The old parsing code would incorrectly decode a socket() call in the ping6 program as: CALL socket(PF_PUP|PF_ECMA|PF_APPLETALK|PF_COIP|PF_SIP,SOCK_DGRAM,0) The new parsing code decodes the same socket() call as: CALL socket(PF_INET6,SOCK_DGRAM,0)
* Add auto_if_type() function, which is similar to auto_switch_type().rodrigc2007-01-041-0/+30
| | | | | | | | However, auto_if_type() uses if/else statements in C instead of a single switch statement, when mapping an integer value to a #define. For certain cases where multiple #define constants alias to a single integer value, auto_if_type() makes things easier to parse than auto_switch_type().
* Clean up the struct archive used for reading an archive in the handlingcperciva2007-01-021-0/+1
| | | | | | | of @archive commands. This bug should be harmless as long as you don't use an excessive number of @archive commands. MFC after: 1 week
* Handle errors which occur during archive_write_data and archive_write_closecperciva2007-01-021-5/+11
| | | | | | by printing an error message and exiting with a non-zero status code. MFC after: 1 week
* o Grammar: is appears -> appears.maxim2006-12-311-1/+1
| | | | | | PR: docs/107306 Submitted by: Tomas Mozes MFC after: 1 week
* Fix a group of typos:yar2006-12-292-2/+2
| | | | | | | | preceed -> precede, preceeded -> preceded, preceeding -> preceding. Submitted by: Andre Guibert de Bruet <andy@siliconlandmark.com>
* Fix SUSv3 compliance: Use a single comma instead of comma and space to separatestefanf2006-12-291-1/+1
| | | | | | | additional group entries. PR: 107298 Submitted by: Joost Bekkers
* Fix tab lossage.ru2006-12-291-1/+1
|
* Remove extraneous whitespace.ru2006-12-294-7/+7
|
* The Christmas holidays were not showing up due to missing <tab>.ru2006-12-291-3/+3
|
* Fix markup nit.ru2006-12-281-1/+3
|
* Fix markup.ru2006-12-281-4/+4
|
* - Remove the ambiguity in the input format description.ru2006-12-271-6/+7
| | | | - Fix markup while here.
* Simplify.ru2006-12-261-1/+1
|
OpenPOWER on IntegriCloud