apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45513] Wrong pid_t_fmt detection for Solaris
Date Thu, 07 Aug 2008 22:31:27 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45513





--- Comment #6 from Rainer Jung <rainer.jung@kippdata.de>  2008-08-07 15:31:26 PST ---
Some examples why you shouldn't move the whole block down:

1) 

size_t_fmt="#define APR_SIZE_T_FMT \"$size_t_fmt\""
ssize_t_fmt="#define APR_SSIZE_T_FMT \"$ssize_t_fmt\""

Need to stay as the latest size_t_fmt/ssize_t_fmt manipulating statements.

2)

AC_MSG_CHECKING([which format to use for apr_ssize_t])
if test -n "$ssize_t_fmt"; then

# So we take this branch if we already determined ssize_t_fmt

    AC_MSG_RESULT(%$ssize_t_fmt)
elif test "$ac_cv_sizeof_ssize_t" = "$ac_cv_sizeof_int"; then
    ssize_t_fmt="d"
    AC_MSG_RESULT(%d)
elif test "$ac_cv_sizeof_ssize_t" = "$ac_cv_sizeof_long"; then
    ssize_t_fmt="ld"
    AC_MSG_RESULT(%ld)
else
# And now we complain, because we couldn't determine the format
    AC_ERROR([could not determine the proper format for apr_ssize_t])
fi

Obviously this block (and the same for the size_t_fmt block) needs to stay
below the special case settings too.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


Mime
View raw message