OSDN Git Service

Remove redundant stat() call
authorJohan Hedberg <johan.hedberg@nokia.com>
Mon, 29 Jun 2009 13:09:07 +0000 (16:09 +0300)
committerJohan Hedberg <johan.hedberg@nokia.com>
Mon, 29 Jun 2009 13:09:07 +0000 (16:09 +0300)
commitd331ef049b55e8a2b43296ef0e1e7d19c19e4cd0
tree95105cf7d54768341942a635043ba08b78ddde50
parent03a49242f7127aaafdb6cfad30278ef19996f8e8
Remove redundant stat() call

Calling stat() before dlopen() is useless since in theory the file can get
removed between the two calls and so dlopen() needs to be able to handle
ENOENT in any case.
src/plugin.c