Igor Liferenko
2016-05-15 02:05:00 UTC
Hi all,
For example, 'bdd14.idx' from Knuth's example programs has swapped
index entries for 'verbose' and 'Verbose' with TL's cweave.
Steps to reproduce:
wget http://www-cs-faculty.stanford.edu/~uno/programs/bdd14.w
cweave bdd14.w
cp bdd14.idx bdd14.idx-TL
Now change hash_size from 8501 to 353 (both in common.w and cweave.w),
recompile and do this:
cweave bdd14.w
cp bdd14.idx bdd14.idx-DEK
See the difference:
diff bdd14.idx-DEK bdd14.idx-TL
Not sure if it is a bug in cweb.
I propose to leave hash_size 353 by default in TL's cweb - this will
work just fine in all cases.
Regards,
Igor
For example, 'bdd14.idx' from Knuth's example programs has swapped
index entries for 'verbose' and 'Verbose' with TL's cweave.
Steps to reproduce:
wget http://www-cs-faculty.stanford.edu/~uno/programs/bdd14.w
cweave bdd14.w
cp bdd14.idx bdd14.idx-TL
Now change hash_size from 8501 to 353 (both in common.w and cweave.w),
recompile and do this:
cweave bdd14.w
cp bdd14.idx bdd14.idx-DEK
See the difference:
diff bdd14.idx-DEK bdd14.idx-TL
Not sure if it is a bug in cweb.
I propose to leave hash_size 353 by default in TL's cweb - this will
work just fine in all cases.
Regards,
Igor