summaryrefslogtreecommitdiff
path: root/lib/poll.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-01-04 09:33:32 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2012-01-04 09:34:39 -0800
commit9da1a13b7f92e62181913ee81af3b4f138ff4eac (patch)
tree66834ccd915222adf1bf63259003aad460899381 /lib/poll.c
parent2438ef921151227c7acbecc7975cd612b548a94d (diff)
downloadgnulib-9da1a13b7f92e62181913ee81af3b4f138ff4eac.tar.gz
Spell out "Windows 9x" and "Windows XP".
* lib/poll.c, lib/select.c: In comments, replace "Win9x" with "Windows 9x" and "WinXP" with "Windows XP".
Diffstat (limited to 'lib/poll.c')
-rw-r--r--lib/poll.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/poll.c b/lib/poll.c
index 9688677f31..780a6d67b5 100644
--- a/lib/poll.c
+++ b/lib/poll.c
@@ -163,11 +163,12 @@ windows_compute_revents (HANDLE h, int *p_sought)
{
/* It was the write-end of the pipe. Check if it is writable.
If NtQueryInformationFile fails, optimistically assume the pipe is
- writable. This could happen on Win9x, where NtQueryInformationFile
- is not available, or if we inherit a pipe that doesn't permit
- FILE_READ_ATTRIBUTES access on the write end (I think this should
- not happen since WinXP SP2; WINE seems fine too). Otherwise,
- ensure that enough space is available for atomic writes. */
+ writable. This could happen on Windows 9x, where
+ NtQueryInformationFile is not available, or if we inherit a pipe
+ that doesn't permit FILE_READ_ATTRIBUTES access on the write end
+ (I think this should not happen since Windows XP SP2; WINE seems
+ fine too). Otherwise, ensure that enough space is available for
+ atomic writes. */
memset (&iosb, 0, sizeof (iosb));
memset (&fpli, 0, sizeof (fpli));