View | Details | Raw Unified | Return to bug 9493
Collapse All | Expand All

(-)file_not_specified_in_diff (-3 / +4 lines)
Line  Link Here
0
-- mozilla/nsprpub/pr/src/misc/prtime.c 
0
++ mozilla/nsprpub/pr/src/misc/prtime.c.fixed 
Lines 1529-1539 Link Here
1529
          struct tm localTime;
1529
          struct tm localTime;
1530
          time_t secs;
1530
          time_t secs;
1531
1531
1532
          PR_ASSERT(tm.tm_month > -1 
1532
          if (!(tm.tm_month > -1 
1533
                                   && tm.tm_mday > 0 
1533
                                   && tm.tm_mday > 0 
1534
                                   && tm.tm_hour > -1
1534
                                   && tm.tm_hour > -1
1535
                                   && tm.tm_min > -1
1535
                                   && tm.tm_min > -1
1536
                                   && tm.tm_sec > -1);
1536
                                   && tm.tm_sec > -1))
1537
              return PR_FAILURE;
1537
1538
1538
            /*
1539
            /*
1539
             * To obtain time_t from a tm structure representing the local
1540
             * To obtain time_t from a tm structure representing the local

Return to bug 9493