]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r212187: sh: Add a test that 'read' leaves the file pointer at the
authorjilles <jilles@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 23 Sep 2010 20:37:29 +0000 (20:37 +0000)
committerjilles <jilles@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 23 Sep 2010 20:37:29 +0000 (20:37 +0000)
commitd2a964ee8b8820b8a763f5abb7a16c51e3bcc5bf
treea0846295a770e28b843bd63e39c0a61f1ddee6a2
parentdebed01d68cb69bdca8ef8afae52480175393e2e
MFC r212187: sh: Add a test that 'read' leaves the file pointer at the
correct place.

Naive buffering would break the common while read x... construct, which did
not appear to be tested yet.

git-svn-id: svn://svn.freebsd.org/base/stable/8@213085 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
tools/regression/bin/sh/builtins/read2.0 [new file with mode: 0644]