From: Simon Ruderich Date: Fri, 21 Jun 2013 20:55:13 +0000 (+0200) Subject: Improve checks for invalid file descriptors. X-Git-Tag: 0.1~22 X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=2fc66e15eb194ca1e54cd4df7f54bfdc3c87a3cd;hp=2fc66e15eb194ca1e54cd4df7f54bfdc3c87a3cd;p=coloredstderr%2Fcoloredstderr.git Improve checks for invalid file descriptors. Just in case a real dup*() or fcntl() doesn't return -1 on error, but something like -2. ---