mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
Use S_BLKSIZE value for ST_NBLOCKSIZE where available.
This commit is contained in:
1 parent
b46e3e42eb
commit
570fe7948b
1 file changed
+5
-1
+5
-1
@@ -337,7 +337,11 @@ initialize_exit_failure (int status)
|
||||
#endif
|
||||
|
||||
#ifndef ST_NBLOCKSIZE
|
||||
# define ST_NBLOCKSIZE 512
|
||||
# ifdef S_BLKSIZE
|
||||
# define ST_NBLOCKSIZE S_BLKSIZE
|
||||
# else
|
||||
# define ST_NBLOCKSIZE 512
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* Redirection and wildcarding when done by the utility itself.
|
||||
|
||||
Reference in new issue
Block a user