changeset 15523:705e7cdfdeaf

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
author Paul Eggert <eggert@cs.ucla.edu>
date Thu, 18 Aug 2011 00:46:17 -0700
parents 0c9c512b8944
children f69f605f31b4
files ChangeLog lib/regex_internal.h
diffstat 2 files changed, 11 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2011-08-18  Paul Eggert  <eggert@cs.ucla.edu>
+
+	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  <eblake@redhat.com>
 
 	getcwd: fix test failures on mingw
--- a/lib/regex_internal.h
+++ b/lib/regex_internal.h
@@ -415,11 +415,7 @@
 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,