mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Paul Schutte <sjpschutte@gmail.com>
To: musl@lists.openwall.com
Subject: termios.h problem (IUTF8)
Date: Sun, 15 Sep 2013 22:15:38 +0200	[thread overview]
Message-ID: <CAKHv7piFuR+9udKrG7ZM4PV41mgid4Y5hSNRsLZhp+HaVmAz2A@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 867 bytes --]

Hi Rich,

I am wrestling with systemd on Sabotage. I am using musl 0.9.13.
(The git version is the same regarding this problem)

I get the following error:

src/shared/util.c: In function 'reset_terminal_fd':
src/shared/util.c:1786:46: error: 'IUTF8' undeclared (first use in this
function)
src/shared/util.c:1786:46: note: each undeclared identifier is reported
only once for each function it appears in

I can make it work by doing the following. (Stolen from you mips
bits/termios.h file)

 --- include/bits/termios.h      2013-08-30 21:30:53.000000000 +0000
+++ /usr/include/bits/termios.h 2013-09-15 20:04:47.082909059 +0000
@@ -42,6 +42,7 @@
 #define IXANY   0004000
 #define IXOFF   0010000
 #define IMAXBEL 0020000
+#define IUTF8   0040000

 #define OPOST  0000001
 #define OLCUC  0000002



Can you please have a look whether this is correct ?

Regards
Paul

[-- Attachment #2: Type: text/html, Size: 1093 bytes --]

             reply	other threads:[~2013-09-15 20:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-15 20:15 Paul Schutte [this message]
2013-09-15 20:21 ` Rich Felker
2013-09-15 21:01   ` Paul Schutte

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=CAKHv7piFuR+9udKrG7ZM4PV41mgid4Y5hSNRsLZhp+HaVmAz2A@mail.gmail.com \
    --to=sjpschutte@gmail.com \
    --cc=musl@lists.openwall.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

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 NNTP newsgroup(s).