From 9da1a13b7f92e62181913ee81af3b4f138ff4eac Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 4 Jan 2012 09:33:32 -0800 Subject: [PATCH] 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". --- ChangeLog | 6 ++++++ lib/poll.c | 11 ++++++----- lib/select.c | 11 ++++++----- 3 files changed, 18 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index e101d121e..17e9ab376 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-01-04 Paul Eggert + + 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". + 2012-01-04 Jim Meyering test-vc-list-files-cvs.sh: remove obsolete comment diff --git a/lib/poll.c b/lib/poll.c index 9688677f3..780a6d67b 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)); diff --git a/lib/select.c b/lib/select.c index 3c1eeb19e..0f88b7b0c 100644 --- a/lib/select.c +++ b/lib/select.c @@ -145,11 +145,12 @@ windows_poll_handle (HANDLE h, int fd, { /* 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)); -- 2.11.0