DAVID: your change to create_shmem() broke the sched build.

Check my 'fix' to feeder.C to see if this is what you had
intended.

svn path=/trunk/boinc/; revision=10298
This commit is contained in:
Bruce Allen 2006-06-10 12:37:24 +00:00
parent 086c94a309
commit b7315f3b62
2 changed files with 6 additions and 1 deletions

View File

@ -5790,6 +5790,11 @@ Bruce 10 June 2006
forgot to check validate_simple.php and validate_advanced.php
into CVS (:-).
DAVID: your change to create_shmem() broke the sched build.
Check my 'fix' to feeder.C to see if this is what you had
intended.
sched/
boinc_db.C
feeder.C

View File

@ -511,7 +511,7 @@ int main(int argc, char** argv) {
log_messages.printf(SCHED_MSG_LOG::MSG_CRITICAL, "can't destroy shmem\n");
exit(1);
}
retval = create_shmem(config.shmem_key, sizeof(SCHED_SHMEM), &p);
retval = create_shmem(config.shmem_key, sizeof(SCHED_SHMEM), 0 /* don't set GID */, &p);
if (retval) {
log_messages.printf(SCHED_MSG_LOG::MSG_CRITICAL, "can't create shmem\n");
exit(1);