warning to users of INDENT.EXE

Tim Bomgardner bomgard at iuvax.cs.indiana.edu
Thu Nov 22 03:24:13 AEST 1990


I recently inherited a large multi-file c program with little or no
visual structure (indenting, whitespace, etc.).  I ran it all thru
indent.  A couple days later I discovered indent had made some
unauthorized changes.  In particular, all statements that were
originally in the form

        var=-1;
or
        ptr=&var;

were changed to

        var -= 1;
or
        ptr &= var;

What a disaster.  Just thought you all might like to know.



More information about the Comp.lang.c mailing list