summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade our copy of llvm/clang to 3.2 release.dim2012-12-231-4/+4
| | | | | | | | | | Release notes for llvm: http://llvm.org/releases/3.2/docs/ReleaseNotes.html Release notes for clang: http://llvm.org/releases/3.2/tools/clang/docs/ReleaseNotes.html MFC after: 2 weeks
* Make struct fstate aligned to the same as an int as its pointer is cast toandrew2012-12-221-1/+1
| | | | | an int pointer in args.c. This fixes an issue with ARM where the struct will be byte aligned but an int pointer must be 4 byte aligned.
* - Change the memory heuristics to an actually working onegabor2012-12-201-19/+15
| | | | | Submitted by: Oleg Moskalenko <oleg.moskalenko@citrix.com> Prodded by: kib
* Make bsdgrep behave as gnugrep and as documented: -m should only stopeadler2012-12-203-3/+4
| | | | | | | | | reading the specific file, not any file. Tested by: frogs (irc) Reviewed by: gabor Approved by: cperciva (implicit) MFC after: 1 week
* POSIX requires that non-existent or null arguments be treated as if aeadler2012-12-181-1/+1
| | | | | | | | | | | | | zero argument were supplied. Add a regression test to catch this case as well. PR: bin/174521 Submitted by: Daniel Shahaf <danielsh@elego.de> (pr) Submitted by: Mark Johnston <markjdb@gmail.com> (initial patch) Reviewed by: jilles Approved by: cperciva (implicit) MFC after: 3 weeks
* - Use unsigned int for values obtained with sysctlbyname(). This fixesgabor2012-12-172-4/+9
| | | | | | | sparc64 performance problems. Submitted by: Oleg Moskalenko <oleg.moskalenko@citrix.com> Tested by: trasz
* Use even more conventional conversion routines.grog2012-12-131-1/+1
| | | | Reported by: peterj@
* Reluctantly remove one of the most extraordinary numeric conversiongrog2012-12-131-7/+5
| | | | routines I have ever seen and replace with something far more boring.
* Give users a hint when their locate database is too small.eadler2012-12-101-1/+3
| | | | | | | Reviewed by: wblock, gcooper Reviewed by: "Lowell Gilbert" <lgfbsd@be-well.ilk.org> Approved by: cperciva (implicit) MFC after: 3 weeks
* Fix bandwidth reporting when doing a restarted download with "-r".andre2012-12-091-1/+1
| | | | | | | | | | The offset is already accounted for in xs->lastrcvd and doesn't have to be subtracted again. Reported by: Florian Smeets <flo@smeets.im> Submitted by: Mateusz Guzik <mjguzik@gmail.com> Tested by: Florian Smeets <flo@smeets.im> MFC after: 1 week
* A number of places in the source tree still reference cuad.* aftereadler2012-12-081-2/+2
| | | | | | | | | | | sio(4) was deprecated by uart(4). s/cuad/cuau/g/ PR: docs/171533 Reviewed by: imp Approved by: cperciva (implicit) MFC after: 3 weeks
* Add check for failure of mkstemp and setenv.eadler2012-12-081-2/+6
| | | | | | | Reviewed by: des Approved by: cperciva (implicit) Obtained from: DragonFlyBSD MFC after: 1 week
* time: Use close-on-exec instead of fclose() in the child process.jilles2012-12-081-3/+1
|
* Remove superfluous paragraph macro.joel2012-12-041-1/+0
|
* - Move EXAMPLES descriptions to before the actual commandbdrewery2012-12-041-12/+9
| | | | | | | | - Add mdoc macros for EXAMPLES Reviewed by: eadler Approved by: gjb MFC after: 3 days
* Note that the manual page of less(1) says:delphij2012-12-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Note that a preprocessor cannot output an empty file, since that is interpreted as meaning there is no replacement, and the origi- nal file is used. To avoid this, if LESSOPEN starts with two ver- tical bars, the exit status of the script becomes meaningful. If the exit status is zero, the output is considered to be replace- ment text, even if it empty. If the exit status is nonzero, any output is ignored and the original file is used. For compatibil- ity with previous versions of less, if LESSOPEN starts with only one vertical bar, the exit status of the preprocessor is ignored. Use two pipe symbols for zless, so that zless'ing a compressed empty file will give output rather than being interpreted as its compressed form, which is typically a binary. Thanks Mark Nudelman for pointing out this difference and the suggested solution. Reported by: Matthias Meyser <meyser xenet.de> PR: bin/168839 MFC after: 2 weeks
* Remove fictitious support for 80386-class CPUs from bsd.cpu.mk and make(1).jkim2012-12-031-1/+1
| | | | | | It was removed from head more than 8 years ago (see r137784 and r137785). Reviewed by: imp, delphij, dim
* Upgrade our copy of llvm/clang to r168974, from upstream's release_32dim2012-12-039-19/+54
| | | | | branch. This is effectively llvm/clang 3.2 RC2; the 3.2 release is coming soon.
* Document the "-m" option added by r243783.rmacklem2012-12-021-2/+8
| | | | | | | This is a content change. Reviewed by: alfred MFC after: 2 weeks
* Add a "-m" option to nfsstat, which dumps out thermacklem2012-12-021-2/+24
| | | | | | | | actual options used by all NFS mounts. Works for the new/default NFS client only. Reviewed by: alfred MFC after: 2 weeks
* Respect NO_FSCHG and don't set 'schg' flag on passwd/yppasswd is defined.pjd2012-11-271-0/+2
| | | | MFC after: 2 weeks
* The is_delim function works on wchar_t characters not ints, update theandrew2012-11-241-2/+2
| | | | | | function to take a wchar_t as it's argument. This fixes the build when wchar_t is not an int, i.e. ARM EABI.
* Add 'w' flag to:eadler2012-11-202-10/+35
| | | | | | | | | | | Use whitespace (spaces and tabs) as the delimiter. Consecutive spaces and tabs count as one single field separator. Reviewed by: swildner@dragonflybsd.org Approved by: cperciva Obtained from: DragonFlyBSD MFC after: 1 week
* Use .Nm instead of a self xrefeadler2012-11-191-4/+4
| | | | | Approved by: bcr (mentor) MFC after: 1 week
* Use the correct size when allocating the cmdbuf string.rpaulo2012-11-191-14/+15
| | | | | | | | | | | | cmdlengthdelta is the size of the header and we were using it to allocate a buffer to store the command line. This would mean that the cmdbuf could be too short. In practice this was never noticed unless you usually run top -a. On a stock FreeBSD system you can see the problem by running sendmail and then running top -a on a big terminal window. In practice this doubles to size available to cmdbuf since the header is around 65-68 bytes. Reviewed by: adrian
* Use the macro for standard error return values.eadler2012-11-181-4/+1
| | | | | | | | .Dd not bumped because there is no important content change. Approved by: bcr (mentor) MFC after: 3 days Obtained from: DragonflyBSD
* Make it clear that amin and friends take + and - options.eadler2012-11-181-7/+27
| | | | | | | PR: docs/173265 Submitted by: Anton Shterenlikht <mexas@bristol.ac.uk> Approved by: bcr (mentor) MFC after: 3 days
* Standardize EXIT STATUS instructions in man pages when possible.eadler2012-11-182-7/+3
| | | | | Approved by: bcr (mentor) MFC after: 3 days
* Sort options.grog2012-11-171-7/+18
| | | | | | Add comment on standards conformity. MFC after: 14 days
* Correctly handle keywords without options.grog2012-11-171-2/+2
| | | | | Reported by: swills@ MFC after: 14 days
* Fill sin6_scope_id in sockaddr_in6 before passing it from the kernel tohrs2012-11-171-0/+6
| | | | | | | | | | | | userland via routing socket or sysctl. This eliminates the following KAME-specific sin6_scope_id handling routine from each userland utility: sin6.sin6_scope_id = ntohs(*(u_int16_t *)&sin6.sin6_addr.s6_addr[2]); This behavior can be controlled by net.inet6.ip6.deembed_scopeid. This is set to 1 by default (sin6_scope_id will be filled in the kernel). Reviewed by: bz
* Fix whitespace.ed2012-11-172-7/+6
| | | | MFC after: 1 week
* Change fetch(1) to:andre2012-11-161-11/+25
| | | | | | | | | | | o Report the instantaneous bandwidth instead of an average since the beginning of the download. o At the finish of the download report the average bandwidth and also the total time it took instead of 00m00s. Reviewed by: des MFC after: 1 week
* Merge bmake-20121111sjg2012-11-163-4/+10
| | | | | | Also pay attention to MK_SHARED_TOOLCHAIN. Approved by: marcel (mentor)
* Avoid possible null deref if ypclnt_new returns nulleadler2012-11-151-2/+5
| | | | | | | PR: bin/172979 Submitted by: Erik Cederstrand <erik@cederstrand.dk> Approved by: cperciva MFC after: 3 days
* Add option to suppress just the plot in ministat while still retainingeadler2012-11-152-5/+13
| | | | | | | the relative comparison (i.e., useful part). Approved by: cperciva MFC after: 3 days
* Make definition match declarationeadler2012-11-151-1/+1
| | | | | Approved by: cperciva MFC after: 3 days
* - Implement run-time expansion of the KTR buffer via sysctl.jeff2012-11-151-2/+4
| | | | | | | | | | - Implement a function to ensure that all preempted threads have switched back out at least once. Use this to make sure there are no stale references to the old ktr_buf or the lock profiling buffers before updating them. Reviewed by: marius (sparc64 parts), attilio (earlier patch) Sponsored by: EMC / Isilon Storage Division
* For mkcsmapper, conditionalize gcc-specific compile flags.dim2012-11-141-2/+6
| | | | MFC after: 3 days
* Add examples to the ssh-copy-id script.eadler2012-11-131-0/+3
| | | | | Approved by: bcr (mentor) MFC after: 3 days
* Clarify where the authorized_key file lives.eadler2012-11-121-2/+2
| | | | | Approved by: bcr (mentor) MFC after: 3 days
* Correct date of Stanley's encounter with Livingstone.grog2012-11-111-1/+1
| | | | | Obtained from: Henry Morton Stanley, "How I met Livingstone", http://www.gutenberg.org/dirs/5/1/5/5157/5157-h/5157-h.htm MFC after: 14 days
* Add the standard exit status to the ssh-copy-id man page.eadler2012-11-111-1/+3
| | | | | Approved by: bcr (mentor) MFC after: 3 days
* Add the PID column to the list of sort keys.rpaulo2012-11-111-1/+1
|
* More style(9) tabs vs. spaces:grog2012-11-101-25/+25
| | | | | | | - tabs after #define - Not in comments. MFC after: 2 weeks
* Correct date and spelling of encounter between Stanley andgrog2012-11-101-1/+1
| | | | | | Livingstone. MFC after: 2 weeks
* Be a bit more paranoid.eadler2012-11-101-19/+23
| | | | | | | | | Use more portable constructs in order to allow upstream adoption Add per-file error messages Reviewed by: jilles Approved by: cperciva MFC after: 1 week
* Replace spaces by tabs where appropriate.grog2012-11-081-38/+38
| | | | Reminded by: jh@
* Make parameters to -c and -k options optional. If no parameters aregrog2012-11-082-13/+24
| | | | | | | | | supplied, print information for all keywords. Improve output of -c option, in particular in conjunction with -k option. MFC after: 14 days
* Belatedly add links from /usr/bin/clang to /usr/bin/CC, like it has beendim2012-11-071-0/+2
| | | | | | done for g++. MFC after: 3 days
OpenPOWER on IntegriCloud