From: Martin V. <mar...@hu...> - 2001-06-04 09:27:20
|
On Sat, Jun 02, 2001 at 01:29:16PM -0500, Bob Friesenhahn wrote: > From: Bob Friesenhahn <bfr...@si...> > X-Sender: bfr...@sc... > To: wvw...@li... > Subject: [Wvware-devel] patch to libwmf2/src/ipa/fig/device.h ... > Date: Sat, 2 Jun 2001 13:29:16 -0500 (CDT) > > The POSIX time function requires a parameter. Here is a patch to fix. > > Bob > > Index: src/ipa/fig/device.h > =================================================================== > RCS file: /cvsroot/wvware/libwmf2/src/ipa/fig/device.h,v > retrieving revision 1.13 > diff -u -r1.13 device.h > --- src/ipa/fig/device.h 2001/04/25 10:39:22 1.13 > +++ src/ipa/fig/device.h 2001/06/02 18:28:17 > @@ -122,7 +122,7 @@ > fprintf (out,"%s\n",ddata->Date); > } > else > - { t = time(); > + { t = time((time_t*)NULL); > fprintf (out, "# Date: %s", ctime(&t)); > } > if (ddata->For) > Works under Linux also ;-) Committed. Thanks! BTW I think patches this local can go into CVS straightaway ;-) Martin -- Martin Vermeer mar...@hu... Helsinki University of Technology Department of Surveying P.O. Box 1200, FIN-02015 HUT, Finland :wq |