Age | Commit message (Collapse) | Author | Files | Lines |
|
IRIX have it in sys/types.h as reported by PR42841.
|
|
first.
|
|
but it isn't BSDish warn(3). Do not use warn(3) family on Mac OS X, as
it likes to vis(3) some arguments.
|
|
* check optarg, it is used in nbcompat/unistd.h, but not checked.
* check socket() in -lnetwork in addition to -lsocket, for Haiku.
|
|
|
|
|
|
here.
|
|
#ifdef MMAP_NOT_AVAILABLE
/* Code which uses mmap, but with a comment saying we don't want to use it */
#endif
to
#if !defined(MMAP_NOT_AVAILABLE) && 0
/* Code which uses mmap, but with a comment saying we don't want to use it */
#endif
so system without mmap() also work...
|
|
Add support for stdbool.h. Tested by sketch on Solaris (where stdbool.h
only works in C99 mode).
|
|
|
|
|
|
XXX optreset should be removed here, it can't be used correctly with a
GNU getopt_long implementation without touching the environment.
|
|
Resort and improve getopt_long detection. Should fix issues on Interix
reported by mishka@ and QNX problems reported by Sean Boudreau.
|
|
Don't use getopt_long as replacement for getopt. It behaves different
and doesn't work well in combination with optreset. Instead use
getopt(3) from NetBSD if requested. Sync getopt_long.c with NetBSD while
here. Addresses issues with pkg_admin on Solaris reported by Tim Zingelman.
|
|
Add TAILQ_LAST.
|
|
|
|
- At least Ubuntu 8.1 sets __attribute__((warn_unused_result)) on fwrite()
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509
which means (void)fwrite(...) will *always* generate a warning, so
set -Wno-error to bypass this in Linux.sys.mk
- Ubuntu 8.1 also jumps through hoops to ensure ARG_MAX is *undefined*, so
work around this in tnftp and libnbcompat
|
|
AIX.
|
|
|
|
explicit about it at least for netinet/in.h. Include sys/types.h before
checking for content of sys/socket.h and netinet/in.h to fix this.
Reported and tested by Georg Schwarz.
|
|
|
|
|
|
|
|
|
|
Bump to libnbcompat-20081029.
|
|
|
|
|
|
PR 39797.
|
|
|
|
|
|
Based on patches from Aleksey Cheusov.
|
|
Reported by Aleksey Cheusov and Joern Clausen in PR 39738.
|
|
Add optional bdb. Make it included by default for standalone builds.
|
|
inttypes.h if present. Make md5.h, sha1.h and sha2.h self contained by
including nbcompat/types.h. Problem reported by Greg Troxel.
|
|
|
|
- DESTDIR support
- Add check for inttypes.h and sys/socket.h
- Provide compatibility fallback for netdb.h and the RFC2553 API
(getaddrinfo), supoprting IPv4 only. Code from OpenSSH.
- Use normal autoconf checks for fixed size bit types. Stop using the
older BSD types (u_intXX_t) in libnbcompat.
- Add implementation of shquote (from NetBSD).
- Fix a buglet in the getenv/setenv/unsetenv detection.
- Fix a buglet in the mkdtemp/mkstemp detection.
|
|
provided by the system and if one is lacking use the file. Don't short
cut the list as before and do a second iteration, it is just confusing.
This breaks the regression introduced by the last commit on OS X.
|
|
- declare endpwent and endgrent if system headers are missing them
- check for existance of statfs.f_flags before using it
- drop a bunch of redundant function checks
Based on the work of Timothy Larson.
|
|
|
|
Many of the hash function headers are incompatible with the OpenSSL
headers, so don't include them by default and require the caller to
include them on demand.
|
|
|
|
Check if stdio.h declares vasprintf and snprintf and provide a prototype
otherwise.
|
|
the offset for November and December and welcome libnbcompat-20080416.
|
|
|
|
|
|
Add an option to force a BSDish getopt (e.g. one with optreset).
Use the correct macros to decide when to define optind and friends.
|
|
- Use AC_FUNC_VFORK, needed on IRIX to get missing vfork() defined
to fork(). Ok by joerg.
|
|
|
|
Add digest length defines for md5, rmd160 and sha1. Use
__BEGIN_DECLS/__END_DECLS. Drop _KERNEL conditionals.
|
|
but DIR contains dd_fd, define it as macro. Otherwise use -1 when
calling fts_safe_changedir in fts(3). Based on patch from Sean Boudreau.
|