[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] gawk branch, stable/pma-update, updated. gawk-4.1.0-5608-g802cacb7
From: |
Arnold Robbins |
Subject: |
[SCM] gawk branch, stable/pma-update, updated. gawk-4.1.0-5608-g802cacb7 |
Date: |
Sat, 1 Feb 2025 12:55:31 -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, stable/pma-update has been updated
via 802cacb75572f5c30515ec29df0b225748ac009a (commit)
from 7572993f565a7f2d1beca8d8aae23c2284f626f0 (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=802cacb75572f5c30515ec29df0b225748ac009a
commit 802cacb75572f5c30515ec29df0b225748ac009a
Author: Arnold D. Robbins <arnold@skeeve.com>
Date: Sat Feb 1 19:55:16 2025 +0200
Some cleanups.
diff --git a/extension/configure b/extension/configure
index 45aac712..a6e6381c 100755
--- a/extension/configure
+++ b/extension/configure
@@ -8795,17 +8795,7 @@ fi
true # On Linux we no longer need -no-pie
;;
*darwin*)
- # 27 November 2022: PMA only works on Intel.
- case $host in
- x86_64-*)
- LDFLAGS="${LDFLAGS} -Xlinker -no_pie"
- export LDFLAGS
- ;;
- *)
- # disable on all other macOS systems
- use_persistent_malloc=no
- ;;
- esac
+ true # On macos we no longer need -no-pie
;;
*cygwin* | *CYGWIN* | *solaris2.11* | freebsd13.* | openbsd7.* )
true # nothing to do, exes on these systems are not
PIE
diff --git a/main.c b/main.c
index 191e2b6a..0e79bec0 100644
--- a/main.c
+++ b/main.c
@@ -1912,9 +1912,6 @@ check_pma_security(const char *pma_file)
#endif /* USE_PERSISTENT_MALLOC */
}
-//#include <libproc.h>
-#include <spawn.h>
-
/* enable_pma --- do the PMA flow, handle ASLR on Linux */
static bool
diff --git a/posix/gawkmisc.c b/posix/gawkmisc.c
index 9a5c9a46..1656ae96 100644
--- a/posix/gawkmisc.c
+++ b/posix/gawkmisc.c
@@ -308,6 +308,8 @@ os_maybe_set_errno(void)
/* os_disable_aslr --- disable Address Space Layout Randomization */
+// This for Linux and MacOS. It's not needed on other *nix systems.
+
void
os_disable_aslr(const char *persist_file, char **argv)
{
@@ -379,8 +381,6 @@ os_disable_aslr(const char *persist_file, char **argv)
#endif
}
-// This for Linux and MacOS. It's not needed on other *nix systems.
-
// For MSYS, restore behavior of working in text mode.
#ifdef __MSYS__
void
-----------------------------------------------------------------------
Summary of changes:
extension/configure | 12 +-----------
main.c | 3 ---
posix/gawkmisc.c | 4 ++--
3 files changed, 3 insertions(+), 16 deletions(-)
hooks/post-receive
--
gawk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] gawk branch, stable/pma-update, updated. gawk-4.1.0-5608-g802cacb7,
Arnold Robbins <=