HomeFreeBSD

Better error checking

Description

Better error checking

if getcwd fails: just ignore it and do not try to adding to the list of possible
path where to find the files.

if fdopen fails, warn and return NULL the rest of the code knows how to deal
with it

Reported by: oshogbo

Details

Provenance
baptAuthored on
Parents
rS305944: style(9) fix
Branches
Unknown
Tags
Unknown