| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Add -V (display version) and -S (list controlling symbols per #if
with nesting information) options, and improve unifdefall debug output.
Done committing 0 revisions to SVN
Obtained from: http://dotat.at/prog/unifdef
|
|
|
|
|
|
|
|
|
|
|
|
| |
starting from netgraph import in 1999.
netstat(8) used pointer to node as node address, oops. That didn't
work, we need the node ID in brackets to successfully address a node.
We can't look into ng_node, due to inability to include netgraph/netgraph.h
in userland code. So let the node make a hint for a userland, storing
the node ID in its private data.
MFC after: 2 weeks
|
|
|
|
|
|
| |
Found by: make manlint
Reviewed by: ru
Approved by: philip (mentor)
|
|
|
|
|
|
|
|
|
| |
arguments makes sense anymore. For example, what would a combination
of -3 (show three months) and -y (show the whole year) do?
We will abort on these cases.
- Move the debug option -d to -H (from highlight), while -d is now
used for setting the day of "today" so that -y and friends can
be tested.
|
|
|
|
| |
MFC after: 1 day
|
|
|
|
|
| |
doshell() never returns, so there is no need to see whether we are the
parent process.
|
|
|
|
|
|
|
|
|
| |
Close the file descriptor to the TTY. There is no reason why the parent
process should keep track of the descriptor. This ensures that the
application inside properly drains the TTY during exit(2).
Reported by: alfred
MFC after: 2 weeks
|
|
|
|
|
| |
PR: 139825
Submitted by: Ruslan Mahmatkhanov
|
| |
|
| |
|
|
|
|
|
| |
7 days long.
- "-m <N> <YYYY>" now prints only the month, not the whole year.
|
|
|
|
|
|
|
|
| |
in the input data but fallback to "binary comparison" instead.
POSIX says: "The input files shall be text files", nothing more,
so the text file with illegal sequence is valid input.
BTW, GNU sort does not fails on EILSEQ too.
|
| |
|
|
|
|
|
|
|
| |
and pending/blocked status for signals.
Reviewed by: rwatson
MFC after: 2 weeks
|
|
|
|
|
|
| |
commit.
2) Honor missing the very last \n (if absent) on output.
|
|
|
|
|
|
| |
PR: bin/128094
Submitted by: Henning Petersen
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
- add highlight of current date for non-terminals.
- fix -J option.
- code cleanup.
MFC after: 2 weeks
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in the input data but fallback to "binary equal" check instead.
POSIX says: "The input file shall be a text file", nothing more,
so the text file with illegal sequence is valid input.
BTW, GNU sort does not fails on EILSEQ too.
2) Speedup input processing a bit in complex cases like skipping fields,
chars or ignore case.
3) Enforce the implied LINE_MAX limit (from POSIX definition of "text file"
and POSIX uniq(1) description).
|
|
|
|
|
|
|
|
|
|
| |
snprintf(3) doesn't set errno in the tested cases.
- If the same argument reference (for example %1) was specified more than
once, the command didn't necessarily fit to the final command buffer. Fix
this using a dynamic sbuf buffer. Add a few regression tests for the case.
PR: bin/95079
No objections: freebsd-hackers
|
|
|
|
|
|
|
| |
allows it to work over NFS, and puts it back into conformance with other
'schg' utlitilties in the system.
Reviewed by: ed
|
|
|
|
| |
Submitted by: Ulrich Sp??rlein <uqs@spoerlein.net>
|
|
|
|
|
|
|
|
|
| |
- Add -A option (months after this month).
- Add -B option (months before this month).
- Fix highlighting of today in year overview.
- Fix aligning of "foreign" characters.
MFC after: 2 weeks
|
|
|
|
| |
Pointed out by: Pawel Worach <pawel.worach - at - gmail.com>, b. f. <bf1783 - at - googlemail.com>
|
|
|
|
|
|
|
| |
human-friendly power-of-two numbers (i.e. 2k, 5M etc).
Suggested by: many
MFC after: 1 week
|
| |
|
| |
|
|
|
|
| |
the Makefile with a broken version.
|
|
|
|
|
|
|
| |
- fix some nearby style bugs
- include Makefile.inc where it makes sense and reduces duplication
Approved by: ed (co-mentor)
|
| |
|
|
|
|
|
|
| |
contributed, and main development is happening in the FreeBSD repo.
Suggested by: joel
|
|
|
|
|
|
|
| |
netstat -Q.
MFC after: 6 days
Sponsored by: Juniper Networks
|
|
|
|
|
|
|
|
|
| |
query routines. This code is necessarily more fragile in the presence of
kernel changes than querying the kernel via sysctl (the default), but
useful when investigating crashes or live kernel state via firewire.
MFC after: 1 week
Sponsored by: Juniper Networks
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Suggested by: bz
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
Currently supports only reporting on live systems via sysctl, kmem support
needs to be edded.
MFC after: 1 week
Sponsored by: Juniper Networks
|
|
|
|
|
| |
Pointed out by: bf1783 at gmail
Approved by: np (cxgb), kientzle (tar, etc.), philip (mentor)
|
|
|
|
| |
one.
|
|
|
|
|
| |
Submitted by: jilles
MFC after: 3 months
|
|
|
|
|
| |
Obtained from: NetBSD
MFC after: 3 months
|
|
|
|
|
|
|
|
|
|
| |
Fix a long-standing cpp compatibility bug: The -DFOO argument
(without an explicit value) should define FOO to 1 not to the empty
string.
Add support for CRLF newlines, based on a suggestion from Mark Rushakoff.
Obtained from: http://dotat.at/prog/unifdef/
|
|
|
|
|
|
|
|
| |
issue - od(1) and hexdump(1) behave as expected.
PR: docs/143869
Submitted by: gcooper
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
| |
sockaddr structures. As such, we have top copy the data structure
into a local buffer before we can reference it, otherwise we have
unaligned references (these are fixed up automatically on some CPUs,
but not on others). We do this unconditionally to make the code
easier to read and understand.
Submitted by: Grzegorz Bernacki
|
| |
|
|
|
|
| |
MFC after: 1 month
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
about to be extracted already exists. The question, and interpretation
of the response is deliberately compatible with Info-Zip.
This change was originally obtained from NetBSD, but has three changes:
- better compatibility with Info-Zip in the handling of ^D
- Use getdelim() rather than getline()
- bug fix: != changed to == in the "file rename" code
I suspect the latter is also a bug in NetBSD, but I can't easily confirm
this.
PR: bin/143307
Reviewed by: rdivacky (change to unzip.c only)
Obtained from: NetBSD src/usr.bin/unzip/unzip.c 1.8
MFC after: 1 month
|
|
|
|
|
|
| |
from their software.
Obtained from: NetBSD
|