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:
parent
2c9ae24e79
commit
a6451a9fa7
1 changed files with 0 additions and 14 deletions
14
src/fileio.c
14
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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue