PR: 45856
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@987861
13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 2.3.8
+ *) suexec: Support large log files. PR 45856. [Stefan Fritsch]
+
*) core: Abort with sensible error message if no or more than one MPM is
loaded. [Stefan Fritsch]
bindprocessor \
prctl \
timegm \
-getpgid
+getpgid \
+fopen64
)
dnl confirm that a void pointer is large enough to store a long integer
struct tm *lt;
if (!log) {
+#if defined(_LARGEFILE64_SOURCE) && HAVE_FOPEN64
+ if ((log = fopen64(AP_LOG_EXEC, "a")) == NULL) {
+#else
if ((log = fopen(AP_LOG_EXEC, "a")) == NULL) {
+#endif
fprintf(stderr, "suexec failure: could not open log file\n");
perror("fopen");
exit(1);