summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Add my birthday to calendar.freebsddryice2006-12-261-0/+1
| | | | Approved by: itetcu (mentor)
* Say "utility", not "function".ru2006-12-261-1/+1
|
* Fix markup.ru2006-12-251-5/+9
|
* Markup nits.ru2006-12-241-2/+2
|
* Markup revision.ru2006-12-241-20/+20
|
* Document the -d option.ru2006-12-241-1/+5
|
* Fix markup.ru2006-12-241-22/+18
|
OpenPOWER on IntegriCloud