| 1 | diff -u -r ../checkinstall-1.6.2/installwatch/installwatch.c ./installwatch/installwatch.c |
| 2 | --- ../checkinstall-1.6.2/installwatch/installwatch.c 2008-11-16 11:20:53.000000000 -0500 |
| 3 | +++ ./installwatch/installwatch.c 2016-10-28 16:12:42.017221485 -0400 |
| 4 | @@ -2938,13 +2938,8 @@ |
| 5 | return result; |
| 6 | } |
| 7 | |
| 8 | -#if (GLIBC_MINOR <= 4) |
| 9 | -int readlink(const char *path,char *buf,size_t bufsiz) { |
| 10 | - int result; |
| 11 | -#else |
| 12 | ssize_t readlink(const char *path,char *buf,size_t bufsiz) { |
| 13 | ssize_t result; |
| 14 | -#endif |
| 15 | instw_t instw; |
| 16 | int status; |
| 17 | |
| 18 | @@ -3079,7 +3074,7 @@ |
| 19 | |
| 20 | int scandir( const char *dir,struct dirent ***namelist, |
| 21 | int (*select)(const struct dirent *), |
| 22 | - int (*compar)(const void *,const void *) ) { |
| 23 | + int (*compar)(const struct dirent**,const struct dirent**) ) { |
| 24 | int result; |
| 25 | |
| 26 | if (!libc_handle) |
| 27 | @@ -3691,7 +3686,7 @@ |
| 28 | |
| 29 | int scandir64( const char *dir,struct dirent64 ***namelist, |
| 30 | int (*select)(const struct dirent64 *), |
| 31 | - int (*compar)(const void *,const void *) ) { |
| 32 | + int (*compar)(const struct dirent64**,const struct dirent64**) ) { |
| 33 | int result; |
| 34 | |
| 35 | if (!libc_handle) |