The patches for 3.0.0pre8.
[rsync/rsync-patches.git] / usermap.diff
index 439a6e1..2b89567 100644 (file)
@@ -188,7 +188,7 @@ diff --git a/uidlist.c b/uidlist.c
 +
  struct idlist {
        struct idlist *next;
-       char *name;
+       const char *name;
 @@ -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 *add_to_list(struct idlist **root, id_t id, char *name,
+ static struct idlist *add_to_list(struct idlist **root, id_t id, const char *name,
                                  id_t id2, uint16 flags)
-@@ -84,22 +90,6 @@ static char *gid_to_name(gid_t gid)
+@@ -84,22 +90,6 @@ static const char *gid_to_name(gid_t gid)
        return NULL;
  }