X-Spam-Check-By: sourceware.org Date: Tue, 24 Jan 2006 18:59:22 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Errors compiling cdrtools under cygwin 1.5.19 Message-ID: <20060124175922.GK8318@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <43D6680D DOT 8010309 AT caltanet DOT it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43D6680D.8010309@caltanet.it> User-Agent: Mutt/1.4.2i Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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/