From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.bugs Subject: duplicates handlers warnings should go to stderr, not stdout Date: Sat, 01 Sep 2007 18:19:46 +0200 Message-ID: <87veauicil.fsf@pobox.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1188663603 24920 80.91.229.12 (1 Sep 2007 16:20:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 1 Sep 2007 16:20:03 +0000 (UTC) To: bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sat Sep 01 18:20:01 2007 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IRVhX-0001Uv-T2 for guile-bugs@m.gmane.org; Sat, 01 Sep 2007 18:20:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IRVhW-0007D1-Qx for guile-bugs@m.gmane.org; Sat, 01 Sep 2007 12:19:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IRVhS-0007BB-Vm for bug-guile@gnu.org; Sat, 01 Sep 2007 12:19:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IRVhR-00078z-CZ for bug-guile@gnu.org; Sat, 01 Sep 2007 12:19:54 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IRVhR-00078d-74 for bug-guile@gnu.org; Sat, 01 Sep 2007 12:19:53 -0400 Original-Received: from ambient.dashsystems.com ([216.27.85.7] helo=kettle.ambient-hosting.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IRVhQ-0000OS-QF for bug-guile@gnu.org; Sat, 01 Sep 2007 12:19:52 -0400 Original-Received: from localhost.localdomain (ambient-hosting.net [10.1.6.1]) by kettle.ambient-hosting.net (Postfix) with ESMTP id AF32188086 for ; Sat, 1 Sep 2007 12:19:48 -0400 (EDT) Original-Received: by localhost.localdomain (Postfix, from userid 1000) id 930F111882B; Sat, 1 Sep 2007 18:19:47 +0200 (CEST) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (gnu/linux) X-Detected-Kernel: Linux 2.4-2.6 X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:3586 Archived-At: Currently warnings about duplicates, etc are printed to the current output port, whereas they should go to the error port. Index: ice-9/boot-9.scm =================================================================== RCS file: /cvsroot/guile/guile/guile-core/ice-9/boot-9.scm,v retrieving revision 1.356.2.9 diff -u -u -r1.356.2.9 boot-9.scm --- ice-9/boot-9.scm 8 Aug 2007 15:04:30 -0000 1.356.2.9 +++ ice-9/boot-9.scm 1 Sep 2007 16:18:05 -0000 @@ -3055,7 +3055,7 @@ #f)) (define (warn module name int1 val1 int2 val2 var val) - (format #t + (format (current-error-port) "WARNING: ~A: `~A' imported from both ~A and ~A\n" (module-name module) name @@ -3077,7 +3077,7 @@ (define (warn-override-core module name int1 val1 int2 val2 var val) (and (eq? int1 the-scm-module) (begin - (format #t + (format (current-error-port) "WARNING: ~A: imported module ~A overrides core binding `~A'\n" (module-name module) (module-name int2) -- http://wingolog.org/ _______________________________________________ Bug-guile mailing list Bug-guile@gnu.org http://lists.gnu.org/mailman/listinfo/bug-guile