From owner-freebsd-stable@FreeBSD.ORG Tue Oct 22 18:25:18 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 885A4C61 for ; Tue, 22 Oct 2013 18:25:18 +0000 (UTC) (envelope-from David.Boyd49@twc.com) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.226]) by mx1.freebsd.org (Postfix) with ESMTP id 4EE402D98 for ; Tue, 22 Oct 2013 18:25:17 +0000 (UTC) Received: from [74.128.133.206] ([74.128.133.206:49738] helo=sneezy) by cdptpa-oedge03 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id EF/2F-19454-C03C6625; Tue, 22 Oct 2013 18:25:17 +0000 From: "David Boyd" To: Subject: 10.0-ALPHA1: /usr/bin/read: strange return code with -t option Date: Tue, 22 Oct 2013 14:25:15 -0400 Message-ID: <9C08537CB81F4AF79E330DB6E8AA2890@sneezy> MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6863 thread-index: Ac7PVA0HgAFQy4PsSBCelop5ju+TgQ== Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-RR-Connecting-IP: 107.14.168.142:25 X-Cloudmark-Score: 0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Oct 2013 18:25:18 -0000 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