projects
/
external
/
binutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* bfd-in.h (STRING_AND_COMMA): New macro. Takes one constant string as its
[external/binutils.git]
/
bfd
/
hpux-core.c
diff --git
a/bfd/hpux-core.c
b/bfd/hpux-core.c
index
b3c070c
..
e8a5e31
100644
(file)
--- a/
bfd/hpux-core.c
+++ b/
bfd/hpux-core.c
@@
-144,7
+144,7
@@
thread_section_p (bfd *abfd ATTRIBUTE_UNUSED,
asection *sect,
void *obj ATTRIBUTE_UNUSED)
{
- return
(strncmp (sect->name, ".reg/", 5) == 0
);
+ return
CONST_STRNEQ (sect->name, ".reg/"
);
}
/* this function builds a bfd target if the file is a corefile.