gawk-diffs
[Top][All Lists]
Advanced

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

[SCM] gawk branch, master, updated. gawk-4.1.0-4839-gab1fc644


From: Eli Zaretskii
Subject: [SCM] gawk branch, master, updated. gawk-4.1.0-4839-gab1fc644
Date: Mon, 8 Aug 2022 08:34:12 -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, master has been updated
       via  ab1fc644ceabe10b7bf979b683c07c304faa487d (commit)
      from  c1de10ee6594d8e22168cb0ca9783eda422d59ba (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=ab1fc644ceabe10b7bf979b683c07c304faa487d

commit ab1fc644ceabe10b7bf979b683c07c304faa487d
Author: Eli Zaretskii <eliz@gnu.org>
Date:   Mon Aug 8 15:33:20 2022 +0300

    Add comment in gawkmisc.pc.

diff --git a/pc/ChangeLog b/pc/ChangeLog
index 6b0c8acc..1bbe82bc 100644
--- a/pc/ChangeLog
+++ b/pc/ChangeLog
@@ -1,5 +1,8 @@
 2022-08-08  Eli Zaretskii  <eliz@gnu.org>
 
+       * gawkmisc.pc (setenv, unsetenv): Add comment about usage in
+       different MinGW flavors.
+
        * config.sed, config.h: Define HAVE_STRSIGNAL.
 
        * gawkmisc.pc (memcpy_ulong, memset_ulong): Remove unused
diff --git a/pc/gawkmisc.pc b/pc/gawkmisc.pc
index 14df736b..2c3ebec8 100644
--- a/pc/gawkmisc.pc
+++ b/pc/gawkmisc.pc
@@ -284,6 +284,11 @@ files_are_same(char *path, SRCFILE *src)
 
 extern void *xmalloc (size_t);
 
+/* Emulate setenv and unsetenv.
+
+   Note: this is only actually used in MinGW64 builds, since
+   mingw.org's MinGW has these functions as inlines in stdlib.h since
+   mingwrt-5.0.  */
 int
 setenv (const char *name, const char *value, int rewrite)
 {

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

Summary of changes:
 pc/ChangeLog   | 3 +++
 pc/gawkmisc.pc | 5 +++++
 2 files changed, 8 insertions(+)


hooks/post-receive
-- 
gawk



reply via email to

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