From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4038 Path: news.gmane.org!not-for-mail From: Paul Schutte Newsgroups: gmane.linux.lib.musl.general Subject: termios.h problem (IUTF8) Date: Sun, 15 Sep 2013 22:15:38 +0200 Message-ID: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8f2355c7414e5004e671c0ea X-Trace: ger.gmane.org 1379276149 32050 80.91.229.3 (15 Sep 2013 20:15:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 15 Sep 2013 20:15:49 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-4042-gllmg-musl=m.gmane.org@lists.openwall.com Sun Sep 15 22:15:52 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1VLIjW-0001d7-Re for gllmg-musl@plane.gmane.org; Sun, 15 Sep 2013 22:15:50 +0200 Original-Received: (qmail 7433 invoked by uid 550); 15 Sep 2013 20:15:49 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 7425 invoked from network); 15 Sep 2013 20:15:49 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=7GM26SHkh2ZXpg7acPlPiBFLllbsT69KRhmkS5YpXNU=; b=fqQhzMea9WPJerU05AxauDgvxREtTtRitVp5Sc0IKw1oSE5Xd10XZHMfnOT7FJHa/T 0gkxBvEjY6I40TVidgBd18I+QoZOpPaNmwlAAuTULKgzaNiCKUXU4PiRotY/AzY2KR16 9U7qaRD06Tj6fVfBkRv8e5RzS3IST8v+MA07G0Mg4QQ3Xf04gGXu14a0595O1H66qkSi 00qNy5YiDxDjTonwN1QAR0zOYMZIREY5rI6tBx0vNdCx5pkkRST9ltE6ES7dJF7TFnNC 9offtL6cGbweRcnGkxDd95bKutPi8q9LUa2GTMG9Nl+hbo3YRq3H40r3Q1Usgxe8HFCd BeTg== X-Received: by 10.180.109.132 with SMTP id hs4mr10576004wib.46.1379276138039; Sun, 15 Sep 2013 13:15:38 -0700 (PDT) Xref: news.gmane.org gmane.linux.lib.musl.general:4038 Archived-At: --e89a8f2355c7414e5004e671c0ea Content-Type: text/plain; charset=ISO-8859-1 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 --e89a8f2355c7414e5004e671c0ea Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi Rich,

I am w= restling with systemd on Sabotage. I am using musl 0.9.13.
(T= he 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' und= eclared (first use in this function)
src/shared/util.c:1786:46: note: ea= ch 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)

=A0--- include/bits/termios.h=A0=A0=A0=A0=A0 20= 13-08-30 21:30:53.000000000 +0000
+++ /usr/include/bits/termios.h 2013-0= 9-15 20:04:47.082909059 +0000
@@ -42,6 +42,7 @@
=A0#define IXANY=A0=A0 0004000
=A0#define IXOFF=A0= =A0 0010000
=A0#define IMAXBEL 0020000
+#define IUTF8=A0=A0 0040000=A0
=A0#define OPOST=A0 0000001
=A0#define OLCUC=A0 0000002

=

Can you please have a look whether this is correct ?

Regards
Paul
--e89a8f2355c7414e5004e671c0ea--