The Mac OS X Security Update 2005-007 broke the wrapper due to
the missing ftime function. For more information see the bug report:
http://sourceforge.net/tracker/index.php?
func=detail&aid=1262323&group_id=39428&atid=425187
I don't know if Apple will fix the problem, and as I need a quick
solution I created a little patch for this wich uses the gettimeofday()
function instead of the ftime() function on Mac OS X.
It works for me, however as I'm not a C programmer I have just
"stolen" a solution I found in the internet ( http://
borglab.media.mit.edu/cgi-bin/cvsweb/signalcore/
OpinionMetricsLogger.cpp.diff?r1=1.2&r2=1.3 ) and tried to put it
together correctly, so it would be good if someone looks over this
patch and verifies it does everything correctly...
Mac OS X patch
Logged In: YES
user_id=1164607
This looks fine for me, as I have just done a similar
patching myself before finding yours in the process of
posting it here ;-) -- but I'm definitely not a C programmer
either.
Small things I would add :
- I read somewhere that ftime() is supposedly provided by
libcompat, so it should be possible to avoid patching the
code by installing libcompat (exercise left to the reader)
- Somehow "-lcrypto" was added at some point in
Makefile.macosx, but this is not necessary, as ftime() was
never provided by libcrypto, but rather by libSystem.
Just my $0.02...