bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: `print' does not print


From: Ralf Fassel
Subject: Re: `print' does not print
Date: Fri, 22 Mar 2002 11:41:41 +0100

* Eli Zaretskii
| Can you please step with a debugger through the code of Fprint, and
| see what happens there?

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.

I inserted an fprintf() right at the start of main(), and the output
shows up in temacs while dumping emacs, but not in the dumped emacs.

Then I took the BFI approach and compiled emacs with cc (Mips 7.30)
instead of gcc 2.95.3, and it works.  Grmbl.

    % ./src/emacs-cc -batch -no-site-file -l src/foo
    STDOUT hello world
    STDERR hello world

    "21.2.1"

So this does not seem to be a pure emacs problem, but also gcc is
involved.  As I said in another message, compiling 21.1 with gcc
works.

R'



reply via email to

[Prev in Thread] Current Thread [Next in Thread]