[SCM] BOINC packaging branch, master, updated. debian/7.0.33+dfsg-1-47-g04d8f16
Gianfranco Costamagna
costamagnagianfranco at yahoo.it
Mon Sep 17 11:21:30 UTC 2012
The following commit has been merged in the master branch:
commit 04d8f163501e9e550930dd8bfa71908c26a8fcd0
Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Date: Mon Sep 17 12:50:11 2012 +0200
Typo, I removed too much from the patch
modified: debian/patches/opendir_error_messages.patch
diff --git a/debian/patches/opendir_error_messages.patch b/debian/patches/opendir_error_messages.patch
index 916d354..11d385d 100644
--- a/debian/patches/opendir_error_messages.patch
+++ b/debian/patches/opendir_error_messages.patch
@@ -89,3 +89,23 @@ Index: boinc/lib/filesys.cpp
while (1) {
strcpy(filename, "");
retval = dir_scan(filename, dirp, sizeof(filename));
+@@ -415,7 +419,7 @@
+ } while (FindNextFileA(hFind, &findData));
+ ::FindClose(hFind);
+ #else
+- char filename[1024], subdir[1024];
++ char filename[MAXPATHLEN], subdir[MAXPATHLEN];
+ int retval=0;
+ DIRREF dirp;
+ double x;
+@@ -579,8 +583,8 @@
+ fclose(dst);
+ // Copy file's ownership, permissions to the extent we are allowed
+ lstat(orig, &sbuf); // Get source file's info
+- chown(newf, sbuf.st_uid, sbuf.st_gid);
+- chmod(newf, sbuf.st_mode);
++ if (chown(newf, sbuf.st_uid, sbuf.st_gid)) retval=ERR_FWRITE;
++ if (chmod(newf, sbuf.st_mode)) retval=ERR_FWRITE;
+ return retval;
+ #endif
+ }
--
BOINC packaging
More information about the pkg-boinc-commits
mailing list