From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Brown Newsgroups: gmane.emacs.bugs Subject: bug#12381: Assume C89 or later for math functions. Date: Sat, 08 Sep 2012 15:46:13 -0400 Message-ID: <504BA085.3030806@cornell.edu> References: <504A578E.2070207@cs.ucla.edu> <83oblhgfg4.fsf@gnu.org> <504B64C9.7080901@cs.ucla.edu> <83d31wmrqo.fsf@gnu.org> <504B7E40.9090408@cornell.edu> <504B96FC.806@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1347133610 16704 80.91.229.3 (8 Sep 2012 19:46:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Sep 2012 19:46:50 +0000 (UTC) Cc: 12381@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 08 21:46:51 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TAQzN-0000fq-25 for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Sep 2012 21:46:45 +0200 Original-Received: from localhost ([::1]:52183 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TAQzJ-0000TB-Tq for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Sep 2012 15:46:41 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39159) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TAQzG-0000T5-Um for bug-gnu-emacs@gnu.org; Sat, 08 Sep 2012 15:46:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TAQzF-0002uV-S8 for bug-gnu-emacs@gnu.org; Sat, 08 Sep 2012 15:46:38 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39514) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TAQzF-0002uR-On for bug-gnu-emacs@gnu.org; Sat, 08 Sep 2012 15:46:37 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TAQzd-000383-Vr for bug-gnu-emacs@gnu.org; Sat, 08 Sep 2012 15:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ken Brown Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 Sep 2012 19:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12381 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 12381-submit@debbugs.gnu.org id=B12381.134713360812009 (code B ref 12381); Sat, 08 Sep 2012 19:47:01 +0000 Original-Received: (at 12381) by debbugs.gnu.org; 8 Sep 2012 19:46:48 +0000 Original-Received: from localhost ([127.0.0.1]:49060 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TAQzP-00037d-Sa for submit@debbugs.gnu.org; Sat, 08 Sep 2012 15:46:48 -0400 Original-Received: from limestone4.mail.cornell.edu ([128.253.83.164]:33520) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TAQzN-00037V-0G for 12381@debbugs.gnu.org; Sat, 08 Sep 2012 15:46:46 -0400 X-CornellRouted: This message has been Routed already. Original-Received: from soapstone1.mail.cornell.edu (soapstone1.mail.cornell.edu [128.253.83.143]) by limestone4.mail.cornell.edu (8.14.4/8.14.4) with ESMTP id q88JkCDU010144; Sat, 8 Sep 2012 15:46:12 -0400 (EDT) Original-Received: from authusersmtp.mail.cornell.edu (granite2.mail.cornell.edu [128.253.83.142]) by soapstone1.mail.cornell.edu (8.14.4/8.14.4) with ESMTP id q88JkNGb021158; Sat, 8 Sep 2012 15:46:24 -0400 (EDT) Original-Received: from [192.168.1.3] (cpe-67-249-194-47.twcny.res.rr.com [67.249.194.47]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id q88JkGqd015792 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 8 Sep 2012 15:46:17 -0400 (EDT) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120824 Thunderbird/15.0 In-Reply-To: <504B96FC.806@cs.ucla.edu> X-PMX-CORNELL-SPAM-CHECKED: Pawpaw X-PMX-Version: 5.5.9.395186, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2012.9.8.193617 X-Original-Sender: kbrown@cornell.edu - Sat Sep 8 15:46:17 2012 X-PMX-CORNELL-REASON: CU_White_List_Override X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:63971 Archived-At: On 9/8/2012 3:05 PM, Paul Eggert wrote: > On 09/08/2012 10:20 AM, Ken Brown wrote: >> Is there a C program I could run that would answer your question? > > Sure, run this: > > #include > int main (void) > { > return pow (0, 0) != 1; > } > > If the matherr problem is present, the program will > print something on stderr, coming from the library. > If not, the program will exit silently. On Ubuntu > it exits with status 0, which is what POSIX requires, > though pow's exact return value doesn't really matter > here -- the point is that pow should not write to stderr. Thanks. The Cygwin behavior is the same as what you described for Ubuntu. Nothing is written to stderr, and the exit status is 0. Ken