*** empty log message ***

svn path=/trunk/boinc/; revision=12320
This commit is contained in:
Charlie Fenton 2007-04-05 10:22:31 +00:00
parent d59eede920
commit 60bfbaaba6
8 changed files with 20 additions and 9 deletions

View File

@ -3164,3 +3164,13 @@ David 5 Apr 2007
lib/
browser.C
prefs.C
Charlie 5 Apr 2007
- CC: on Mac/UNIX/Linux systems, fix ACTIVE_TASK::handle_exited_app()
error code display by sign-extending the signed byte status code.
For example, ERR_SIGNAL_CATCH is -125, so the status code was 0x83,
which was being incorrectly reported as "131 (0x83)." It now
correctly displays "-125 (0xff83).
client/
app_control.C

View File

@ -247,14 +247,15 @@ void ACTIVE_TASK::handle_exited_app(int stat) {
}
#else
if (WIFEXITED(stat)) {
result->exit_status = WEXITSTATUS(stat);
// Exit code is a signed byte - sign extend it to a full int.
result->exit_status = (int)((char)(WEXITSTATUS(stat) & 0xff));
if (result->exit_status) {
set_task_state(PROCESS_EXITED, "handle_exited_app");
gstate.report_result_error(
*result,
"process exited with code %d (0x%x)",
result->exit_status, result->exit_status
result->exit_status, (result->exit_status & 0xffff)
);
} else {
if (finish_file_present()) {

View File

@ -1,5 +1,5 @@
/* Localized versions of Info.plist keys */
CFBundleName = "BOINC";
CFBundleShortVersionString = "BOINC version 5.9.2";
CFBundleGetInfoString = "BOINC version 5.9.2, Copyright 2006 University of California.";
CFBundleShortVersionString = "BOINC version 5.9.3";
CFBundleGetInfoString = "BOINC version 5.9.3, Copyright 2006 University of California.";

View File

@ -17,6 +17,6 @@
<key>CFBundleSignature</key>
<string>BNC!</string>
<key>CFBundleVersion</key>
<string>5.9.2</string>
<string>5.9.3</string>
</dict>
</plist>

View File

@ -15,6 +15,6 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>5.9.2</string>
<string>5.9.3</string>
</dict>
</plist>

View File

@ -15,6 +15,6 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>5.9.2</string>
<string>5.9.3</string>
</dict>
</plist>

View File

@ -17,7 +17,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>5.9.2</string>
<string>5.9.3</string>
<key>NSPrincipalClass</key>
<string>BOINC_Saver_ModuleView</string>
</dict>

View File

@ -15,6 +15,6 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>5.9.2</string>
<string>5.9.3</string>
</dict>
</plist>