bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH 1/2] stat-macros: Enhance to provide block-related informatio


From: James Youngman
Subject: Re: [PATCH 1/2] stat-macros: Enhance to provide block-related information.
Date: Wed, 8 Jun 2011 22:34:19 +0100

On Wed, Jun 8, 2011 at 1:43 AM, Paul Eggert <address@hidden> wrote:
>>  Depends-on:
>> +sys_stat
>> +stdint
>
> We can break the dependency on the stdint module
> by using (size_t) -1 instead of SIZE_MAX.

Thanks for the tip.

> Why does stat-macros need to depend on sys_stat?

Because ST_NBLOCKS uses S_ISREG, for example.

> Unless there's a specific need for the dependency,
> I'd remove it.

James.



reply via email to

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