openssh/openbsd-compat
Darren Tucker e9dede06e5 Handle calloc(0,x) where different from malloc.
Configure assumes that if malloc(0) returns null then calloc(0,n)
also does.  On some old platforms (SunOS4) malloc behaves as expected
(as determined by AC_FUNC_MALLOC) but calloc doesn't.  Test for this
at configure time and activate the replacement function if found, plus
handle this case in rpl_calloc.
2018-02-26 00:09:04 +11:00
..
regress Remove remaining now-obsolete cvs $Ids. 2018-02-15 20:06:19 +11:00
arc4random.c cast to avoid type warning in error message 2016-07-15 20:02:27 +10:00
base64.c
base64.h Remove obsolete CVS $Id from source files. 2016-08-17 14:08:42 +10:00
basename.c
bcrypt_pbkdf.c upstream commit 2015-05-10 11:57:31 +10:00
bindresvport.c initialise salen in binresvport_sa 2016-05-10 09:51:06 +10:00
blf.h - [configure.ac openbsd-compat/Makefile.in openbsd-compat/bcrypt_pbkdf.c] 2013-12-07 11:51:51 +11:00
blowfish.c Wrap blf.h include in ifdef. From FreeBSD. 2015-04-07 10:47:15 +10:00
bsd-asprintf.c Strip trailing whitespace. 2016-08-02 09:44:25 +10:00
bsd-closefrom.c
bsd-cygwin_util.c Strip trailing whitespace. 2016-08-02 09:44:25 +10:00
bsd-cygwin_util.h Remove obsolete CVS $Id from source files. 2016-08-17 14:08:42 +10:00
bsd-err.c Add missing includes for bsd-err.c. 2017-08-27 08:55:40 +10:00
bsd-getpagesize.c Include includes.h for HAVE_GETPAGESIZE. 2017-10-31 10:09:33 +11:00
bsd-getpeereid.c
bsd-malloc.c Handle calloc(0,x) where different from malloc. 2018-02-26 00:09:04 +11:00
bsd-misc.c Check for raise and supply if needed. 2018-02-26 00:09:04 +11:00
bsd-misc.h Check for raise and supply if needed. 2018-02-26 00:09:04 +11:00
bsd-nextstep.c Strip trailing whitespace. 2016-08-02 09:44:25 +10:00
bsd-nextstep.h Remove obsolete CVS $Id from source files. 2016-08-17 14:08:42 +10:00
bsd-openpty.c Remove UNICOS support. 2018-02-15 20:04:02 +11:00
bsd-poll.c Remove obsolete CVS $Id from source files. 2016-08-17 14:08:42 +10:00
bsd-poll.h expose POLLHUP and POLLNVAL for netcat.c 2015-08-21 15:45:02 +10:00
bsd-setres_id.c Remove obsolete CVS $Id from source files. 2016-08-17 14:08:42 +10:00
bsd-setres_id.h Remove obsolete CVS $Id from source files. 2016-08-17 14:08:42 +10:00
bsd-signal.c Move signal compat code into bsd-signal.{c,h} 2018-02-11 21:24:48 +11:00
bsd-signal.h Move signal compat code into bsd-signal.{c,h} 2018-02-11 21:24:48 +11:00
bsd-snprintf.c Move VA_COPY macro into compat header. 2016-07-15 14:54:16 +10:00
bsd-statvfs.c Remove obsolete CVS $Id from source files. 2016-08-17 14:08:42 +10:00
bsd-statvfs.h Remove obsolete CVS $Id from source files. 2016-08-17 14:08:42 +10:00
bsd-waitpid.c Replace spaces with tabs. 2016-08-02 10:01:52 +10:00
bsd-waitpid.h Remove obsolete CVS $Id from source files. 2016-08-17 14:08:42 +10:00
chacha_private.h - (djm) [openbsd-compat/arc4random.c openbsd-compat/chacha_private.h] Pull 2013-10-09 10:42:32 +11:00
charclass.h - djm@cvs.openbsd.org 2010/09/25 09:30:16 2010-10-07 21:39:17 +11:00
daemon.c
dirname.c
explicit_bzero.c make explicit_bzero/memset safe for sz=0 2017-07-14 14:27:12 +10:00
fake-rfc2553.c Replace spaces with tabs. 2016-08-02 10:01:52 +10:00
fake-rfc2553.h Remove obsolete CVS $Id from source files. 2016-08-17 14:08:42 +10:00
fmt_scaled.c Import fmt_scaled.c rev 1.16 from OpenBSD. 2017-03-29 16:34:44 +11:00
freezero.c freezero should check for NULL. 2018-02-16 17:33:29 +11:00
getcwd.c Repair $OpenBSD markers. 2016-08-02 09:06:27 +10:00
getgrouplist.c Repair $OpenBSD markers. 2016-08-02 09:06:27 +10:00
getopt_long.c - (dtucker) [openbsd-compat/getopt.h openbsd-compat/getopt_long.c 2013-05-10 18:08:49 +10:00
getopt.h - (dtucker) [openbsd-compat/getopt.h] Remove unneeded bits. 2013-05-17 16:03:48 +10:00
getrrsetbyname-ldns.c avoid uninitialised free of ldns_res 2014-12-30 08:16:11 +11:00
getrrsetbyname.c - (dtucker) [INSTALL LICENCE configure.ac openbsd-compat/Makefile.in 2011-11-04 11:25:24 +11:00
getrrsetbyname.h
glob.c Prevent name collisions with system glob (bz#2463) 2015-10-29 10:48:23 +11:00
glob.h Prevent name collisions with system glob (bz#2463) 2015-10-29 10:48:23 +11:00
inet_aton.c whitespace at EOL 2016-05-31 16:45:28 +10:00
inet_ntoa.c
inet_ntop.c - otto@cvs.openbsd.org 2008/12/09 19:38:38 2011-09-23 11:16:09 +10:00
kludge-fd_set.c - (djm) [openbsd-compat/Makefile.in openbsd-compat/kludge-fd_set.c] 2014-10-01 09:43:07 +10:00
Makefile.in Remove remaining now-obsolete cvs $Ids. 2018-02-15 20:06:19 +11:00
md5.c support --without-openssl at configure time 2015-01-14 21:48:18 +11:00
md5.h support --without-openssl at configure time 2015-01-14 21:48:18 +11:00
mktemp.c - (dtucker) [openbsd-compat/mktemp.c] Fix compiler warning. ok djm 2011-10-01 18:46:12 +10:00
openbsd-compat.h Add prototype for readv if needed. 2018-02-26 00:09:04 +11:00
openssl-compat.c Remove obsolete CVS $Id from source files. 2016-08-17 14:08:42 +10:00
openssl-compat.h Move OPENSSL_NO_RIPEMD160 to compat. 2016-10-28 14:26:58 +11:00
port-aix.c Strip trailing whitespace. 2016-08-02 09:44:25 +10:00
port-aix.h Remove obsolete CVS $Id from source files. 2016-08-17 14:08:42 +10:00
port-irix.c Replace spaces with tabs. 2016-08-02 10:01:52 +10:00
port-irix.h Remove obsolete CVS $Id from source files. 2016-08-17 14:08:42 +10:00
port-linux.c Remove obsolete CVS $Id from source files. 2016-08-17 14:08:42 +10:00
port-linux.h Remove obsolete CVS $Id from source files. 2016-08-17 14:08:42 +10:00
port-net.c fix rdomain compilation errors 2017-10-27 08:42:33 +11:00
port-net.h fix rdomain compilation errors 2017-10-27 08:42:33 +11:00
port-solaris.c Use !=NULL instead of >0 for getdefaultproj. 2016-10-26 08:43:25 +11:00
port-solaris.h Remove obsolete CVS $Id from source files. 2016-08-17 14:08:42 +10:00
port-uw.c - (tim) [openbsd-compat/port-uw.c] Include misc.h for fwd_opts, used 2014-07-18 20:00:11 -07:00
port-uw.h
pwcache.c - (dtucker) [openbsd-compat/pwcache.c] Shrink ifdef area to prevent unused 2010-01-16 13:53:52 +11:00
readpassphrase.c Move signal compat code into bsd-signal.{c,h} 2018-02-11 21:24:48 +11:00
readpassphrase.h
reallocarray.c Wrap stdint.h includes in ifdefs. 2015-02-23 03:07:24 +11:00
realpath.c fix compilation on systems without SYMLOOP_MAX 2015-10-15 15:48:28 -07:00
recallocarray.c Wrap stdint.h include in #ifdef. 2017-06-09 13:36:29 +10:00
rmd160.c Wrap endian.h include inside ifdef (bz#2370). 2015-04-17 10:40:23 +10:00
rmd160.h support --without-openssl at configure time 2015-01-14 21:48:18 +11:00
rresvport.c
setenv.c - (djm) [openbsd-compat/setenv.c] Forklift upgrade, including inclusion 2011-09-23 11:26:34 +10:00
setproctitle.c Strip trailing whitespace. 2016-08-02 09:44:25 +10:00
sha1.c support --without-openssl at configure time 2015-01-14 21:48:18 +11:00
sha1.h support --without-openssl at configure time 2015-01-14 21:48:18 +11:00
sha2.c Repair $OpenBSD markers. 2016-08-02 09:06:27 +10:00
sha2.h Repair $OpenBSD marker. 2016-08-02 09:02:42 +10:00
sigact.c
sigact.h
strcasestr.c Add strcasestr to compat library. 2016-12-13 10:23:03 +11:00
strlcat.c
strlcpy.c - millert@cvs.openbsd.org 2006/05/05 15:27:38 2011-09-23 10:38:11 +10:00
strmode.c
strnlen.c - (dtucker) [configure.ac openbsd-compat/Makefile.in 2011-09-29 23:17:18 +10:00
strptime.c - (dtucker) [configure.ac openbsd-compat/Makefile.in 2010-08-16 13:15:23 +10:00
strsep.c
strtoll.c
strtonum.c
strtoul.c
strtoull.c - (dtucker) [configure.ac openbsd-compat/Makefile.in openbsd-compat/strtoull.c 2013-02-15 12:13:01 +11:00
sys-queue.h - (djm) [openbsd-compat/sys-queue.h] Sync with OpenBSD to get 2012-12-03 09:37:56 +11:00
sys-tree.h - (dtucker) [configure.ac openbsd-compat/sys-tree.h] Test if compiler allows 2013-02-08 11:50:09 +11:00
timingsafe_bcmp.c - matthew@cvs.openbsd.org 2010/09/24 13:33:00 2010-10-07 21:25:27 +11:00
vis.c Move DEF_WEAK into defines.h. 2016-10-15 05:51:12 +11:00
vis.h Update vis.h and vis.c from OpenBSD. 2016-06-03 16:03:44 +10:00
xcrypt.c Replace spaces with tabs. 2016-08-02 10:01:52 +10:00