]> Savannah Git Hosting - gnulib.git/commitdiff
chdir: Fix mistake in GNULIB_POSIXCHECK.
authorBruno Haible <bruno@clisp.org>
Mon, 29 Jul 2024 18:21:06 +0000 (20:21 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 12 Aug 2024 16:08:11 +0000 (18:08 +0200)
* lib/unistd.in.h: Don't attach the chdir warning to the 'chown'
function.

ChangeLog
lib/unistd.in.h

index 84273168c753b2a3d0a1dcab7f900ea00b5f847f..f8d37c5aae706cd364db4cecfaf1b8f51c190bde 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-07-29  Bruno Haible  <bruno@clisp.org>
+
+       chdir: Fix mistake in GNULIB_POSIXCHECK.
+       * lib/unistd.in.h: Don't attach the chdir warning to the 'chown'
+       function.
+
 2024-07-29  Bruno Haible  <bruno@clisp.org>
 
        atoll: Fix module dependencies.
index 9ca377c4dfb432ec82abcd863aef725e673bfc47..ae92587b6dffb1c589a7fc352b6280f00586da2a 100644 (file)
@@ -340,7 +340,7 @@ _GL_CXXALIASWARN (chdir);
 #elif defined GNULIB_POSIXCHECK
 # undef chdir
 # if HAVE_RAW_DECL_CHDIR
-_GL_WARN_ON_USE (chown, "chdir is not always in <unistd.h> - "
+_GL_WARN_ON_USE (chdir, "chdir is not always in <unistd.h> - "
                  "use gnulib module chdir for portability");
 # endif
 #elif @GNULIB_MDA_CHDIR@