summaryrefslogtreecommitdiff
path: root/strfuncs.h
Commit message (Collapse)AuthorAgeFilesLines
* Retire splint from our set of static analyzers.Eric S. Raymond2015-03-301-4/+4
| | | | | | | | | | | | | | | | | | | The proximate cause was that we've been seing emission of error messages that were randomly and disturbingly variable across different environments - notably Raspbian and Gentoo splint gave nontrivially different results than Ubuntu 14.10 splint. And this was *not* due to Ubuntu patches! A pristine splint built from the 3.1.2 tarball on Ubuntu didn't match the Raspbian and Gentoo results either. But this has been coming for a while. Easy access to more modern static analyzers such as coverity, scan-build and cppcheck has been decreasing the utility of splint, which is unmaintained and somewhat buggy and not easy to use. Only file not cleaned is ppsthread.c, because Gary has been working on it during this cleanup. All regression tests pass. PPS observed live on GR601-W.
* Easy splint cleanups. All regression tests pass.Eric S. Raymond2015-01-211-4/+4
|
* Support empty strings in str_rstrip_charZbigniew Chyla2015-01-211-1/+1
|
* Convert macros in strfuncs.h to functions.Zbigniew Chyla2015-01-211-11/+29
|
* Add str_rstrip_char, use it everywhere.Zbigniew Chyla2015-01-211-0/+6
| | | | This change doesn't affect generated binary code.
* Add str_{,v}appendf, use it everywhere.Zbigniew Chyla2015-01-211-0/+7
| | | | This change doesn't affect generated binary code.
* Add str_starts_with macro, use it instead of strncmp.Zbigniew Chyla2015-01-211-0/+3
| | | | This change doesn't affect generated binary code.
* Add new header for string functions.Zbigniew Chyla2015-01-211-0/+12
This change doesn't affect generated binary code.