[Fakeroot-commits] [SCM] fakeroot branch, upstream, updated. debian/1.14.3-200-gb232f8a
Clint Adams
schizo at debian.org
Tue Aug 23 13:05:28 UTC 2011
The following commit has been merged in the upstream branch:
commit 762d2f9b68cfd24c757bcd5c65ec0545e5a52ad9
Author: Clint Adams <schizo at debian.org>
Date: Thu Oct 7 15:32:30 2004 +0000
1.1.1
fix a couple of signedness issues
git-archimport-id: fakeroot at packages.debian.org--fakeroot/fakeroot--main--0.0--patch-28
diff --git a/debian/changelog b/debian/changelog
index cb422ac..325043c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+fakeroot (1.1.1) unstable; urgency=low
+
+ * faked.c, libfakeroot.c: address some signedness issues which
+ crept in in 1.1.
+
+ -- Clint Adams <schizo at debian.org> Thu, 7 Oct 2004 11:30:41 -0400
+
fakeroot (1.1) unstable; urgency=low
Ruben Porras:
diff --git a/debian/rules b/debian/rules
index 5ca57ca..4ae844a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-CFLAGS = -W -Wall -pedantic -g
+CFLAGS = -W -Wall -std=c99 -pedantic -g
CXXFLAGS = -W -Wall -g
INSTALL = install
INSTALL_FILE = $(INSTALL) -p -o root -g root -m 644
diff --git a/faked.c b/faked.c
index 38cf226..2f69f46 100644
--- a/faked.c
+++ b/faked.c
@@ -713,7 +713,7 @@ void process_unlink(struct fake_msg *buf){
}
}
-void debugdata(int dummy){
+void debugdata(int dummy UNUSED){
int stored_errno = errno;
data_node_t *i;
@@ -756,7 +756,7 @@ void get_msg(const int listen_sd)
if(r!=-1)
#else /* FAKEROOT_FAKENET */
while (1) {
- int maxfd, count, i;
+ unsigned int maxfd, count, i;
FD_ZERO(&readfds);
diff --git a/libfakeroot.c b/libfakeroot.c
index a17483b..20634af 100644
--- a/libfakeroot.c
+++ b/libfakeroot.c
@@ -161,7 +161,7 @@ static int env_set_id(const char *key, int id) {
}
}
-static void read_id(int *id, const char *key) {
+static void read_id(unsigned int *id, const char *key) {
if (*id < 0)
*id = env_get_id(key);
}
--
fakeroot
More information about the Fakeroot-commits
mailing list