summaryrefslogtreecommitdiff
path: root/tests/test-dup3.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-dup3.c')
-rw-r--r--tests/test-dup3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-dup3.c b/tests/test-dup3.c
index dc5c6c2fc1..4392f9e3c2 100644
--- a/tests/test-dup3.c
+++ b/tests/test-dup3.c
@@ -29,7 +29,7 @@ SIGNATURE_CHECK (dup3, int, (int, int, int));
#include <stdbool.h>
#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
-/* Get declarations of the Win32 API functions. */
+/* Get declarations of the native Windows API functions. */
# define WIN32_LEAN_AND_MEAN
# include <windows.h>
/* Get _get_osfhandle. */
@@ -44,7 +44,7 @@ static bool
is_open (int fd)
{
#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
- /* On Win32, the initial state of unassigned standard file
+ /* On native Windows, the initial state of unassigned standard file
descriptors is that they are open but point to an
INVALID_HANDLE_VALUE, and there is no fcntl. */
return (HANDLE) _get_osfhandle (fd) != INVALID_HANDLE_VALUE;