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 19:00:57 +0200 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <2110-Fri22Mar2002190057+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> <3791-Fri22Mar2002135807+0200-eliz@is.elta.co.il> <15515.15905.64808.177966@jupiter.akutech-local.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1016816775 24835 127.0.0.1 (22 Mar 2002 17:06:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 22 Mar 2002 17:06:15 +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 16oSUY-0006SM-00 for ; Fri, 22 Mar 2002 18:06: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 16oSUX-0002ge-00; Fri, 22 Mar 2002 12:06:13 -0500 Original-Received: from frigg.inter.net.il ([192.114.186.16]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16oSSj-0002aQ-00 for ; Fri, 22 Mar 2002 12:04:22 -0500 Original-Received: from zaretsky (diup-217-145.inter.net.il [213.8.217.145]) by frigg.inter.net.il (Mirapoint) with ESMTP id BHD59147; Fri, 22 Mar 2002 19:04:16 +0200 (IST) Original-To: ralfixx@gmx.de X-Mailer: emacs 21.2.50 (via feedmail 8 I) and Blat ver 1.8.9 In-Reply-To: <15515.15905.64808.177966@jupiter.akutech-local.de> (message from Ralf Fassel on Fri, 22 Mar 2002 15:22:25 +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:85 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:85 > Date: Fri, 22 Mar 2002 15:22:25 +0100 > From: Ralf Fassel > > This is `par' on IRIX, which shows close(4) and close(5), but no (!) > write: This gets stranger and stranger... > If I compile print.c alone with cc, and all the rest with gcc, I see > ... > 575mS : open("/disk4/tmp/ralf/Software/emacs-21.2/foo", O_RDONLY, 0) = 5 > 575mS : close(5) OK > 576mS : open("/disk4/tmp/ralf/Software/emacs-21.2/foo", O_RDONLY, 0) = 5 > 576mS : close(5) OK > 578mS : open("/disk4/tmp/ralf/Software/emacs-21.2/foo", O_RDONLY, 0) = 5 > 581mS : close(5) OK > 587mS : write(1, "\n", 1) = 1 > 603mS : write(1, ""21.2.3"\n", 9) = 9 > finish > > The CPP-preprocessed print.c shows the `fwrite' call in both cases, How about disassembly of printchar? Does it show the call to fwrite in both cases? > So the calls via gdb seem to work, while the calls from emacs itself > don't. I do not understand this at all. Very strange, indeed... What happens if you replace `fwrite' with `fflush' followed by `write'? Does that change anything? Another idea is to put a breakpoint inside fwrite, and see if it's called at all. _______________________________________________ Bug-gnu-emacs mailing list Bug-gnu-emacs@gnu.org http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs