bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: flock fails on sparc-sun-solaris2.6


From: Eric Blake
Subject: Re: flock fails on sparc-sun-solaris2.6
Date: Thu, 18 Dec 2008 18:09:12 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Simon Josefsson <simon <at> josefsson.org> writes:

> > flock.c:186: warning: implicit declaration of function 'memset'
> > flock.c:186: warning: incompatible implicit declaration of built-in 
function 'memset'
> 
> This one also seems simple.  Patch below.  Will push unless there are
> objections.

Push both of your simple fixes, but with one modification:

>       * lib/flock.c: Need to include errno.h.  Reported by "Tom
>       G. Christensen" <tgc <at> jupiterrise.com>.

You also need to include <string.h> to supply memset.

-- 
Eric Blake







reply via email to

[Prev in Thread] Current Thread [Next in Thread]