On Jan 24 18:46, Simone Crestani wrote: > Hi, > I found out that cygwin 1.5.19 gives some problems when I try to compile > cdrtools and cdrdao. > [...] > Try to convince cygwin to remove their non-conforming interface > definition. > > The getline() iterface I use goes back to 1982 and has been used in > a commercial > UNIX clone for a long time.
His fault. He shouldn't declare a function unconditionally, but use the system headers if there's a definition available. As for the correctness, the getline definition in Cygwin's /usr/include/sys/stdio.h file is *exactly* the definition used on Linux: ssize_t getline(char **, size_t *, FILE *); Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/