|
From: | Roman Rakus |
Subject: | printf builtin - improper error report |
Date: | Mon, 02 May 2011 16:43:40 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Thunderbird/3.1.9 |
Using bash 4.1.7: $ printf "ab\nc" > /dev/full bash: printf: write error: No space left on device bash: printf: write error: No space left on device $ /usr/bin/printf "ab\nc" > /dev/full /usr/bin/printf: write error: No space left on device The same is on bash 4.2.8.The second write error is done in PRETURN macro - fflush() sets again error bit on stream.
RR
[Prev in Thread] | Current Thread | [Next in Thread] |