MantisBT - NetSurf
View Issue Details
0002718NetSurfCore-specificpublic2019-11-12 21:462020-05-27 08:14
ReporterNiclas Rosenvik 
Assigned ToVincent Sanders 
PlatformOSNetBSDOS Version7 and 8
Product Version 
Target VersionFixed in Version3.10 
Fixed in CI build #4899
Reported in CI build #
URL of problem page
Summary0002718: NetBSD has strcasestr and NetBSD 8 or later has strchrnul
DescriptionNetBSD has strcasestr and strchrnul but netsurf does not see this.
Steps To ReproduceBuild on NetBSD and watch the messages about redundant declaration of strcasestr and strchrnul
Additional InformationAttached it a patch that fixes this. It is based on the patch at
made by me and Leonardo Taccari (leot@) .
TagsNo tags attached.
Attached Files? config.h.gitdiff (1,132) 2019-11-12 21:46

Vincent Sanders   
2019-11-13 19:44   
applied a slightly altered version of the patch so it works when not on net bsd

Vincent Sanders   
2020-05-27 08:14   
Thankyou for reporting this issue.
We believe this is fixed in the 3.10 release.
If this is not the case please feel free to reopen the issue with additional details.

Issue History
2019-11-12 21:46Niclas RosenvikNew Issue
2019-11-12 21:46Niclas RosenvikFile Added: config.h.gitdiff
2019-11-13 19:44Vincent SandersAssigned To => Vincent Sanders
2019-11-13 19:44Vincent SandersStatusnew => resolved
2019-11-13 19:44Vincent SandersResolutionopen => fixed
2019-11-13 19:44Vincent SandersFixed in Version => 3.10
2019-11-13 19:44Vincent SandersAdditional Information Updatedbug_revision_view_page.php?rev_id=2152#r2152
2019-11-13 19:44Vincent SandersFixed in CI build # => 4899
2019-11-13 19:44Vincent SandersNote Added: 0002125
2020-05-27 08:14Vincent SandersStatusresolved => closed
2020-05-27 08:14Vincent SandersNote Added: 0002233