[boinc] 02/03: dropped opendir_error_messages.patch
Guo Yixuan
yixuan-guest at moszumanska.debian.org
Tue Jun 24 03:49:28 UTC 2014
This is an automated email from the git hooks/post-receive script.
yixuan-guest pushed a commit to branch master
in repository boinc.
commit dbb88e80439b66102d8a657bb9963408fad1dd0a
Author: Guo Yixuan <culu.gyx at gmail.com>
Date: Mon Jun 23 23:46:23 2014 -0400
dropped opendir_error_messages.patch
---
debian/changelog | 6 +++--
debian/patches/opendir_error_messages.patch | 37 -----------------------------
debian/patches/series | 1 -
3 files changed, 4 insertions(+), 40 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index fb7ee69..40bb892 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,10 @@
boinc (7.4.1+dfsg-1exp2) UNRELEASED; urgency=medium
* Dropped ticket_1168_verifycerts.patch: the bug was already fixed.
- * Dropped investigate_boinc_api.patch: it's only for debugging.
- * Dropped opendir_errno.patch: also only for debugging.
+ * Dropped several debugging-only patches:
+ - investigate_boinc_api.patch
+ - opendir_errno.patch
+ - opendir_error_messages.patch
-- Guo Yixuan (郭溢譞) <culu.gyx at gmail.com> Mon, 23 Jun 2014 22:00:17 -0400
diff --git a/debian/patches/opendir_error_messages.patch b/debian/patches/opendir_error_messages.patch
deleted file mode 100644
index eff4a59..0000000
--- a/debian/patches/opendir_error_messages.patch
+++ /dev/null
@@ -1,37 +0,0 @@
---- a/lib/filesys.cpp
-+++ b/lib/filesys.cpp
-@@ -585,9 +585,9 @@
- fclose(src);
- 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 (lstat(orig, &sbuf)) retval=ERR_FWRITE; // Get source file's info
-+ if (chown(newf, sbuf.st_uid, sbuf.st_gid)) retval=ERR_FWRITE;
-+ if (chmod(newf, sbuf.st_mode)) retval=ERR_FWRITE;
- return retval;
- #endif
- }
---- a/lib/diagnostics.cpp
-+++ b/lib/diagnostics.cpp
-@@ -385,7 +385,7 @@
-
- // Store various pieces of inforation for future use.
- if (flags & BOINC_DIAG_BOINCAPPLICATION) {
-- char buf[256];
-+ char buf[MAXPATHLEN];
- char proxy_address[256];
- int proxy_port;
- MIOFILE mf;
---- a/client/sandbox.cpp
-+++ b/client/sandbox.cpp
-@@ -207,7 +207,7 @@
- strcpy(filename, "");
- retval = dir_scan(filename, dirp, sizeof(filename));
- if (retval) break;
-- sprintf(path, "%s/%s", dirpath, filename);
-+ snprintf(path, sizeof(path), "%s/%s", dirpath, filename);
- if (is_dir(path)) {
- retval = client_clean_out_dir(path, NULL);
- if (retval) final_retval = retval;
diff --git a/debian/patches/series b/debian/patches/series
index a6e9aa6..4c04d53 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -14,7 +14,6 @@ some_extra_clang_warnings.patch
cppcheck_realloc.patch
MainDocumentWarnings.patch
more_maxpathlen.patch
-opendir_error_messages.patch
sched_driver_char_buffers.patch
csh2tcsh.patch
slot_dir_source_trace.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-boinc/boinc.git
More information about the pkg-boinc-commits
mailing list