Re: read() returns positive numbers in BSD systems, which make: bash / v
From:
Chet Ramey
Subject:
Re: read() returns positive numbers in BSD systems, which make: bash / valid.
Date:
Sun, 19 Apr 2015 19:07:29 -0400
User-agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
On 4/17/15 2:43 PM, Eduardo A. Bustamante López wrote:
> In the BSDs, doing a read on a directory doesn't return a negative value.
Thanks for the investigation and report.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/