summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* - add myself to the calendar (jgh)jgh2012-01-011-0/+1
| | | | Approved by: crees (mentor)
* Spelling fixes for usr.bin/uqs2011-12-3049-90/+94
|
* Reencode files from latin1 to UTF-8.uqs2011-12-3013-13/+13
| | | | | | | This makes a tiny percentage of entries in calendars ugly for latin1 users, but fixes them for UTF-8 users. This badly needs a solution involving locale-dependent re-encoding.
* On FreeBSD just use the MD5 implementation of libmd rather than that ofmarius2011-12-245-7/+14
| | | | | libcrypto so we don't need to relinquish csup when world is built without OpenSSL.
* Whitespace cleanup:gjb2011-12-231-3/+3
| | | | | | | | | ar/ar.1: - Remove trailing whitespace Reported by: igor MFC after: 1 week X-MFC-With: r228823
* Formatting fixes:gjb2011-12-233-36/+36
| | | | | | | | | | | | | | | | hexdump/od.1: - Enclose tabbed content in quotes [1] ar/ar.1: - Enclose tabbed content in quotes [1] rctl/rctl.8: - Enclose tabbed content in quotes [1] - Start a sentence on a newline [2] Reported by: manlint [1], igor [2] MFC after: 1 week X-MFC-after: 9.0-RELEASE
* Use contrib sources for building libarchive, tar and cpio.mm2011-12-2284-20427/+48
| | | | | | Make "make test" fully operational. MFC after: 2 weeks
* - Remove a GCC-specific compiler flag that was added before to eliminategabor2011-12-211-2/+1
| | | | | | | | some warnings but at the moment does not seem to be necessary. Submitted by: arundel (via private mail) Tested by: arundel MFC after: 1 week
* Sync bsdcpio with vendor branch release/2.8:mm2011-12-201-1/+1
| | | | | | | | Revision 3770: Merge r3768 from trunk: Fix typo in dev/ino verification for cpio formats. Obtained from: http://code.google.com/p/libarchive MFC after: 2 weeks
* Sync bsdtar with vendor branch release/2.8:mm2011-12-201-3/+2
| | | | | | | | | Revision 3769: Merge r3744 from trunk: Correctly return errors when reading an archive using @archive extension. Obtained from: http://code.google.com/p/libarchive MFC after: 2 weeks
* Update libarchive, tar and cpio to version 2.8.5mm2011-12-203-116/+334
| | | | | | | | | | The following additional vendor revisions are applied: Revision 3740: Use archive_clear_error() to clear the error markers. Obtained from: http://code.google.com/p/libarchive MFC after: 2 weeks
* In usr.bin/vacation/Makefile, fix a typo in the comment about clangdim2011-12-191-1/+1
| | | | | | | warnings. Spotted by: arundel MFC after: 1 week
* Unbreak the build after r228697 adding the { } block to make clear whichbz2011-12-191-1/+2
| | | | if the else belongs to.
* o Convert IPv6 read-only stats sysctls to the read-write ones.maxim2011-12-191-7/+13
| | | | | | | | | o Teach netstat(1) -z to reset these stats sysctls. PR: bin/153206 Reviewed by: glebuis Sponsored by: NGINX, Inc. MFC after: 1 month
* Repair breakage after r228697: since m4 now uses pow(3), it needs -lm.dim2011-12-181-1/+1
| | | | Pointy hat to: bapt
* Reimplement support for the ** (exponent) gnu extension, make it available ↵bapt2011-12-183-2/+10
| | | | | | | | thought the -g (mimic gnu) option Reviewed by: cognet Approved by: cognet Discussed with: espie@OpenBSD.org (upstream)
* du: Allow multiple -HLP options, the last one wins.jilles2011-12-172-20/+17
| | | | | | | This matches 4.4BSD tradition and other utilities with these options and is required by POSIX (POSIX does not specify -P, only -HL). MFC after: 2 weeks
* Revert r228650, and work around the clang false positive with printfdim2011-12-172-1/+6
| | | | | | | formats in usr.bin/netstat/atalk.c by conditionally adding NO_WFORMAT to the Makefile instead. MFC after: 1 week
* In usr.bin/csup/auth.c, cast time_t to intmax_t instead, and use thedim2011-12-171-2/+2
| | | | | | | corresponding printf length modifier. Requested by: mdf MFC after: 1 week
* In usr.bin/vmstat/vmstat.c, cast several printf field widths to int, anddim2011-12-171-8/+10
| | | | | | use printf format specifiers from inttypes.h for uint64_t's. MFC after: 1 week
* Unfortunately, clang gives warnings about sendmail code that cannot bedim2011-12-171-0/+7
| | | | | | | turned off yet. Since this is contrib code, and we don't really care about the warnings, just turn make them non-fatal for now. MFC after: 1 week
* In usr.bin/netstat/atalk.c, work around a clang false positive withdim2011-12-171-1/+1
| | | | | | printf format warnings and conditional operators. MFC after: 1 week
* Use NO_WCAST_ALIGN for usr.bin/ncplist, as there are many potentialdim2011-12-171-0/+1
| | | | | | | alignment issues in it. (Though I doubt anyone still cares about NetWare support...) MFC after: 1 week
* In usr.bin/mail/cmd1.c, use the correct printf length modifier for adim2011-12-172-2/+2
| | | | | | ptrdiff_t. In usr.bin/mail/main.c, cast a field width to int. MFC after: 1 week
* In usr.bin/indent/io.c, fix a few warnings about format strings not being ↵dim2011-12-171-2/+2
| | | | | | literals. MFC after: 1 week
* Correct a logic error in usr.bin/hexdump/conv.c, found by clang.dim2011-12-171-2/+2
| | | | | | | | | | | | | | | Whenever the conv_c() function encounters an incomplete multibyte char, it peeks ahead. It also sets p to peekbuf, to indicate it is still processing the incomplete character. However, on the next retry, it compares buf against peekbuf, which always returns false, since both buf and peekbuf are local char arrays, whose addresses are never the same. Fix this by comparing against p instead, which was the intention. Also turn peekbuf into an array of u_char, to prevent conversion warnings. MFC after: 1 week
* More fixes for correct printf length modifiers usr.bin/gprof.dim2011-12-172-4/+4
| | | | MFC after: 1 week
* In usr.bin/gprof/aout.c, use the correct printf length modifier for adim2011-12-171-1/+1
| | | | | | uint32_t. MFC after: 1 week
* In usr.bin/csup/proto.c, use the correct printf length modifier to printdim2011-12-171-1/+2
| | | | | | an off_t. MFC after: 1 week
* In usr.bin/csup/auth.c, use the correct number of bytes for zeroing thedim2011-12-171-3/+4
| | | | | | shared secret, and use long long format to snprintf a time_t. MFC after: 1 week
* In usr.bin/mt/mt.c, the c_code member of struct commands should reallydim2011-12-171-1/+1
| | | | | | | be an unsigned long, since it will contain values of ioctl request codes. On 64-bit arches, these will not fit into an int. MFC after: 1 week
* In usr.bin/tar/tree.c, if you really want to poke to NULL, you must usedim2011-12-171-1/+1
| | | | | | volatile, otherwise the indirection will not be emitted. MFC after: 1 week
* Revert r228521: sometimes job output is lostfjoe2011-12-152-10/+2
| | | | | | | | (see tools/regression/usr.bin/make/execution/joberr test). openpty(fd + 0, fd + 1,...) version does not have this problem but it sometimes enters an infinite sleep in "ttywait" state in tty_drain() when make(1) closes slave pty.
* job make: if stdout is a tty create a pty when running a command.fjoe2011-12-152-2/+10
|
* Replace __const by const in all non-contributed source code.ed2011-12-132-2/+2
| | | | | | As C1X is close to being released, there is no need to wrap around a feature that is already part of C90. Most of these files already use `const' in different placed as well.
* Make 64-bit procstat output ELF auxiliary vectors for 32-bit processes.trociny2011-12-121-16/+87
| | | | | Reviewed by: kib MFC after: 1 week
* Make procstat -l output similar to the output of limits(1).trociny2011-12-121-10/+51
| | | | | Suggested by: jhb MFC after: 1 week
* Add more static keywords to truss(1) source code.ed2011-12-104-5/+5
| | | | | | There are some tables in the source code that are only used by the individual source files themselves. Therefore there is no need to export them.
* Add missing "static const" to long options table.ed2011-12-101-1/+1
| | | | | This table is only used in this C file and passed to getopt_long(), so we can safely add static and const to it.
* Replace char copyright[] by static const char copyright[].ed2011-12-102-2/+2
| | | | It seems the latter is used throughout the tree.
* Update du(1):gjb2011-12-092-45/+53
| | | | | | | | | | | | | | - Sort arguments alphabetically where appropriate - '-B blocksize' is not mutually exclusive of '-h|-k|-m' - Mention '-t' in synopsis - Other wording improvements - Update usage() output to reflect the new synopsis [1] - Other miscellaneous improvements PR: 162438 Submitted by: arundel Reviewed by: Benjamin Kaduk (kaduk ! mit.edu), jhb[1] (original version) MFC after: 1 week
* - Match GNU behavior of exit codegabor2011-12-073-6/+5
| | | | | | | | - Rename variable that has a different meaning now PR: bin/162930 Submitted by: Jan Beich <jbeich@tormail.net> MFC after: 1 week
* Don't output a warning if kern.proc.auxv sysctl has returned EPERM.trociny2011-12-051-1/+1
| | | | | | After r228288 this is rather a normal situation. MFC after: 1 week
* Use explicit information from the kernel to detect the traps due tokib2011-12-041-3/+13
| | | | | | | syscall entry and leave. Based on submision by: Dan Nelson <dnelson allantgroup com> MFC after: 1 month
* - Fix segmentation fault when running "+command" when run with -jX -n duefjoe2011-11-302-58/+51
| | | | | | | | | | | to Compat_RunCommand() being called with `cmd' that is not on the node->commands list - Make ellipsis ("..." command) handling consistent: check for "..." command in job make after variables expansion to match compat make behavior - Fix empty command handling (after variables expansion and @+- modifiers are processed): now empty commands are ignored in compat make and are not printed in job make case - Bump MAKE_VERSION to 5-2011-11-30-0
* - Create links to the xz and lzma versions even if BSD grep is not thegabor2011-11-281-7/+8
| | | | | | | default. Nor GNU nor liblzma in base provides such functionality so it may be useful. MFC after: 3 days
* - Call warnx() instead of errx() if a directory is not readable when usinggabor2011-11-281-1/+3
| | | | | | | | a recursive search. This is the expected behavior instead of aborting. PR: bin/162907 Submitted by: Jan Beich <jbeich@tormail.net> MFC after: 3 days
* - Fix behavior of --null to match GNU grepgabor2011-11-281-5/+5
| | | | | | PR: bin/162906 Submitted by: Jan Beich <jbeich@tormail.net> MFC after: 3 days
* Update SYNOPSIS to include the flags added recently.trociny2011-11-281-2/+2
| | | | Spotted by: jhb
* Synchronize with laster version of m4 from OpenBSD and NetBSDbapt2011-11-2830-1631/+2481
| | | | | | | | This bring better compatibility with gnum4 Reviewed by: cognet Approved by: cognet Obtained from: OpenBSD, NetBSD
OpenPOWER on IntegriCloud