diff options
author | John Malmberg <wb8tyw@qsl.net> | 2016-12-22 23:58:43 -0600 |
---|---|---|
committer | John Malmberg <wb8tyw@qsl.net> | 2016-12-23 00:00:13 -0600 |
commit | 0098373ed5cb15f4dc2e3a59e0efb872827fe7f1 (patch) | |
tree | 29a43373b6d02928ba2638924bea9d02e94ebc7d /support | |
parent | 7d02088c7c8731ae5c5b2810d1c30d7f77b29687 (diff) | |
download | egawk-0098373ed5cb15f4dc2e3a59e0efb872827fe7f1.tar.gz egawk-0098373ed5cb15f4dc2e3a59e0efb872827fe7f1.tar.bz2 egawk-0098373ed5cb15f4dc2e3a59e0efb872827fe7f1.zip |
Update OpenVMS for support directory
Diffstat (limited to 'support')
-rw-r--r-- | support/ChangeLog | 4 | ||||
-rw-r--r-- | support/dfa.c | 7 |
2 files changed, 10 insertions, 1 deletions
diff --git a/support/ChangeLog b/support/ChangeLog index be46a1c0..80164c39 100644 --- a/support/ChangeLog +++ b/support/ChangeLog @@ -1,3 +1,7 @@ +2016-12-22 John E. Malmberg <wb8tyw@qsl.net> + + * dfa.c fixes for OpenVMS + 2016-12-22 Arnold D. Robbins <arnold@skeeve.com> * ChangeLog: Created. diff --git a/support/dfa.c b/support/dfa.c index 8f34c4c1..d4ecbe9d 100644 --- a/support/dfa.c +++ b/support/dfa.c @@ -24,7 +24,12 @@ #include <assert.h> #include <ctype.h> +#ifndef VMS #include <stdint.h> +#else +#define SIZE_MAX __INT32_MAX +#define PTRDIFF_MAX __INT32_MAX +#endif #include <stdio.h> #ifndef VMS @@ -2138,7 +2143,7 @@ merge_constrained (position_set const *s1, position_set const *s2, static void merge (position_set const *s1, position_set const *s2, position_set *m) { - return merge_constrained (s1, s2, -1, m); + merge_constrained (s1, s2, -1, m); } /* Delete a position from a set. Return the nonzero constraint of the |