summaryrefslogtreecommitdiff
path: root/debian/patches/0007-trans-fakeroot-fix-comparison-between-signed-and-uns.patch
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-05-18 14:14:54 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-05-18 14:14:54 +0200
commitb202446f6ec229c8ab18e25f6ad2540822b5f243 (patch)
treeef54938add5cccba5248e1da75fe00de2fc560a1 /debian/patches/0007-trans-fakeroot-fix-comparison-between-signed-and-uns.patch
parentfcc5c1d01211533a71f2d62cb430aa21f494cbda (diff)
drop old patch series
Diffstat (limited to 'debian/patches/0007-trans-fakeroot-fix-comparison-between-signed-and-uns.patch')
-rw-r--r--debian/patches/0007-trans-fakeroot-fix-comparison-between-signed-and-uns.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/debian/patches/0007-trans-fakeroot-fix-comparison-between-signed-and-uns.patch b/debian/patches/0007-trans-fakeroot-fix-comparison-between-signed-and-uns.patch
deleted file mode 100644
index 2c234c77..00000000
--- a/debian/patches/0007-trans-fakeroot-fix-comparison-between-signed-and-uns.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From a1c21ad051d8ca20736b33357620af60ffc95f6f Mon Sep 17 00:00:00 2001
-From: Justus Winter <4winter@informatik.uni-hamburg.de>
-Date: Fri, 16 May 2014 13:07:40 +0200
-Subject: [PATCH 07/20] trans/fakeroot: fix comparison between signed and
- unsigned
-
-* trans/fakeroot.c (netfs_attempt_chown): Fix comparison between
-signed and unsigned integer expressions.
----
- trans/fakeroot.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/trans/fakeroot.c b/trans/fakeroot.c
-index 0ea3cbf..3107e29 100644
---- a/trans/fakeroot.c
-+++ b/trans/fakeroot.c
-@@ -483,12 +483,12 @@ error_t
- netfs_attempt_chown (struct iouser *cred, struct node *np,
- uid_t uid, uid_t gid)
- {
-- if (uid != -1)
-+ if (uid != ~0U)
- {
- set_faked_attribute (np, FAKE_UID);
- np->nn_stat.st_uid = uid;
- }
-- if (gid != -1)
-+ if (gid != ~0U)
- {
- set_faked_attribute (np, FAKE_GID);
- np->nn_stat.st_gid = gid;
---
-2.0.0.rc0
-