Bruno Haible <[EMAIL PROTECTED]> writes: > Simon Josefsson wrote: >> Ok to install? strnlen is a GNU extension, according to libc manual. >> There were some discussion regarding strnlen.h, but the patch below >> has worked for me for a while. Any problems can be fixed later on. >> It seems correct to me. > > Looks OK to me too.
Installed. > Except I would add comments in strnlen.h: > > /* Find the length (number of bytes) of STRING, but scan at most MAXLEN bytes. > If no '\0' terminator is found in that many bytes, return MAXLEN. */ > extern size_t strnlen (const char *string, size_t maxlen); I added this, but now there is a comment in both strnlen.c and strnlen.h. Should we remove one of them? _______________________________________________ bug-gnulib mailing list bug-gnulib@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnulib