-- mozilla/nsprpub/pr/src/misc/prtime.c
++ mozilla/nsprpub/pr/src/misc/prtime.c.fixed
struct tm localTime;
time_t secs;
PR_ASSERT(tm.tm_month > -1
if (!(tm.tm_month > -1
&& tm.tm_mday > 0
&& tm.tm_hour > -1
&& tm.tm_min > -1
&& tm.tm_sec > -1);
&& tm.tm_sec > -1))
return PR_FAILURE;
/*
* To obtain time_t from a tm structure representing the local