=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/Attic/minfd.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- src/usr.bin/ssh/Attic/minfd.c 1999/09/26 20:53:36 1.1 +++ src/usr.bin/ssh/Attic/minfd.c 1999/09/30 05:43:33 1.2 @@ -13,18 +13,12 @@ */ #include "includes.h" -RCSID("$Id: minfd.c,v 1.1 1999/09/26 20:53:36 deraadt Exp $"); +RCSID("$Id: minfd.c,v 1.2 1999/09/30 05:43:33 deraadt Exp $"); #include /* Needed by fdlim.h */ #include "fdlim.h" #include "minfd.h" -#ifdef _PATH_BSHELL -#define DEFAULT_SHELL _PATH_BSHELL -#else -#define DEFAULT_SHELL "/bin/sh" -#endif - static int _get_permanent_fd(const char *shellpath) { @@ -43,7 +37,7 @@ if ((pwd = getpwuid(getuid()))) shellpath = pwd->pw_shell; if (!shellpath) - shellpath = DEFAULT_SHELL; + shellpath = _PATH_BSHELL; } if ((shell = strrchr(shellpath, '/'))) shell++;