[newlib-cygwin] Cygwin: stop exporting _alloca

Corinna Vinschen corinna@sourceware.org
Mon Aug 8 16:17:16 GMT 2022


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=1556b96b1b3b03112f271dfe30e043ed538354fd

commit 1556b96b1b3b03112f271dfe30e043ed538354fd
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Mon Aug 8 18:16:09 2022 +0200

    Cygwin: stop exporting _alloca
    
    This is a remnant from 32 bit times, mindlessly copied into
    the 64 bit export table.
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 winsup/cygwin/cygwin.din               | 1 -
 winsup/cygwin/include/cygwin/version.h | 3 ++-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/winsup/cygwin/cygwin.din b/winsup/cygwin/cygwin.din
index c6768e4fc..f1371af1b 100644
--- a/winsup/cygwin/cygwin.din
+++ b/winsup/cygwin/cygwin.din
@@ -133,7 +133,6 @@ __xdrrec_getrec SIGFE
 __xdrrec_setnonblock SIGFE
 __xpg_sigpause SIGFE
 __xpg_strerror_r SIGFE
-_alloca = __alloca NOSIGFE
 _dll_crt0 NOSIGFE
 _Exit SIGFE
 _exit SIGFE
diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h
index 0eb472ad8..4a9de4cd6 100644
--- a/winsup/cygwin/include/cygwin/version.h
+++ b/winsup/cygwin/include/cygwin/version.h
@@ -477,12 +477,13 @@ details. */
        sem_clockwait, sig2str, str2sig.
   342: Remove cleanup_glue.
   343: Change FD_SETSIZE and NOFILE.
+  344: Remove _alloca.
 
   Note that we forgot to bump the api for ualarm, strtoll, strtoull,
   sigaltstack, sethostname. */
 
 #define CYGWIN_VERSION_API_MAJOR 0
-#define CYGWIN_VERSION_API_MINOR 343
+#define CYGWIN_VERSION_API_MINOR 344
 
 /* There is also a compatibity version number associated with the shared memory
    regions.  It is incremented when incompatible changes are made to the shared


More information about the Cygwin-cvs mailing list