Commit Graph

11 Commits

Author SHA1 Message Date
Anthony Sottile
41be71f09f Trim trailing whitespace 2017-08-31 22:26:39 -07:00
Bernie Hackett
21b6a47ce9 PYTHON-1202 - Fix time64 compilation with -std=c99
Python 2.6 on Solaris 11 is built with -std=c99. That causes
build issues for our time64 code, which needs localtime_r and
tzset. Including Python.h in time64.c provides the necessary magic.
2017-02-17 13:55:50 -08:00
Bernie Hackett
8a21411c33 Silence pointless compiler warnings 2015-09-29 18:57:57 -07:00
Bernie Hackett
f1264ccc93 Remove unused constant.
Silences a clang warning.
2014-03-14 09:13:46 -07:00
behackett
83745027f2 Fix compiler warnings on Windows.
These are no longer needed due to a previous change.
2012-04-20 12:51:09 -07:00
behackett
359ee6b3f1 Remove asctime64_r (and related) PYTHON-327
It's use of sprintf sets off security scanners.
We could have used snprintf instead following
glibc's implementation of asctime_r but we don't
actually use any of these functions in PyMongo so
seems easier and less contentious to just remove
them.
2012-02-10 12:28:04 -08:00
behackett
5c581a2969 Silence check_tm warning PYTHON-235 2011-07-20 14:57:27 -07:00
behackett
c8af60ef97 Minor style issue. 2011-04-12 11:06:21 -07:00
behackett
b32493548f Fix Visual Studio compiler warnings. 2011-04-08 14:49:32 -07:00
Mike Dirolf
b751853755 minor: cleanup 2010-09-14 13:56:14 -04:00
Mike Dirolf
789296c6ef Split C extension in two (pymongo, bson) PYTHON-60 2010-09-14 13:55:41 -04:00