1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
--- checkinstall-1.6.2/installwatch/installwatch.c 2008-11-16 17:20:53.000000000 +0100
+++ checkinstall-1.6.2.new/installwatch/installwatch.c 2017-09-07 14:42:30.193725688 +0200
@@ -2939,10 +2939,10 @@
}
#if (GLIBC_MINOR <= 4)
-int readlink(const char *path,char *buf,size_t bufsiz) {
+int iw_readlink(const char *path,char *buf,size_t bufsiz) {
int result;
#else
-ssize_t readlink(const char *path,char *buf,size_t bufsiz) {
+ssize_t iw_readlink(const char *path,char *buf,size_t bufsiz) {
ssize_t result;
#endif
instw_t instw;
@@ -2952,7 +2952,7 @@
initialize();
#if DEBUG
- debug(2,"readlink(\"%s\",%p,%ld)\n",path,buf,(long int)bufsiz);
+ debug(2,"iw_readlink(\"%s\",%p,%ld)\n",path,buf,(long int)bufsiz);
#endif
/* We were asked to work in "real" mode */
@@ -3077,7 +3077,7 @@
return result;
}
-int scandir( const char *dir,struct dirent ***namelist,
+int iw_scandir( const char *dir,struct dirent ***namelist,
int (*select)(const struct dirent *),
int (*compar)(const void *,const void *) ) {
int result;
@@ -3086,7 +3086,7 @@
initialize();
#if DEBUG
- debug(2,"scandir(%s,%p,%p,%p)\n",dir,namelist,select,compar);
+ debug(2,"iw_scandir(%s,%p,%p,%p)\n",dir,namelist,select,compar);
#endif
/* We were asked to work in "real" mode */
@@ -3689,7 +3689,7 @@
return result;
}
-int scandir64( const char *dir,struct dirent64 ***namelist,
+int iw_scandir64( const char *dir,struct dirent64 ***namelist,
int (*select)(const struct dirent64 *),
int (*compar)(const void *,const void *) ) {
int result;
@@ -3698,7 +3698,7 @@
initialize();
#if DEBUG
- debug(2,"scandir64(%s,%p,%p,%p)\n",dir,namelist,select,compar);
+ debug(2,"iw_scandir64(%s,%p,%p,%p)\n",dir,namelist,select,compar);
#endif
/* We were asked to work in "real" mode */
|