replace bad filename hashing function

svn path=/trunk/boinc/; revision=5031
This commit is contained in:
David Anderson 2005-01-08 07:55:59 +00:00
parent 4e294d1e5a
commit 74acc672b2
2 changed files with 10 additions and 0 deletions

View File

@ -235,6 +235,9 @@ int boinc_finish(int status) {
boinc_write_init_data_file(); boinc_write_init_data_file();
} }
#ifdef _WIN32
exit(status);
#else
// on Linux < 2.6, probably due to non-POSIX LinuxThreads, _Exit() fails to // on Linux < 2.6, probably due to non-POSIX LinuxThreads, _Exit() fails to
// shut down the graphics-thread properly, while exit() does the job and does _NOT_ // shut down the graphics-thread properly, while exit() does the job and does _NOT_
// seem to get tangled in exit-atexit loops... // seem to get tangled in exit-atexit loops...
@ -246,6 +249,7 @@ int boinc_finish(int status) {
// This is not pretty but unless someone finds a cleaner solution, we handle the two cases // This is not pretty but unless someone finds a cleaner solution, we handle the two cases
// separately based on these observations // separately based on these observations
_Exit(status); _Exit(status);
#endif
#endif #endif
fprintf(stderr, "..exit() or _Exit() returned... this is totally weird!!\n"); fprintf(stderr, "..exit() or _Exit() returned... this is totally weird!!\n");

View File

@ -22305,3 +22305,9 @@ David 7 Jan 2005
backend_lib.C backend_lib.C
dir_hier_move.C dir_hier_move.C
dir_hier_path.C dir_hier_path.C
David 7 Jan 2005
- Win compile fix
api/
boinc_api.C