gawk-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] gawk branch, gawk-5.2-stable, updated. gawk-4.1.0-5016-g57a2c2e0


From: Eli Zaretskii
Subject: [SCM] gawk branch, gawk-5.2-stable, updated. gawk-4.1.0-5016-g57a2c2e0
Date: Sun, 12 Mar 2023 06:54:33 -0400 (EDT)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".

The branch, gawk-5.2-stable has been updated
       via  57a2c2e0b646391c0331e4fc5dfb07685483742a (commit)
      from  e5b9ad7e39b2b3fc7c3bf502075a60cc2a35af61 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=57a2c2e0b646391c0331e4fc5dfb07685483742a

commit 57a2c2e0b646391c0331e4fc5dfb07685483742a
Author: Eli Zaretskii <eliz@gnu.org>
Date:   Sun Mar 12 12:53:33 2023 +0200

    Fix readdir_test test on MS-Windows.

diff --git a/extension/ChangeLog b/extension/ChangeLog
index afc5e58b..f0b75ffb 100644
--- a/extension/ChangeLog
+++ b/extension/ChangeLog
@@ -1,3 +1,8 @@
+2023-03-12  Eli Zaretskii  <eliz@gnu.org>
+
+       * readdir_test.c (dir_can_take_file): Adjust condition to changes
+       in io.c.
+
 2023-02-27         Arnold D. Robbins     <arnold@skeeve.com>
 
        * readdir.c (dir_can_take_file): Test is more flexible, based on
diff --git a/extension/readdir_test.c b/extension/readdir_test.c
index 13bf667c..6e805011 100644
--- a/extension/readdir_test.c
+++ b/extension/readdir_test.c
@@ -256,7 +256,7 @@ dir_can_take_file(const awk_input_buf_t *iobuf)
        if (iobuf == NULL)
                return awk_false;
 
-       return (iobuf->fd != INVALID_HANDLE && S_ISDIR(iobuf->sbuf.st_mode));
+       return (iobuf->fd != INVALID_HANDLE || S_ISDIR(iobuf->sbuf.st_mode));
 }
 
 /*
diff --git a/pc/ChangeLog b/pc/ChangeLog
index f3eab62f..275a185e 100644
--- a/pc/ChangeLog
+++ b/pc/ChangeLog
@@ -1,3 +1,7 @@
+2023-03-12  Eli Zaretskii  <eliz@gnu.org>
+
+       * Makefile.ext (readdir_test.$(SOEXT)): Fix typo.
+
 2023-03-09         Arnold D. Robbins     <arnold@skeeve.com>
 
        * Makefile.tst: Regenerated.
diff --git a/pc/Makefile.ext b/pc/Makefile.ext
index db1e6f26..3de0f627 100644
--- a/pc/Makefile.ext
+++ b/pc/Makefile.ext
@@ -45,7 +45,7 @@ intdiv.$(SOEXT): intdiv.c
 readdir.$(SOEXT): readdir.c gawkdirfd.h
        gcc -I.. -DHAVE_DIRENT_H -shared -gdwarf-2 -g3 -static-libgcc -o $@ 
readdir.c
 
-readdir_test.$(SOEXT): readdir.c gawkdirfd.h
+readdir_test.$(SOEXT): readdir_test.c gawkdirfd.h
        gcc -I.. -DHAVE_DIRENT_H -shared -gdwarf-2 -g3 -static-libgcc -o $@ 
readdir_test.c
 
 rwarray.$(SOEXT): rwarray.c

-----------------------------------------------------------------------

Summary of changes:
 extension/ChangeLog      | 5 +++++
 extension/readdir_test.c | 2 +-
 pc/ChangeLog             | 4 ++++
 pc/Makefile.ext          | 2 +-
 4 files changed, 11 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

[Prev in Thread] Current Thread [Next in Thread]