| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
broken way. Make it almost trivial to implement gethostby*_r() family
of functions when needed.
|
|
|
|
|
|
| |
hold both the structure and the data. The freehostent() and freenetent() API
functions are not needed anymore. While there, ensure that the constructed
addr and alias lists are really NULL terminated.
|
| |
|
| |
|
|
|
|
|
|
| |
5322 obsoletes 2822
5321 obsoletes 821 and 2821
6409 obsoletes 2476 and 4409
|
| |
|
|
|
|
| |
make sure to save and restore errno properly.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
They do not have to deal with h_errno at all. Also, errno is only kept
for EAI_SYSTEM. Small code cleanup while there.
Adapt getnameinfo() and getaddrinfo() wrappers to correctly save errno
and overwrite it in the EAI_SYSTEM case.
General errno handling issue reported by mikeb@.
|
|
|
|
|
|
|
|
|
| |
variants) for URLs, allowing mandoc -Thtml to properly generate links;
(sendmail.8 changes are simply using Lk, which i somehow missed in previous)
ingo reminded me to verify that gnu groff recognises %U: 1.20.1 does not,
but 1.21 does;
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Link libpthread.so with -znodlopen. Because libpthread overrides
the weak symbols in libc, we can't allow it to be dynamically
loaded or else libc's weak symbols might have already been
resolved by ld.so. (Also, major bump because this is technically
a backwards incompat change in behavior, although dlopen()ing
libpthread never really worked.)
- Link libc.so with -nodefaultlibs -lgcc. This ensures that libc
doesn't try to link against itself (which ld.so wouldn't like).
- Change GCC 4 to link shared objects with -lpthread and -lc as
appropriate, now that there's no issues with doing so. This means
that it's no longer necessary to patch software to use -pthread
instead of -lpthread. (Ports tree rejoice!)
Also, to preemptively answer this question: No, this does not
eliminate the need for LD_PRELOAD=libpthread.so. That's a separate
issue that won't be resolved until we eliminate libc's weak symbols.
Discussed extensively on email and icb over the past few months.
ok deraadt
|
|
|
|
|
|
| |
accordingly so vax can build again.
ok deraadt
|
|
|
|
| |
ok matthew@
|
|
|
|
|
|
|
|
|
|
|
| |
overrides provided by libpthread.a. This ensures that statically
linked threaded programs use (e.g.) __cerror() from libpthread.a
instead of libc.a. (Same idea previously used by libuthread.)
Thanks to fgsch@ for pointing out libuthread's solution to the static
linking problem.
ok guenther@, tedu@;
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
mask of zero (because of flawed logic assuming finding zero in the sigjmp_buf
signal mask means sigsetjmp was invoked with a zero `savemask' argument).
While there, clean comments of all *{set,long}jmp routines, and shave a few
instructions by using bcnd insead of cmp + bb to test for zero values.
Passes the regress tests, and now devel/libsigsegv configure siglongjmp test
will not spin (this test is however flawed as it expects a signal handler
declared as running on the sigaltstack and `returning' through siglongjmp to
be invoked on the signal stack the next time the signal is raised).
|
|
|
|
|
|
|
|
| |
Most of the patch from Arto Jonsson <ajonsson at kapsi dot fi>.
jmc@ agrees in principle that .Lk is the right macro to use.
While here, update a few broken links,
and add missing markup at a few places.
|
|
|
|
| |
based on a diff from Christian Schulte (cs at schulte.it)
|
|
|
|
| |
ok guenther@
|
| |
|
|
|
|
| |
ok deraadt@ tedu@, wording tweaks jmc@
|
|
|
|
| |
text was removed from symlink.7 over 16 years ago.
|
|
|
|
| |
From Brad, with tweaks by me.
|
|
|
|
| |
as discussed with and ok mpi@ deraadt@
|
|
|
|
|
| |
help from lteo@, claudio, jmc@
ok jmc@
|
|
|
|
| |
the given protocol.
|
|
|
|
|
|
|
|
| |
ifa_broadaddr. i.e. make it make clear that this field is only
valid for P2P. (Hint: one's a field, and one's a #define giving a
new name to said field)
ok guenther@
|
|
|
|
| |
jmc@ noticed this in the manpage while updating it, but it applies here too.
|
| |
|
| |
|
|
|
|
| |
okay millert@
|
| |
|
|
|
|
|
|
|
|
|
|
| |
(rev. 205728, 224511 and 225839)
- add hid_get_report_id(3) to get id of a descriptor.
- crank the major in shlib_version 3.0 -> 4.0
ok deraadt@, mpi@
|
|
|
|
| |
Brad, jasper and naddy helped with test builds, fixing ports, etc.
|
|
|
|
| |
character after the '\0'; ok guenther@
|
|
|
|
| |
Add restrict qualifiers.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
fail if there is no entry for a given protocol. Fix issue reported by
early testers.
|
|
|
|
|
|
| |
util.h.
ok guenther
|
|
|
|
|
|
|
| |
because param.h will get a kick in the head sometime in the future.
One day, maybe both can become invisible, but we boot one of them
first.
ok guenter
|
|
|
|
|
| |
param.h symbol reduction.
ok guenther
|
| |
|
| |
|
|
|
|
| |
Pointed out by Joachim Schipper (joachim at joachimschipper.nl)
|
|
|
|
|
| |
Based on a note from Steffen Daode Nurpmeso (sdaoden at googlemail.com)
ok jmc@
|
| |
|
| |
|
| |
|