Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- Use F_OWNER() and F_GROUP() instead of F_UID() and F_GID().
[rsync/rsync.git]
/
lib
/
permstring.c
diff --git
a/lib/permstring.c
b/lib/permstring.c
index
304b2a9
..
ba981ee
100644
(file)
--- a/
lib/permstring.c
+++ b/
lib/permstring.c
@@
-30,7
+30,7
@@
void permstring(char *perms, mode_t mode)
static const char *perm_map = "rwxrwxrwx";
int i;
static const char *perm_map = "rwxrwxrwx";
int i;
- str
cpy(perms, "----------"
);
+ str
lcpy(perms, "----------", 11
);
for (i = 0; i < 9; i++) {
if (mode & (1 << i))
for (i = 0; i < 9; i++) {
if (mode & (1 << i))