Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
a932f187
Commit
a932f187
authored
Sep 09, 1997
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(create_process): Encode the new current dir.
parent
cfa0a255
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
src/process.c
src/process.c
+5
-0
No files found.
src/process.c
View file @
a932f187
...
...
@@ -266,6 +266,8 @@ extern int timers_run;
/* Maximum number of bytes to send to a pty without an eof. */
static
int
pty_max_bytes
;
extern
Lisp_Object
Vfile_name_coding_system
;
#ifdef HAVE_PTYS
/* The file name of the pty opened by allocate_pty. */
...
...
@@ -1453,6 +1455,9 @@ create_process (process, new_argv, current_dir)
Protect it from permanent change. */
char
**
save_environ
=
environ
;
current_dir
=
Fencode_coding_string
(
current_dir
,
Vfile_name_coding_system
,
Qt
);
#ifndef WINDOWSNT
pid
=
vfork
();
if
(
pid
==
0
)
...
...
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