From unknown Fri Jun 20 18:23:46 2025 X-Loop: help-debbugs@gnu.org Subject: bug#9903: 24.0.90; Empty input string signals error in batch mode. Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Oct 2011 08:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 9903 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 9903@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.131987727820244 (code B ref -1); Sat, 29 Oct 2011 08:35:02 +0000 Received: (at submit) by debbugs.gnu.org; 29 Oct 2011 08:34:38 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RK4NB-0005GR-3M for submit@debbugs.gnu.org; Sat, 29 Oct 2011 04:34:37 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RK4N8-0005GK-Jv for submit@debbugs.gnu.org; Sat, 29 Oct 2011 04:34:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RK4LC-0001In-RH for submit@debbugs.gnu.org; Sat, 29 Oct 2011 04:32:35 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=ALL_TRUSTED,BAYES_00, RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:53615) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RK4LC-0001Ij-Pp for submit@debbugs.gnu.org; Sat, 29 Oct 2011 04:32:34 -0400 Received: from eggs.gnu.org ([140.186.70.92]:46168) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RK4LB-0004yr-Pp for bug-gnu-emacs@gnu.org; Sat, 29 Oct 2011 04:32:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RK4LA-0001IV-EL for bug-gnu-emacs@gnu.org; Sat, 29 Oct 2011 04:32:33 -0400 Received: from fencepost.gnu.org ([140.186.70.10]:48787) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RK4LA-0001IR-BZ for bug-gnu-emacs@gnu.org; Sat, 29 Oct 2011 04:32:32 -0400 Received: from [155.69.18.173] (port=57174 helo=furball) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1RK4L9-0004CS-O9 for bug-gnu-emacs@gnu.org; Sat, 29 Oct 2011 04:32:32 -0400 From: Chong Yidong Date: Sat, 29 Oct 2011 16:32:25 +0800 Message-ID: <8739ec8ag6.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -6.6 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) 1. emacs -Q -batch --eval '(message "%s" (read-string "ASDF: "))' 2. Type RET at the prompt, without entering any text. Emacs signals an error: Error reading from stdin This problem was introduced by: revno: 105287 committer: Paul Eggert branch nick: trunk timestamp: Tue 2011-07-19 10:33:06 -0700 message: Port to OpenBSD. See http://lists.gnu.org/archive/html/emacs-devel/2011-07/msg00688.html and the surrounding thread. * minibuf.c (read_minibuf_noninteractive): Rewrite to use getchar rather than fgets, and retry after EINTR. Otherwise, 'emacs --batch -f byte-compile-file' fails on OpenBSD if an inactivity timer goes off. From unknown Fri Jun 20 18:23:46 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Chong Yidong Subject: bug#9903: closed (Re: bug#9903: 24.0.90; Empty input string signals error in batch mode.) Message-ID: References: <8739ec8ag6.fsf@gnu.org> X-Gnu-PR-Message: they-closed 9903 X-Gnu-PR-Package: emacs Reply-To: 9903@debbugs.gnu.org Date: Sat, 29 Oct 2011 08:59:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1319878742-22596-1" This is a multi-part message in MIME format... ------------=_1319878742-22596-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #9903: 24.0.90; Empty input string signals error in batch mode. which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 9903@debbugs.gnu.org. --=20 9903: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D9903 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1319878742-22596-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 9903-done) by debbugs.gnu.org; 29 Oct 2011 08:58:41 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RK4kT-0005ru-22 for submit@debbugs.gnu.org; Sat, 29 Oct 2011 04:58:41 -0400 Received: from mail-out.m-online.net ([212.18.0.9]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RK4kO-0005rh-Dh for 9903-done@debbugs.gnu.org; Sat, 29 Oct 2011 04:58:40 -0400 Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 878E01C02B9C; Sat, 29 Oct 2011 10:56:36 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id 778DB1C0015A; Sat, 29 Oct 2011 10:56:36 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.8.164]) (amavisd-new, port 10024) with ESMTP id xPOs6ROzhC8Z; Sat, 29 Oct 2011 10:56:36 +0200 (CEST) Received: from igel.home (ppp-88-217-108-218.dynamic.mnet-online.de [88.217.108.218]) by mail.mnet-online.de (Postfix) with ESMTP; Sat, 29 Oct 2011 10:56:35 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id C76F8CA29C; Sat, 29 Oct 2011 10:56:34 +0200 (CEST) From: Andreas Schwab To: Chong Yidong Subject: Re: bug#9903: 24.0.90; Empty input string signals error in batch mode. References: <8739ec8ag6.fsf@gnu.org> X-Yow: You should all JUMP UP AND DOWN for TWO HOURS while I decide on a NEW CAREER!! Date: Sat, 29 Oct 2011 10:56:34 +0200 In-Reply-To: <8739ec8ag6.fsf@gnu.org> (Chong Yidong's message of "Sat, 29 Oct 2011 16:32:25 +0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 9903-done Cc: 9903-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Fixed. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." ------------=_1319878742-22596-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 29 Oct 2011 08:34:38 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RK4NB-0005GR-3M for submit@debbugs.gnu.org; Sat, 29 Oct 2011 04:34:37 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RK4N8-0005GK-Jv for submit@debbugs.gnu.org; Sat, 29 Oct 2011 04:34:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RK4LC-0001In-RH for submit@debbugs.gnu.org; Sat, 29 Oct 2011 04:32:35 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=ALL_TRUSTED,BAYES_00, RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:53615) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RK4LC-0001Ij-Pp for submit@debbugs.gnu.org; Sat, 29 Oct 2011 04:32:34 -0400 Received: from eggs.gnu.org ([140.186.70.92]:46168) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RK4LB-0004yr-Pp for bug-gnu-emacs@gnu.org; Sat, 29 Oct 2011 04:32:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RK4LA-0001IV-EL for bug-gnu-emacs@gnu.org; Sat, 29 Oct 2011 04:32:33 -0400 Received: from fencepost.gnu.org ([140.186.70.10]:48787) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RK4LA-0001IR-BZ for bug-gnu-emacs@gnu.org; Sat, 29 Oct 2011 04:32:32 -0400 Received: from [155.69.18.173] (port=57174 helo=furball) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1RK4L9-0004CS-O9 for bug-gnu-emacs@gnu.org; Sat, 29 Oct 2011 04:32:32 -0400 From: Chong Yidong To: bug-gnu-emacs@gnu.org Subject: 24.0.90; Empty input string signals error in batch mode. Date: Sat, 29 Oct 2011 16:32:25 +0800 Message-ID: <8739ec8ag6.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) 1. emacs -Q -batch --eval '(message "%s" (read-string "ASDF: "))' 2. Type RET at the prompt, without entering any text. Emacs signals an error: Error reading from stdin This problem was introduced by: revno: 105287 committer: Paul Eggert branch nick: trunk timestamp: Tue 2011-07-19 10:33:06 -0700 message: Port to OpenBSD. See http://lists.gnu.org/archive/html/emacs-devel/2011-07/msg00688.html and the surrounding thread. * minibuf.c (read_minibuf_noninteractive): Rewrite to use getchar rather than fgets, and retry after EINTR. Otherwise, 'emacs --batch -f byte-compile-file' fails on OpenBSD if an inactivity timer goes off. ------------=_1319878742-22596-1--