Skip to content

Commit

Permalink
erts/configure.in: Remove test for reversed setvbuf() arguments
Browse files Browse the repository at this point in the history
The test is not needed, because no code tests whether SETVBUF_REVERSED
is defined.

Furthermore, AC_FUNC_SETVBUF_REVERSED is now documented like this:

Do nothing. Formerly, this macro checked whether setvbuf takes the
buffering type as its second argument and the buffer pointer as the
third, instead of the other way around, and defined
SETVBUF_REVERSED. However, the last systems to have the problem were
those based on SVR2, which became obsolete in 1987, and the macro is
no longer needed.
  • Loading branch information
bjorng committed Sep 8, 2011
1 parent 293e2c2 commit c250fb9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion erts/autoconf/win32.config.cache.static
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ ac_cv_func_sbrk=${ac_cv_func_sbrk=no}
ac_cv_func_select=${ac_cv_func_select=no}
ac_cv_func_setlocale=${ac_cv_func_setlocale=yes}
ac_cv_func_setsid=${ac_cv_func_setsid=no}
ac_cv_func_setvbuf_reversed=${ac_cv_func_setvbuf_reversed=yes}
ac_cv_func_socket=${ac_cv_func_socket=no}
ac_cv_func_strchr=${ac_cv_func_strchr=yes}
ac_cv_func_strerror=${ac_cv_func_strerror=yes}
Expand Down
5 changes: 0 additions & 5 deletions erts/configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -1792,11 +1792,6 @@ AC_CHECK_FUNCS([ieee_handler fpsetmask finite isnan isinf res_gethostbyname dlop

AC_CHECK_DECLS([posix2time],,,[#include <time.h>])

if test "X$host" = "Xwin32"; then
ac_cv_func_setvbuf_reversed=yes
fi
AC_FUNC_SETVBUF_REVERSED

disable_vfork=false
if test "x$EMU_THR_LIB_NAME" != "x"; then
AC_MSG_CHECKING([if vfork is known to hang multithreaded applications])
Expand Down

0 comments on commit c250fb9

Please sign in to comment.