]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fsubstitute_in_file_name): Remove long-dead code that looked at USER before
authorKarl Heuer <kwzh@gnu.org>
Fri, 11 Feb 1994 21:51:51 +0000 (21:51 +0000)
committerKarl Heuer <kwzh@gnu.org>
Fri, 11 Feb 1994 21:51:51 +0000 (21:51 +0000)
LOGNAME.

src/fileio.c

index 8d883cb0abd492d579d3657a3a35a661b75f85ae..ee623182acd1e4b02830994e00d72d0d82e26c07 100644 (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;