Commit b70c822b authored by Barry Warsaw's avatar Barry Warsaw

Formatting, and minor error detection

parent 7249c6cd
......@@ -239,8 +239,9 @@ time_strftime(self, args)
buf.tm_mon--;
buf.tm_wday = (buf.tm_wday + 1) % 7;
buf.tm_yday--;
/* I hate these functions that presume you know how big the output */
/* will be ahead of time... */
/* I hate these functions that presume you know how big the output
* will be ahead of time...
*/
for (i = 1024 ; i < 8192 ; i += 1024) {
outbuf = malloc(i);
if (outbuf == NULL) {
......@@ -386,6 +387,8 @@ inittime()
}
#endif /* HAVE_TM_ZONE */
#endif /* !HAVE_TZNAME */
if (PyErr_Occurred())
Py_FatalError("Can't initialize time module");
}
......@@ -436,7 +439,7 @@ static int
#ifdef MPW
floatsleep(double secs)
#else
floatsleep(secs)
floatsleep(secs)
double secs;
#endif /* MPW */
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment