[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Failure in building Emacs 23.0.50 on Cygwin
From: |
d.henman |
Subject: |
Re: Failure in building Emacs 23.0.50 on Cygwin |
Date: |
Sat, 01 Sep 2007 12:53:13 +0900 |
Dan Nicolaescu <address@hidden> wrote:
> IMO the question should be asked the other way: how do you avoid
> references to "croak".
>
> Adjust preprocessor code in dissociate_if_controlling_tty so that
> croak is not used. Whether that is enough to make cygwin work, I don't
> know.
Here is the patch I came up with to avoid a reference to croak on the
cygwin platform.
--- term.c 2007-08-30 06:46:50.000000000 +0900
+++ term.c.fixed 2007-09-01 10:39:51.906250000 +0900
@@ -3142,8 +3142,10 @@
emacs_close (fd);
sigunblock (sigmask (SIGTTOU));
#else
+#ifndef CYGWIN
/* Unknown system. */
croak ();
+#endif /* ! CYGWIN */
#endif /* ! TIOCNOTTY */
#endif /* ! USG */
}
Please review this and let me know if I can check it into cvs.
Regards,
Darel Henman