[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fileblocks: missing declaration of st_blocks?
From: |
Jim Meyering |
Subject: |
Re: fileblocks: missing declaration of st_blocks? |
Date: |
Thu, 09 Jun 2011 11:04:55 +0200 |
James Youngman wrote:
> I notice that the fileblocks module defines st_blocks, but there's no
> declaration for it. Is that deliberate?
Hi James,
I doubt that it was deliberate.
It is likely that that code is effectively dead.
It is used only on systems that lack stat.st_blocks, etc.
This is the condition in which it would be used:
#if !HAVE_STRUCT_STAT_ST_BLOCKS && !defined _POSIX_SOURCE && defined BSIZE