This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]