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. 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); Bruno _______________________________________________ bug-gnulib mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-gnulib
