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/asctime.c
ViewVC logotype

Diff of /sml/trunk/runtime/c-libs/smlnj-date/asctime.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 23  Line 23 
23      ml_val_t    res;      ml_val_t    res;
24      struct tm   tm;      struct tm   tm;
25    
26      bzero (&tm, sizeof(tm));      memset (&tm, 0, sizeof(tm));
27      tm.tm_sec   = REC_SELINT(arg, 0);      tm.tm_sec   = REC_SELINT(arg, 0);
28      tm.tm_min   = REC_SELINT(arg, 1);      tm.tm_min   = REC_SELINT(arg, 1);
29      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