From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.bugs Subject: Re: `print' does not print Date: Fri, 22 Mar 2002 13:58:07 +0200 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <3791-Fri22Mar2002135807+0200-eliz@is.elta.co.il> References: <200203202019.g2KKJfs4410490@jupiter.akutech-local.de> <2593-Fri22Mar2002121734+0200-eliz@is.elta.co.il> <15515.2661.133668.691007@jupiter.akutech-local.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1016798594 7642 127.0.0.1 (22 Mar 2002 12:03:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 22 Mar 2002 12:03:14 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16oNlJ-0001z1-00 for ; Fri, 22 Mar 2002 13:03:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16oNlI-0002oS-00; Fri, 22 Mar 2002 07:03:12 -0500 Original-Received: from freya.inter.net.il ([192.114.186.14]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16oNjk-0002hN-00 for ; Fri, 22 Mar 2002 07:01:36 -0500 Original-Received: from zaretsky (diup-217-59.inter.net.il [213.8.217.59]) by freya.inter.net.il (Mirapoint) with ESMTP id BGZ32987; Fri, 22 Mar 2002 14:01:25 +0200 (IST) Original-To: ralf@akutech.de X-Mailer: emacs 21.2.50 (via feedmail 8 I) and Blat ver 1.8.9 In-Reply-To: <15515.2661.133668.691007@jupiter.akutech-local.de> (message from Ralf Fassel on Fri, 22 Mar 2002 11:41:41 +0100) Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:55 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:55 > Date: Fri, 22 Mar 2002 11:41:41 +0100 > From: Ralf Fassel > > Fprint does what it is supposed to do, but the fwrite() calls in there > return 0 (should be 1 at that point) with errno = Bad File number. That seems to indicate that the standard output handle is somehow closed. Could you please see if it is already closed when Emacs starts, or is closed during the run? To do that, you could either (a) use some utility, such as truss or strace, to report system calls issued by Emacs; or (b) invoke fwrite from GDB at the beginning of the Emacs `main' function (put a breakpoint in `main' to stop Emacs there), and see what it returns. > So this does not seem to be a pure emacs problem, but also gcc is > involved. Probably the library and the header files, not only the compiler, have something to do with this. Thanks for working on this. _______________________________________________ Bug-gnu-emacs mailing list Bug-gnu-emacs@gnu.org http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs