[PATCH] MinGW: Add support for 'strnlen' prototype to BFD.

Nicholas Clifton nickc@redhat.com
Fri Mar 14 11:24:00 GMT 2014


Hi Meador,

> Commit e9847026c92f330f18863a7b9cb0aaa299345559 to fix PR binutils/16664
> added two calls to `strnlen' which is not supplied by MinGW.

Sorry about that.

> P.S. I already have write after approval for GDB and GCC. Can I commit to
> Binutils as well?  If not, then can someone please apply this for me?
> Or just give me access? :-)

I suspect that if you GDB write access you already have BINUTILS write 
access.  But if you do not then I certainly think that you should have 
it, so please fill out the form at:

   https://sourceware.org/cgi-bin/pdw/ps_form.cgi

You can use my name as approver.

> bfd/
>
> 2014-03-13  Meador Inge  <meadori@codesourcery.com>
>
> 	 * configure.in: Add strnlen to AC_CHECK_DECLS.
> 	 * config.in: Regenerate.
>           * configure: Regenerate.
> 	 * sysdep.h (strnlen): Add prototype.
>
> binutils/
>
> 2014-03-13  Meador Inge  <meadori@codesourcery.com>
>
>           * dwarf.c (strnlen): Move prototype ...
> 	 * sysdep.h (strnlen): ... to here.

Approved and applied.

Cheers
   Nick




More information about the Binutils mailing list