[Verse-dev] Bone code broken?

Emil Brink emil at obsession.se
Thu Oct 14 16:03:44 CEST 2004


On Thu, 14 Oct 2004 15:57:36 +0200
Eskil Steenberg <eskil at obsession.se> wrote:

> Hi
> 
> >3. The "16" is hardcoded, making for a needless dependency between the
> >   declaration and the code. This point is minor, the size changes very
> >   infrequently, but still.
> >
> A quick search tell me you will find this all over in the  server code. 
> Are you changing all of them?

Nope, I'm not changing any of them. :) As I wrote, I think all these
should be replaced with (a *sane* version of) strncpy(), and making the
constants into sizeof can be postponed until then.

Regards,

/Emil


More information about the Verse-dev mailing list