projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace uses of strncmp with memcmp
[deliverable/binutils-gdb.git]
/
bfd
/
cofflink.c
diff --git
a/bfd/cofflink.c
b/bfd/cofflink.c
index 6ca547ce5bc549e7d6cad6e66cc11cd7339e6b96..2f73f72e318d743c8ea403e751ab26c13e180835 100644
(file)
--- a/
bfd/cofflink.c
+++ b/
bfd/cofflink.c
@@
-1839,7
+1839,7
@@
_bfd_coff_link_input_bfd (struct coff_final_link_info *flaginfo, bfd *input_bfd)
case C_FCN:
if (obj_pe (input_bfd)
- &&
strncmp (isym.n_name, ".bf", sizeof isym.n_name
) != 0
+ &&
memcmp (isym.n_name, ".bf", sizeof ".bf"
) != 0
&& isym.n_scnum > 0)
{
/* For PE, .lf and .ef get their value left alone,
This page took
0.023942 seconds
and
4
git commands to generate.