gawk-diffs
[Top][All Lists]
Advanced

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

[SCM] gawk branch, feature/cpp-compile, updated. gawk-4.1.0-5489-g723e44


From: Arnold Robbins
Subject: [SCM] gawk branch, feature/cpp-compile, updated. gawk-4.1.0-5489-g723e44f8
Date: Mon, 27 Feb 2023 15:28:08 -0500 (EST)

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, feature/cpp-compile has been updated
       via  723e44f8ac2144e1d796b5f8d6f1ee481d4332e2 (commit)
       via  1abbbbc5a414d77c67d9a362148c1c81ddaeaf5b (commit)
       via  d5c88fbbbc92b80f424d35e5fd8cf3ede854dd87 (commit)
       via  6e98a8184b52173cf961cc4052bdd81c33b04244 (commit)
       via  1b4506029a421f09df3a41377f0f6260aa7aa100 (commit)
       via  2e2263c3c04a13463be1fbd13a392962f00234b2 (commit)
       via  bd3a8ae05c40b6e44a7be92bcaddd2dfbd9cdbaf (commit)
       via  70737fac5709a4766d34b87fe598f2c30ac4c051 (commit)
       via  153aa457a9a06a7573fd42b650682309fa1b7f8a (commit)
      from  5f3379592b41408edacf1e0fac249082914ddb9f (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=723e44f8ac2144e1d796b5f8d6f1ee481d4332e2

commit 723e44f8ac2144e1d796b5f8d6f1ee481d4332e2
Merge: 5f337959 1abbbbc5
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Mon Feb 27 22:27:58 2023 +0200

    Merge branch 'master' into feature/cpp-compile

diff --cc io.c
index d29476f7,85f56447..6a9a591a
--- a/io.c
+++ b/io.c
@@@ -3384,13 -3381,20 +3384,20 @@@ iop_alloc(int fd, const char *name, in
        iop->errcode = errno_val;
  
        if (fd != INVALID_HANDLE)
 -              fstat(fd, & iop->public.sbuf);
 +              fstat(fd, & iop->public_.sbuf);
- #if defined(__MINGW32__)
-       else if (errno_val == EISDIR) {
-               iop->public_.sbuf.st_mode = (_S_IFDIR | _S_IRWXU);
-               iop->public_.fd = FAKE_FD_VALUE;
-       }
+       else {
+ #ifdef HAVE_LSTAT
+               int (*statf)(const char *, struct stat *) = lstat;
+ #else
+               int (*statf)(const char *, struct stat *) = stat;
  #endif
+               /*
+                * Try to fill in the stat struct. If it fails, zero
+                * it out.
+                */
 -              if (statf(name, & iop->public.sbuf) < 0)
 -                      memset(& iop->public.sbuf, 0, sizeof(struct stat));
++              if (statf(name, & iop->public_.sbuf) < 0)
++                      memset(& iop->public_.sbuf, 0, sizeof(struct stat));
+       }
  
        return iop;
  }

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

Summary of changes:
 ChangeLog                 |   36 +-
 NEWS                      |    6 +-
 awk.h                     |    1 +
 awkgram.c                 |   31 +-
 awkgram.y                 |   31 +-
 awklib/eg/lib/inplace.awk |   10 +-
 awklib/eg/prog/id.awk     |    2 +-
 builtin.c                 |    2 +-
 command.y                 |    2 +-
 configh.in                |    3 +
 configure                 |    6 +
 configure.ac              |    1 +
 doc/ChangeLog             |   11 +
 doc/gawk.info             | 1140 +++++++++++++++++++++--------------------
 doc/gawk.texi             |   92 ++--
 doc/gawkinet.info         | 1254 ++++++++++++++++++++++-----------------------
 doc/gawkinet.texi         |    6 +-
 doc/gawktexi.in           |   92 ++--
 doc/gawkworkflow.info     |  993 ++++++++++++++++++-----------------
 doc/gawkworkflow.texi     |   10 +-
 doc/it/ChangeLog          |    4 +
 doc/it/gawktexi.in        |   38 +-
 doc/pm-gawk.info          |  645 ++++++++++++-----------
 eval.c                    |    1 +
 extension/ChangeLog       |    5 +
 extension/readdir.c       |    2 +-
 field.c                   |   20 +-
 gawkapi.h                 |    2 +-
 gawkmisc.c                |   12 +-
 interpret.h               |    9 +-
 io.c                      |   17 +-
 node.c                    |    2 +-
 po/ChangeLog              |    4 +
 po/sr.po                  |  386 ++++----------
 profile.c                 |   23 +-
 test/ChangeLog            |    4 +
 test/aasorti.awk          |    2 +-
 test/clobber.awk          |    4 +-
 test/elemnew2.awk         |    4 +-
 test/indirectcall.awk     |    2 +-
 test/nlstrina.awk         |    2 +-
 test/profile14.awk        |    2 +-
 test/readdir0.awk         |    2 +-
 test/tweakfld.awk         |   10 +-
 test/uparrfs.awk          |    2 +-
 45 files changed, 2445 insertions(+), 2488 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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