bug-gnulib
[Top][All Lists]
Advanced

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

Re: [Bug-gnulib] FYI: copy-file.c tweak


From: Jim Meyering
Subject: Re: [Bug-gnulib] FYI: copy-file.c tweak
Date: Fri, 25 Apr 2003 12:55:16 +0200

Bruno Haible <address@hidden> wrote:

> Jim Meyering writes:
>> 2003-04-25  Jim Meyering  <address@hidden>
>>
>>      * copy-file.c (copy_file_preserving): Declare buf_size to be
>>         of type size_t, not int.
>
> OK, fine with me, but you forgot to #include <stddef.h> or <stdlib.h>.

But copy-file.c already includes <stddef.h> via
safe-read.h (which has the prototype for safe_read).

> The fact that "exit.h" already includes <stdlib.h> is not an excuse -
> that's an implementatory detail of "exit.h" that can change without
> notice.




reply via email to

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