]> granicus.if.org Git - python/commit
Two robustness patches:
authorGuido van Rossum <guido@python.org>
Fri, 31 Mar 2000 00:47:28 +0000 (00:47 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 31 Mar 2000 00:47:28 +0000 (00:47 +0000)
commitffd15f5255a600fe6cb6fb38123d58eca51f9987
tree51336654c93c0e3059eaea02c4bb32e692e60ede
parentfb2789f387029f54ac386d923866e6931f95d661
Two robustness patches:

(1) In opendir(), don't call the lock-release macros; we're
manipulating list objects and that shouldn't be done in unlocked
state.

(2) Don't use posix_strint() for chmod() -- the mode_t arg might be a
64 bit int (reported by Nick Maclaren).
Modules/posixmodule.c