mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@aerifal.cx>
To: musl@lists.openwall.com
Subject: Re: termios.h problem (IUTF8)
Date: Sun, 15 Sep 2013 16:21:11 -0400	[thread overview]
Message-ID: <20130915202110.GF20515@brightrain.aerifal.cx> (raw)
In-Reply-To: <CAKHv7piFuR+9udKrG7ZM4PV41mgid4Y5hSNRsLZhp+HaVmAz2A@mail.gmail.com>

On Sun, Sep 15, 2013 at 10:15:38PM +0200, Paul Schutte wrote:
> 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)

Yes, I think it's correct. I* is reserved for termios.h so no
namespace protection is needed. However the correct value may vary
per-arch. Go ahead and use this for your own use for now, and I'll
either find the correct values for the other archs or get someone else
to look into it so we can upstream the fix.

Rich


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

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-15 20:15 Paul Schutte
2013-09-15 20:21 ` Rich Felker [this message]
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=20130915202110.GF20515@brightrain.aerifal.cx \
    --to=dalias@aerifal.cx \
    --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).