From unknown Sun Aug 10 09:11:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7759: split(1) regression in v8.7-25-gbe10739 Resent-From: "Dmitry V. Levin" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Wed, 29 Dec 2010 21:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7759 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 7759@debbugs.gnu.org X-Debbugs-Original-To: bug-coreutils@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.129365726213183 (code B ref -1); Wed, 29 Dec 2010 21:15:02 +0000 Received: (at submit) by debbugs.gnu.org; 29 Dec 2010 21:14:22 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PY3Lh-0003QZ-Vh for submit@debbugs.gnu.org; Wed, 29 Dec 2010 16:14:22 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PY3DT-0003F0-Ls for submit@debbugs.gnu.org; Wed, 29 Dec 2010 16:05:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PY3K8-0003Ts-Fv for submit@debbugs.gnu.org; Wed, 29 Dec 2010 16:12:45 -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,T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:36077) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PY3K8-0003To-E1 for submit@debbugs.gnu.org; Wed, 29 Dec 2010 16:12:44 -0500 Received: from [140.186.70.92] (port=45376 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PY3K7-0005Po-Co for bug-coreutils@gnu.org; Wed, 29 Dec 2010 16:12:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PY3K6-0003TT-5G for bug-coreutils@gnu.org; Wed, 29 Dec 2010 16:12:43 -0500 Received: from vint.altlinux.org ([194.107.17.35]:33586) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PY3K5-0003TL-Ty for bug-coreutils@gnu.org; Wed, 29 Dec 2010 16:12:42 -0500 Received: from wo.int.altlinux.org (wo.int.altlinux.org [192.168.1.4]) by vint.altlinux.org (Postfix) with ESMTP id 8AAF13F80004 for ; Wed, 29 Dec 2010 21:12:38 +0000 (UTC) Received: by wo.int.altlinux.org (Postfix, from userid 508) id DA7DC519000D; Thu, 30 Dec 2010 00:12:37 +0300 (MSK) Date: Thu, 30 Dec 2010 00:12:37 +0300 From: "Dmitry V. Levin" Message-ID: <20101229211237.GA21544@altlinux.org> Mail-Followup-To: bug-coreutils@gnu.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0F1p//8PRICkK4MW" Content-Disposition: inline X-fingerprint: FE4C 93AB E19A 2E4C CB5D 3E4E 7CAB E6AC 9E35 361E X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Spam-Score: -6.3 (------) X-Mailman-Approved-At: Wed, 29 Dec 2010 16:14:21 -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.3 (------) --0F1p//8PRICkK4MW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I've got a bug report from Sergey Vlasov about split(1) regression in coreutils v8.8: https://bugzilla.altlinux.org/24841 In short, the default suffix length is not 2 as it shall be according to PO= SIX. Looks like the regression is due to commit v8.7-25-gbe10739. For more details and the test case, please have a look at the bug report. --=20 ldv --0F1p//8PRICkK4MW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk0bpEUACgkQfKvmrJ41Nh5IegCggIY9qwGjDzHSsvTCswEGi6R0 95wAn2DYrCP6J/df2+LAftz+Iq4Jg2IG =JrGd -----END PGP SIGNATURE----- --0F1p//8PRICkK4MW-- From unknown Sun Aug 10 09:11:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7759: split(1) regression in v8.7-25-gbe10739 Resent-From: =?UTF-8?Q?P=C3=A1draig?= Brady Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Thu, 30 Dec 2010 01:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7759 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: bug-coreutils@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.12936732612159 (code B ref -1); Thu, 30 Dec 2010 01:41:02 +0000 Received: (at submit) by debbugs.gnu.org; 30 Dec 2010 01:41:01 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PY7Vk-0000Ym-D0 for submit@debbugs.gnu.org; Wed, 29 Dec 2010 20:41:00 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PY7Ve-0000YW-De for submit@debbugs.gnu.org; Wed, 29 Dec 2010 20:40:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PY7cJ-0001rg-T7 for submit@debbugs.gnu.org; Wed, 29 Dec 2010 20:47:48 -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 autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:38382) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PY7cJ-0001rX-QN for submit@debbugs.gnu.org; Wed, 29 Dec 2010 20:47:47 -0500 Received: from [140.186.70.92] (port=35049 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PY7cH-0001HY-A5 for bug-coreutils@gnu.org; Wed, 29 Dec 2010 20:47:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PY7cF-0001qW-OY for bug-coreutils@gnu.org; Wed, 29 Dec 2010 20:47:45 -0500 Received: from mail1.slb.deg.dub.stisp.net ([84.203.253.98]:12828) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PY7cF-0001qH-FW for bug-coreutils@gnu.org; Wed, 29 Dec 2010 20:47:43 -0500 Received: (qmail 27491 invoked from network); 30 Dec 2010 01:47:40 -0000 Received: from unknown (HELO ?192.168.2.25?) (84.203.137.218) by mail1.slb.deg.dub.stisp.net with SMTP; 30 Dec 2010 01:47:40 -0000 Message-ID: <4D1BE4A0.7050309@draigBrady.com> Date: Thu, 30 Dec 2010 01:47:12 +0000 From: =?UTF-8?Q?P=C3=A1draig?= Brady User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 References: <20101229211237.GA21544@altlinux.org> In-Reply-To: <20101229211237.GA21544@altlinux.org> X-Enigmail-Version: 1.0.1 Content-Type: multipart/mixed; boundary="------------070504080902000801030405" X-detected-operating-system: by eggs.gnu.org: FreeBSD 4.6-4.9 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Spam-Score: -4.7 (----) 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: -4.7 (----) This is a multi-part message in MIME format. --------------070504080902000801030405 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit On 29/12/10 21:12, Dmitry V. Levin wrote: > Hi, > > I've got a bug report from Sergey Vlasov about split(1) regression > in coreutils v8.8: https://bugzilla.altlinux.org/24841 > > In short, the default suffix length is not 2 as it shall be according to POSIX. > Looks like the regression is due to commit v8.7-25-gbe10739. > For more details and the test case, please have a look at the bug report. Cringe :( The frustrating this is that I noticed this but dropped the fixup code when I was moving local git branches around. The attached should fix it. I'll log a fedora rawhide bug also. cheers, Pįdraig. --------------070504080902000801030405 Content-Type: text/x-patch; name="split-suffix.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="split-suffix.diff" >From ec19e2a647cb64d4a5620787d4ecf5964d85fcf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1draig=20Brady?= Date: Thu, 30 Dec 2010 01:36:59 +0000 Subject: [PATCH] split: fix the suffix length calculation * src/split.c (set_suffix_length): Only auto calculate the suffix length when the number of files is specified. * tests/misc/split-a: Add a case to trigger the bug. * NEWS: Mention the fix. --- NEWS | 6 ++++++ src/split.c | 32 ++++++++++++++++++++------------ tests/misc/split-a | 5 +++++ 3 files changed, 31 insertions(+), 12 deletions(-) diff --git a/NEWS b/NEWS index 401b2f5..88596b5 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,12 @@ GNU coreutils NEWS -*- outline -*- * Noteworthy changes in release ?.? (????-??-??) [?] +** Bug fixes + + split no longer creates files with a suffix length that + is dependent on the number of bytes or lines per file. + [bug introduced in coreutils-8.8] + * Noteworthy changes in release 8.8 (2010-12-22) [stable] diff --git a/src/split.c b/src/split.c index ae98bc7..9e9efbf 100644 --- a/src/split.c +++ b/src/split.c @@ -78,6 +78,13 @@ static bool elide_empty_files; input to output, which is much slower, so disabled by default. */ static bool unbuffered; +/* The split mode to use. */ +enum Split_type +{ + type_undef, type_bytes, type_byteslines, type_lines, type_digits, + type_chunk_bytes, type_chunk_lines, type_rr +}; + /* For long options that have no equivalent short option, use a non-character as a pseudo short option, starting with CHAR_MAX + 1. */ enum @@ -105,16 +112,21 @@ static struct option const longopts[] = }; static void -set_suffix_length (uintmax_t n_units) +set_suffix_length (uintmax_t n_units, enum Split_type split_type) { #define DEFAULT_SUFFIX_LENGTH 2 size_t suffix_needed = 0; - size_t alphabet_len = strlen (suffix_alphabet); - bool alphabet_slop = (n_units % alphabet_len) != 0; - while (n_units /= alphabet_len) - suffix_needed++; - suffix_needed += alphabet_slop; + + if (split_type == type_chunk_bytes || split_type == type_chunk_lines + || split_type == type_rr) + { + size_t alphabet_len = strlen (suffix_alphabet); + bool alphabet_slop = (n_units % alphabet_len) != 0; + while (n_units /= alphabet_len) + suffix_needed++; + suffix_needed += alphabet_slop; + } if (suffix_length) /* set by user */ { @@ -780,11 +792,7 @@ int main (int argc, char **argv) { struct stat stat_buf; - enum - { - type_undef, type_bytes, type_byteslines, type_lines, type_digits, - type_chunk_bytes, type_chunk_lines, type_rr - } split_type = type_undef; + enum Split_type split_type = type_undef; size_t in_blk_size = 0; /* optimal block size of input file device */ char *buf; /* file i/o buffer */ size_t page_size = getpagesize (); @@ -984,7 +992,7 @@ main (int argc, char **argv) usage (EXIT_FAILURE); } - set_suffix_length (n_units); + set_suffix_length (n_units, split_type); /* Get out the filename arguments. */ diff --git a/tests/misc/split-a b/tests/misc/split-a index d861b92..b0526bc 100755 --- a/tests/misc/split-a +++ b/tests/misc/split-a @@ -63,4 +63,9 @@ for f in $files; do n=$(expr $n + 1) done +# Ensure that -a is independent of -[bCl] +split -a2 -b1000 < /dev/null || fail=1 +split -a2 -l1000 < /dev/null || fail=1 +split -a2 -C1000 < /dev/null || fail=1 + Exit $fail -- 1.7.3.4 --------------070504080902000801030405-- From unknown Sun Aug 10 09:11:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7759: split(1) regression in v8.7-25-gbe10739 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: Thu, 30 Dec 2010 11:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7759 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: =?UTF-8?Q?P=C3=A1draig?= Brady Cc: bug-coreutils@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.129370734015416 (code B ref -1); Thu, 30 Dec 2010 11:09:01 +0000 Received: (at submit) by debbugs.gnu.org; 30 Dec 2010 11:09:00 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PYGNP-00040b-Cl for submit@debbugs.gnu.org; Thu, 30 Dec 2010 06:08:59 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PYGNN-00040P-AR for submit@debbugs.gnu.org; Thu, 30 Dec 2010 06:08:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PYGU3-0006N1-JG for submit@debbugs.gnu.org; Thu, 30 Dec 2010 06:15:53 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:41889) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PYGU3-0006Ms-HB for submit@debbugs.gnu.org; Thu, 30 Dec 2010 06:15:51 -0500 Received: from [140.186.70.92] (port=56187 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PYGU0-0005sh-Qc for bug-coreutils@gnu.org; Thu, 30 Dec 2010 06:15:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PYGTy-0006Lz-QK for bug-coreutils@gnu.org; Thu, 30 Dec 2010 06:15:48 -0500 Received: from mx.meyering.net ([82.230.74.64]:36602) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PYGTy-0006LW-JY for bug-coreutils@gnu.org; Thu, 30 Dec 2010 06:15:46 -0500 Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id 6C4A1600B5; Thu, 30 Dec 2010 12:15:44 +0100 (CET) From: Jim Meyering In-Reply-To: <4D1BE4A0.7050309@draigBrady.com> ("=?UTF-8?Q?P=C3=A1draig?= Brady"'s message of "Thu, 30 Dec 2010 01:47:12 +0000") References: <20101229211237.GA21544@altlinux.org> <4D1BE4A0.7050309@draigBrady.com> Date: Thu, 30 Dec 2010 12:15:44 +0100 Message-ID: <878vz7fr4v.fsf@meyering.net> Lines: 32 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Spam-Score: -5.7 (-----) 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.7 (-----) P=C3=A1draig Brady wrote: > On 29/12/10 21:12, Dmitry V. Levin wrote: >> Hi, >> >> I've got a bug report from Sergey Vlasov about split(1) regression >> in coreutils v8.8: https://bugzilla.altlinux.org/24841 >> >> In short, the default suffix length is not 2 as it shall be according to= POSIX. >> Looks like the regression is due to commit v8.7-25-gbe10739. >> For more details and the test case, please have a look at the bug report. > > Cringe :( > > The frustrating this is that I noticed this > but dropped the fixup code when I was moving > local git branches around. > > The attached should fix it. ... > Subject: [PATCH] split: fix the suffix length calculation > > * src/split.c (set_suffix_length): Only auto calculate > the suffix length when the number of files is specified. > * tests/misc/split-a: Add a case to trigger the bug. > * NEWS: Mention the fix. Hi P=C3=A1draig Thanks for the quick fix. Please include the bugzilla URL and credit Sergey and Dmitry in the commit log. It'd be good to list Sergey's name/email in THANKS, too. From unknown Sun Aug 10 09:11:13 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: "Dmitry V. Levin" Subject: bug#7759: closed (Re: bug#7759: split(1) regression in v8.7-25-gbe10739) Message-ID: References: <4D1CB405.8040309@draigBrady.com> <20101229211237.GA21544@altlinux.org> X-Gnu-PR-Message: they-closed 7759 X-Gnu-PR-Package: coreutils Reply-To: 7759@debbugs.gnu.org Date: Thu, 30 Dec 2010 16:26:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1293726362-14732-1" This is a multi-part message in MIME format... ------------=_1293726362-14732-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #7759: split(1) regression in v8.7-25-gbe10739 which was filed against the coreutils package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 7759@debbugs.gnu.org. --=20 7759: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D7759 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1293726362-14732-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 7759-done) by debbugs.gnu.org; 30 Dec 2010 16:25:43 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PYLJu-0003p6-Op for submit@debbugs.gnu.org; Thu, 30 Dec 2010 11:25:42 -0500 Received: from mail1.slb.deg.dub.stisp.net ([84.203.253.98]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1PYLJs-0003ot-JQ for 7759-done@debbugs.gnu.org; Thu, 30 Dec 2010 11:25:41 -0500 Received: (qmail 42413 invoked from network); 30 Dec 2010 16:32:35 -0000 Received: from unknown (HELO ?192.168.2.25?) (84.203.137.218) by mail1.slb.deg.dub.stisp.net with SMTP; 30 Dec 2010 16:32:35 -0000 Message-ID: <4D1CB405.8040309@draigBrady.com> Date: Thu, 30 Dec 2010 16:32:05 +0000 From: =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 To: 7759-done@debbugs.gnu.org Subject: Re: bug#7759: split(1) regression in v8.7-25-gbe10739 References: <20101229211237.GA21544@altlinux.org> <4D1BE4A0.7050309@draigBrady.com> <878vz7fr4v.fsf@meyering.net> In-Reply-To: <878vz7fr4v.fsf@meyering.net> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 7759-done 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: -2.7 (--) On 30/12/10 11:15, Jim Meyering wrote: > > Hi PĆ”draig > Thanks for the quick fix. > Please include the bugzilla URL and credit Sergey and Dmitry > in the commit log. It'd be good to list Sergey's > name/email in THANKS, too. Done and pushed. thanks, PĆ”draig. ------------=_1293726362-14732-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 29 Dec 2010 21:14:22 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PY3Lh-0003QZ-Vh for submit@debbugs.gnu.org; Wed, 29 Dec 2010 16:14:22 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PY3DT-0003F0-Ls for submit@debbugs.gnu.org; Wed, 29 Dec 2010 16:05:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PY3K8-0003Ts-Fv for submit@debbugs.gnu.org; Wed, 29 Dec 2010 16:12:45 -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,T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:36077) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PY3K8-0003To-E1 for submit@debbugs.gnu.org; Wed, 29 Dec 2010 16:12:44 -0500 Received: from [140.186.70.92] (port=45376 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PY3K7-0005Po-Co for bug-coreutils@gnu.org; Wed, 29 Dec 2010 16:12:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PY3K6-0003TT-5G for bug-coreutils@gnu.org; Wed, 29 Dec 2010 16:12:43 -0500 Received: from vint.altlinux.org ([194.107.17.35]:33586) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PY3K5-0003TL-Ty for bug-coreutils@gnu.org; Wed, 29 Dec 2010 16:12:42 -0500 Received: from wo.int.altlinux.org (wo.int.altlinux.org [192.168.1.4]) by vint.altlinux.org (Postfix) with ESMTP id 8AAF13F80004 for ; Wed, 29 Dec 2010 21:12:38 +0000 (UTC) Received: by wo.int.altlinux.org (Postfix, from userid 508) id DA7DC519000D; Thu, 30 Dec 2010 00:12:37 +0300 (MSK) Date: Thu, 30 Dec 2010 00:12:37 +0300 From: "Dmitry V. Levin" To: bug-coreutils@gnu.org Subject: split(1) regression in v8.7-25-gbe10739 Message-ID: <20101229211237.GA21544@altlinux.org> Mail-Followup-To: bug-coreutils@gnu.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0F1p//8PRICkK4MW" Content-Disposition: inline X-fingerprint: FE4C 93AB E19A 2E4C CB5D 3E4E 7CAB E6AC 9E35 361E X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 29 Dec 2010 16:14:21 -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.3 (------) --0F1p//8PRICkK4MW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I've got a bug report from Sergey Vlasov about split(1) regression in coreutils v8.8: https://bugzilla.altlinux.org/24841 In short, the default suffix length is not 2 as it shall be according to PO= SIX. Looks like the regression is due to commit v8.7-25-gbe10739. For more details and the test case, please have a look at the bug report. --=20 ldv --0F1p//8PRICkK4MW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk0bpEUACgkQfKvmrJ41Nh5IegCggIY9qwGjDzHSsvTCswEGi6R0 95wAn2DYrCP6J/df2+LAftz+Iq4Jg2IG =JrGd -----END PGP SIGNATURE----- --0F1p//8PRICkK4MW-- ------------=_1293726362-14732-1-- From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 05 17:56:29 2011 Received: (at control) by debbugs.gnu.org; 5 Dec 2011 22:56:29 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RXhSX-0004dz-2T for submit@debbugs.gnu.org; Mon, 05 Dec 2011 17:56:29 -0500 Received: from mail3.vodafone.ie ([213.233.128.45]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RXhSV-0004dr-Jq for control@debbugs.gnu.org; Mon, 05 Dec 2011 17:56:27 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApMBAK5L3U5tTG1N/2dsb2JhbAAMOIUFpD2EFwoqVA0CBRYLAgsDAgECATkGAgIVCAEBqwmSAoEwhlyBf4EWBJpDjDE Received: from unknown (HELO [192.168.1.79]) ([109.76.109.77]) by mail3.vodafone.ie with ESMTP; 05 Dec 2011 22:55:52 +0000 Message-ID: <4EDD4BF8.4030000@draigBrady.com> Date: Mon, 05 Dec 2011 22:55:52 +0000 From: =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0 MIME-Version: 1.0 To: control@debbugs.gnu.org X-Enigmail-Version: 1.3.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -0.1 (/) 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: -0.1 (/) unarchive 7759 forcemerge 7759 10214