diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2014-11-22 20:38:31 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2014-11-22 20:38:31 +0200 |
commit | 838f65088cda84edc2df609d3e388acb3c8eb13d (patch) | |
tree | 9841c5f5bcec1057c38d9d1480c8a1d4ec57dbc3 /gawkmisc.c | |
parent | 1fc15398cbd381b83e20bca3913c12ee7aa34bd4 (diff) | |
download | egawk-838f65088cda84edc2df609d3e388acb3c8eb13d.tar.gz egawk-838f65088cda84edc2df609d3e388acb3c8eb13d.tar.bz2 egawk-838f65088cda84edc2df609d3e388acb3c8eb13d.zip |
Dork around with xmalloc for z/OS.
Diffstat (limited to 'gawkmisc.c')
-rw-r--r-- | gawkmisc.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -52,6 +52,8 @@ pointer xmalloc(size_t bytes) { pointer p; + if (bytes == 0) + bytes = 1; /* avoid dfa.c mishegos */ emalloc(p, pointer, bytes, "xmalloc"); return p; } |