projects
/
chise
/
xemacs-chise.git-
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update.
[chise/xemacs-chise.git-]
/
src
/
process-nt.c
diff --git
a/src/process-nt.c
b/src/process-nt.c
index
2cf4b68
..
9c0a4ef
100644
(file)
--- a/
src/process-nt.c
+++ b/
src/process-nt.c
@@
-642,6
+642,9
@@
static void
nt_finalize_process_data (Lisp_Process *p, int for_disksave)
{
assert (!for_disksave);
nt_finalize_process_data (Lisp_Process *p, int for_disksave)
{
assert (!for_disksave);
+ /* If it's still in the list of processes we are waiting on delete
+ it. */
+ mswindows_unwait_process (p);
if (NT_DATA (p)->h_process)
CloseHandle (NT_DATA (p)->h_process);
}
if (NT_DATA (p)->h_process)
CloseHandle (NT_DATA (p)->h_process);
}
@@
-1051,7
+1054,7
@@
nt_send_process (Lisp_Object proc, struct lstream* lstream)
chunklen = Lstream_read (lstream, chunkbuf, 512);
if (chunklen <= 0)
chunklen = Lstream_read (lstream, chunkbuf, 512);
if (chunklen <= 0)
- break; /* perhaps should abort() if < 0?
+ break; /* perhaps should ABORT() if < 0?
This should never happen. */
/* Lstream_write() will never successfully write less than the
This should never happen. */
/* Lstream_write() will never successfully write less than the