From a6b16b69fe1cad695b270dd5bf3deb2850fc4dd1 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 18 Aug 2011 00:46:17 -0700 Subject: [PATCH 1/1] regex: port to Stratus OpenVOS * lib/regex_internal.h (internal_function) [!_LIBC]: Simply define to empty, rather than attempting nonportable optimizations. Problem reported by Paul Green in: http://lists.gnu.org/archive/html/bug-diffutils/2011-08/msg00047.html and fix suggested by Eric Blake in: http://lists.gnu.org/archive/html/bug-gnulib/2011-08/msg00143.html --- ChangeLog | 10 ++++++++++ lib/regex_internal.h | 6 +----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6d9ab92c2..37c18f7cf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2011-08-18 Paul Eggert + + regex: port to Stratus OpenVOS + * lib/regex_internal.h (internal_function) [!_LIBC]: Simply + define to empty, rather than attempting nonportable optimizations. + Problem reported by Paul Green in: + http://lists.gnu.org/archive/html/bug-diffutils/2011-08/msg00047.html + and fix suggested by Eric Blake in: + http://lists.gnu.org/archive/html/bug-gnulib/2011-08/msg00143.html + 2011-08-17 Eric Blake getcwd: fix test failures on mingw diff --git a/lib/regex_internal.h b/lib/regex_internal.h index b599cc119..d7413b083 100644 --- a/lib/regex_internal.h +++ b/lib/regex_internal.h @@ -415,11 +415,7 @@ struct re_dfa_t; typedef struct re_dfa_t re_dfa_t; #ifndef _LIBC -# if defined __i386__ && !defined __EMX__ -# define internal_function __attribute ((regparm (3), stdcall)) -# else -# define internal_function -# endif +# define internal_function #endif static reg_errcode_t re_string_realloc_buffers (re_string_t *pstr, -- 2.11.0