#42 time in ipa/fig/device.h

closed-fixed
None
5
2001-07-02
2001-07-01
Joel Young
No

Under solaris (atleast) time() needs a *time_t as a
parameter.

1 --- libwmf-0.2.0/src/ipa/fig/device.h.orig
Sun Jul 1 15:12:18 2001
2 +++ libwmf-0.2.0/src/ipa/fig/device.h Sun
Jul 1 15:15:14 2001
3 @@ -122,7 +122,7 @@
4 fprintf
(out,"%s\n",ddata->Date);
5 }
6 else
7 - { t = time();
8 + { t = time(&t);
9 fprintf (out, "# Date: %s",
ctime(&t));
10 }
11 if (ddata->For)
~

Discussion

  • Francis James Franklin

    Logged In: YES
    user_id=146639

    Sorry, yes, fixed in CVS

     
  • Francis James Franklin

    • assigned_to: nobody --> fjfranklin
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks