Mercurial > emacs
changeset 5908:b091dfc9cb4d
(Fsubstitute_in_file_name): Remove long-dead code that looked at USER before
LOGNAME.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Fri, 11 Feb 1994 21:51:51 +0000 |
parents | 5fdb226fe9a4 |
children | 5e38d151ac1a |
files | src/fileio.c |
diffstat | 1 files changed, 0 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- a/src/fileio.c Fri Feb 11 21:51:23 1994 +0000 +++ b/src/fileio.c Fri Feb 11 21:51:51 1994 +0000 @@ -1527,13 +1527,6 @@ /* 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 @@ /* 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;