]> granicus.if.org Git - python/commit
Suppress a compiler warning under OpenVMS; time_t is unsigned on (at least)
authorFred Drake <fdrake@acm.org>
Thu, 1 Mar 2001 06:33:32 +0000 (06:33 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 1 Mar 2001 06:33:32 +0000 (06:33 +0000)
commitc63d3e9453c860cd255d5a77fb3853aaac95bd8f
tree2fe80556536a1c3731cbd563e6be67df86f3b5d8
parent7889107be7cb5a28aabcdfa33778bdce3e9b5c27
Suppress a compiler warning under OpenVMS; time_t is unsigned on (at least)
the more recent versions of that platform, so we use the value (time_t)(-1)
as the error value.  This is the type used in the OpenVMS documentation:

http://www.openvms.compaq.com/commercial/c/5763p048.htm#inde

This closes SF tracker bug #404240.

Also clean up an exception message when detecting overflow of time_t values
beyond 4 bytes.
Python/import.c