Partly revert "shl: handle pathconf() errors" upstream
authorDavid Herrmann <dh.herrmann@gmail.com>
Sun, 25 May 2014 09:54:55 +0000 (11:54 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Sun, 25 May 2014 09:56:50 +0000 (11:56 +0200)
commit074792020c9cec199959d4f5c39f3ef21318c031
treef49c3876c51d855dd35af2e8bc7f9347aecd6457
parent41e76d11dff6dd9bc08bf829751f9634f32cdd38
Partly revert "shl: handle pathconf() errors"

This partly reverts commit 41e76d11dff6dd9bc08bf829751f9634f32cdd38. I
removed the "superfluous" errno-handling, which in fact is needed. Turns
out pathconf() might leave errno unchanged.

Reported-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
src/kmscon_module.c
src/shl_misc.h