diff options
author | Niclas Zeising <zeising@daemonic.se> | 2016-08-31 20:03:36 +0200 |
---|---|---|
committer | Niclas Zeising <zeising@daemonic.se> | 2016-08-31 20:03:36 +0200 |
commit | 5ab630b59fe449c451d3a6f024d3c997af020a22 (patch) | |
tree | 8b373d597e34d667c8a28e986a714f1d9f48eebb /test/scr/feh_lhi_i | |
parent | 873c84f0722b4edf98e46d6c966c0d3618bfb2ac (diff) |
Only use sysconf() if HOST_NAME_MAX is undefined
On some systsems sysconf() can return a very large value, unsuitable for
use with malloc(). Only use sysconf() if HOST_NAME_MAX isn't avalable.
Diffstat (limited to 'test/scr/feh_lhi_i')
0 files changed, 0 insertions, 0 deletions