| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
adding 13 days. Bug introduced in 1.13 revision.
|
| |
|
|
|
|
|
|
|
|
| |
PR: 154441
Submitted by: Ben Haga (bhaga of absoludicrous com)
Suggestion by: pluknet
Approved by: keramida (mentor)
MFC after: 3 days
|
|
|
|
|
|
|
|
|
| |
BUFSIZ. Use LINE_MAX * 2 as the buffer size (BSIZE).
- Error out if we encounter a line longer than LINE_MAX. The previous
behavior was to silently split long lines and produce corrupted
output.
PR: bin/151384
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This matches the constants from <signal.h> with 'SIG' removed, which POSIX
requires kill and trap to accept and 'kill -l' to write.
'kill -l', 'trap', 'trap -l' output is now upper case.
In Turkish locales, signal names with an upper case 'I' are now accepted,
while signal names with a lower case 'i' are no longer accepted, and the
output of 'killall -l' now contains proper capital 'I' without dot instead
of a dotted capital 'I'.
|
|
|
|
|
|
|
|
| |
While here apply style hammer.
PR: docs/154289 [1]
Submitted by: Jamie Landeg Jones <jamie@bishopston.net>
MFC after: 1 week
|
| |
|
|
|
|
| |
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
| |
manpage.
Identical mtimes (as generated by buildworld for these files) precluded
catpages from working.
Approved by: gordon
|
|
|
|
|
|
|
|
|
|
| |
each workstream, rather than on every protocol, is prettier, it makes
machine-parsing of netstat -Q output a lot harder. Repeat the information
and hope that the user forgives us slightly dense formatting.
MFC after: 3 days
Reported by: bz
Sponsored by: Juniper Networks
|
|
|
|
|
|
| |
Reported by: bz
MFC after: 3 days
Sponsored by: Juniper Networks
|
|
|
|
|
|
|
|
|
| |
on terminal boundary. While here add definition for 'G' and fix
the indentation of 'K' units.
Submitted by: plunket
PR: docs/153614
MFC after: 3 days
|
|
|
|
|
|
|
| |
Detect IO errors properly.
Write #line directives to the correct output stream.
Obtained from: http://dotat.at/prog/unifdef
|
|
|
|
|
|
|
|
| |
stack from the output of `netstat -ani'.
- The node-local multicast address in the output of `netstat -rn'
should be handled as well.
Spotted by: Bernd Walter <ticso__at__cicely7.cicely.de>
|
|
|
|
|
|
|
| |
Only significant change is to fix a bu when the output file overwrites
the input when the input is redirected.
Obtained from: http://dotat.at/prog/unifdef
|
|
|
|
|
|
|
|
|
| |
- Add a new -C flag to create a new cpuset and move an existing pid into
that set.
- Allow 'all' to be specified for a cpu list (e.g. cpuset -s 1 -l all)
which maps to the list of all CPUs in the system.
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When creating a backup file, sed renamed the original before renaming the
changed copy into place, leading to a short time when no file with the
original name was present (usually only visible on SMP systems). Try
creating the backup file using a hard link instead, avoiding this problem.
If creating the hard link fails for any reason, fall back to the old rename
method.
When not creating a backup file, sed already renamed the changed copy onto
the original. This remains unchanged.
I am not adding the suppression of redundant fchown/fchmod to this commit,
because FreeBSD appears to check this in the kernel (for msdosfs at least).
PR: bin/153261
Submitted by: Pedro F. Giffuni
Reviewed by: dds (older version)
Obtained from: Illumos
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Implement MACHINE_ARCH=mips64e[lb] to build N64 images. This replaces
MACHINE_ARCH=mipse[lb] TARGET_ABI=n64.
MACHINE_ARCH=mipsn32e[lb] has been added, but currently requires
WITHOUT_CDDL due to atomic issues in libzfs. I've not investigated
this much, but implemented this to preserve as much of the TARGET_ABI
functionality that I could. Since its presence doesn't affect the
working cases, I've kept it in for now.
Added mips64e[lb] to make universe, so more kernels build.
And I think this (finally) closes the curtain on the tbemd tree.
|
| |
|
| |
|
|
|
|
|
|
| |
These functions throw exceptions if they fail, possibly causing memory
leaks. The normal out-of-memory handling suffices. The INTOFF around almost
all of printf prevents memory leaks due to SIGINT.
|
|
|
|
|
|
| |
wording in a few places.
MFC after: 1 week
|
|
|
|
|
|
| |
thing with empty quotation macros.
Requested by: Alex Kozlov
|
|
|
|
| |
Additional indentation caused the line to become longer than 80 columns.
|
|
|
|
| |
Obtained from: elftoolchain
|
|
|
|
| |
Obtained from: elftoolchain
|
|
|
|
|
|
|
|
|
|
|
| |
section.
* Document the `-l`, `-M` and `-S` options.
* Improve the text describing the behavior of the `-r` option.
* Start a section on standard compliance.
* Indicate in the synopsis that the `-S` and `-s` options are mutually
exclusive.
Obtained from: elftoolchain
|
|
|
|
|
|
| |
PR: docs/153416
Submitted by: Eitan Adler
MFC after: 1 week
|
| |
|
|
|
|
|
|
| |
- Remove the /dev/ portion of the TTY name.
- In case we use lock -p, print the username that was used to obtain the
password hash.
|
|
|
|
|
|
|
|
| |
The #define for warnx now behaves much like the libc function (except that
it uses sh command name and output).
Also, it now uses C99 __VA_ARGS__ so there is no need for three different
macros for 0, 1 or 2 parameters.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
"Use strlcpy, not strncpy, when the desired semantics are strlcpy's
rather than strncpy's."
Note: NetBSD's 1.32 is their adoption of our r216206
Obtained from: dholland@NetBSD.org
|
|
|
|
|
|
|
| |
The new behavior prevents us from being able to bail out explicitly
on unknown options that we have not implemented. BASH for instance
have introduced a '-v' for printf(1) builtin and it seems to be bad
to pretend that we supported it and have a script break silently.
|
|
|
|
|
|
|
| |
exit(3) as pointed out by jilles@ so revert to using return(),
also change the return value back to 1 as requested by bde@.
This is logically a revert of revision 216422.
|
|
|
|
|
|
|
| |
This prevents errors for users that don't have /sbin in their PATH.
Submitted by: Max Boyarov
Approved by: mentor (wes@ implicit)
|
|
|
|
|
|
|
|
| |
LC_NUMERIC.
PR: bin/152934
Submitted by: Pedro F. Giffuni <giffunip tutopia.com>
Obtained from: Illumos
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
that when the options section is listed as "None", utility shall
recognize "--" as a first argument to be discarded.
This implementation is largely based on OpenBSD implementation but
we do slightly differently:
a) We skip argv[0] as the first step;
b) We test whether the next argument is "--" and ignore it.
With this change one will get:
%printf
usage: printf format [arguments ...]
%printf -v
-v%printf -- -v
-v%
%printf --
usage: printf format [arguments ...]
Which matches the behavior observed on a Debian system but different
from the Illumos change.
|
| |
|
|
|
|
|
|
|
|
| |
match the definition.
PR: bin/152934
Submitted by: Pedro F. Giffuni <giffunip tutopia.com>
Obtained from: Illumos
|
|
|
|
|
|
| |
style(9)
Submitted by: Pedro F. Giffuni <giffunip tutopia.com>
|
|
|
|
|
|
| |
http://www.lifenews.ca/thespec/profile/98251--moschuk-daniel
PR: 147479
|
|
|
|
|
|
|
|
|
| |
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
Also add $FreeBSD$ to a few files to keep svn happy.
Discussed with: imp, rwatson
|
|
|
|
|
|
|
|
|
|
| |
"synchronize synopsis and usage; "-l", "-r", "-s" and "-x" are mutually
exclusive; while here, slightly improve spacing in the source code
so it fits on a 80-column display again.
diff greatly improved by martynas@"
Obtained from: sobrado@OpenBSD.org
|
|
|
|
|
|
|
|
|
|
| |
The #define BUILTIN was for building as a csh (not tcsh) builtin.
Given that csh was replaced by tcsh years ago there is no point in keeping
this.
The #define SHELL is for building as an sh builtin and is in active use.
This commit does not change the /bin/sh and /usr/bin/printf binaries.
|
|
|
|
| |
Approved by: fjoe (mentor)
|