summaryrefslogtreecommitdiff
path: root/src/Intrinsic.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-11 13:37:47 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-11 13:37:47 -0800
commit2a80844c38fb63103e114a2ed77cd7c734271917 (patch)
treeb1e47fd758fb0fff00d2c863379a37cca36d349a /src/Intrinsic.c
parent83316566121745b6e1a0c3f4dbce06241ee29ecd (diff)
unifdef VMS
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/Intrinsic.c')
-rw-r--r--src/Intrinsic.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/Intrinsic.c b/src/Intrinsic.c
index cbff486..7790994 100644
--- a/src/Intrinsic.c
+++ b/src/Intrinsic.c
@@ -78,9 +78,7 @@ in this Software without prior written authorization from The Open Group.
#ifndef NO_IDENTIFY_WINDOWS
#include <X11/Xatom.h>
#endif
-#ifndef VMS
#include <sys/stat.h>
-#endif /* VMS */
#ifdef WIN32
#include <direct.h> /* for _getdrives() */
#endif
@@ -964,7 +962,6 @@ AccessFile(char *path, char *pathbuf, int len_pathbuf, char **pathret)
static Boolean
TestFile(String path)
{
-#ifndef VMS
int ret = 0;
struct stat status;
@@ -987,9 +984,6 @@ TestFile(String path)
(status.st_mode & S_IFMT) != S_IFDIR); /* not a directory */
#endif /* X_NOT_POSIX else */
return (Boolean) ret;
-#else /* VMS */
- return TRUE; /* Who knows what to do here? */
-#endif /* VMS */
}
/* return of TRUE = resolved string fit, FALSE = didn't fit. Not
@@ -1374,14 +1368,12 @@ XtResolvePathname(Display *dpy,
LOCK_PROCESS;
pd = _XtGetPerDisplay(dpy);
if (path == NULL) {
-#ifndef VMS
if (defaultPath == NULL) {
defaultPath = getenv("XFILESEARCHPATH");
if (defaultPath == NULL)
defaultPath = impl_default;
}
path = defaultPath;
-#endif /* VMS */
}
if (path == NULL)