projects
/
chise
/
xemacs-chise.git.1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
XEmacs 21.2.30 "Hygeia".
[chise/xemacs-chise.git.1]
/
src
/
sysdep.c
diff --git
a/src/sysdep.c
b/src/sysdep.c
index
b875b48
..
fbf71ac
100644
(file)
--- a/
src/sysdep.c
+++ b/
src/sysdep.c
@@
-699,7
+699,7
@@
sys_subshell (void)
#ifdef WINDOWSNT
/* Waits for process completion */
#ifdef WINDOWSNT
/* Waits for process completion */
- pid = _spawnlp (_P_WAIT, sh, sh, NULL);
+ pid = (HANDLE) _spawnlp (_P_WAIT, sh, sh, NULL);
if (pid == NULL)
write (1, "Can't execute subshell", 22);
if (pid == NULL)
write (1, "Can't execute subshell", 22);
@@
-2653,6
+2653,8
@@
sys_open (const char *path, int oflag, ...)
mode = va_arg (ap, int);
va_end (ap);
mode = va_arg (ap, int);
va_end (ap);
+ PATHNAME_CONVERT_OUT (path);
+
#ifdef WINDOWSNT
/* Make all handles non-inheritable */
oflag |= _O_NOINHERIT;
#ifdef WINDOWSNT
/* Make all handles non-inheritable */
oflag |= _O_NOINHERIT;