This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi Ronald,
Apparently, the strndup function is not 'portable' enough for mingw-w64. There seems to be a xstrndup function in libiberty that could be used instead. I'm sorry I don't have all the possible compilers handy to verify all possible targets, but this should do.
Thanks - I have gone ahead and checked this patch in along with the following copyright notice.
Cheers Nick binutils/ChangeLog 2015-11-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl> * objcopy.c (parse_symflags): Use xstrndup in place of strndup. (copy_main): Likewise.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |