1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-29 08:31:35 -08:00

(Fsubstitute_in_file_name): Remove long-dead code that looked at USER before

LOGNAME.
This commit is contained in:
Karl Heuer 1994-02-11 21:51:51 +00:00
parent 2c9ae24e79
commit a6451a9fa7

View file

@ -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;