From unknown Sat Aug 09 15:55:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7960: [PATCH] fmt: fix formatting multibyte text (bug #7372) Resent-From: Kostya Stopani Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Wed, 02 Feb 2011 14:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7960 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: patch To: 7960@debbugs.gnu.org X-Debbugs-Original-To: bug-coreutils@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.129665767627029 (code B ref -1); Wed, 02 Feb 2011 14:42:01 +0000 Received: (at submit) by debbugs.gnu.org; 2 Feb 2011 14:41:16 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PkdtT-00071s-HQ for submit@debbugs.gnu.org; Wed, 02 Feb 2011 09:41:16 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PkdOG-0006FB-Rq for submit@debbugs.gnu.org; Wed, 02 Feb 2011 09:09:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PkdWP-0000jL-0A for submit@debbugs.gnu.org; Wed, 02 Feb 2011 09:17:26 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FSL_RU_URL, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:43816) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PkdWO-0000is-R9 for submit@debbugs.gnu.org; Wed, 02 Feb 2011 09:17:24 -0500 Received: from [140.186.70.92] (port=36401 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PkdWO-0002HW-Qz for bug-coreutils@gnu.org; Wed, 02 Feb 2011 09:17:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PkdWJ-0000fV-SC for bug-coreutils@gnu.org; Wed, 02 Feb 2011 09:17:21 -0500 Received: from depni.sinp.msu.ru ([213.131.7.21]:58587) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PkdWJ-0000c2-DN for bug-coreutils@gnu.org; Wed, 02 Feb 2011 09:17:19 -0500 Received: by depni.sinp.msu.ru (Postfix, from userid 65534) id D73A3D6C7B; Wed, 2 Feb 2011 17:17:13 +0300 (MSK) Received: from lab2 (lab2 [213.131.7.83]) by depni.sinp.msu.ru (Postfix) with ESMTP id A299FD6C77; Wed, 2 Feb 2011 17:17:12 +0300 (MSK) Date: Wed, 2 Feb 2011 17:17:12 +0300 From: Kostya Stopani Message-ID: <20110202141712.GA12530@lab2> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 213.131.7.21 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -6.6 (------) X-Mailman-Approved-At: Wed, 02 Feb 2011 09:41:14 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) >From b118695b7b614f5f0e371cad885a01306f527d9e Mon Sep 17 00:00:00 2001 From: Kostya Stopani Date: Wed, 2 Feb 2011 17:10:05 +0300 Subject: [PATCH] fmt: fix formatting multibyte text (bug #7372) * src/fmt.c (guess_screen_width): Add function to compute screen width of a possibly multibyte word to correctly format international text. If it's not multibyte fall back to byte length. * src/fmt.c (mbsnrtowcs): Stub function partly implementing a GNU extenstion function of the same name for non-GNU platforms. * src/fmt.c (struct Word): Add a new field "nchar" to hold byte-length of "text". * src/fmt.c (get_line, check_punctuation, put_word): Use Word.length as screen width of a word and Word.nchar as byte-length. --- src/fmt.c | 91 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 88 insertions(+), 3 deletions(-) diff --git a/src/fmt.c b/src/fmt.c index 7d5aee3..1dcbaaf 100644 --- a/src/fmt.c +++ b/src/fmt.c @@ -20,6 +20,10 @@ #include #include #include +#include +#include +#include + /* Redefine. Otherwise, systems (Unicos for one) with headers that define it to be a type get syntax errors for the variable declaration below. */ @@ -135,6 +139,7 @@ struct Word const char *text; /* the text of the word */ int length; /* length of this word */ + int nchar; /* number of char entries in text array */ int space; /* the size of the following space */ unsigned int paren:1; /* starts with open paren */ unsigned int period:1; /* ends in [.?!])* */ @@ -167,6 +172,11 @@ static void put_paragraph (WORD *finish); static void put_line (WORD *w, int indent); static void put_word (WORD *w); static void put_space (int space); +static unsigned int guess_screen_width (const char *text, size_t b); +#ifndef __GNU_LIBRARY__ +static size_t mbsnrtowcs (wchar_t *DST, const char **SRC, size_t NMC, size_t LEN, + mbstate_t *restrict PS); +#endif /* __GNU_LIBRARY__ */ /* Option values. */ @@ -670,7 +680,10 @@ get_line (FILE *f, int c) c = getc (f); } while (c != EOF && !isspace (c)); - in_column += word_limit->length = wptr - word_limit->text; + word_limit->nchar = wptr - word_limit->text; + word_limit->length = guess_screen_width (word_limit->text, word_limit->nchar); + in_column += word_limit->length; + check_punctuation (word_limit); /* Scan inter-word space. */ @@ -751,7 +764,7 @@ static void check_punctuation (WORD *w) { char const *start = w->text; - char const *finish = start + (w->length - 1); + char const *finish = start + (w->nchar - 1); unsigned char fin = *finish; w->paren = isopen (*start); @@ -982,7 +995,7 @@ put_word (WORD *w) int n; s = w->text; - for (n = w->length; n != 0; n--) + for (n = w->nchar; n != 0; n--) putchar (*s++); out_column += w->length; } @@ -1011,3 +1024,75 @@ put_space (int space) out_column++; } } + +/* Try to convert text to multibyte and in this way determine its + screen width. Return number of bytes if conversion fails. */ + +static unsigned int +guess_screen_width (const char *text, size_t b) +{ + size_t c; + mbstate_t state; + + memset (&state, 0, sizeof (state)); + + /* Try conversion */ + c = mbsnrtowcs (NULL, &text, b, b, &state); + if (c > 0 && errno != EILSEQ) + return c; + else + return b; +} + + +#ifndef __GNU_LIBRARY__ + +#define INITBUFSIZE 1024 +#define MAXBUFSIZE 1024*1024 + +/* Stub mbsnrtowcs to be used when GNU extensions are unavailable. */ + +size_t mbsnrtowcs (wchar_t *DST, const char **SRC, size_t NMC, size_t LEN, + mbstate_t *restrict PS) +{ + static char *buf = NULL; + static size_t buf_size = INITBUFSIZE; + char *new_buf; + size_t new_buf_size, c; + mbstate_t state; + + if (!buf) + { + buf = malloc (buf_size * sizeof (char)); + if (!buf) return NMC; + } + + memset (&state, 0, sizeof (state)); + + if (buf_size < NMC + 1) + { + /* Try to resize the buffer. */ + new_buf_size = NMC + 1; + if (new_buf_size <= MAXBUFSIZE) + { + new_buf = realloc (buf, new_buf_size * sizeof (char)); + if (!new_buf) return NMC; + buf = new_buf; + buf_size = new_buf_size; + } + else + { + return NMC; + } + } + + strncpy (buf, *SRC, NMC); + buf[NMC] = '\0'; + new_buf = buf; + c = mbsrtowcs (NULL, (const char **restrict) &new_buf, NMC, &state); + if (c > 0 && errno != EILSEQ) + return c; + else + return NMC; +} +#endif /* __GNU_LIBRARY__ */ -- 1.7.0.4 From unknown Sat Aug 09 15:55:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7960: [PATCH] fmt: fix formatting multibyte text (bug #7372) Resent-From: Eric Blake Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Wed, 02 Feb 2011 17:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7960 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: patch To: Kostya Stopani Cc: 7960@debbugs.gnu.org Received: via spool by 7960-submit@debbugs.gnu.org id=B7960.12966664547354 (code B ref 7960); Wed, 02 Feb 2011 17:08:01 +0000 Received: (at 7960) by debbugs.gnu.org; 2 Feb 2011 17:07:34 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PkgB4-0001uZ-AP for submit@debbugs.gnu.org; Wed, 02 Feb 2011 12:07:34 -0500 Received: from mx1.redhat.com ([209.132.183.28]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PkgB1-0001uI-6k for 7960@debbugs.gnu.org; Wed, 02 Feb 2011 12:07:32 -0500 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id p12HFsdC018601 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 2 Feb 2011 12:15:54 -0500 Received: from [10.3.113.2] ([10.3.113.2]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p12HFsjq015210; Wed, 2 Feb 2011 12:15:54 -0500 Message-ID: <4D499149.9040203@redhat.com> Date: Wed, 02 Feb 2011 10:15:53 -0700 From: Eric Blake Organization: Red Hat User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7 MIME-Version: 1.0 References: <20110202141712.GA12530@lab2> In-Reply-To: <20110202141712.GA12530@lab2> X-Enigmail-Version: 1.1.2 OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig180B935CDE3D7EF1E966E345" X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 X-Spam-Score: -10.2 (----------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -10.2 (----------) This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig180B935CDE3D7EF1E966E345 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 02/02/2011 07:17 AM, Kostya Stopani wrote: >>>From b118695b7b614f5f0e371cad885a01306f527d9e Mon Sep 17 00:00:00 2001 > From: Kostya Stopani > Date: Wed, 2 Feb 2011 17:10:05 +0300 > Subject: [PATCH] fmt: fix formatting multibyte text (bug #7372) Thanks for the patch. However, it's not trivial, so it would need copyright assignment. Furthermore, there are already known issues where upstream coreutils is lacking multibyte character support, but a solution has to be both maintainable and no-impact to the single-byte locale case. > @@ -167,6 +172,11 @@ static void put_paragraph (WORD *finish); > static void put_line (WORD *w, int indent); > static void put_word (WORD *w); > static void put_space (int space); > +static unsigned int guess_screen_width (const char *text, size_t b); > +#ifndef __GNU_LIBRARY__ > +static size_t mbsnrtowcs (wchar_t *DST, const char **SRC, size_t NMC, = size_t LEN, Huh? There's no need for either __GNU_LIBRARY__ nor for this declaration; we can rely on gnulib to be providing mbsnrtowcs on all platforms. > +/* Stub mbsnrtowcs to be used when GNU extensions are unavailable. */ > + > +size_t mbsnrtowcs (wchar_t *DST, const char **SRC, size_t NMC, size_t = LEN, Therefore, this function has no place in fmt.c. --=20 Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org --------------enig180B935CDE3D7EF1E966E345 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJNSZFJAAoJEKeha0olJ0NqBzMH/R6K9R9aDEpc9+cW+Vkg6lfZ aaBi9lIh0qk5YW4yec3F52Ti2rmt0ei2V51hQIn3nntjEKigbrJYhS3ih+vGOfT1 P91SmSOtREnpP+lHUaE5HAzJBjhk4VotID/USGQkpUtfxN5c+2vfiS4AgMiqgOeJ 5YT9cnUmSjoK6QnyRAzuTUM7FMss35MWp87mG190qOT6nqszMAf6PfjU7tBVx8SN Ba1vFYJTGpAod2lXqj99brmA/Q1kVPFD1ZNMF+Rll4aFdc4c2M2e4xBIRuwIS6Z8 HjElzZDYjMuHOL1A2NKfFoufxu+hDSInycc2v/dsgWd7wOqMh0/dZWwFRQcj3+M= =lYwZ -----END PGP SIGNATURE----- --------------enig180B935CDE3D7EF1E966E345-- From unknown Sat Aug 09 15:55:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7960: [PATCH] fmt: fix formatting multibyte text (bug #7372) Resent-From: Eric Blake Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Wed, 02 Feb 2011 21:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7960 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: patch To: Kostya Stopani , 7960@debbugs.gnu.org Received: via spool by 7960-submit@debbugs.gnu.org id=B7960.12966819236021 (code B ref 7960); Wed, 02 Feb 2011 21:26:02 +0000 Received: (at 7960) by debbugs.gnu.org; 2 Feb 2011 21:25:23 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PkkCZ-0001Z4-Ca for submit@debbugs.gnu.org; Wed, 02 Feb 2011 16:25:23 -0500 Received: from mx1.redhat.com ([209.132.183.28]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PkkCW-0001Yp-15 for 7960@debbugs.gnu.org; Wed, 02 Feb 2011 16:25:21 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id p12LXjcQ024160 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 2 Feb 2011 16:33:46 -0500 Received: from [10.3.113.9] ([10.3.113.9]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p12LXjNh020179; Wed, 2 Feb 2011 16:33:45 -0500 Message-ID: <4D49CDB8.6090207@redhat.com> Date: Wed, 02 Feb 2011 14:33:44 -0700 From: Eric Blake Organization: Red Hat User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7 MIME-Version: 1.0 References: <20110202141712.GA12530@lab2> <4D499149.9040203@redhat.com> <20110202211108.GA31938@thinkpad> In-Reply-To: <20110202211108.GA31938@thinkpad> X-Enigmail-Version: 1.1.2 OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigA39EC22CCFB011ABD7E71C07" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Spam-Score: -10.2 (----------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -10.2 (----------) This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigA39EC22CCFB011ABD7E71C07 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable [readding the list] On 02/02/2011 02:11 PM, Kostya Stopani wrote: > On Wed, Feb 02, 2011 at 10:15:53AM -0700, Eric Blake wrote: >=20 >> Thanks for the patch. However, it's not trivial, so it would need >> copyright assignment. >=20 > Oh boy... Anyway I don't mind signing papers, if you (or whoever) > don't mind bothering with it. OK, I'll send you those details off-list. >=20 >> Furthermore, there are already known issues where upstream coreutils >> is lacking multibyte character support, but a solution has to be >> both maintainable and no-impact to the single-byte locale case. >=20 > I believe this patch doesn't break single-byte behavior because no > conversion takes place. mbsnrtowcs() is used only to count > characters. I've tested various cases (8-bit encoding was KOI8-R): >=20 > |--------+---------------+--------------------------| > | Locale | Text encoding | Result | > |--------+---------------+--------------------------| > | UTF-8 | UTF-8 | old fmt: text too narrow | > | | | new fmt: ok | > |--------+---------------+--------------------------| > | UTF-8 | 8-bit | same | > |--------+---------------+--------------------------| > | 8-bit | UTF-8 | same | > |--------+---------------+--------------------------| > | 8-bit | 8-bit | same | > |--------+---------------+--------------------------| >=20 > From my point of view the alternative is to convert everything to > wchar_t, which imposes the need to keep track of conversion errors and > gracefully fall back to single-byte. Keeping things in multibyte rather than converting to wchar_t is the way to go (especially given the ongoing discussion of how to handle the fact that on cygwin, wchar_t is UTF-16 and thus still multi-unit as an extension to POSIX, with all sorts of ramifications to programs that expect POSIX semantics). --=20 Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org --------------enigA39EC22CCFB011ABD7E71C07 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJNSc24AAoJEKeha0olJ0NqE8EH/0iiyrcV1SHVvVxTlP9OfYvw El01Mqh8Re+nUE626gMF6dcAjmVFqQWxOeOtpuwK3EgohNhEWRh1TgYi/pq42S/A ABvrXALeF07Cs8BbWisIabT78WUwTgvrLPs9N30f6hSgiCFDcv/Ecu9gGIotBq2W gorNexhG6iwLZvR7kUTKdnGWrEYFnLJNkVDy5aJgFJovgyaWhk9jC2BagrL3fkKS a/zMXiH/rE3vum6Z1H/wA6/4OLgex5lyWNlwxTw0c9pgJXNiJDoY3W1Gw/SsAJTm gM45RBY55zhbT2/Ccc6GWGe+peMgbE2SFRdyRi2C3M/2Koi+uJKQm3PeJ4eVmKs= =vqwZ -----END PGP SIGNATURE----- --------------enigA39EC22CCFB011ABD7E71C07-- From unknown Sat Aug 09 15:55:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7960: [PATCH] fmt: fix formatting multibyte text (bug #7372) Resent-From: Jim Meyering Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Sun, 17 Apr 2011 09:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7960 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: patch To: 7960@debbugs.gnu.org Received: via spool by 7960-submit@debbugs.gnu.org id=B7960.13030327767784 (code B ref 7960); Sun, 17 Apr 2011 09:33:01 +0000 Received: (at 7960) by debbugs.gnu.org; 17 Apr 2011 09:32:56 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QBOLg-00021V-CN for submit@debbugs.gnu.org; Sun, 17 Apr 2011 05:32:56 -0400 Received: from mx.meyering.net ([82.230.74.64]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QBOLf-00021L-HB for 7960@debbugs.gnu.org; Sun, 17 Apr 2011 05:32:55 -0400 Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id 0F71760110; Sun, 17 Apr 2011 11:32:50 +0200 (CEST) From: Jim Meyering In-Reply-To: <4D49CDB8.6090207@redhat.com> (Eric Blake's message of "Wed, 02 Feb 2011 14:33:44 -0700") References: <20110202141712.GA12530@lab2> <4D499149.9040203@redhat.com> <20110202211108.GA31938@thinkpad> <4D49CDB8.6090207@redhat.com> Date: Sun, 17 Apr 2011 11:32:49 +0200 Message-ID: <87tydx9q9q.fsf@rho.meyering.net> Lines: 19 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -5.9 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) tags 7960 + moreinfo thanks Eric Blake wrote: > [readding the list] > > On 02/02/2011 02:11 PM, Kostya Stopani wrote: >> On Wed, Feb 02, 2011 at 10:15:53AM -0700, Eric Blake wrote: >> >>> Thanks for the patch. However, it's not trivial, so it would need >>> copyright assignment. >> >> Oh boy... Anyway I don't mind signing papers, if you (or whoever) >> don't mind bothering with it. > > OK, I'll send you those details off-list. Marked as "moreinfo" since now we're waiting for copyright assignment paperwork. From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 17 07:25:09 2011 Received: (at control) by debbugs.gnu.org; 17 Apr 2011 11:25:09 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QBQ6H-00065z-B5 for submit@debbugs.gnu.org; Sun, 17 Apr 2011 07:25:09 -0400 Received: from mx.meyering.net ([82.230.74.64]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QBQ6F-00065a-2b for control@debbugs.gnu.org; Sun, 17 Apr 2011 07:25:08 -0400 Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id 26C776012A; Sun, 17 Apr 2011 13:25:01 +0200 (CEST) From: Jim Meyering To: control@debbugs.gnu.org Subject: Re: bug#7960: [PATCH] fmt: fix formatting multibyte text (bug #7372) In-Reply-To: <87tydx9q9q.fsf@rho.meyering.net> (Jim Meyering's message of "Sun, 17 Apr 2011 11:32:49 +0200") References: <20110202141712.GA12530@lab2> <4D499149.9040203@redhat.com> <20110202211108.GA31938@thinkpad> <4D49CDB8.6090207@redhat.com> <87tydx9q9q.fsf@rho.meyering.net> Date: Sun, 17 Apr 2011 13:25:01 +0200 Message-ID: <87oc459l2q.fsf@rho.meyering.net> Lines: 1 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) tags 7960 + moreinfo From unknown Sat Aug 09 15:55:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7960: [PATCH] fmt: fix formatting multibyte text (bug #7372) Resent-From: Assaf Gordon Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Tue, 23 Oct 2018 03:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7960 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: moreinfo patch To: 7960@debbugs.gnu.org Received: via spool by 7960-submit@debbugs.gnu.org id=B7960.154026412530866 (code B ref 7960); Tue, 23 Oct 2018 03:09:02 +0000 Received: (at 7960) by debbugs.gnu.org; 23 Oct 2018 03:08:45 +0000 Received: from localhost ([127.0.0.1]:36889 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gEn3l-00081h-F0 for submit@debbugs.gnu.org; Mon, 22 Oct 2018 23:08:45 -0400 Received: from mail-pl1-f195.google.com ([209.85.214.195]:40619) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gEn3j-00081N-Px; Mon, 22 Oct 2018 23:08:44 -0400 Received: by mail-pl1-f195.google.com with SMTP id 1-v6so19993317plv.7; Mon, 22 Oct 2018 20:08:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=L5uhgsZhNBQPVESdjQDjnJoGMwI4CIeQXZmDZWdknEg=; b=kCrbM24gm32MwkLW/L2mjPYEXqDfOtRsKBOQEZVKciWDrSCJAQoUpD9GivXua6ANMz 93KVJeU4Nvkn+Ihz+kSolV7vLRQpa+/qx/CdVPXIyeELmLfsJJiY4zsLRmfArP2P3Rew ym5uMUJttJUO3jej7/STS3Useqj74j4TojfAGazCXeeKMwsD97uGabm2JQPlPr/KR/qN SDKNkttF5s1JOHPcFvYLVRCjWo7ajwup5V1RHdcONxl8Kt2qQzFzTZVJ9P/hBfCPx40o ZfcLtUw1gcq29hVRdWA2VWG8KY77QP354AUn3riCKnEyYE4pzPX/1bppUld4HSX8ktSv 0bDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=L5uhgsZhNBQPVESdjQDjnJoGMwI4CIeQXZmDZWdknEg=; b=LQRj7YARDrJ7A6lKhpUkeeyb1whIczXCPjAfS9kvIWcOqPhq15Mj5LIcowhjUEaHzu QpZQHJbOqt8o5diZMfNNqJ47Am7kPqogpbtIjVjKhhaS125BLm7nScET+PCteHbKOhmM IlFNqRyeikIqHjKFLj38CB2MBYtSIz/nd0L55HLFb/XgcYnOSOia1JNzSWmLvjSUw1p3 wTvxS8Q2dCm22Sr8y4cvGQARnk4tsCS39GmdDZljBUW1/EBm/x7/rFGEyjFD6jNM9wUA UHlkGV5qx+Sxv3m4c/ad76KxGiwgchVuB/KAB+Opnxy54ODsAHlcZzL2QHN/vpjxsAqs triQ== X-Gm-Message-State: ABuFfogHJ4796Dx5A2fEtqhjxxgZPOufiDEE5E/7MBGjkyUw6UD2DPjV bVDlik41gEsVInodqaF88yh/XjdDQas= X-Google-Smtp-Source: ACcGV61Q+tqnob6yV4Ahqx5pcnSJ+q9KSNtQMYX6NPNaAUHLWsUOCdAPamUN7YLoP6GIMLNc3/Xpag== X-Received: by 2002:a17:902:1104:: with SMTP id d4-v6mr40531601pla.289.1540264117071; Mon, 22 Oct 2018 20:08:37 -0700 (PDT) Received: from tomato.housegordon.com (moose.housegordon.com. [184.68.105.38]) by smtp.googlemail.com with ESMTPSA id s85-v6sm50166370pfi.15.2018.10.22.20.08.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Oct 2018 20:08:35 -0700 (PDT) References: <20110202141712.GA12530@lab2> <4D499149.9040203@redhat.com> <20110202211108.GA31938@thinkpad> <4D49CDB8.6090207@redhat.com> <87tydx9q9q.fsf@rho.meyering.net> From: Assaf Gordon Message-ID: <191991e3-244c-0e97-0625-c70cb472522b@gmail.com> Date: Mon, 22 Oct 2018 21:08:34 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <87tydx9q9q.fsf@rho.meyering.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) retitle 7960 multibyte: fmt: fix formatting multibyte text (bug #7372) close 7960 stop (triaging old bugs) On 17/04/11 03:32 AM, Jim Meyering wrote: > > Eric Blake wrote: >> [readding the list] >> >> On 02/02/2011 02:11 PM, Kostya Stopani wrote: >>> On Wed, Feb 02, 2011 at 10:15:53AM -0700, Eric Blake wrote: >>> >>>> Thanks for the patch. However, it's not trivial, so it would need >>>> copyright assignment. >>> >>> Oh boy... Anyway I don't mind signing papers, if you (or whoever) >>> don't mind bothering with it. >> >> OK, I'll send you those details off-list. > > Marked as "moreinfo" since now we're waiting for > copyright assignment paperwork. With no further follow-ups in 7 years (and the original author's name not in the copyright.list file), I'm closing this bug. If there are new developments, we can always re-open it. regards, -assaf