On 31 Oct 2014 22:26, Jan Chaloupka wrote: > there is probably a wrong number in description of statfs structure. In > description section, struct statfs contains as a last field f_spare[5]. > But the /usr/include/bits/statfs.h itself contains f_spare[4] > (glibc-headers-2.18 on f20). > > Looking into glibc-2.20, there is f_spare[6]. Looks like the structure > is gradually evolving :). > > Inspecting upstream history (gitk statfs.h), it shows it was f_spare[6] > since 1997. i wonder if we should strip f_spare from the man page. it's not really useful. the __SWORD_TYPE should probably be replaced with __fsword_t, and drop the __WORDSIZE logic. that gets ugly with syscall ABIs. -mike
Attachment:
signature.asc
Description: Digital signature