From: Paul Eggert Date: Thu, 18 Aug 2011 07:46:17 +0000 (-0700) Subject: regex: port to Stratus OpenVOS X-Git-Tag: v0.1~2003 X-Git-Url: http://erislabs.net/gitweb/?p=gnulib.git;a=commitdiff_plain;h=a6b16b69fe1cad695b270dd5bf3deb2850fc4dd1 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 --- 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,