[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: flock fails on sparc-sun-solaris2.6
From: |
Simon Josefsson |
Subject: |
Re: flock fails on sparc-sun-solaris2.6 |
Date: |
Thu, 18 Dec 2008 19:31:04 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) |
Eric Blake <address@hidden> writes:
> 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.
Done, thanks.
Tom, please test tomorrow's snapshot. Was this the only problem on
solaris?
/Simon