diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2018-07-24 19:16:27 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2018-07-24 19:16:27 -0400 |
commit | 199063ab53cbae3b3be199ff902f9f2d001d1058 (patch) | |
tree | e533572ad08648917322e35a05fd1465f99bae6b /tests/test_links_plus.out | |
parent | 86f0049bff0c8c802bb07fcb52ae468608ec0920 (diff) | |
download | bfs-199063ab53cbae3b3be199ff902f9f2d001d1058.tar.xz |
stat: Don't assume blocks are 512 bytes
POSIX says
> The unit for the st_blocks member of the stat structure is not defined
> within POSIX.1‐2008.
and recommends using DEV_BSIZE from <sys/param.h> if available.
Also, for -printf '%S', print 1 instead of NaN for empty files with no
blocks.
Diffstat (limited to 'tests/test_links_plus.out')
0 files changed, 0 insertions, 0 deletions