1
Index: checkinstall/installwatch-0.7.0beta5/installwatch.c
2
===================================================================
3
--- checkinstall.orig/installwatch-0.7.0beta5/installwatch.c 2008-06-25 19:56:49.000000000 -0400
4
+++ checkinstall/installwatch-0.7.0beta5/installwatch.c 2008-06-25 19:59:14.000000000 -0400
6
static int (*true_open)(const char *, int, ...);
7
static DIR *(*true_opendir)(const char *);
8
static struct dirent *(*true_readdir)(DIR *dir);
9
-static int (*true_readlink)(const char*,char *,size_t);
10
+static ssize_t (*true_readlink)(const char*,char *,size_t);
11
static char *(*true_realpath)(const char *,char *);
12
static int (*true_rename)(const char *, const char *);
13
static int (*true_rmdir)(const char *);
15
struct utimbuf timbuf;
17
char linkpath[PATH_MAX+1];
22
debug(2,"copy_path(%s,%s)\n",truepath,translroot);
24
char nwork[PATH_MAX+1];
25
char nsuffix[PATH_MAX+1];
26
char lnkpath[PATH_MAX+1];
33
struct stat reslvinfo;
35
char wpath[PATH_MAX+1];
38
char linkpath[PATH_MAX+1];
54
-int readlink(const char *path,char *buf,size_t bufsiz) {
56
+ssize_t readlink(const char *path,char *buf,size_t bufsiz) {