This is the mail archive of the
mailing list for the Cygwin project.
Re: [ANNOUNCEMENT] [1.7] Updated: file-5.00-1
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.
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 Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html