Comment 4 for bug 537616

Revision history for this message
Nathan Weeks (weeks) wrote :

I'm not sure if this is related, but I get a similar error when I attempt to create arrays with > 64K elements; e.g., using the following sample code from the ChangeLog of mawk 1.3.4-20100419:

http://invisible-island.net/mawk/CHANGES-index.html#t20100419

+ increase size of reference-count for strings to unsigned. It was an
  unsigned short, which prevented using arrays larger than 64k, e.g.,
     BEGIN{for(i = 1; i <= 65550; ++i){if(i >= 65534 && i<= 65537) print i; s[i] = "a"}; delete s;}