From a6451a9fa77d22d125cd55cfa04bd896f4e5e5a0 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Fri, 11 Feb 1994 21:51:51 +0000 Subject: [PATCH] (Fsubstitute_in_file_name): Remove long-dead code that looked at USER before LOGNAME. --- src/fileio.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/fileio.c b/src/fileio.c index 8d883cb0abd..ee623182acd 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -1527,13 +1527,6 @@ duplicates what `expand-file-name' does.") /* Get variable value */ o = (unsigned char *) egetenv (target); -/* The presence of this code makes vax 5.0 crash, for reasons yet unknown */ -#if 0 -#ifdef USG - if (!o && !strcmp (target, "USER")) - o = egetenv ("LOGNAME"); -#endif /* USG */ -#endif /* 0 */ if (!o) goto badvar; total += strlen (o); substituted = 1; @@ -1585,13 +1578,6 @@ duplicates what `expand-file-name' does.") /* Get variable value */ o = (unsigned char *) egetenv (target); -/* The presence of this code makes vax 5.0 crash, for reasons yet unknown */ -#if 0 -#ifdef USG - if (!o && !strcmp (target, "USER")) - o = egetenv ("LOGNAME"); -#endif /* USG */ -#endif /* 0 */ if (!o) goto badvar; -- 2.39.5