From 11d8c3e2a2ed6d91514840943122f2aef8c31384 Mon Sep 17 00:00:00 2001
From: Bruno Haible <bruno@clisp.org>
Date: Mon, 7 Jun 2021 01:19:05 +0200
Subject: [PATCH] Fix comments.

---
 lib/string.in.h | 2 +-
 lib/unistd.in.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/string.in.h b/lib/string.in.h
index 9dc5dc21e9..cb964bc8d1 100644
--- a/lib/string.in.h
+++ b/lib/string.in.h
@@ -446,7 +446,7 @@ _GL_WARN_ON_USE (strdup, "strdup is unportable - "
 #elif @GNULIB_MDA_STRDUP@
 /* On native Windows, map 'creat' to '_creat', so that -loldnames is not
    required.  In C++ with GNULIB_NAMESPACE, avoid differences between
-   platforms by defining GNULIB_NAMESPACE::creat always.  */
+   platforms by defining GNULIB_NAMESPACE::strdup always.  */
 # if defined _WIN32 && !defined __CYGWIN__
 #  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
 #   undef strdup
diff --git a/lib/unistd.in.h b/lib/unistd.in.h
index 7ca5299747..35abbde7ae 100644
--- a/lib/unistd.in.h
+++ b/lib/unistd.in.h
@@ -2027,7 +2027,7 @@ _GL_WARN_ON_USE (sleep, "sleep is unportable - "
 #if @GNULIB_MDA_SWAB@
 /* On native Windows, map 'swab' to '_swab', so that -loldnames is not
    required.  In C++ with GNULIB_NAMESPACE, avoid differences between
-   platforms by defining GNULIB_NAMESPACE::creat always.  */
+   platforms by defining GNULIB_NAMESPACE::swab always.  */
 # if defined _WIN32 && !defined __CYGWIN__
 #  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
 #   undef swab
-- 
2.39.5