aboutsummaryrefslogtreecommitdiff
path: root/src/string/strverscmp.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* include cleanups: remove unused headers and add feature test macrosSzabolcs Nagy2013-12-121-1/+0
* fix integer type issue in strverscmp•••lenl-lenr is not a valid expression for a signed int return value from strverscmp, since after implicit conversion from size_t to int this difference could have the wrong sign or might even be zero. using the difference for char values works since they're bounded well within the range of differences representable by int, but it does not work for size_t values. Rich Felker2013-02-261-1/+3
* implement non-stub strverscmp•••patch by Isaac Dunham. Rich Felker2013-02-261-2/+35
* add dummied strverscmp (obnoxious GNU function)•••programs that use this tend to horribly botch international text support, so it's questionable whether we want to support it even in the long term... for now, it's just a dummy that calls strcmp. Rich Felker2011-09-111-0/+7