Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plaintext for the regress test case.
|
|
|
|
|
|
The program will soon be fixed by martijn@.
|
|
|
|
OK mpi
|
|
ok bluhm@
|
|
Adapt grep regex in syslogd tests.
|
|
currently broken, but natano@ will soon commit the fix to ul.c
|
|
|
|
ART-enabled kernel.
The difference is that routes with the same destination are now displayed
in natural prefix-length order. This can even be seen as an improvement:
-10.0/16 192.0.2.4
-10.0/10 192.0.2.4
10/8 192.0.2.1
+10.0/10 192.0.2.4
+10.0/16 192.0.2.4
The previous order is due to how dup key chains are ordered.
Discussed with claudio@
|
|
doing proxy ARP.
ok millert@, bluhm@
|
|
in the tests.
|
|
removing an entry.
While here print the corresponding error string when available if
rtable_* function fail.
|
|
|
|
|
|
|
|
This simple patch makes the 'command' builtin POSIX-compliant and
consistent with other current shells. It fixes two things:
a) 'command -v' does not find shell reserved words (a.k.a. keywords).
For instance, 'command -v select' outputs nothing but should output
'select'.
b) 'command -pv' always outputs the path of an external command, even
if 'command -p' would execute a builtin. For instance, 'command -p kill'
executes the 'kill' builtin, as expected, but 'command -pv kill' outputs
'/bin/kill'. The '-v' option is supposed to reflect what would actually
be executed, so 'command -pv kill' should output 'kill'. The -p option
sets the PATH to a default system value before doing the search, but
that has no bearing on the fact that builtins take precedence over
external commands.
The patch fixes both issues for 'command' without affecting the
behaviour of the ksh-specific builtin 'whence', which is handled by the
same C function.
Regression test added to obsd-regress.t.
Issues found and fixed by Martijn Dekker, ok millert@
|
|
For now, this mainly help programs explicitly using
wide-character functions like el_wgetc(3) and el_wgets(3).
1. After reading an invalid byte sequence, do not throw away additional
valid bytes; fix by me using mbrtowc(3), obsoleting utf8_islead().
2. When read(2) returns EOF, return that information to the caller,
do not prod on and potentially access garbage data in the buffer;
from Linas Vepstas via NetBSD read.c rev. 1.70 2013/05/27.
3. After read__fixio() failure, restore errno to the one set by read();
from Steffen Nurpmeso via NetBSD read.c rev. 1.68 2012/09/10.
4. After read__fixio() success, restore errno to the initial state
upon function entry; fix by me.
OK czarkoff@. Also committed to NetBSD.
|
|
|
|
idioms.
Adopt the more concise fcntl(n, F_GETFL) over fcntl(n, F_GETFL, 0)
where it is obvious further investigation will not yield and
even better way.
Obviousness evaluation and ok guenther@
|
|
|
|
Just NULL is not good practise as NULL is theoretically allowed to
be an integer rather than a pointer.
Use (char *)NULL consistently instead of scattering a few (char *)0
and (void *)NULL into the mix.
Prompted by and probably ok deraadt@ millert@ kettenis@
Definitely ok mestre@ ratchov@
|
|
|
|
|
|
|
|
All work done by Martijn Dekker
OK millert@
|
|
enter; issue came up a dir was deleted containing a obj@ link
ok millert
|
|
fixes posix compatibility issue
OK millert@, nicm@, otto@
|
|
suggestion from beck@, OK millert@, otto@
|
|
Should prevent problems if any more debug output is added late in the
connection.
|
|
|
|
Remove machdep.userldt sysctl.
Remove i386_[gs]et_ldt syscall stub from libi386.
Remove i386_[gs]et_ldt regression test.
ok mlarkin@ millert@ guenther@
|
|
that "Bad packet length" errors are 3 lines back instead of the previous
two, which meant we didn't skip some offsets that we intended to.
|
|
chared unit tests now work, so enable them.
|
|
A few tests are enabled and work, so this starts being useful.
|
|
Those that still fail are commented out in the Makefiles for now;
i have patches for them.
|
|
openssl md5 adds a "(stdin)= " prefix to the output, but all we need is
the actual md5 sum itself. This caused most of the ffs regress tests to
fail.
ok mpi@
|
|
|
|
misbehaviour is triggered with 'c' and 'i' commands on empty buffers.
Spotted and fixed by Martin Natano <natano at natano dot net>.
ok millert@
|
|
$SUBDIRS so do it explicitly
|
|
|