strchrnul() is a GNU extension

Bug #2022386 reported by Sven M. Hallberg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gEDA
New
Undecided
Unassigned

Bug Description

Discovered during porting to OpenBSD:

The function split_args() in gschem/src/x_controlfd.c uses the strchrnul() function which is not available at least on OpenBSD. It would be nice to refactor the code to avoid the need for it, but in the interest of not introducing new bugs the attached patch just replaces strchrnul() itself with an equivalent (if less readable) construct.

Revision history for this message
Sven M. Hallberg (pesco) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.