Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Diff of /sml/trunk/runtime/c-libs/smlnj-date/mktime.c
ViewVC logotype

Diff of /sml/trunk/runtime/c-libs/smlnj-date/mktime.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2678, Fri Jun 1 15:15:57 2007 UTC revision 2679, Fri Jun 1 16:19:33 2007 UTC
# Line 21  Line 21 
21      struct tm   tm;      struct tm   tm;
22      time_t      t;      time_t      t;
23    
24      bzero (&tm, sizeof(tm));      memset (&tm, 0, sizeof(tm));
25      tm.tm_sec   = REC_SELINT(arg, 0);      tm.tm_sec   = REC_SELINT(arg, 0);
26      tm.tm_min   = REC_SELINT(arg, 1);      tm.tm_min   = REC_SELINT(arg, 1);
27      tm.tm_hour  = REC_SELINT(arg, 2);      tm.tm_hour  = REC_SELINT(arg, 2);

Legend:
Removed from v.2678  
changed lines
  Added in v.2679

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0