It's wrong to call g_file_test() with more than one test (both
authorTor Lillqvist <tml@iki.fi>
Sun, 2 Jan 2005 16:03:56 +0000 (16:03 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Sun, 2 Jan 2005 16:03:56 +0000 (16:03 +0000)
commita8cf492b2c787ab06a71f417ec6da8c63a48cf62
tree2a5704e7f0645c45fa767c6a9656e3c62746950b
parent66f109711ab8dde782b34c25b523861369ecefbd
It's wrong to call g_file_test() with more than one test (both

2004-12-31  Tor Lillqvist  <tml@iki.fi>

* gmodule.c (g_module_open): It's wrong to call g_file_test() with
more than one test (both G_FILE_TEST_EXISTS and _IS_REGULAR). (It
would succeed even if the pathname existed as a nonregular file.)
Just G_FILE_TEST_IS_REGULAR works fine. (#162594)
gmodule/ChangeLog
gmodule/gmodule.c