Sorry for the noise, hope I got it right this time.
(Last time I tried being too smart...the headers got mixed in with the
mail header.)
Thanks,
Isaac Dunham
>From a22f01bd9958ad9d31b2ed7c2def4d67d853140d Mon Sep 17 00:00:00 2001
From: Isaac Dunham <ibid...@gmail.com>
Date: Sun, 22 Sep 2013 17:15:06 -0700
Subject: [PATCH] dtlogin: use proper path to getty and /usr/local/bin in path
on Linux
---
cde/programs/dtlogin/config/Xconfig.src | 4 +---
cde/programs/dtlogin/dm.c | 2 ++
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/cde/programs/dtlogin/config/Xconfig.src b/cde/programs/dtlogin/config/Xconfig.src
index 57f0ec9..ad6ba47 100644
--- a/cde/programs/dtlogin/config/Xconfig.src
+++ b/cde/programs/dtlogin/config/Xconfig.src
@@ -135,9 +135,7 @@ XCOMM To specify a default user PATH environment variable.
XCOMM
XCOMM Dtlogin*userPath: <path>
-#if defined(linux)
-Dtlogin*userPath: /bin:/usr/bin:/sbin:/usr/sbin:CDE_INSTALLATION_TOP/bin
-#elif defined(CSRG_BASED)
+#if defined(linux) || defined(CSRG_BASED)
Dtlogin*userPath: /bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:CDE_INSTALLATION_TOP/bin
#endif
diff --git a/cde/programs/dtlogin/dm.c b/cde/programs/dtlogin/dm.c
index ca5c21c..59b99cf 100644
--- a/cde/programs/dtlogin/dm.c
+++ b/cde/programs/dtlogin/dm.c
@@ -1496,6 +1496,8 @@ SetTitle( char *name, char *ptr )
#define GETTYPATH "/usr/sbin/getty"
#elif defined(__OpenBSD__)
#define GETTYPATH "/usr/libexec/getty"
+#elif defined(__linux)
+#define GETTYPATH "/sbin/getty"
#elif !defined (__apollo)
#define GETTYPATH "/etc/getty"
#endif
--
1.7.10.4
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel