diff options
Diffstat (limited to 'src/w32proc.c')
| -rw-r--r-- | src/w32proc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/w32proc.c b/src/w32proc.c index 47cbf57d9ea..279816bcc3e 100644 --- a/src/w32proc.c +++ b/src/w32proc.c | |||
| @@ -174,7 +174,7 @@ delete_child (child_process *cp) | |||
| 174 | cp->status = STATUS_READ_ERROR; | 174 | cp->status = STATUS_READ_ERROR; |
| 175 | SetEvent (cp->char_consumed); | 175 | SetEvent (cp->char_consumed); |
| 176 | #if 0 | 176 | #if 0 |
| 177 | /* We used to forceably terminate the thread here, but it | 177 | /* We used to forcibly terminate the thread here, but it |
| 178 | is normally unnecessary, and in abnormal cases, the worst that | 178 | is normally unnecessary, and in abnormal cases, the worst that |
| 179 | will happen is we have an extra idle thread hanging around | 179 | will happen is we have an extra idle thread hanging around |
| 180 | waiting for the zombie process. */ | 180 | waiting for the zombie process. */ |
| @@ -241,7 +241,8 @@ reader_thread (void *arg) | |||
| 241 | 241 | ||
| 242 | /* We have to wait for the go-ahead before we can start */ | 242 | /* We have to wait for the go-ahead before we can start */ |
| 243 | if (cp == NULL | 243 | if (cp == NULL |
| 244 | || WaitForSingleObject (cp->char_consumed, INFINITE) != WAIT_OBJECT_0) | 244 | || WaitForSingleObject (cp->char_consumed, INFINITE) != WAIT_OBJECT_0 |
| 245 | || cp->fd < 0) | ||
| 245 | return 1; | 246 | return 1; |
| 246 | 247 | ||
| 247 | for (;;) | 248 | for (;;) |
| @@ -2295,7 +2296,7 @@ filesystems via ange-ftp. */); | |||
| 2295 | doc: /* Non-nil means attempt to fake realistic inode values. | 2296 | doc: /* Non-nil means attempt to fake realistic inode values. |
| 2296 | This works by hashing the truename of files, and should detect | 2297 | This works by hashing the truename of files, and should detect |
| 2297 | aliasing between long and short (8.3 DOS) names, but can have | 2298 | aliasing between long and short (8.3 DOS) names, but can have |
| 2298 | false positives because of hash collisions. Note that determing | 2299 | false positives because of hash collisions. Note that determining |
| 2299 | the truename of a file can be slow. */); | 2300 | the truename of a file can be slow. */); |
| 2300 | Vw32_generate_fake_inodes = Qnil; | 2301 | Vw32_generate_fake_inodes = Qnil; |
| 2301 | #endif | 2302 | #endif |
| @@ -2319,4 +2320,3 @@ where the performance impact may be noticeable even on modern hardware. */); | |||
| 2319 | staticpro (&Vw32_valid_codepages); | 2320 | staticpro (&Vw32_valid_codepages); |
| 2320 | } | 2321 | } |
| 2321 | /* end of w32proc.c */ | 2322 | /* end of w32proc.c */ |
| 2322 | |||