*** empty log message ***

svn path=/trunk/boinc/; revision=11997
This commit is contained in:
David Anderson 2007-01-29 22:57:10 +00:00
parent f517514b61
commit 8cc3b29180
3 changed files with 25 additions and 4 deletions

View File

@ -1321,10 +1321,19 @@ David 29 Jan 2007
lib/
prefs.C
Rom 28 Jan 2007
Rom 29 Jan 2007
- MGR: Update default BOINC skin.
clientgui/res/skins/default/graphic
*.xpm
clientgui/res/templates/skins
*.png
David 29 Jan 2007
- core client: on Unix, raise app stack size limit to max possible value
before exec'ing the program.
client/
app_start.C
html/inc/
prefs.inc

View File

@ -610,6 +610,16 @@ int ACTIVE_TASK::start(bool first_time) {
_exit(retval);
}
// set stack size limit to the max.
// Some BOINC apps have reported problems with exceeding
// small stack limits (e.g. 8 MB)
// and it seems like the best thing to raise it as high as possible
//
struct rlimit rlim;
getrlimit(RLIMIT_STACK, &rlim);
rlim.rlim_cur = rlim.rlim_max;
setrlimit(RLIMIT_STACK, &rlim);
// hook up stderr to a specially-named file
//
freopen(STDERR_FILE, "a", stderr);

View File

@ -756,7 +756,7 @@ function prefs_display_venue($prefs, $venue, $subset) {
if ($project_has_beta) prefs_show_beta($x);
prefs_show_project($x);
}
row2("<br>", "<a href=prefs_edit.php?venue=$venue&subset=$subset>Edit preferences</a> | <a href=prefs_remove.php?venue=$venue&subset=$subset$tokens>Remove</a>");
row2("<br>", "<a href=prefs_edit.php?venue=$venue&subset=$subset$tokens>Edit preferences</a> | <a href=prefs_remove.php?venue=$venue&subset=$subset$tokens>Remove</a>");
end_table();
echo "</td></tr>\n";
} else {
@ -795,7 +795,8 @@ function print_prefs_display_project($user, $columns=false) {
prefs_show_privacy($user);
venue_show($user);
prefs_show_project($project_prefs, false);
row2("", "<a href=prefs_edit.php?subset=project>Edit ".PROJECT." preferences</a>");
$tokens = url_tokens($user->authenticator);
row2("", "<a href=prefs_edit.php?subset=project$tokens>Edit ".PROJECT." preferences</a>");
end_table();
echo "</td></tr>\n";
prefs_display_venue($project_prefs, "home", "project");
@ -835,7 +836,8 @@ function print_prefs_display_global($user, $columns=false) {
echo "<tr><td colspan=2>";
start_table("width=100% border=4");
prefs_show_global($global_prefs);
row2("<br>", "<a href=prefs_edit.php?subset=global>Edit preferences</a>");
$tokens = url_tokens($user->authenticator);
row2("<br>", "<a href=prefs_edit.php?subset=global$tokens>Edit preferences</a>");
end_table();
echo "</td></tr>\n";