(getndelim2): Don't trash errno when a read
authorJim Meyering <jim@meyering.net>
Wed, 17 Sep 2003 18:46:57 +0000 (18:46 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 17 Sep 2003 18:46:57 +0000 (18:46 +0000)
commit651fd58f8fefec46eec1831f7d7ca8f78718b449
treea62f04d17e71e78f07d3f1f7d5b8dda60a09d558
parent21158aed3acf8f6e925c2e3902b0c494aa7bf63b
(getndelim2): Don't trash errno when a read
fails, so that the caller gets the proper errno.
lib/getndelim2.c