diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-09-11 22:45:56 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-09-11 22:45:56 -0400 |
commit | a6540174be064806b6eb4dc6abff48a9b4facfdd (patch) | |
tree | a4f1973d1daf9f8c575507ca405de87c19085fc6 /src/string/strverscmp.c | |
parent | d4045a1683d402dd4e53b3ae388d8794d7238c7e (diff) | |
download | musl-a6540174be064806b6eb4dc6abff48a9b4facfdd.tar.gz musl-a6540174be064806b6eb4dc6abff48a9b4facfdd.tar.bz2 musl-a6540174be064806b6eb4dc6abff48a9b4facfdd.tar.xz musl-a6540174be064806b6eb4dc6abff48a9b4facfdd.zip |
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.
Diffstat (limited to 'src/string/strverscmp.c')
-rw-r--r-- | src/string/strverscmp.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/string/strverscmp.c b/src/string/strverscmp.c new file mode 100644 index 00000000..70549678 --- /dev/null +++ b/src/string/strverscmp.c @@ -0,0 +1,7 @@ +#include <string.h> + +int strverscmp(const char *l, const char *r) +{ + /* FIXME */ + return strcmp(l, r); +} |