From: Florian G. <re...@us...> - 2007-08-02 22:20:24
|
Update of /cvsroot/perfparse/_perfparse/db_tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11528/db_tools Modified Files: Makefile.in convert.c Log Message: Did a autoupdate & autoscan. Replaced round(x) with ceil(x+0.5) for Solaris 9 which does not support C99 (See http://forum.java.sun.com/thread.jspa?threadID=5151269&tstart=210) Index: Makefile.in =================================================================== RCS file: /cvsroot/perfparse/_perfparse/db_tools/Makefile.in,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** Makefile.in 28 Mar 2007 22:54:28 -0000 1.20 --- Makefile.in 2 Aug 2007 22:20:21 -0000 1.21 *************** *** 225,228 **** --- 225,230 ---- VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ + YACC = @YACC@ + YFLAGS = @YFLAGS@ ZLIB_CFLAGS = @ZLIB_CFLAGS@ ZLIB_LIBS = @ZLIB_LIBS@ Index: convert.c =================================================================== RCS file: /cvsroot/perfparse/_perfparse/db_tools/convert.c,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -d -r1.37 -r1.38 *** convert.c 27 Apr 2007 21:20:06 -0000 1.37 --- convert.c 2 Aug 2007 22:20:21 -0000 1.38 *************** *** 878,882 **** int eh=0, emin=0, esec=0; esec=acttime-starttime; ! sec=round(((float)iODBnumrows / (float)i - 1.0) * (float)esec); if(sec>60) { min=floor(sec/60); --- 878,882 ---- int eh=0, emin=0, esec=0; esec=acttime-starttime; ! sec=floor((((float)iODBnumrows / (float)i - 1.0) * (float)esec)+0.5); if(sec>60) { min=floor(sec/60); |