mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-18 09:19:24 +03:00
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.
|
/* HP-UX counts st_blocks in 1024-byte units.
|
||||||
This loses when mixing HP-UX and BSD file systems with NFS. */
|
This loses when mixing HP-UX and BSD file systems with NFS. */
|
||||||
#define ST_NBLOCKSIZE 1024
|
#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
|
||||||
#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
|
/* Empirically, the block counts on most SVR3 and SVR3-derived
|
||||||
systems seem to always be in terms of 512-byte blocks,
|
systems seem to always be in terms of 512-byte blocks,
|
||||||
no matter what value f_bsize has. */
|
no matter what value f_bsize has. */
|
||||||
#if defined _CRAY
|
|
||||||
fsp->fsu_blocksize = PROPAGATE_ALL_ONES (fsd.f_bsize);
|
|
||||||
#else
|
|
||||||
fsp->fsu_blocksize = 512;
|
fsp->fsu_blocksize = 512;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if (defined STAT_STATVFS64 || defined STAT_STATFS3_OSF1 \
|
#if (defined STAT_STATVFS64 || defined STAT_STATFS3_OSF1 \
|
||||||
|| defined STAT_STATFS2_FRSIZE || defined STAT_STATFS2_BSIZE \
|
|| defined STAT_STATFS2_FRSIZE || defined STAT_STATFS2_BSIZE \
|
||||||
|| defined STAT_STATFS2_FSIZE || defined STAT_STATFS4)
|
|| defined STAT_STATFS2_FSIZE || defined STAT_STATFS4)
|
||||||
|
@ -189,7 +189,7 @@
|
|||||||
#include <sys/fs/s5param.h>
|
#include <sys/fs/s5param.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined (HAVE_SYS_FILSYS_H) && !defined (_CRAY)
|
#ifdef HAVE_SYS_FILSYS_H
|
||||||
#include <sys/filsys.h>
|
#include <sys/filsys.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user