On Sat, Mar 15, 2008 at 08:41:35AM +0000, Martin Kersten wrote:
Update of /cvsroot/monetdb/MonetDB5/src/mal In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv17899
Modified Files: mal_recycle.mx Log Message: Silence Windows compiler
FYI: `man bzero` says: ======== CONFORMING TO 4.3BSD. This function is deprecated (marked as LEGACY in POSIX.1-2001): use memset(3) in new programs. ======== Stefan
Index: mal_recycle.mx =================================================================== RCS file: /cvsroot/monetdb/MonetDB5/src/mal/mal_recycle.mx,v retrieving revision 1.49 retrieving revision 1.50 diff -u -d -r1.49 -r1.50 --- mal_recycle.mx 14 Mar 2008 09:43:07 -0000 1.49 +++ mal_recycle.mx 15 Mar 2008 08:41:33 -0000 1.50 @@ -260,7 +260,7 @@ newMalBlkStmt(recycleBlk,recycleBlk->ssize);
used= alloca(recycleBlk->vtop); - bzero(used, recycleBlk->vtop); + memset(used,0, recycleBlk->vtop);
/* set all used variables */ for (i = 0; i < pc; i++){
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Monetdb-checkins mailing list Monetdb-checkins@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-checkins
-- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4312 |