From: Mark Wielaard <mark@klomp.org>
To: Andrew Haley <aph@redhat.com>
Cc: java-patches@gcc.gnu.org, classpath-patches@gnu.org
Subject: Re: Fix libjava bootstrap failure around IUCLC
Date: Mon, 26 Mar 2012 10:11:00 -0000 [thread overview]
Message-ID: <1332756668.2848.30.camel@springer.wildebeest.org> (raw)
In-Reply-To: <4F70306B.5090607@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 446 bytes --]
On Mon, 2012-03-26 at 10:01 +0100, Andrew Haley wrote:
> On 03/25/2012 05:08 PM, Gerald Pfeifer wrote:
> > 2012-03-25 Gerald Pfeifer <gerald@pfeifer.com>
> >
> > PR libgcj/52694
> > * java/io/natVMConsole.cc (IUCLC): Define, if undefined.
>
> Sure. WTF is IUCLC anyway? :-)
(map) Input (characters) UpperCase (to) Lower Case.
It is a non-posix termios extension.
patch should also go into upstream classpath.
[-- Attachment #2: Attached message - Fix libjava bootstrap failure around IUCLC --]
[-- Type: message/rfc822, Size: 4504 bytes --]
From: Gerald Pfeifer <gerald@pfeifer.com>
To: gcc-patches@gcc.gnu.org, java-patches@gcc.gnu.org
Subject: Fix libjava bootstrap failure around IUCLC
Date: Sun, 25 Mar 2012 18:08:56 +0200 (CEST)
Message-ID: <alpine.LNX.2.00.1203251807180.4039@gerinyyl.fvgr>
This has been introduced by
2012-03-16 Andrew John Hughes <ahughes@redhat.com>
* Makefile.am: Add natVMConsole.cc.
:
* java/io/VMConsole.h: Initial generation.
* java/io/VMConsole.java: Copied from classpath/vm/reference.
* java/io/natVMConsole.cc: Implemented readPassword.
where now bootstrap on FreeBSD, Darwin and possibly others is broken.
Tested on amd64-unknown-freebsd8.3. Okay?
Gerald
2012-03-25 Gerald Pfeifer <gerald@pfeifer.com>
PR libgcj/52694
* java/io/natVMConsole.cc (IUCLC): Define, if undefined.
Index: java/io/natVMConsole.cc
===================================================================
--- java/io/natVMConsole.cc (revision 185766)
+++ java/io/natVMConsole.cc (working copy)
@@ -19,6 +19,10 @@
#include <java/io/Console.h>
#include <java/io/VMConsole.h>
+#ifndef IUCLC
+#define IUCLC 0
+#endif
+
#define TERMIOS_ECHO_IFLAGS (IUCLC|IXON|IXOFF|IXANY)
#define TERMIOS_ECHO_LFLAGS (ECHO|ECHOE|ECHOK|ECHONL|TOSTOP)
next prev parent reply other threads:[~2012-03-26 10:11 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-25 16:09 Gerald Pfeifer
2012-03-26 9:01 ` Andrew Haley
2012-03-26 10:11 ` Mark Wielaard [this message]
2012-03-26 10:47 ` [cp-patches] " Pekka Enberg
2012-03-26 10:49 ` Andrew Haley
2012-03-26 10:50 ` Andrew Haley
2012-03-26 10:53 ` Pekka Enberg
2012-03-26 11:03 ` Mark Wielaard
2012-03-26 10:54 ` Mark Wielaard
2012-03-26 10:49 ` Andrew Haley
2012-03-28 19:48 ` Gerald Pfeifer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1332756668.2848.30.camel@springer.wildebeest.org \
--to=mark@klomp.org \
--cc=aph@redhat.com \
--cc=classpath-patches@gnu.org \
--cc=java-patches@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).