This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Error compiling mod_perl with apache-1.3.33-2 and perl-5.8.7-4 (was: Apache with mod_perl up and running)
- From: ericblake at comcast dot net (Eric Blake)
- To: Nenad Antic <nenad dot antic at ericsson dot com>, <cygwin at cygwin dot com>
- Date: Mon, 07 Nov 2005 14:35:37 +0000
- Subject: Re: Error compiling mod_perl with apache-1.3.33-2 and perl-5.8.7-4 (was: Apache with mod_perl up and running)
>
> BTW i think there is a bug in the snapshot in file
> /usr/include/sys/stdio.h, line 338. Had to change:
>
> -ssize_t _EXFUN(__getline, (char **, size_t *, FILE *));
> +ssize_t _EXFUN(__getline, (char **, size_t *, int, FILE *));
No, this is wrong. getline really is (char**, size_t*, FILE*), while
getdelim is (char**, size_t*, int, FILE*). Maybe it is apache
that is mistakenly using getline when they want getdelim.
http://www.die.net/doc/linux/man/man3/getline.3.html
--
Eric Blake
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/