aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--regcomp.c6
-rw-r--r--vms/ChangeLog5
-rw-r--r--vms/vms-conf.h1
4 files changed, 10 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index b344fe52..9067241a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-08-26 Arnold D. Robbins <arnold@skeeve.com>
+
+ * regcomp.c (parse_dup_op): Remove RE_TOKEN_INIT_BUG code (change of
+ Feb 19 2005) since it's no longer needed.
+
2013-08-20 Arnold D. Robbins <arnold@skeeve.com>
* nonposix.h: New file. Contains FAKE_FD_VALUE.
diff --git a/regcomp.c b/regcomp.c
index fd490d02..9f88bea8 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -2547,13 +2547,7 @@ parse_dup_op (bin_tree_t *elem, re_string_t *regexp, re_dfa_t *dfa,
{
bin_tree_t *tree = NULL, *old_tree = NULL;
int i, start, end, start_idx = re_string_cur_idx (regexp);
-#ifndef RE_TOKEN_INIT_BUG
re_token_t start_token = *token;
-#else
- re_token_t start_token;
-
- memcpy ((void *) &start_token, (void *) token, sizeof start_token);
-#endif
if (token->type == OP_OPEN_DUP_NUM)
{
diff --git a/vms/ChangeLog b/vms/ChangeLog
index 048e2e61..8dc413dd 100644
--- a/vms/ChangeLog
+++ b/vms/ChangeLog
@@ -1,3 +1,8 @@
+2013-08-26 Arnold D. Robbins <arnold@skeeve.com>
+
+ * vms-conf.h (RE_TOKEN_INIT_BUG): Remove define (change of
+ Feb 19 2005) since it's no longer needed.
+
2013-06-03 Arnold D. Robbins <arnold@skeeve.com>
* gawkmisc.c (init_sockets): New dummy function.
diff --git a/vms/vms-conf.h b/vms/vms-conf.h
index d53976f6..84346a8d 100644
--- a/vms/vms-conf.h
+++ b/vms/vms-conf.h
@@ -606,7 +606,6 @@
#endif
/* #define YYDEBUG 0 */
#define NO_MBSUPPORT /* VAX C's preprocessor can't handle mbsupport.h */
-#define RE_TOKEN_INIT_BUG /* regcomp.c */
#endif
/*