diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2013-12-05 20:47:36 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2013-12-05 20:47:36 +0200 |
commit | 85f06529ce8c4f015e3521f1f32dcad65e41974c (patch) | |
tree | 6cd1998bbb2f1706b6d999c7a6a0eba472de18ff | |
parent | b011990439cbb5dfc01ceb23a32c2ab13ab7de61 (diff) | |
parent | c084ecfb72609150bdfdce04831e83bb0e4e5cb6 (diff) | |
download | egawk-85f06529ce8c4f015e3521f1f32dcad65e41974c.tar.gz egawk-85f06529ce8c4f015e3521f1f32dcad65e41974c.tar.bz2 egawk-85f06529ce8c4f015e3521f1f32dcad65e41974c.zip |
Merge branch 'gawk-4.1-stable'
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | custom.h | 1 | ||||
-rw-r--r-- | dfa.c | 2 | ||||
-rw-r--r-- | regex.c | 4 |
4 files changed, 12 insertions, 3 deletions
@@ -1,3 +1,11 @@ +2013-12-05 Arnold D. Robbins <arnold@skeeve.com> + + Fixes for Z/OS. + + * custom.h (__attribute__): Define to empty. + * dfa.c (parse_bracket_exp): Add a cast to quiet a warning. + * regex.c: Correctly bracket include of <sys/param.h>. + 2013-12-03 John E. Malmberg <wb8tyw@qsl.net> * io.c (redirect): Add additional VMS error code to check. @@ -75,4 +75,5 @@ #define unsetenv zos_unsetenv extern int setenv(const char *name, const char *value, int rewrite); extern int unsetenv(const char *name); +#define __attribute__(x) #endif @@ -1054,7 +1054,7 @@ parse_bracket_exp (void) if (MB_CUR_MAX > 1 && !pred->single_byte_only) { /* Store the character class as wctype_t. */ - wctype_t wt = wctype (class); + wctype_t wt = (wctype_t) wctype (class); REALLOC_IF_NECESSARY (work_mbc->ch_classes, ch_classes_al, @@ -57,9 +57,9 @@ #include <limits.h> /* This header defines the MIN and MAX macros. */ -#ifndef VMS +#ifdef HAVE_SYS_PARAM_H #include <sys/param.h> -#endif /* VMS */ +#endif /* HAVE_SYS_PARAM_H */ #ifdef GAWK #undef alloca |