Date: Tue, 22 Oct 2013 14:25:15 -0400 From: "David Boyd" <David.Boyd49@twc.com> To: <freebsd-stable@freebsd.org> Subject: 10.0-ALPHA1: /usr/bin/read: strange return code with -t option Message-ID: <9C08537CB81F4AF79E330DB6E8AA2890@sneezy>
next in thread | raw e-mail | index | archive | help
When using /usr/bin/read with the -t option the "timeout" return code should be 1 (verified with 8.4-RELEASE and 9.2-RELEASE). When used with 10.0-BETA1, the return code is 142. How to recreate: /usr/bin/read -t 1 RESPONSE JUNK (allow this to timeout) echo $? 142 Also with /bin/sh: builtin read -t 1 RESPONSE JUNK (allow this to timeout) echo $? 142 Thanks for your assistance with this issue. David Boyd David.Boyd49@twc.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9C08537CB81F4AF79E330DB6E8AA2890>
