Matt McCutchen's Web Site
/
rsync
/
rsync-patches.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
The patches for 3.0.0pre8.
[rsync/rsync-patches.git]
/
usermap.diff
diff --git
a/usermap.diff
b/usermap.diff
index
439a6e1
..
2b89567
100644
(file)
--- a/
usermap.diff
+++ b/
usermap.diff
@@
-188,7
+188,7
@@
diff --git a/uidlist.c b/uidlist.c
+
struct idlist {
struct idlist *next;
+
struct idlist {
struct idlist *next;
- char *name;
+ c
onst c
har *name;
@@ -48,8 +54,8 @@ struct idlist {
uint16 flags;
};
@@ -48,8 +54,8 @@ struct idlist {
uint16 flags;
};
@@
-198,9
+198,9
@@
diff --git a/uidlist.c b/uidlist.c
+static struct idlist *uidlist, *uidmap;
+static struct idlist *gidlist, *gidmap;
+static struct idlist *uidlist, *uidmap;
+static struct idlist *gidlist, *gidmap;
- static struct idlist *add_to_list(struct idlist **root, id_t id, char *name,
+ static struct idlist *add_to_list(struct idlist **root, id_t id, c
onst c
har *name,
id_t id2, uint16 flags)
id_t id2, uint16 flags)
-@@ -84,22 +90,6 @@ static char *gid_to_name(gid_t gid)
+@@ -84,22 +90,6 @@ static c
onst c
har *gid_to_name(gid_t gid)
return NULL;
}
return NULL;
}