[SCM] BOINC packaging branch, master, updated. debian/7.1.21+dfsg-2_exp1-5-g7060e19
Gianfranco Costamagna
costamagnagianfranco at yahoo.it
Wed Jul 10 07:47:12 UTC 2013
The following commit has been merged in the master branch:
commit 7060e191063982342bd8194a19d327f6ea32f040
Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Date: Wed Jul 10 09:46:58 2013 +0200
Many improvements on clang side from Alyssa
diff --git a/debian/patches/more_clang_warnings.patch b/debian/patches/more_clang_warnings.patch
index a1f0045..b19464c 100644
--- a/debian/patches/more_clang_warnings.patch
+++ b/debian/patches/more_clang_warnings.patch
@@ -66,7 +66,7 @@
}
- fscanf(f, ".");
+ fs = fscanf(f, ".");
-+ if (1 != fs) return ERR_NULL;
++ if (0 != fs) return ERR_NULL;
#endif
return 0;
}
@@ -233,7 +233,7 @@
// See the lseek man page for details.
lseek(fd, size-1, SEEK_SET);
- write(fd, "\0", 1);
-+ if (-1 == write(fd, "\0", 1)) {
++ if (1 != write(fd, "\0", 1)) {
+ close(fd);
+ return ERR_SHMGET;
+ }
--
BOINC packaging
More information about the pkg-boinc-commits
mailing list