>Number: 5231
>Category: config
>Synopsis: #ifndef/#undef mismatch in src/Configure with new _IS_QUAD
>parameters
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: apache
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Tue Nov 2 09:00:01 PST 1999
>Last-Modified:
>Originator: [EMAIL PROTECTED]
>Organization:
apache
>Release: 1.3.9
>Environment:
AIX 4.3.2
xlc 3.6.6
>Description:
ap_config_auto.h is generated with the following
incorrect code (#ifndef preceeding #undef) :
> /* determine: is off_t a quad */
> #ifndef AP_OFF_T_IS_QUAD
> #undef AP_OFF_T_IS_QUAD
> #endif
>
> /* determine: is void * a quad */
> #ifndef AP_VOID_P_IS_QUAD
> #undef AP_VOID_P_IS_QUAD
> #endif
>How-To-Repeat:
>Fix:
*** Configure-orig Wed Sep 22 14:31:10 1999
--- Configure Tue Nov 2 10:12:40 1999
***************
*** 2056,2062 ****
else
echo "" >>$AP_CONFIG_AUTO_H
echo "/* determine: is off_t a quad */" >>$AP_CONFIG_AUTO_H
! echo "#ifndef AP_OFF_T_IS_QUAD" >>$AP_CONFIG_AUTO_H
echo "#undef AP_OFF_T_IS_QUAD" >>$AP_CONFIG_AUTO_H
echo "#endif" >>$AP_CONFIG_AUTO_H
fi
--- 2056,2062 ----
else
echo "" >>$AP_CONFIG_AUTO_H
echo "/* determine: is off_t a quad */" >>$AP_CONFIG_AUTO_H
! echo "#ifdef AP_OFF_T_IS_QUAD" >>$AP_CONFIG_AUTO_H
echo "#undef AP_OFF_T_IS_QUAD" >>$AP_CONFIG_AUTO_H
echo "#endif" >>$AP_CONFIG_AUTO_H
fi
***************
*** 2078,2084 ****
else
echo "" >>$AP_CONFIG_AUTO_H
echo "/* determine: is void * a quad */" >>$AP_CONFIG_AUTO_H
! echo "#ifndef AP_VOID_P_IS_QUAD" >>$AP_CONFIG_AUTO_H
echo "#undef AP_VOID_P_IS_QUAD" >>$AP_CONFIG_AUTO_H
echo "#endif" >>$AP_CONFIG_AUTO_H
fi
--- 2078,2084 ----
else
echo "" >>$AP_CONFIG_AUTO_H
echo "/* determine: is void * a quad */" >>$AP_CONFIG_AUTO_H
! echo "#ifdef AP_VOID_P_IS_QUAD" >>$AP_CONFIG_AUTO_H
echo "#undef AP_VOID_P_IS_QUAD" >>$AP_CONFIG_AUTO_H
echo "#endif" >>$AP_CONFIG_AUTO_H
fi
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <[EMAIL PROTECTED]> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or ]
["Re: general/1098:"). If the subject doesn't match this ]
[pattern, your message will be misfiled and ignored. The ]
["apbugs" address is not added to the Cc line of messages from ]
[the database automatically because of the potential for mail ]
[loops. If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request from a ]
[developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]