]> err.no Git - util-linux/commit
mount: add fallback for versionsort()
authorKarel Zak <kzak@redhat.com>
Thu, 24 Jul 2008 21:22:09 +0000 (23:22 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 11 Aug 2008 11:39:26 +0000 (13:39 +0200)
commit71876a1be437fec90d67bae4d30a4525aa51db4b
treee7a1949ab5bce24c87e60acf01fa39627e4bbdb7
parent1aa4687e58ba309034c5b448bfb8a7c6cd22d6ac
mount: add fallback for versionsort()

I was trying to build util-linux-ng on uclibc and it failed

| lomount.c: In function 'looplist_next':
| lomount.c:223: error: 'versionsort' undeclared (first use in this function)
| lomount.c:223: error: (Each undeclared identifier is reported only once
| lomount.c:223: error: for each function it appears in.)
| make[2]: *** [mount-lomount.o] Error 1
|

which is understood because versionsort is GNU extension and uclibc does
not implement it.

Reported-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
configure.ac
include/strverscmp.h [new file with mode: 0644]
lib/strverscmp.c [new file with mode: 0644]
mount/Makefile.am
mount/lomount.c