warning to users of INDENT.EXE

Doug McDonald mcdonald at aries.scs.uiuc.edu
Thu Nov 22 12:37:29 AEST 1990


In article <73542 at iuvax.cs.indiana.edu> bomgard at iuvax.cs.indiana.edu (Tim Bomgardner) writes:
>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.
>
and     var=.5;
changed to
        var .= 5; /*!!!*/

Yes indeed. However, you have a very old version. The version to
circulate recently in the source groups has this thoroughly fixed.

Doug McDonald



More information about the Comp.lang.c mailing list