diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | configure.in | 2 | ||||
-rw-r--r-- | defines.h | 9 |
3 files changed, 3 insertions, 10 deletions
@@ -1,6 +1,8 @@ | |||
1 | 20000117 | 1 | 20000117 |
2 | - Clean up bsd-bindresvport.c. Use arc4random() for picking initial | 2 | - Clean up bsd-bindresvport.c. Use arc4random() for picking initial |
3 | port, ignore EINVAL errors (Linux) when searching for free port. | 3 | port, ignore EINVAL errors (Linux) when searching for free port. |
4 | - Revert __snprintf -> snprintf aliasing. Apparently Solaris | ||
5 | __snprintf isn't. Report from Theo de Raadt <theo@cvs.openbsd.org> | ||
4 | 6 | ||
5 | 20000116 | 7 | 20000116 |
6 | - Renamed --with-xauth-path to --with-xauth | 8 | - Renamed --with-xauth-path to --with-xauth |
diff --git a/configure.in b/configure.in index a5a97e7ab..7b8b46b42 100644 --- a/configure.in +++ b/configure.in | |||
@@ -144,7 +144,7 @@ dnl Checks for header files. | |||
144 | AC_CHECK_HEADERS(bstring.h endian.h lastlog.h login.h maillock.h netdb.h netgroup.h paths.h poll.h pty.h shadow.h security/pam_appl.h sys/bitypes.h sys/bsdtty.h sys/cdefs.h sys/poll.h sys/select.h sys/stropts.h sys/time.h sys/ttcompat.h util.h utmp.h utmpx.h) | 144 | AC_CHECK_HEADERS(bstring.h endian.h lastlog.h login.h maillock.h netdb.h netgroup.h paths.h poll.h pty.h shadow.h security/pam_appl.h sys/bitypes.h sys/bsdtty.h sys/cdefs.h sys/poll.h sys/select.h sys/stropts.h sys/time.h sys/ttcompat.h util.h utmp.h utmpx.h) |
145 | 145 | ||
146 | dnl Checks for library functions. | 146 | dnl Checks for library functions. |
147 | AC_CHECK_FUNCS(arc4random bindresvport_af freeaddrinfo gai_strerror getaddrinfo getpagesize getnameinfo innetgr md5_crypt mkdtemp openpty rresvport_af setenv seteuid setlogin setproctitle setreuid snprintf strlcat strlcpy updwtmpx vsnprintf _getpty __snprintf __vsnprintf) | 147 | AC_CHECK_FUNCS(arc4random bindresvport_af freeaddrinfo gai_strerror getaddrinfo getpagesize getnameinfo innetgr md5_crypt mkdtemp openpty rresvport_af setenv seteuid setlogin setproctitle setreuid snprintf strlcat strlcpy updwtmpx vsnprintf _getpty) |
148 | 148 | ||
149 | AC_CHECK_FUNC(login, | 149 | AC_CHECK_FUNC(login, |
150 | [AC_DEFINE(HAVE_LOGIN)], | 150 | [AC_DEFINE(HAVE_LOGIN)], |
@@ -236,13 +236,4 @@ typedef unsigned int size_t; | |||
236 | # define PAM_STRERROR(a,b) pam_strerror((a),(b)) | 236 | # define PAM_STRERROR(a,b) pam_strerror((a),(b)) |
237 | #endif | 237 | #endif |
238 | 238 | ||
239 | /* Solaris doesn't have a public [v]snprintf() function, but it has */ | ||
240 | /* __[v]snprintf() */ | ||
241 | #if !defined(HAVE_SNPRINTF) && defined(HAVE___SNPRINTF) | ||
242 | # define snprintf __snprintf | ||
243 | #endif /* !defined(HAVE_SNPRINTF) && defined(HAVE___SNPRINTF) */ | ||
244 | #if !defined(HAVE_VSNPRINTF) && defined(HAVE___VSNPRINTF) | ||
245 | # define vsnprintf __vsnprintf | ||
246 | #endif /* !defined(HAVE_VSNPRINTF) && defined(HAVE___VSNPRINTF) */ | ||
247 | |||
248 | #endif /* _DEFINES_H */ | 239 | #endif /* _DEFINES_H */ |