[tex-k] [CWEB] Cleanup release 3.64ae

Andreas Scherer andreas_tex at freenet.de
Sat Feb 6 16:32:57 CET 2016

Am Dienstag, 2. Februar 2016, 11:34:18 schrieb Andreas Scherer:
> adding "#include <string.h>" and removing the "prototypes"
This curious manipulation of 'ctangle.c' is just the tip of the iceberg. 
('common.c' still has '(signed) int' for 'strlen()'s return type, so inside 
'ctangle' two _different_ return types are present.)

When I take a closer look at the differences between CWEB 3.64ad (2006-10-24) 
and CWEB 3.64ae (2016-01-20) 
I find that 'examples/wmerge.w' changes the return type of 'strlen()' from 
'int' to the more appropriate 'size_t' (while still sticking to 'copy-from-
instead-of-including-the-system-header'), while 'examples/extex.w' adds 
'#include <string.h>' (and still misses '#include <stdlib.h>' for 'extern void 

All this mismatching string handling has been straightened by Klaus Guntermann 
no later than July 2nd, 1994, in the patches to CWEB 3.1 
(https://github.com/ascherer/cweb/tree/cweb-3.1) and should IMHO finally be 
cleared in CWEB proper.

Andreas Scherer

More information about the tex-k mailing list