regex: port to Stratus OpenVOS
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 18 Aug 2011 07:46:17 +0000 (00:46 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 18 Aug 2011 07:47:07 +0000 (00:47 -0700)
* 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
lib/regex_internal.h

index 6d9ab92..37c18f7 100644 (file)
--- 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
index b599cc1..d7413b0 100644 (file)
@@ -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,