- scheduler: fix bug in adaptive replication:
if send an unreplicated job to untrusted host,
set both wu.target_nresults and wu.min_quorum to app.target_nresults.
svn path=/trunk/boinc/; revision=15762
so CUDA detection failed.
For reasons I don't understand,
adding "/usr/local/cuda/lib" to LD_LIBRARY_PATH
and then doing dlopen("libcudart.so") wasn't working,
even though the library is in that dir.
I worked around this by calling
dlopen("/usr/local/cuda/lib/libcudart.so") and if that fails call
dlopen("libcudart.so"),
- Unix: commented out Eric's setenv() stuff.
After doing a configure, HAVE_SETENV is not in config.h,
so something's messed up with it.
- client: trimmed down "pre-release software" message
svn path=/trunk/boinc/; revision=15143
- Fixed bug in x_opengl.C. On systems where putenv() adds the string to
the environment rather than copies it, the environment would end up
containing a random peice of the stack where the DISPLAY variable had
been temporarily stored.
svn path=/trunk/boinc/; revision=15134
send <client_cap_plan_class/> if client understands
app version plan class.
The server checks for this instead of version > 6.11.
- clean up unix_util: .h files declare only (extern) interfaces;
no reason for daemon() to be C
svn path=/trunk/boinc/; revision=15006
- configure script:
- Added checks for functions strdup(), strdupa(),
daemon(), stat64(), strcasestr()
- Fixed problems with kc_mysql.m4 and wxWidgets.m4 returning
invalid CFLAGS and LIBS flags.
- Fixed incorrect order of pthread flag checking on solaris.
- New files: lib/unix_util.[Ch]. Currently contains implementation of
daemon() for systems that lack it.
- Access to binary files in /proc was failing on some systems when compiled
with 64 bit file access. Rearranged headers and defines to force 32bit
file access in hostinfo_unix.C
- all_tty_idle() didn't work as advertised on any system as far as I can
tell. I rewrote it to check ttys that are not named /dev/tty[1-9].
The old implementation was modifying a statically allocated read-only
string, (and crashing on some systems) anyway.
- added implementation of non-standard function strcasestr() to str_util.C
- added #define of MAP_FILE to shmem.C, because it is missing from most
unix systems, (and is unnecessary on linux anyway).
- other minor bug fixes.
svn path=/trunk/boinc/; revision=14996