]> git.tuebingen.mpg.de Git - osl.git/commit
osl_open_table(): Remove pointless directory check.
authorAndre Noll <maan@tuebingen.mpg.de>
Wed, 19 Apr 2017 10:59:54 +0000 (12:59 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Wed, 17 Jun 2020 20:30:31 +0000 (22:30 +0200)
commit1a3291cfa4e3a1efc50e2a9752bf6abc0e6ce02a
tree417fb340cfabab77e9cb8f044891fd4e584ba1b1
parent24b877cf29cefb2d8b02029e2f10ccbaccf472f5
osl_open_table(): Remove pointless directory check.

The subsequent mmap(2) call will fail if the directory does not exist
(or if the path is not a directory), so this check is not needed.

This removes the only user of the E_OSL_NOTDIR error code. We must
keep it in the errlist file though, because error codes must be
considered part of the API.
osl.c