| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
This actually completes r264743 so that width and precision
specifiers work properly with %n$. These keeps consistency
with ksh93 and zsh.
Requested by: jilles
Obtained from: Garrett D'Amore (Illumos)
MFC after: 4 days
|
|
|
|
|
|
|
| |
causing arguments to be interpreted as NFS file handles.
Reviewed by: -arch (jhb, eadler)
MFC after: 1 month
|
|
|
|
|
|
|
|
| |
sector granularity for both offset and length. Have all schemes
use mkimg_write() instead of mkimg_seek() followed by write(2).
Now that schemes don't use lseek(2) nor write(2) directly, it's
easier to support output formats other than raw disks.
|
|
|
|
| |
arguments as unused.
|
|
|
|
|
| |
to fail and falling back on the conservative testing of variables
already in place. This should stop the tide of tinderbox mail.
|
| |
|
|
|
|
|
|
|
|
| |
instead of from /usr/share/mk.
I'm not sure that this will let buildworld complete on a system with
no installed src.opts.mk (make buildworld is still running), but the
tinderbox builds are all failing earlyon without this patch.
|
|
|
|
|
|
|
|
| |
build world, so it is the only make we build or install. fmake is
still in the tree, but disconnected, and upgrades from older systems
that still have bmake has not been removed, but its state has not been
tested (it should work given how minimal the work to upgrade to bmake
is).
|
|
|
|
| |
from the latter.
|
|
|
|
|
|
|
|
|
| |
same events that tcpstat's tcps_rcvmemdrop counter counts.
- Rename tcps_rcvmemdrop to tcps_rcvreassfull and improve its
description in netstat(1) output.
Sponsored by: Netflix
Sponsored by: Nginx, Inc.
|
|
|
|
| |
Obtained from: NetBSD
|
|
|
|
|
|
|
| |
7-wide JIDs. On a system using jails for common tasks the JID can
quickly increase.
MFC after: 2 weeks
|
|
|
|
| |
Submitted by: multiple
|
|
|
|
|
|
|
|
|
|
| |
display the JID as well (the -j command/flag).
0 displays host.
+ displays all.
MFC after: 2 weeks
Relnotes: yes
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
netstat has two options for printing multicast tables:
sysctl (the default one for live systems) and kvm-based one (for cores).
It looks like kvm-based one hasn't been working since it's been introduced
in r190012 due to absence of mfctablesize kernel symbol.
Check for all ipv4-multicast symbols being correctly resolved was introduced
in r259638 regardless of 'live' value leading to "No IPv4 MROUTING" error
message.
Reported by: Olivier Cochard-Labbé
MFC after: 1 week
|
|
|
|
| |
ineffectual NOMAN= lines. These don't change the build at all.
|
|
|
|
| |
MFC after: 3 days
|
| |
|
|
|
|
| |
binary without a knob to turn it off.
|
|
|
|
| |
MFC after: 1 month
|
| |
|
|
|
|
|
|
|
| |
- Introduce a separate usage() function.
- Don't use argv[0]. Directly name the application, as we do elsewhere.
- Don't prepend the application name.
- Don't print two newlines.
|
|
|
|
|
|
|
|
| |
Among all the modifications, this new byacc also solves a 14 year old bug [1]
PR: bin/23254 [1]
Submitted by: marka@nominum.com [1]
MFC after: 3 weeks
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a new %n$ option to change the order of the parameters as
done in the ksh93 builtin printf (among others).
For example:
%printf '%2$1d %1$s\n' one 2 three 4
2 one
4 three
The feature was written by Garret D'Amore under a
BSD license for Nexenta/illumos.
Reference:
http://garrett.damore.org/2010/10/new-implementation-of-printf.html
PR: bin/152934
Obtained from: Illumos
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
| |
For 10 years, the "DIALUP <tty>, <user>" message has required having a
hostname (-h) instead of not having a hostname; therefore, it is never
logged. Given that dialup is obsolete and this has not been fixed, remove
the log message.
Note that LOGALL, which is defined by default, logs a message for all
logins, including dialup logins.
|
|
|
|
|
|
|
|
| |
after r264573.
Someone submit to: OpenBSD
MFC after: 13 days
X-MFC with: r264573
|
|
|
|
|
|
|
|
| |
Makes things compile better.
Someone submit to: OpenBSD
MFC after: 13 days
X-MFC with: r264573
|
|
|
|
|
|
| |
#define should be followed by a tab.
MFC after: 3 days
|
|
|
|
| |
MFC after: 2 weeks
|
|
|
|
|
|
|
| |
For better readability, don't compare pointers with 0 or assign 0
to them. Use NULL instead.
Inspired by: DragonflyBSD
|
|
|
|
| |
Inspired by: DragonflyBSD
|
|
|
|
|
|
|
| |
For increased compatibility with GNU units: support a -v option which
produces more verbose output when spitting out the answer.
GNU -v does additional work in the version, information, and check output which
we do not (yet?) replicate.
|
|
|
|
|
| |
For increased compatibility with GNU units: support a -U option which tests for the
existence of the default units file and prints it to the screen.
|
|
|
|
|
| |
GNU units(1) supports reading up to 25 -f options. We support an arbitrary
number.
|
|
|
|
|
| |
Parse the config file after setting the defaults to permit the user to change
things (e.g., editing mode)
|
|
|
|
|
|
| |
Add line editing and history support to units(1) via libedit.
Reviewed by: bdrewery
|
|
|
|
|
|
| |
CID: 1006089
Found with: Coverity Prevent(tm)
MFC after: 1 week
|
|
|
|
|
|
| |
CID: 1018508
Found with: Coverity Prevent(tm)
MFC after: 1 week
|
|
|
|
|
|
|
| |
If there was an error, make the exit status reflect this even if -quit
caused the exit. Formerly, -quit always caused exit(0).
GNU find does the same.
|
| |
|
|
|
|
|
|
| |
and finish the job. ncurses is now the only Makefile in the tree that
uses it since it wasn't a simple mechanical change, and will be
addressed in a future commit.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As per POSIX, the -exec ... {} + primary always returns true, but a non-zero
exit status causes find to return a non-zero exit status itself. GNU does
the same, and also for -execdir ... {} +.
It does not make much sense to return false from the primary only when the
child process happens to be run.
The behaviour for -exec/-execdir ... ; remains unchanged: the primary
returns true or false depending on the exit status, and find's exit status
is unaffected.
|
|
|
|
|
|
| |
- Adding myself to the freebsd calendar
Approved by: swills (mentor)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The units program is likely little used. It is even less likely that a script
will want the units program to print out its version number by passing -v.
GNU units uses -V for version and -v for verbosity.
Increase compatibility between these two versions (written by the same author)
by switching our flag as well.
Take this opportunity to remove bogus information about the version number and
just call it 'FreeBSD units'.
Discussed with: cperciva, rwatson
|
|
|
|
| |
Pointyhat to: me
|
|
|
|
| |
Most of these are also recognized by GNU units
|
|
|
|
|
|
| |
fts_read() leaves errno unchanged on EOF and sets it on error, so set errno
to 0 before calling it. Also, don't trust finish_execplus() to leave errno
unchanged.
|
| |
|