~ubuntu-branches/ubuntu/wily/boinc-app-seti/wily-proposed

« back to all changes in this revision

Viewing changes to debian/patches/007_worker_comments.patch

  • Committer: Package Import Robot
  • Author(s): Gianfranco Costamagna
  • Date: 2014-04-14 00:10:11 UTC
  • mfrom: (1.1.11)
  • Revision ID: package-import@ubuntu.com-20140414001011-uos97gr5k8imsx8e
Tags: 7.28~svn2203-1
* New upstream release, patch refresh.
* Drop fix-armel.patch and fix-ftbfs-arm64.patch, addressed
  upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
--- a/client/worker.cpp
2
2
+++ b/client/worker.cpp
3
 
@@ -118,7 +118,7 @@
 
3
@@ -130,7 +130,7 @@
4
4
         fclose(f);
5
5
         if (retval) SETIERROR(retval,"from seti_parse_wu() in read_wu_state()");
6
6
     } else {
9
9
        sprintf(msg,"(%s) in read_wu_state() errno=%d\n",path.c_str(),errno);
10
10
        SETIERROR(FOPEN_FAILED,msg);
11
11
     }
12
 
@@ -154,15 +154,19 @@
 
12
@@ -174,15 +174,19 @@
13
13
 #endif
14
14
 
15
15
   try {
29
29
     boinc_finish(retval);
30
30
   }
31
31
   catch (seti_error e) {
32
 
@@ -177,6 +181,7 @@
33
 
         boinc_finish(0);
 
32
@@ -200,6 +204,7 @@
 
33
 #endif 
34
34
         exit(0);            // an overflow is not an app error
35
35
     } else {
36
36
+        fprintf(stderr,"E: printing backtrace\n");
37
37
         e.print();
38
 
        exit(static_cast<int>(e));
39
 
     }
 
38
 #ifdef USE_MANUAL_CALLSTACK
 
39
         call_stack.exit();