summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2011-10-14 09:39:22 +0100
committerRichard Maw <richard.maw@codethink.co.uk>2011-10-14 09:39:22 +0100
commitfe00341ce9ac7a5fe0b0ea6c281be0be21bb2ac2 (patch)
tree07bc3818b0eef4af8eaae405a2f75df5906401b3
parent8aa7e243017c3b3a22c428dfd6e12ea39313324f (diff)
downloadtbdiff-fe00341ce9ac7a5fe0b0ea6c281be0be21bb2ac2.tar.gz
Fixed it not updating gid for symbolic links if only gid were different.
-rw-r--r--libtbd_create.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtbd_create.c b/libtbd_create.c
index e25b3c1..b1a526d 100644
--- a/libtbd_create.c
+++ b/libtbd_create.c
@@ -478,7 +478,7 @@ tbd_create_cmd_symlink_delta(FILE *stream,
printf ("readlink %s %s - %d", path_a, path_b, pathcmp);
/* If both symlinks are equal, we quit */
- if((b->mtime == a->mtime) && (pathcmp == 0))
+ if ((b->mtime == a->mtime) && (b->gid == a->gid) && (pathcmp == 0))
return 0;
/* TODO: If only mtime changes, use a mtime update cmd */