Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
9c06a1f3
Commit
9c06a1f3
authored
Mar 29, 2008
by
Eli Zaretskii
Browse files
(Fexpand_file_name): Fix last change.
parent
6d557778
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
src/fileio.c
src/fileio.c
+7
-2
No files found.
src/fileio.c
View file @
9c06a1f3
...
@@ -1064,6 +1064,7 @@ See also the function `substitute-in-file-name'. */)
...
@@ -1064,6 +1064,7 @@ See also the function `substitute-in-file-name'. */)
int length;
int length;
Lisp_Object handler, result;
Lisp_Object handler, result;
int multibyte;
int multibyte;
Lisp_Object hdir;
CHECK_STRING (name);
CHECK_STRING (name);
...
@@ -1385,8 +1386,12 @@ See also the function `substitute-in-file-name'. */)
...
@@ -1385,8 +1386,12 @@ See also the function `substitute-in-file-name'. */)
nm++;
nm++;
/* egetenv may return a unibyte string, which will bite us since
/* egetenv may return a unibyte string, which will bite us since
we expect the directory to be multibyte. */
we expect the directory to be multibyte. */
tem = string_to_multibyte (build_string (newdir));
tem = build_string (newdir);
newdir = SDATA (tem);
if (!STRING_MULTIBYTE (tem))
{
hdir = DECODE_FILE (tem);
newdir = SDATA (hdir);
}
#ifdef DOS_NT
#ifdef DOS_NT
collapse_newdir = 0;
collapse_newdir = 0;
#endif
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment