Skip to content

Commit

Permalink
Fix broken sprintf handling in PHP
Browse files Browse the repository at this point in the history
  • Loading branch information
Sascha Schumann committed Dec 19, 1999
1 parent 4dbf758 commit b4b39c6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 5 additions & 1 deletion acconfig.h.in
Expand Up @@ -122,4 +122,8 @@
/* Define if struct sockaddr contains the field sa_len */
#undef HAVE_SOCKADDR_SA_LEN

#define sprintf zend_sprintf
#undef BROKEN_SPRINTF

#if BROKEN_SPRINTF
#define sprintf php_sprintf
#endif
6 changes: 1 addition & 5 deletions configure.in
Expand Up @@ -373,11 +373,7 @@ vsnprintf \
AC_REPLACE_FUNCS(strlcat strlcpy getopt)
AC_FUNC_UTIME_NULL
AC_FUNC_ALLOCA
dnl## OLDLIBS=$LIBS; LIBS=""
dnl This is also defined/used in libzend. To avoid a redefinition
dnl we use that version
dnl AC_BROKEN_SPRINTF
dnl## LIBS=$OLDLIBS
AC_BROKEN_SPRINTF

dnl AIX keeps in_addr_t in /usr/include/netinet/in.h
dnl AC_MSG_CHECKING(for in_addr_t)
Expand Down

0 comments on commit b4b39c6

Please sign in to comment.