summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* bc: sync with OpenBSDpfg2015-11-224-13/+14
| | | | | | | | | | | | | | | | | | | tty.c Rev. 1.3 Avoid unintended problems with operator precedence when doing an assignment and comparison. bc.1, Rev. 1.31, 1.32 '.Ql Quit' -> '.Ql quit' because only the lowercase command is valid. Clarify sentence about `quit` in BUGS section. extern.h, Rev. 1.12 whitespace bc.y, Rev. 1.47 Prefer setvbuf() to setlinebuf() for portability Obtained from: OpenBSD MFC after: 2 weeks
* Add a missing brace to fix vmstat -s output.markj2015-11-211-1/+1
|
* Revert a modification that crept in and should notbapt2015-11-211-1/+1
|
* Synchronize m4(1) with OpenBSDbapt2015-11-216-45/+15
|
* colldef(1) does not need the libc's internal collate.h header anymorebapt2015-11-212-2/+3
|
* Reintegrate colldef(1) and mklocale(1)bapt2015-11-2014-0/+2485
| | | | | | | | | | | While those tools are not needed anymore they are necessary to build FreeBSD 9 and 10. it does not hurt to keep those tools around until both 9 and 10 branch become EOLed. Modify colldef(1) to build after the change in the collation header, and ensure it does produce the same collation definition it used to generate for 9 and 10 Reported by: Oliver Pinter
* Don't truncate an interface name when -W option is specified.ume2015-11-201-1/+5
| | | | | Spotted by: Jim Thompson <jim__at__netgate.com> MFC after: 1 week
* Avoid core dump when output style is html.ume2015-11-201-10/+8
|
* install: do not follow symlinksbapt2015-11-201-11/+5
| | | | | | | | | | | | In case the target of install is a dead symlink, install(1) used to not consider it as "existing" because of the usage of stat(2) instead of lstat(2). meaning the old file (the symlink) is not removed before the new file is created. The symlink is being followed and the new file becoming the target of the symlink instead of the target of install(1) Reviewed by: jhb, brooks MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D4191
* Convert vmstat to use libxo.rodrigc2015-11-203-193/+339
| | | | | | | | | | | This patch was based on this patch: https://github.com/Juniper/libxo/blob/master/patches/vmstat.patch by Phil Shafer at Juniper Networks, but updated to the latest vmstat code. Reviewed by: allanjude Differential Revision: https://reviews.freebsd.org/D3935
* Use print as a function for Python 3 [PEP 3105]rodrigc2015-11-191-1/+1
| | | | | | | | Import print_function from the __future__ module to activate this for Python 2. This works as far back as Python 2.6.0a2: https://docs.python.org/2/library/__future__.html [PEP 3105] https://www.python.org/dev/peps/pep-3105/
* Remove unneeded libmd from bootstrap-tools (reverting r246784).bdrewery2015-11-181-2/+0
| | | | | | | | | | | | | | | | The bootstrap-tools are supposed to be host tools, which in most cases, use host headers and libraries. As such, directly including the src tree's headers for libmd here causes the need to link libmd in since it will be built with the new symbols (which /usr/lib/libmd.so) won't have unless it is new enough. During the target build in buildworld the target headers are staged into WORLDTMP and used via --sysroot, allowing the target xinstall to be built with the new/target libmd. The .PATH here was also not doing anything since xinstall does not use libmd source files. Sponsored by: EMC / Isilon Storage Division MFC after: 2 weeks
* JSON doesn't permit a hexadecimal notation of an integer.ume2015-11-171-1/+1
|
* Rename META_MODE option to DIRDEPS_BUILDsjg2015-11-141-1/+1
| | | | | | | | | This allows META_FILES option to be renamed META_MODE. Also add META_COOKIE_TOUCH for use in targets that can benefit from a cookie when in meta mode. Differential Revision: https://reviews.freebsd.org/D4153 Reviewed by: bdrewery
* There is no more point in indexing /var/db/freebsd-update than there is indes2015-11-132-2/+2
| | | | | | indexing /var/db/portsnap, which was already in PRUNEPATHS. MFC after: 1 week
* Add some basic tests that exercise cputime limits with limits(1)ngie2015-11-093-0/+76
| | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* lower again the warnings and remove the pragmas unsupported by gcc 4.2.1bapt2015-11-084-16/+1
|
* Eliminate some gcc pragmasbapt2015-11-082-17/+7
|
* Fix build of localedef(1) on arm where wchar_t is an unsigned intbapt2015-11-073-5/+5
|
* Rewrite the histoty partbapt2015-11-071-8/+13
| | | | | | | Fix information about "Dragonfly-style" format which on freebsd is named BSD-style Noted by: bdrewery
* Improve localedef(1) manpagebapt2015-11-071-89/+113
| | | | Obtained from: DragonflyBSD
* Bump warning levelbapt2015-11-071-1/+1
|
* Use const where needed instead of using pragmas to work around the warningsbapt2015-11-072-11/+6
|
* Make bsd declaration staticbapt2015-11-071-1/+1
|
* Fix an off by one due to bad conversion from avl(3) to tree(3)bapt2015-11-071-3/+2
| | | | | | | Readd calloc as it was not the issue just the messenger Submitted by: dim Found by: Address Sanitizer
* Run memset only after having checked the return of mallocbapt2015-11-071-1/+1
| | | | Submitted by: pluknet
* Workaround an issue on i386 to unbreak the build until the real issue is trackedbapt2015-11-071-1/+2
| | | | down
* Fix build on arm64bapt2015-11-071-1/+1
|
* Add missing headerbapt2015-11-071-0/+1
|
* Fix typobapt2015-11-071-1/+2
|
* Merge from head r290483bapt2015-11-0711-82/+122
|\
| * Improve soelim(1) manpagesbapt2015-11-071-14/+19
| | | | | | | | Submitted by: Sascha Wildner <saw@online.de>
| * Do not truncate addresses when printing in encoded format.ume2015-11-061-10/+11
| |
| * - Fix alignment for padding link address.ume2015-11-061-2/+2
| | | | | | | | - Trim whitespace of link address.
| * Fix compiling netstat after r290367 by substituting sys/types.h forngie2015-11-061-1/+1
| | | | | | | | | | | | | | sys/param.h, as sys/param.h defines the MAX(..) macro Reported by: O. Hartmann <ohartman@zedat.fu-berlin.de> Pointyhat to: ume
| * Add SUBDIR_PARALLEL.bdrewery2015-11-061-0/+1
| | | | | | | | | | | | | | None of these libraries depend on each other. Submitted by: Jia-Shiun Li <jiashiun@gmail.com> MFC after: 2 weeks
| * Make rctl(8) use more reasonable buffer size for retrieving the rules.trasz2015-11-051-1/+1
| | | | | | | | | | | | Reviewed by: mjg@ MFC after: 1 month Sponsored by: The FreeBSD Foundation
| * Fix markup in rctl(8) - the 'rule' or 'filter' arguments are not optional.trasz2015-11-051-5/+5
| | | | | | | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
| * Give enough room for addresses when -W option is specified.ume2015-11-051-11/+25
| |
| * Fix alignment of `Drop' header.ume2015-11-051-1/+1
| |
| * Use returned network name from getnetbyaddr() correctly.ume2015-11-051-6/+5
| |
| * Revert previous workaround. This problem was fixedume2015-11-051-4/+0
| | | | | | | | by r290318.
| * Since sa->sa_len doesn't match sizeof(struct sockaddr_dl),ume2015-11-041-0/+4
| | | | | | | | | | getnameinfo() fails against sockaddr_dl. This commit is workaround for this problem.
| * Fix alignment of AF_LINK address.ume2015-11-041-2/+1
| |
| * Simplify r290367 using asterisk for a field widthume2015-11-041-8/+3
| | | | | | | | and precision.
| * Unify AF_INET case and AF_INET6 case.ume2015-11-041-15/+1
| |
| * Change to not truncate an interface name when -W optionume2015-11-041-11/+24
| | | | | | | | is specified.
| * Mask an IPv6 network address.ume2015-11-041-1/+8
| |
| * Restore an interface name field to left align.ume2015-11-041-2/+2
| |
| * Rename libohash to libopenbsd.rodrigc2015-11-044-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | libopenbsd is an internal library which to bring in compatibility stuff from OpenBSD. This will allow us to bring in more OpenBSD utilities into the FreeBSD base system. We similarly use libnetbsd for bringing in stuff from NetBSD. Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D4078
OpenPOWER on IntegriCloud