remove OSF1 support
This commit is contained in:
@@ -106,7 +106,7 @@
|
||||
#ifdef __aix
|
||||
#endif
|
||||
|
||||
#if defined(sun) || defined(__osf__)
|
||||
#if defined(sun)
|
||||
#include <sys/types.h>
|
||||
#include <sys/statvfs.h>
|
||||
#endif
|
||||
@@ -270,17 +270,6 @@ static void getFSType(const String path,
|
||||
strncpy(fsType,"",MAXLINELENGTH);
|
||||
#endif /* __hpux */
|
||||
|
||||
#ifdef __osf__
|
||||
#define GETFSTYPE
|
||||
struct statvfs buf;
|
||||
|
||||
strncpy(platform,"decunix",MAXLINELENGTH);
|
||||
if (statvfs(path, &buf) == 0)
|
||||
strncpy(fsType,buf.f_basetype,MAXLINELENGTH);
|
||||
else
|
||||
strncpy(fsType,"",MAXLINELENGTH);
|
||||
#endif /* DEC Unix */
|
||||
|
||||
#ifndef GETFSTYPE
|
||||
strncpy(platform,"unknown",MAXLINELENGTH);
|
||||
strncpy(fsType, "",MAXLINELENGTH);
|
||||
|
||||
Reference in New Issue
Block a user