# include <sys/fs/ufs_fs.h>
# define ROOTINO UFSROOTINO
#else
-# if defined(linux) || defined(CSRG_BASED)
+# if defined(__linux__) || defined(CSRG_BASED)
# define ROOTINO 2
# endif
# include <sys/param.h>
#include <ufs/fs.h>
#endif
#else
-#ifdef __hp_osf
-#include <unistd.h>
-#include <limits.h>
-#include <ufs/fs.h>
-#include <sys/access.h>
-#else
#ifdef __ultrix
#include <unistd.h>
#include <limits.h>
#include <unistd.h>
#endif
#endif /* __ultrix */
-#endif /* __hp_osf */
#endif /* sun */
-#ifdef __osf__
-#include <ufs/fs.h>
-#endif
-
#include <Xm/Xm.h>
#include <Xm/MwmUtil.h>
uid_t save_ruid;
gid_t save_rgid;
-#if defined(__hp_osf) || defined(__ultrix)
+#if defined(__ultrix)
/*--------------------------------------------------------------------
- * access code for __hp_osf, __ultrix
+ * access code for __ultrix
*------------------------------------------------------------------*/
setreuid(geteuid(),-1);
return access_priv;
#endif /* BLS */
-#endif /* Apollo & OSF */
+#endif /* Apollo */
}
if (lstat (to, &s2) >= 0) /* <to> exists */
{
if ((stat (to, &s3) >= 0) &&
-#if defined(__hp_osf) || (__ultrix) || defined(__osf__) || defined(linux) || \
+#if defined(__ultrix) || defined(__linux__) || \
defined(CSRG_BASED)
(((s3.st_mode & S_IFMT) == S_IFDIR) /* if is a directory */
|| ((s3.st_mode & S_IFMT) == S_IFSOCK)) ) /* or a net special */
else
tmpStr = (GETMESSAGE(11,54, "The move of the file/folder failed\ndue to some internal error. The internal\nerror given is:"));
catmsg = XtNewString(tmpStr);
- tmpStr = (GETMESSAGE(11,55, "Please see your System Adminstrator"));
+ tmpStr = (GETMESSAGE(11,55, "Please see your System Administrator"));
samsg = XtNewString(tmpStr);
}