given where x is a file of the form: BEGIN { print "hello world" } and y is a file of the form: BEGIN { print "hello world" } it should print hello world twice ... it does not!
The bug is because numfiles is declared as a long in main.c but extern int in awkgram.y / awkgram.c. This bug appears that it would affect all 64 bit architectures
simple fix, change code to be the same for the type declaration and things work just fine.
validated on x86_64 and ppc64 (x86_64 seems to do the right thing regardless so that arch never sees the bug)
done, dead...
*** Bug 49101 has been marked as a duplicate of this bug. ***