2012-09-05 Akira Kakuto * common.w, ctangle.w, cweave.w: copy the original ones in ftp://ftp.cs.stanford.edu/pub/cweb/cweb.tar.gz. * comm-w2c.ch, ctang-w2c.ch, cweav-w2c.ch: move our changes to change files. 2012-09-05 Karl Berry * cweave.w (longest_name): restore to 10000, the value in the Knuth/Levy distribution on CTAN (which matches Knuth, ftp://ftp.cs.stanford.edu/pub/cweb/cweb.tar.gz) Report from Arthur O'Dwyer, 3 Sep 2012 18:06:05. Our cweave.w has many other changes relative to the original. These should be moved to cweav-w2c.ch so our originals are unmodified, but can't do everything right now. 2012-05-18 Peter Breitenlohner * {comm,ctang,cweav}-w2c.ch: Use binary mode for output files. From Akira Kakuto (W32TeX). 2011-04-19 Peter Breitenlohner Avoid 'differ in signedness' warnings. * cweav-w2c.ch: cast strcpy() arg collate to 'char *'. 2010-01-18 Peter Breitenlohner * {comm,ctang,cweav}-w2c.ch: Move extern declaration of versionstring from {ctangle,cweave}.c to cweb.h. 2009-08-29 Peter Breitenlohner * {comm,ctang,cweav}-w2c.ch: Create a header file cweb.h with prototypes for all functions declared in common.w and used in ctangle.w and cweave.w or vice versa, and #include "cweb.h" in cweb.c, ctangle.c, and cweave.c. Avoid maximal compiler warnings. * {comm,ctang,cweav}-w2c.ch (names_match, id_lookup, err_print, fatal, overflow): Constify string params and local vars. * ctang-w2c.ch (Insert the line): Rename inner local var a=>a_l, not to shadow previous local. * cweav-w2c.ch (out_str, app_str): Constify string params. (Print a snapsh...): Rename local var k=>k_l, not to shadow a param. In main(), 'use' print_text() not used somewhere else. 2009-08-28 Peter Breitenlohner * ../am/cweb.am (ctie_CFLAGS, cweave_CFLAGS, tie_CFLAGS), ../am/bootstrap.am (ctangle_CFLAGS): Enable compiler warnings. * {comm,ctang,cweav}-w2c.ch: Declare most functions as static. * ctang-w2c.ch, cweav-w2c.ch: Put explicit braces around ambiguous else. 2009-06-23 Peter Breitenlohner * comm-w2c.ch, ctang-w2c.ch, cweav-w2c.ch: drop P?C, P?H macros, use ANSI C function declarations.