shl: handle pathconf() errors
authorLubomir Rintel <lkundrak@v3.sk>
Sat, 24 May 2014 19:19:33 +0000 (21:19 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Sun, 25 May 2014 09:42:27 +0000 (11:42 +0200)
It can return -1 (feature not supported, denied by a security module, etc.),
resulting in wrong allocation later on.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
(remove superfluous errno-checks)
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>

No differences found