[m-dev.] for review: the new debugger command set (part 4 of 5)

Tyson Dowd trd at cs.mu.OZ.AU
Thu Sep 17 20:09:55 AEST 1998


On 16-Sep-1998, Zoltan Somogyi <zs at cs.mu.OZ.AU> wrote:
> This is the full source of mercury_trace_internal.c, since it is much
> easier to read than the diff.

> /* The initial size of arrays of characters. */
> #define	MR_INIT_BUF_LEN		80

hundreds of lines later...

> 
> /* If a number is more than 80 chars long, the user is in trouble. */
> #define	MR_NUMBER_LEN	80


Why define this here?  You have an 80 character maximum buffer length
definition at the top of the file.

-- 
       Tyson Dowd           # There isn't any reason why Linux can't be
                            # implemented as an enterprise computing solution.
     trd at cs.mu.oz.au        # Find out what you've been missing while you've
http://www.cs.mu.oz.au/~trd # been rebooting Windows NT. -- InfoWorld, 1998.



More information about the developers mailing list