On Mon, Aug 6, 2012 at 10:44 PM, Dimitrios Apostolou <ji...@gmx.net> wrote: > > What else is missing to make this patch appropriate for libiberty? Should I > change the prolog in strnlen.c, since I only copied it intact from gnulib?
We generally try to avoid straight GPL source code without runtime exception in libiberty, and I don't see a reason to bend that rule for this trivial function. I recommend that you write your own version rather than copying it from elsewhere. Ian