Mercurial > hg > xemacs-beta
diff src/fileio.c @ 288:e11d67e05968 r21-0b42
Import from CVS: tag r21-0b42
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:35:54 +0200 |
parents | 57709be46d1b |
children | c9fe270a4101 |
line wrap: on
line diff
--- a/src/fileio.c Mon Aug 13 10:35:07 2007 +0200 +++ b/src/fileio.c Mon Aug 13 10:35:54 2007 +0200 @@ -988,7 +988,7 @@ if (IS_DIRECTORY_SEP (nm[1]) || nm[1] == 0) /* ~ by itself */ { - if (!(newdir = (Bufbyte *) egetenv ("HOME"))) + if (!(newdir = (Bufbyte *) get_home_directory())) newdir = (Bufbyte *) ""; nm++; #ifdef WINDOWSNT @@ -1015,7 +1015,7 @@ "c:/"). The variable o has "~foo", so we can use the length of that string to offset nm. August Hill, 31 Aug 1998. */ - newdir = (Bufbyte *) egetenv ("HOME"); + newdir = (Bufbyte *) get_home_directory(); dostounix_filename (newdir); nm += strlen(o) + 1; #else /* not WINDOWSNT */