[Bug 267] New: internal function duplicates strstr(3)
bugzilla-daemon at bugzilla.openmoko.org
bugzilla-daemon at bugzilla.openmoko.org
Wed Mar 14 22:33:10 CET 2007
http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=267
Summary: internal function duplicates strstr(3)
Product: OpenMoko
Version: current svn head
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P4
Component: openmoko-messages
AssignedTo: buglog at lists.openmoko.org
ReportedBy: rodolphe.ortalo at free.fr
In openmoko-messages' src/main.c, it seems to me that the function in_string
duplicates the libc builtin function strstr(3).
Unless these functions are not available on the embedded system (special libc?),
maybe it could be replaced. Furthermore, in the attached patch, I replaced it by
strcasestr(3) which allow case-insensitive search.
------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.
More information about the buglog
mailing list