Darren Tucker
d8aec107fe
- (dtucker) [openbsd-compat/getrrsetbyname.c] Nees stdlib.h for malloc.
2006-08-05 16:12:15 +10:00
Damien Miller
b8fe89c4d9
- (djm) [acss.c auth-krb5.c auth-options.c auth-pam.c auth-shadow.c]
...
[canohost.c channels.c cipher-acss.c defines.h dns.c gss-genr.c]
[gss-serv-krb5.c gss-serv.c log.h loginrec.c logintest.c readconf.c]
[servconf.c ssh-keygen.c ssh-keyscan.c ssh-keysign.c ssh-rand-helper.c]
[ssh.c sshconnect.c sshd.c openbsd-compat/bindresvport.c]
[openbsd-compat/bsd-arc4random.c openbsd-compat/bsd-misc.c]
[openbsd-compat/getrrsetbyname.c openbsd-compat/glob.c]
[openbsd-compat/mktemp.c openbsd-compat/port-linux.c]
[openbsd-compat/port-tun.c openbsd-compat/readpassphrase.c]
[openbsd-compat/setproctitle.c openbsd-compat/xmmap.c]
make the portable tree compile again - sprinkle unistd.h and string.h
back in. Don't redefine __unused, as it turned out to be used in
headers on Linux, and replace its use in auth-pam.c with ARGSUSED
2006-07-24 14:51:00 +10:00
Darren Tucker
7243f9db60
- (dtucker) [openbsd-compat/getrrsetbyname.c] Undef _res before defining it,
...
prevents warnings on platforms where _res is in the system headers.
2006-06-30 11:47:49 +10:00
Darren Tucker
13c539a4dc
- (dtucker) [openbsd-compat/getrrsetbyname.c] Use _compat_res instead of
...
_res, prevents problems on some platforms that have _res as a global but
don't have getrrsetbyname(), eg IRIX 5.3. Found and tested by
georg.schwarz at freenet.de, ok djm@.
2006-05-15 17:15:56 +10:00
Darren Tucker
16fd99c727
- (dtucker) [openbsd-compat/getrrsetbyname.c] Restore Portable-specific
...
ifdef lost during sync. Spotted by tim@.
2005-11-12 14:06:29 +11:00
Darren Tucker
7f24a0e647
- (dtucker) [openbsd-compat/{LOTS}] Move the "OPENBSD ORIGINAL" markers to
...
after the copyright notices. Having them at the top next to the CVSIDs
guarantees a conflict for each and every sync.
2005-11-10 16:18:56 +11:00
Damien Miller
9b59ada7ca
- (djm) [openbsd-compat/getrrsetbyname.c] Sync to latest OpenBSD version,
...
resolving memory leak bz#1111 reported by kremenek AT cs.stanford.edu;
ok dtucker@
2005-11-05 16:56:52 +11:00
Darren Tucker
84ce9b455d
- (dtucker) [configure.ac openbsd-compat/getrrsetbyname.c] Bug #1033 : Provide
...
templates for _getshort and _getlong if missing to prevent compiler warnings
on Linux.
2005-05-26 20:12:15 +10:00
Darren Tucker
f00e51d1f2
- (dtucker) [openbsd-compat/getrrsetbyname.c] Prevent getrrsetbyname from
...
failing with NOMEMORY if no sigs are returned and malloc(0) returns NULL.
From Martin.Kraemer at Fujitsu-Siemens.com; ok djm@
2004-08-29 16:12:29 +10:00
Darren Tucker
991d95f412
- (dtucker) [openbsd-compat/getrrsetbyname.c] Fix typo too: HAVE_DECL_H_ERROR
...
-> HAVE_DECL_H_ERRNO.
2004-05-13 20:24:10 +10:00
Darren Tucker
cc2685577b
- (dtucker) [openbsd-compat/getrrsetbyname.c] Check that HAVE_DECL_H_ERROR
...
is defined before using.
2004-05-13 20:10:38 +10:00
Darren Tucker
5bb140019c
- (dtucker) [configure.ac openbsd-compat/getrrsetbyname.c] Declare h_errno
...
as extern int if not already declared. Fixes compile errors on old SCO
platforms. ok tim@
2004-04-23 18:53:10 +10:00
Tim Rice
18959006c0
[openbsd-compat/getrrsetbyname.c] Make gcc 2.7.2.3 happy. ok djm@
2004-02-23 20:51:06 -08:00
Damien Miller
3db2e4daf7
- (djm) Annotate OpenBSD-derived files in openbsd-compat/ with original
...
source file path (in OpenBSD tree).
2003-11-24 13:33:34 +11:00
Darren Tucker
b8b4d0bbbe
Fix comments to reflect recent change.
2003-10-15 17:22:37 +10:00
Darren Tucker
5f88d3440e
- (dtucker) [acconfig.h configure.ac dns.c openbsd-compat/getrrsetbyname.c
...
openbsd-compat/getrrsetbyname.h] DNS fingerprint support is now always
compiled in but disabled in config.
2003-10-15 16:57:57 +10:00
Tim Rice
b284e16c10
[configure.ac acconfig.h openbsd-compat/getrrsetbyname.c] test for
...
HEADER.ad in arpa/nameser.h
2003-09-08 14:35:16 -07:00
Tim Rice
0ac16a4492
[configure.ac openbsd-compat/getrrsetbyname.c] wrap _getshort and
...
_getlong in #ifndef
2003-09-08 06:33:33 -07:00
Damien Miller
e323df6c48
- (djm) Sync openbsd-compat/ with OpenBSD CVS head
2003-05-18 22:24:09 +10:00
Damien Miller
b10f1cd878
- (djm) Only build getrrsetbyname replacement when using --with-dns
2003-05-15 20:55:27 +10:00
Damien Miller
d9ec370ac3
- (djm) Import getrrsetbyname() function from OpenBSD libc (for DNS support)
2003-05-15 12:27:08 +10:00