diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2014-11-22 20:39:33 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2014-11-22 20:39:33 +0200 |
commit | b15c7145da2b28bdb0f6521428d5f057a7dc8cfb (patch) | |
tree | 16acf17161995480d329ac4db77ccdafb582ad40 /gawkmisc.c | |
parent | a3454a6b0e25a6d1be66b698c52bae9674309c21 (diff) | |
parent | 838f65088cda84edc2df609d3e388acb3c8eb13d (diff) | |
download | egawk-b15c7145da2b28bdb0f6521428d5f057a7dc8cfb.tar.gz egawk-b15c7145da2b28bdb0f6521428d5f057a7dc8cfb.tar.bz2 egawk-b15c7145da2b28bdb0f6521428d5f057a7dc8cfb.zip |
Merge branch 'gawk-4.1-stable'
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; } |