of gcc to try and force them to not complain with -Wall but to always
include this, I decided to take a simpler approach. All these strings
now have global linkage. To prevent namespace conflicts they all
have different names. For the record, the variable extension is a hash made of the first ten characters of the md5sum of the file path, eg:
md5hash=`boinc/api/x_opengl.C | md5sum | cut -c 1-10`
svn path=/trunk/boinc/; revision=4979
fix was incomplete. In order for it to work as intended, I would
have also had to modify SCHED_RESULT_ITEM::parse to copy the
additional needed fields into the in-memory structure. But this
is fragile. The next time some additional fields are added to the
result table, they would have to be incorporated here as well, to
ensure that SET followed by UPDATE is the identity operation. So
I did a more graceful and robust fix. Simply set result.id=0 for
those results that have already been received or which for other
reasons should not be modified in the database, then skip these
when updating.
svn path=/trunk/boinc/; revision=4763
error conditions, handle_request.C would read only some fields of
and existing request into memory, and then write more of those fields,
some of which were null, back into memory. This had the effect of nulling
out outcome, client_state, exit_status, cpu_time, xml_doc_out, stderr_out,
validate_state, claimed_credit and client_version. The point is that
DB_SCHED_RESULT_ITEM_SET::enumerate() followed by
DB_SCHED_RESULT_ITEM_SET::update_result
did not preserve an 'existing result'. It wiped out the fields above.
svn path=/trunk/boinc/; revision=4724
under Mac OSX. Also make dist now works (make distcheck still
broken). Karl, since you were the last
person to fix up this mess, how about taking a look??
svn path=/trunk/boinc/; revision=4665
the top of all .C files. This means that 'string' or 'ident'
run on an executable will tell you the exact file versions used
in building it, since CVS replaces $Id$ with a complete version ID
string. Declaration is volatile so that the compiler won't remove
it even under agressive optimizations.
svn path=/trunk/boinc/; revision=4610