aboutsummaryrefslogtreecommitdiffstats
path: root/src/fileio.c
diff options
context:
space:
mode:
authorKarl Heuer1994-02-11 21:51:51 +0000
committerKarl Heuer1994-02-11 21:51:51 +0000
commita6451a9fa77d22d125cd55cfa04bd896f4e5e5a0 (patch)
treec391ab5d6c36fbb6a25469c0a9103208d103ff83 /src/fileio.c
parent2c9ae24e7930a42c0596c9adb1ed828c58b18157 (diff)
downloademacs-a6451a9fa77d22d125cd55cfa04bd896f4e5e5a0.tar.gz
emacs-a6451a9fa77d22d125cd55cfa04bd896f4e5e5a0.zip
(Fsubstitute_in_file_name): Remove long-dead code that looked at USER before
LOGNAME.
Diffstat (limited to 'src/fileio.c')
-rw-r--r--src/fileio.c14
1 files changed, 0 insertions, 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.")
1527 1527
1528 /* Get variable value */ 1528 /* Get variable value */
1529 o = (unsigned char *) egetenv (target); 1529 o = (unsigned char *) egetenv (target);
1530/* The presence of this code makes vax 5.0 crash, for reasons yet unknown */
1531#if 0
1532#ifdef USG
1533 if (!o && !strcmp (target, "USER"))
1534 o = egetenv ("LOGNAME");
1535#endif /* USG */
1536#endif /* 0 */
1537 if (!o) goto badvar; 1530 if (!o) goto badvar;
1538 total += strlen (o); 1531 total += strlen (o);
1539 substituted = 1; 1532 substituted = 1;
@@ -1585,13 +1578,6 @@ duplicates what `expand-file-name' does.")
1585 1578
1586 /* Get variable value */ 1579 /* Get variable value */
1587 o = (unsigned char *) egetenv (target); 1580 o = (unsigned char *) egetenv (target);
1588/* The presence of this code makes vax 5.0 crash, for reasons yet unknown */
1589#if 0
1590#ifdef USG
1591 if (!o && !strcmp (target, "USER"))
1592 o = egetenv ("LOGNAME");
1593#endif /* USG */
1594#endif /* 0 */
1595 if (!o) 1581 if (!o)
1596 goto badvar; 1582 goto badvar;
1597 1583