From: Richard Basch Date: Mon, 1 Apr 1996 15:15:28 +0000 (+0000) Subject: Leading/trailing colons should not be there based on the variable usage. X-Git-Tag: krb5-1.0-beta6~265 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=be6c0a0e433dd8176ec31567bd92b057d8885314;p=krb5.git Leading/trailing colons should not be there based on the variable usage. Solaris test was incorrect. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7746 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/bsd/ChangeLog b/src/appl/bsd/ChangeLog index c90a1c937..a8be0ef88 100644 --- a/src/appl/bsd/ChangeLog +++ b/src/appl/bsd/ChangeLog @@ -1,3 +1,9 @@ +Mon Apr 1 10:12:44 1996 Richard Basch + + * loginpaths.h: Leading/trailing colons should not be there based + on the variable usage in the code. Also, the tests for Solaris + were incorrect. + Sat Mar 23 17:20:00 1996 Sam Hartman * krcp.c (des_write): Use krb5_net_write instead of write, because diff --git a/src/appl/bsd/loginpaths.h b/src/appl/bsd/loginpaths.h index ed2c18908..a07b40c2a 100644 --- a/src/appl/bsd/loginpaths.h +++ b/src/appl/bsd/loginpaths.h @@ -1,19 +1,19 @@ /* here are actual path values from each operating system supported. */ /* LPATH is from rlogin, for login.c; RPATH is from rsh, for rshd.c */ #ifdef sun -#ifdef solaris20 -#define RPATH ":/usr/bin" -#define LPATH "/usr/bin:" +#ifdef __SVR4 +#define RPATH "/usr/bin" +#define LPATH "/usr/bin" #else /* sun3 and sun4 */ -#define LPATH ":/usr/ucb:/bin:/usr/bin" -#define RPATH ":/usr/ucb:/bin:/usr/bin" +#define LPATH "/usr/ucb:/bin:/usr/bin" +#define RPATH "/usr/ucb:/bin:/usr/bin" #endif #endif #ifdef __ultrix -#define LPATH ":/usr/ucb:/bin:/usr/bin" -#define RPATH ":/usr/ucb:/bin:/usr/bin" +#define LPATH "/usr/ucb:/bin:/usr/bin" +#define RPATH "/usr/ucb:/bin:/usr/bin" #endif #ifdef hpux @@ -23,24 +23,24 @@ #endif #ifdef NeXT -#define LPATH ":/usr/ucb:/bin:/usr/bin:/usr/local/bin" -#define RPATH "/bin:/usr/ucb:/usr/bin:" +#define LPATH "/usr/ucb:/bin:/usr/bin:/usr/local/bin" +#define RPATH "/bin:/usr/ucb:/usr/bin" #endif #ifdef _IBMR2 /* 3.2.0 */ -#define LPATH "/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin" -#define RPATH ":/usr/ucb:/bin:/usr/bin:/usr/bin/X11" +#define LPATH "/usr/bin:/usr/ucb:/usr/bin/X11" +#define RPATH "/usr/bin:/usr/ucb:/usr/bin/X11" #endif #ifdef __SCO__ #define LPATH "/bin:/usr/bin:/usr/dbin:/usr/ldbin" -#define RPATH "/bin:/usr/bin:/usr/local/bin::" +#define RPATH "/bin:/usr/bin:/usr/local/bin" #endif #ifdef sgi -#define LPATH ":/usr/sbin:/usr/bsd:/usr/bin:/bin:/usr/bin/X11" -#define RPATH ":/usr/sbin:/usr/bsd:/usr/bin:/bin:/usr/bin/X11" +#define LPATH "/usr/sbin:/usr/bsd:/usr/bin:/bin:/usr/bin/X11" +#define RPATH "/usr/sbin:/usr/bsd:/usr/bin:/bin:/usr/bin/X11" #endif #ifdef linux @@ -56,13 +56,13 @@ #ifdef __alpha #ifdef __osf__ #define LPATH "/usr/bin:." -#define RPATH "/usr/bin:/bin:" +#define RPATH "/usr/bin:/bin" #endif #endif #ifdef __pyrsoft #ifdef MIPSEB -#define RPATH ":/bin:/usr/bin" +#define RPATH "/bin:/usr/bin" #define LPATH "/usr/bin:/usr/ccs/bin:/usr/ucb:." #endif #endif @@ -77,7 +77,7 @@ #ifndef LPATH #ifdef __svr4__ /* taken from unixware, sirius... */ -#define RPATH ":/bin:/usr/bin:/usr/X/bin" +#define RPATH "/bin:/usr/bin:/usr/X/bin" #define LPATH "/usr/bin:/usr/dbin:/usr/dbin" #endif #endif