| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Add missing el_end() call
|
|
|
|
|
|
| |
- Unbreak the -f option: it was missing a ':'
- gunits -V spits out more information than just its version: attempt to do so
as well.
|
|
|
|
| |
No need to replicate strdup
|
|
|
|
|
|
| |
on -arch.
Reviewed by: gleb
|
|
|
|
|
|
|
|
|
|
|
| |
The "bltin/bltin.h" wrappers do not support exit() and attempting
to call it will exit sh completely.
Note that errx() is acceptable but will always return with status 2.
Reported by: jilles (and the testing framework)
Fix by: jilles
Pointyhat: pfg
|
|
|
|
|
| |
The University of California board of trustees has given permission to remove
the advertising clause of all software attributed to it.
|
|
|
|
|
| |
On other implementations 'look -a' uses an alternate dictionary. Since we don't
have one, just ignore it.
|
|
|
|
|
|
|
| |
Use of alloca(3) is discouraged in FreeBSD. Using a VLA
is simple and should be more portable.
Requested by: jilles
|
|
|
|
|
|
| |
and MK_LLDB=no, so set those explicitly (now that we can do
that). Simplify tests for these variables as well, since we know they
will always be defined regardless of the phase of the build.
|
|
|
|
|
|
| |
install it as fmake. This defaults to no. This should be viewed as the
first step towards evental migration of this historic code to ports
and removal from the tree.
|
|
|
|
|
|
|
| |
be specified via command line.
Submitted by: vsevolod
MFC after: 2 weeks
|
|
|
|
|
|
|
| |
This is required for POSIX compliance.
Obtained from: Garrett D'Amore (Illumos)
MFC after: 4 days
|
|
|
|
|
|
|
|
| |
If e_shnum or e_shstrndx are at least SHN_LORESERVE (0xff00) then an
escape value is used to indicate that the actual value is found in one
of section 0's fields.
Sponsored by: DARPA, AFRL
|
|
|
|
|
|
|
|
|
|
| |
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)
|