
16 Dec
2003
16 Dec
'03
12:48 a.m.
sof 2003/12/15 21:48:40 PST Modified files: src opts.c Log: - PUTS(s) macro: be defensive & 'linear' in the use of 's' by binding it to a local, first thing. If not, confusion reigns if 's' is side-effecting (as was the case with PUTS() use in optionsToStr().) - PUTStr_aux(): don't rely on PUTS() being well-behaved & bind argument to local first. This latent bug was previously just a minor source of inefficiency (two calls to unlexChar() per character), but with the introduction of the side-effecting ExtractChar() macro, things got a bit uglier. Revision Changes Path 1.15 +8 -3 hugs98/src/opts.c