Fix building objcopy under mingw64 by replacing uses of strndup with xstrndup.
authorRonald Hoogenboom <hoogenboom30@zonnet.nl>
Fri, 20 Nov 2015 14:08:29 +0000 (14:08 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 20 Nov 2015 14:08:29 +0000 (14:08 +0000)
commita4f8732b2a0c2cf48cff088311ed0ee2b17435b9
treeac538140e30e591f40ef9991c11d628490856cbc
parentf075eb5e6b0dd850304f78cf4d5c94df7b44c7a3
Fix building objcopy under mingw64 by replacing uses of strndup with xstrndup.

* objcopy.c (parse_symflags): Use xstrndup in place of strndup.
(copy_main): Likewise.
binutils/ChangeLog
binutils/objcopy.c