Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62791bd
)
const-cast required for silly UNICOS headers
author
Martin Pool
<mbp@samba.org>
Sun, 2 Dec 2001 12:37:48 +0000
(12:37 +0000)
committer
Martin Pool
<mbp@samba.org>
Sun, 2 Dec 2001 12:37:48 +0000
(12:37 +0000)
tls.c
patch
|
blob
|
blame
|
history
diff --git
a/tls.c
b/tls.c
index
93a8e1a
..
d02a7a4
100644
(file)
--- a/
tls.c
+++ b/
tls.c
@@
-84,7
+84,8
@@
static void list_file (const char *fname)
buf.st_mtime = (time_t)0;
buf.st_uid = buf.st_gid = 0;
strcpy(linkbuf, " -> ");
- readlink(fname, linkbuf+4, sizeof(linkbuf) - 4);
+ /* const-cast required for silly UNICOS headers */
+ readlink((char *) fname, linkbuf+4, sizeof(linkbuf) - 4);
} else {
linkbuf[0] = 0;
}