]> granicus.if.org Git - python/commit
test_glob found a nasty bug in GUSI opendir(): it will not fail when called on files...
authorJack Jansen <jack.jansen@cwi.nl>
Sat, 11 Aug 2001 23:18:55 +0000 (23:18 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Sat, 11 Aug 2001 23:18:55 +0000 (23:18 +0000)
commitd7b568ac4d238281d6ac55b6d7b820c64250a09d
treeb4841a3c162b3ae73fc52854e32590f5b2063294
parentb5982221bb5a45de90f58b21e121dd8677d6e25a
test_glob found a nasty bug in GUSI opendir(): it will not fail when called on files, but in stead open the parent directory! We now explicitly test for the argument being a directory and simulate ENOTDIR otherwise.
Mac/Modules/macmodule.c