Hi Pau, I've merged your change but get an link error:
./../lib/libosg.so.2.9.6: undefined reference to `clock_gettime' Did you need to add an extra lib to the osg link line? Robert. On Tue, Jul 28, 2009 at 2:06 PM, Pau Garcia i Quiles<[email protected]> wrote: > Hello, > > Here it comes (it's from OSG 2.9.5). > > This is the first project I've ever seen which prefers whole modified > files to diffs. Is there any reason for that? :-? > > On Tue, Jul 28, 2009 at 2:56 PM, J.P. Delport<[email protected]> wrote: >> Hi, >> >> please send the whole modified file. >> >> See here: >> http://www.openscenegraph.org/projects/osg/wiki/MailingLists/SubmissionsProtocol >> >> thanks >> jp >> >> Pau Garcia i Quiles wrote: >>> >>> Hello, >>> >>> On Linux/Unix, when you change the system time (for instance, using >>> settimeofday), OSG animations will freeze your application because >>> osg::Timer uses gettimeofday internally on non-Win32 platforms. This >>> is wrong and should be replace with times(2) or clock_gettime(2). >>> >>> The attached patch fixes the issue in a binary-compatible way by using >>> clock_gettime when it's available, and falling back to gettimeofday >>> when it's not. >>> >>> >>> >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> osg-submissions mailing list >>> [email protected] >>> >>> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org >> >> -- >> This message is subject to the CSIR's copyright terms and conditions, e-mail >> legal notice, and implemented Open Document Format (ODF) standard. The full >> disclaimer details can be found at http://www.csir.co.za/disclaimer.html. >> >> This message has been scanned for viruses and dangerous content by >> MailScanner, and is believed to be clean. MailScanner thanks Transtec >> Computers for their support. >> >> _______________________________________________ >> osg-submissions mailing list >> [email protected] >> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org >> > > > > -- > Pau Garcia i Quiles > http://www.elpauer.org > (Due to my workload, I may need 10 days to answer) > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
