mirror of https://github.com/MidnightCommander/mc
Remove Cray support.
Sync with gnulib dea936112710e82dd42ffbea510f3bb644acdaaa. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
375839d657
commit
c5c561274b
|
@ -81,12 +81,6 @@
|
|||
/* HP-UX counts st_blocks in 1024-byte units.
|
||||
This loses when mixing HP-UX and BSD file systems with NFS. */
|
||||
#define ST_NBLOCKSIZE 1024
|
||||
#else /* !hpux */
|
||||
#if defined _CRAY
|
||||
#define ST_NBLOCKS(statbuf) \
|
||||
(S_ISREG ((statbuf).st_mode) || S_ISDIR ((statbuf).st_mode) \
|
||||
? (statbuf).st_blocks * ST_BLKSIZE (statbuf) / ST_NBLOCKSIZE : 0)
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
|
@ -1430,14 +1430,9 @@ get_fs_usage (char const *file, char const *disk, struct fs_usage *fsp)
|
|||
/* Empirically, the block counts on most SVR3 and SVR3-derived
|
||||
systems seem to always be in terms of 512-byte blocks,
|
||||
no matter what value f_bsize has. */
|
||||
#if defined _CRAY
|
||||
fsp->fsu_blocksize = PROPAGATE_ALL_ONES (fsd.f_bsize);
|
||||
#else
|
||||
fsp->fsu_blocksize = 512;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#if (defined STAT_STATVFS64 || defined STAT_STATFS3_OSF1 \
|
||||
|| defined STAT_STATFS2_FRSIZE || defined STAT_STATFS2_BSIZE \
|
||||
|| defined STAT_STATFS2_FSIZE || defined STAT_STATFS4)
|
||||
|
|
|
@ -189,7 +189,7 @@
|
|||
#include <sys/fs/s5param.h>
|
||||
#endif
|
||||
|
||||
#if defined (HAVE_SYS_FILSYS_H) && !defined (_CRAY)
|
||||
#ifdef HAVE_SYS_FILSYS_H
|
||||
#include <sys/filsys.h>
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue