OSSP CVS Repository |
![]() |
|
2009-Jun-15 13:34:58 by anonymous:by anonymous on 2009-Jun-15 13:34
the above code can still give a warning in valgrind; it's best to change the:while (*p++ != 0 && maxlen-- > 0)
to:
while (maxlen-- > 0 && *p++ != 0)