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

Diff of /sml/trunk/runtime/c-libs/smlnj-date/strftime.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 27  Line 27 
27      size_t      sz;      size_t      sz;
28    
29      date        = REC_SEL(arg, 1);      date        = REC_SEL(arg, 1);
30      bzero (&tm, sizeof(tm));      memset (&tm, 0, sizeof(tm));
31      tm.tm_sec   = REC_SELINT(date, 0);      tm.tm_sec   = REC_SELINT(date, 0);
32      tm.tm_min   = REC_SELINT(date, 1);      tm.tm_min   = REC_SELINT(date, 1);
33      tm.tm_hour  = REC_SELINT(date, 2);      tm.tm_hour  = REC_SELINT(date, 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