Correct paths to xterm as failsafe client on the BSDs.
authorPascal Stumpf <Pascal.Stumpf@cubes.de>
Tue, 20 Nov 2012 21:03:30 +0000 (22:03 +0100)
committerJon Trulson <jon@radscan.com>
Wed, 21 Nov 2012 00:17:25 +0000 (17:17 -0700)
cde/programs/dtlogin/session.c

index 41cf26d680da6ad76590cbd4e235df921088c292..0a2cd86f0cd9b3e7260230c7681b42be867d7962 100644 (file)
@@ -1652,7 +1652,11 @@ StartClient( struct verify_info *verify, struct display *d, int *pidp )
             failsafeArgv[i++] = "/usr/X/bin/xterm";
 #elif defined(__hpux)
            failsafeArgv[i++] = "/usr/bin/X11/hpterm";
-#elif defined(CSRG_BASED)
+#elif defined(__OpenBSD__)
+           failsafeArgv[i++] = "/usr/X11R6/bin/xterm";
+#elif defined(__NetBSD__)
+           failsafeArgv[i++] = "/usr/X11R7/bin/xterm";
+#elif defined(__FreeBSD__)
            failsafeArgv[i++] = "/usr/local/bin/xterm";
 #else
            failsafeArgv[i++] = "/usr/bin/X11/xterm";