| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
warnings.
Spotted by: arundel
MFC after: 1 week
|
|
|
|
| |
if the else belongs to.
|
|
|
|
|
|
|
|
|
| |
o Teach netstat(1) -z to reset these stats sysctls.
PR: bin/153206
Reviewed by: glebuis
Sponsored by: NGINX, Inc.
MFC after: 1 month
|
|
|
|
| |
Pointy hat to: bapt
|
|
|
|
|
|
|
|
| |
thought the -g (mimic gnu) option
Reviewed by: cognet
Approved by: cognet
Discussed with: espie@OpenBSD.org (upstream)
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
formats in usr.bin/netstat/atalk.c by conditionally adding NO_WFORMAT to
the Makefile instead.
MFC after: 1 week
|
|
|
|
|
|
|
| |
corresponding printf length modifier.
Requested by: mdf
MFC after: 1 week
|
|
|
|
|
|
| |
use printf format specifiers from inttypes.h for uint64_t's.
MFC after: 1 week
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
printf format warnings and conditional operators.
MFC after: 1 week
|
|
|
|
|
|
|
| |
alignment issues in it. (Though I doubt anyone still cares about
NetWare support...)
MFC after: 1 week
|
|
|
|
|
|
| |
ptrdiff_t. In usr.bin/mail/main.c, cast a field width to int.
MFC after: 1 week
|
|
|
|
|
|
| |
literals.
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
| |
uint32_t.
MFC after: 1 week
|
|
|
|
|
|
| |
an off_t.
MFC after: 1 week
|
|
|
|
|
|
| |
shared secret, and use long long format to snprintf a time_t.
MFC after: 1 week
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
volatile, otherwise the indirection will not be emitted.
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
(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.
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Reviewed by: kib
MFC after: 1 week
|
|
|
|
|
| |
Suggested by: jhb
MFC after: 1 week
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
This table is only used in this C file and passed to getopt_long(), so
we can safely add static and const to it.
|
|
|
|
| |
It seems the latter is used throughout the tree.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
| |
- Rename variable that has a different meaning now
PR: bin/162930
Submitted by: Jan Beich <jbeich@tormail.net>
MFC after: 1 week
|
|
|
|
|
|
| |
After r228288 this is rather a normal situation.
MFC after: 1 week
|
|
|
|
|
|
|
| |
syscall entry and leave.
Based on submision by: Dan Nelson <dnelson allantgroup com>
MFC after: 1 month
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
default. Nor GNU nor liblzma in base provides such functionality so
it may be useful.
MFC after: 3 days
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
PR: bin/162906
Submitted by: Jan Beich <jbeich@tormail.net>
MFC after: 3 days
|
|
|
|
| |
Spotted by: jhb
|
|
|
|
|
|
|
|
| |
This bring better compatibility with gnum4
Reviewed by: cognet
Approved by: cognet
Obtained from: OpenBSD, NetBSD
|
| |
|
|
|
|
|
|
|
|
| |
This also fixes the issue, spotted by mdf, with values that were
printed as decimal and had hex prefixes.
Discussed with: kib, rwatson
MFC after: 2 weeks
|
|
|
|
|
|
|
|
| |
Add -l flag to display resource limits.
PR: bin/161257
Reviewed by: kib
MFC after: 2 weeks
|
|
|
|
| |
Reviewed by: kib
|
|
|
|
|
|
| |
and ELF auxiliary vectors.
MFC after: 2 weeks
|
|
|
|
|
| |
few words make this man page much easier to understand without
re-reading prior parts of the man page.
|
|
|
|
|
|
|
|
|
|
|
| |
- fix other errors introduced when committing r226436
- add 'function' to a sentence where it makes sense
Submitted by: delphij
Submitted by: dougb
Submitted by: jhb
Approved by: dougb
Approved by: jhb
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add ? option to optstring.
- Sort options alphabetically.
- Vertical space.
Tidy up usage() function.
Bring man page in sync with source.
Ensure that debug code is only executed with the -d option.
Submitted by: Christiane Yeardley
|
|
|
|
| |
Reminded by: pluknet
|
|
|
|
|
|
|
|
| |
Only one of these flags can be set. Just add them together and check the
value. Also, get rid of the listall variable. The code is already filled
with direct *flag-comparisons.
Obtained from: Alexander Best (though modified)
|
|
|
|
|
|
|
| |
mapping flag.
Submitted by: Mel Flynn <mel.flynn+fbsd.hackers@mailing.thruhere.net>
Reviewed by: alc, rwatson
|