]> 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 17:10:01 +0000 (19:10 +0200)
* lib/unistd.in.h: Don't attach the chdir warning to the 'chown'
function.

ChangeLog
lib/unistd.in.h

index 24ebe1c8c4365b467668cfa929412c22754eab22..f5fe167e48f0da23bd5b7571df75d6057bf4681f 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 c3658219fbcee17f4f9b4895c015b133cbc0fe59..952e153bcd6ecbf495915b51c46fb8a70da4e489 100644 (file)
@@ -339,7 +339,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@