On Feb 20 14:45, Corinna Vinschen wrote: > On Feb 20 13:35, Dave Korn wrote: > > magic.c:304: warning: passing argument 1 of 'strlcat' makes pointer from > > integer without a cast > > > > 304 (void)strlcat(strlcpy(tmp, inname, > > len), ".exe", len); > > > > > > That sort of construct works for "strcat (strcpy ())" but not for the 'l' > > versions, they aren't drop-in replacements. > > Urgh!
Upstream has changed my code! Sacrilege! Fortunately this code won't be used anymore in Cygwin 1.7 because 1.7 appends the .exe suffix in calls to open transparently. I'll send a fix upstream. The fix is to remove the CYGWIN specific code. I won't create a 1.5.x version of file >= 5.00 anyway. 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/