bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gawk-stable] bug: fatal error when getline from directory


From: Andreas Schwab
Subject: Re: [gawk-stable] bug: fatal error when getline from directory
Date: Mon, 05 Jan 2009 00:52:02 +0100
User-agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.3 (gnu/linux)

Paolo <address@hidden> writes:

> *I* might agree that dirs aren't "text" nor "binary" files, yet you can 
> open(2)+read(2) a dir without a glitch - you get an EOF.

read(2) on a directory often fails.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]