From unknown Wed Jun 18 23:05:15 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#24116 <24116@debbugs.gnu.org> To: bug#24116 <24116@debbugs.gnu.org> Subject: Status: new snapshot available: diffutils-3.3.50-0353 Reply-To: bug#24116 <24116@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:05:15 +0000 retitle 24116 new snapshot available: diffutils-3.3.50-0353 reassign 24116 diffutils submitter 24116 Jim Meyering severity 24116 normal tag 24116 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 31 03:09:27 2016 Received: (at submit) by debbugs.gnu.org; 31 Jul 2016 07:09:27 +0000 Received: from localhost ([127.0.0.1]:51925 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bTksH-0005Pw-WF for submit@debbugs.gnu.org; Sun, 31 Jul 2016 03:09:27 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50562) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bTksE-0005Ph-Kj for submit@debbugs.gnu.org; Sun, 31 Jul 2016 03:09:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bTks4-0006xr-3J for submit@debbugs.gnu.org; Sun, 31 Jul 2016 03:09:17 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:46864) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTks3-0006x5-VL for submit@debbugs.gnu.org; Sun, 31 Jul 2016 03:09:12 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41491) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTkrx-0003g6-TX for bug-diffutils@gnu.org; Sun, 31 Jul 2016 03:09:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bTkrs-0006vN-Po for bug-diffutils@gnu.org; Sun, 31 Jul 2016 03:09:05 -0400 Received: from mail-oi0-x241.google.com ([2607:f8b0:4003:c06::241]:36718) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTkrs-0006vD-EW; Sun, 31 Jul 2016 03:09:00 -0400 Received: by mail-oi0-x241.google.com with SMTP id d204so11366809oig.3; Sun, 31 Jul 2016 00:08:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to:cc :content-transfer-encoding; bh=3FFYQDiiotM1YKD4rVFwIviIw0prq3/cp0Cdzixsb18=; b=JzY1ispWszE+fAdFZGetYnI5+da0DNBeHf7JIJwGGctc8X3EZp562MUbBg1twoChUm osw06UOUDZkrd/cok3xWiM/BkBRn594VgUNngcV7jZd+HBzXaf1lJoyk0yG1QTFZOiTF mJ2hAipTooTpeFnebNW7SdwL/A/CQ4N50oeJ6/Jm3FygrWw7B8GxMWPXTGNv0ISFZ1dp FSQYqJYu3AWOHJ+a3RXfhQw6g7TAXO4m75PW7UsB2W9FqO8lz6K1H4gGI0BooTJDNbCC e4Q74Yyyh/JGR+yVCL30VUS9UdyXGA1fHb42/gAA/n5eL/TB00z66HlVnIkT4TQ7aQT/ VyLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to:cc:content-transfer-encoding; bh=3FFYQDiiotM1YKD4rVFwIviIw0prq3/cp0Cdzixsb18=; b=JrtCHjTxhj0tp/PIPvYMi4PyQGay2T3sSNF8FhCZc0Y/Ewe5aYgfBBVTY2uOUwyXU6 PdmTX0sL/1Gl04hQiI9D3z3FMFRFIW6tkGXKTPU6+tmAIhRnXRFB6T0IRMlu6rn/ExYN 3Pj5EPHdT9+igxGU7QJuyPt3D92gk3joWA3wVQv5zn96anhECeLTQxK2ItCDRBVsr6sj FRrHhNWYWtOabb03VRNg3OsASRwWOPA7EGcfshSS1qtubeAJXkPvNEDdHVNMeHAotskg qSqSbWucS9ff79vvlfaoThSEmPLHd0DR5NksOO4gzBVOvpLPQUP1aqtW0olu/57619Oq yJFw== X-Gm-Message-State: AEkoouuCu2hJmLWNaQ6rdMSNTckiVaHlpdGAK+P5dyjvL295wslscicc5qrqDev7wP9vJAjHqd3AQ7tHnUb2DQ== X-Received: by 10.157.40.194 with SMTP id s60mr1233037ota.7.1469948937677; Sun, 31 Jul 2016 00:08:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.236.73 with HTTP; Sun, 31 Jul 2016 00:08:37 -0700 (PDT) From: Jim Meyering Date: Sun, 31 Jul 2016 00:08:37 -0700 X-Google-Sender-Auth: yMQBiGAIT056KdwCPxrfiebvPaY Message-ID: Subject: new snapshot available: diffutils-3.3.50-0353 To: bug-diffutils@gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit Cc: TP coordinator , platform-testers@gnu.org 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: -4.0 (----) I released diffutils-3.3 more than three years ago, so this is a bit overdu= e. Please give this a workout and report success or failure. I'd like to make a release within a week or so. diffutils snapshot: http://meyering.net/diff/diffutils-ss.tar.xz 1.3 MB http://meyering.net/diff/diffutils-ss.tar.xz.sig http://meyering.net/diff/diffutils-3.3.50-0353.tar.xz NEWS: ** New features diff accepts two new options --color and --palette to generate and configure colored output. --color takes an optional argument specifying when to colorize a line: --color=3Dalways, --color=3Dauto, --color=3Dnever. --palette is used to configure which colors are used. ** Bug fixes When binary files differ, diff now exits with status 1 as POSIX requires. Formerly it exited with status 2. Unless the --ignore-file-name-case option is used, diff now considers file names to be equal only if they are byte-for-byte equivalent. This fixes a bug where diff in an English locale might consider two Asian file names to be the same merely because they contain no English characters. diff -B no longer generates incorrect output if the two inputs each end with a one-byte incomplete line. diff --brief no longer reports a difference for unusual identical files. For example, when comparing a file like /proc/cmdline (for which the linu= x kernel reports st_size of 0 even though it is not an empty file) to a copy of that file's contents residing on a "normal" file system: $ f=3D/proc/cmdline; cp $f k; diff --brief $f k Files /proc/cmdline and k differ ** Performance changes diff's default algorithm has been adjusted to output higher-quality results at somewhat greater computational cost, as CPUs have gotten faster since the algorithm was last tweaked in diffutils-2.6 (1993). =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Changes in diffutils since v3.3: Andreas Gr=C3=BCnbacher (1): diff: Improve help text of option --label Giuseppe Scrivano (5): diff: add support for --color diff: add --palette doc: mention --color and --palette in NEWS tests: Add tests for --color and --palette diff: --color: fix an infinite recursion bug Glenn Morris (1): doc: fix a reference to emacs' emerge node Jim Meyering (20): maint: post-release administrivia doc: mention new option, --no-dereference in 3.3's NEWS maint: update bug-reporting address maint: update copyright year range in texinfo documentation gnulib: update to latest, as well as bootstrap gnulib: update to latest maint: update copyright year ranges to include 2015; update gnulib doc: --no-dereference: improve wording/description build: correct man-page generation rule build: add gperf to the list of required programs tests: arrange to print any skipped-test explanation to tty, too diff --brief no longer mistakenly reports diff. with 0-sized /proc/ f= iles maint: update copyright year, bootstrap, init.sh FIXME: src/diff3: plug a leak gnulib: update to latest maint: update prereq version of gettext maint: don't ignore gitlog-to-changelog failure maint: arrange for better URLs in generated announcement message maint: arrange for "make distcheck" to work with unreleased automake gnulib: update to latest; and tests/init.sh KO Myung-Hun (2): build: double-quote use of $PATH diff: skip test if seek is not possible on OS/2 kLIBC Paul Eggert (20): tests: port to Solaris 10 /bin/sh diff: tune compare_names_for_qsort diff: remove unnecessary decl diff: fix bug with Asian file names build: update gnulib submodule to latest build: update gnulib submodule to latest cmp: tune 'cmp a b' for GCC x86 cmp, diff, sdiff: tune by using rawmemchr build: omit -Wsuggest-attribute=3Dpure for lib diff: exit with status 1, not 2, when binary files differ build: update gnulib submodule to latest diff: remove TOO_EXPENSIVE heuristic diff: fix bug with -I and overlapping hunks diff, sdiff: minor integer overflow fixes doc: improve documentation about reading and stdin diff: fix two "..." typos in --help output diff: fix performance bug with prefix computation diff: fix bug with diff -B and incomplete lines doc: mention diff -B fix in NEWS diff: fix integer overflow problem with --tabsize Stefano Lattarini (1): build: enable 'subdir-objects' automake option Changes in gnulib since v3.3: * gnulib db9cad7...348402f (975): > autoupdate > update from texinfo > autoupdate > update from texinfo > obstack: pacify GCC 6 with -Wnull-dereference > update from texinfo > doc: mention glibc, OS X, Cygwin [S]SIZE_MAX buglet > doc: mention glibc SSIZE_MAX buglet > printf-posix: Fix mingw build > mktime: call tzset as per POSIX > fts: handle readdir() errors > intprops: port better to GCC 7 > intprops-test: port to GCC 6 > autoupdate > update from texinfo > autoupdate > xalloc-oversized: port to GCC 7; fewer warnings > autoupdate (gettext-0.19.8.1) > update from texinfo > regex: port to Sun C > update from texinfo > stdbool: Restore __bool_true_false_are_defined check > stdbool: Port AC_CHECK_HEADER_STDBOOL to C++11 > Use GCC_LINT, not lint > secure_getenv: Port to many more platforms. > update from texinfo > canonicalize: Fix broken probe for realpath. > unsetenv: relax to LGPLv2+ > update from texinfo > gendocs.sh: Set default TOP_NODE_UP_URL in HTML output. > manywarnings: update for GCC 6.1 > autoupdate > intdiv0, memmem, nocrash, strcasestr, strstr: no exit > glob: size_t overflow checks > glob: don't assume INT_MAX < SIZE_MAX > Fix undefined behaviour in gettext.h. > autoupdate > git-version-gen: avoid undefined shift > update from texinfo > glob: merge glibc changes into lib/glob.c > mktime: spelling fix in comment > mktime: port to stricter signed overflow checking > mktime: speed up DEBUG_MKTIME benchmarks > mktime: resurrect DEBUG_MKTIME testing > mktime: simplify DEBUG_MKTIME > Port mktime_internal offset to unsigned time_t > xstrtol: prohibit monstrosities like "1bB" > xstrtod: reinstate setting of *result upon ERANGE > xstrtod: modify *result only if no errors > btowc: document problems in C locale > autoupdate > update from texinfo > mktime: improve integer overflow checking > intprops: check two's complement assumption > intprops, mktime, strtol: assume two's complement > stdint: port to strict C11 left shift > mbrtowc: work around glibc bug#19932 > update from texinfo > autoupdate > stdint: detect good enough pre-C++11 stdint.h in C++ mode > argp: merge changes from glibc > Prefer American spelling for "initialize" > autoupdate > stddef: support configuring with g++ > autoupdate > autoupdate > update from texinfo > test-framework-sh: minor cleanups > test-framework-sh: revert port to NetBSD 7.0 > autoupdate > Port better to Alpine Linux > test-framework-sh: port to NetBSD 7.0 > update from texinfo > gitlog-to-changelog: suppress ignored chatter > update from texinfo > update from texinfo > setlocale: add "sv" to Windows language table > update from texinfo > sys_select: port to new Cygwin > test-userspec.c: do not trigger gcc's new -Wmisleading-indentation > time_rz: port to clang -Wunused-const-variable > std-gnu11: improve clang support > select: port more to Intel 2016.1.150 compiler > select: try to port to 2016.1.150 compiler > localename-tests: memory allocation fixes > intprops: make .h file license match module > acl: fix missing return on Cygwin > update from texinfo > update from texinfo > extern-inline: port to PGI CC > update from texinfo > update from texinfo > signbit: port back to pre-C++11 GCC > mountlist: recognize autofs-mounted remote file systems, too > signbit: port to C++ with GCC 6 > regex: make it closer to libc > regex: merge patches from libc > update from texinfo > update from texinfo > autoupdate > autoupdate > stdalign: port to older HP and IBM cc > stdalign: port to clang 3.7.0 > update from texinfo > readdir_r: now obsolescent > Use modern texinfo when syncing install.texi output from autoconf > update from texinfo > sync install.texi from autoconf > misc: port better to gcc -fsanitize=3Daddress > update from texinfo > autoupdate > verify-tests: also remove stray test-verify.Tpo > std-gnu11: new module > update from texinfo > update from texinfo > get-permissions, strftime: fix grammar in comments > gettext: mark as obsolete > gnulib-tool: don't give up on ln -s so easily > closedir: fix OS/2-related typos > openat_proc_name: fix that last '/' is overwritten on OS/2 kLIBC > regex: treat [x] as x if x is a unibyte encoding error > closedir, dirfd, opendir: port to OpenSolaris 5.10 > bootstrap: use American spelling > @item needed inside @itemize > hash-pjw-bare: fix comment > wcwidth: Replace also on OpenBSD 5.8 > update from texinfo > gnu-web-doc-update: fix addition of new files > utimens-tests: avoid pulling gettext .m4 files > regex: pacify static checkers > regex: fix [ diagnostic > regex: fix memory leaks > fts: don't unconditionally use leaf optimization for NFS > * gnulib-tool: fix stray debug line in previous patch > gnulib-tool: don't assume ln -s works > utimes: detect utimes() correctly on OS/2 kLIBC > openat_proc_name: port to OS/2 kLIBC > stdint: check _INTPTR_T_DECLARED for intptr_t etc. > doc: mention unfixed issues with unsupported localtime() values > Go back to gettext-0.19.7 > opendir, closedir, dirfd, fdopendir: port to OS/2 kLIBC > dup, dup2, fcntl: support a directory fd on OS/2 kLIBC > pipe_filter_ii_execute: port to OS/2 kLIBC > wchar: fix "conflicting types" error for __wcwidth on OS/2 kLIBC > w32spawn: clear SHELL_SPECIAL_CHARS and SHELL_SPACE_CHAR on OS/2 kLIBC > pipe-filter-aux: undefine HAVE_SELECT on KLIBC > binary-io: don't put fd in binary mode if it is a console on EMX > doc: mention setlocale() issues on OpenBSD > sig2str: list all signals on FreeBSD >=3D 7 > acl-permissions: port to USE_ACL=3D=3D0 platforms > mktime: rename macro to avoid glibc clash > Port "$@" to OpenIndiana ksh93 > autoupdate > Port Universal Time settings to strict POSIX > update from texinfo > update from texinfo > msvc-inval: fix problem with unset shell var > autoupdate > tests: for compare_(), use cmp -s where available > version-etc: new year > human: fix output buffer overrun by 1 > autoupdate > maint: add missing ChangeLog entry for previous commit > maint: fix operator precedence in mbrtowc test > autoupdate > regexprops-generic: update from regex.h > strftime-tests: avoid false failure on OS X > update from texinfo > fts: ensure leaf optimization is used for NFS > fts: enable leaf optimization for XFS > non-recursive-gnulib-prefix-hack: preserve V_GPERF lines > intprops: comment fix > update from texinfo > intprops-test: work around GCC bug 68971 > autoupdate > gnulib-tool: allow multiple --local-dir usage > fix freadptr to work with ungetc on all uClibc configs > update from texinfo > autoupdate > parse-datetime: relax license to LGPLv2+, for OSTree > update from texinfo > autoupdate > autoupdate > update from texinfo > xalloc-oversized: improve performance with GCC 5 > intprops: new public macro EXPR_SIGNED > intprops: fix typo in clang port > test-timespec: fix typo in previous change > timespec-sub: fix overflow bug; add tests > intprops-test: suppress -Woverlength-strings > maint: add missing ChangeLog entry for previous commit > quotearg: add quotearg_n_style_colon() > intprops: revise _WRAPV macros, revert _OVERFLOW > intprops: add parentheses for when OP has precedence lower than "-" > quotearg: constify get_quoting_style parameters > quotearg: add support for $'' shell escaping > maint: use a more standard return from mbrtowc test > intprops: add WRAPV and const flavors for GCC 5 > doc: use extended timezone format in iso-8601 example > update from texinfo > update from texinfo > update from texinfo > stdalign: port to Sun C 5.9 > autoupdate > update from texinfo > autoupdate > time_rz: fix comment about tzalloc > update from texinfo > stdalign: work around pre-4.9 GCC x86 bug > maint.mk: sc_tight_scope: remove extraneous expressions > time_rz: return NULL if localtime_r fails > fts: port to C11 alignof > time_rz: avoid warning from bleeding-edge gcc's -Wnonnull > maint.mk: _gl_TS_function_match: fix "extern" name extracting regexp > maint.mk: sc_tight_scope: factor and support OS X > ChangeLog: fix typo: s/cound/count/ > safe-alloc-tests: fix typo in license header > copy-file: fix mem leak in error case > localename: control langinfo.h inclusion > update from texinfo > binary-io, math, pthread, sys_socket, u64, unistd: port to strict C > accept4-tests: fix to avoid non portable flags > update from texinfo > update from texinfo > gnulib-tool: fix tests of 'extensions' module > unicase/locale-language: fix typo in utf-8 cookie > autoupdate > xalloc: do not worry about GCC 5 warning on 32 bit > xalloc: avoid GCC 5.1 warning on 32 bit > uniname/uniname-tests: avoid compiler warnings > autoupdate > mountlist: clean up of variable duplication > c-ctype: do not worry about EBCDIC + char signed > c-ctype: port better to z/OS EBCDIC > gnulib-common.m4: fix gl_PROG_AR_RANLIB/AM_PROG_AR clash > sockets: MS Windows initalization fixes > gc: fix detection of installed libgcrypt version > c-ctype: rewrite to use inline functions > fnmatch: add one more coding cookie > maint: add coding cookies to non-ASCII sources > gitlog-to-changelog: trim only trailing whitespaces > Test that c_iscntrl agrees with iscntrl, etc. > c-ctype: improve c_isascii testing > Fix ChangeLog typo > savewd: remove SAVEWD_CHDIR_READABLE > Update ChangeLog to match previous patch. > c-ctype: support EBCDIC-style c_isascii > c-ctype: assume EBCDIC 1047 for c_iscntrl > * modules/c-ctype (Depends-on): Add verify. > c-ctype: port better to EBCDIC > nanosleep: fix return code for interrupted replacement > autoupdate > Diagnose ERE '()|\1' > Revert previous patch, as it did not fix the bug after all. > regex: fix dangling-backreference bug > regex: merge patches from libc > autoupdate > autoupdate > autoupdate > autoupdate > ceill: detect buggy OpenBSD implementation > mountlist: add me_mntroot field on Linux machines > doc: Describe to use multiple instances of gnulib > autoupdate > autoupdate > base32: mark function as __attribute__ const > autoupdate > autoupdate > gnulib-tool: don't transform binary files with sed > autoupdate > autoupdate > autoupdate > autoupdate > gperf: respect silent rules > Improve port of stdalign to C++11 > pmccabe2html: fix gawk regex escaping > update from texinfo > time_rz: port to pedantic memcpy > autoupdate > time_rz: port better to MinGW > time: port __need_time_t to MinGW > strftime: fix newly-introduced bug on Solaris > test-strftime: test for Solaris bug > time_rz: port to Solaris etc. > time_rz: now LGPL > time_rz: make a constant 'const' > time_rz: fix off-by-one typo > autoupdate > fprintftime, strftime: use timezone_t args > time_rz: new module > flexmember: license is now unlimited > autoupdate > maint: update copyright paper procedures > autoupdate > autoupdate > localename: fix link error on Illumos > unistr/uN-strtok-tests: avoid a trivial leak > acl-permissions: Document FreeBSD ACL_TYPE_NFS4 acls > acl-permissions: Fix on FreeBSD > file-has-acl, acl-permissions: fix some more HP-UX typos > file-has-acl, acl-permissions: fix HP-UX typos > regex: match current GNU grep behavior > set-permissions.c: adjust acl_from_mode's cpp guard > autoupdate > tests: restrict shells to those that support 'local' > fix mistakes in ChangeLog entries > unistr/uN-strtok: handle multibyte delimiters > update-copyright: fix test failure with perl >=3D 5.22 > u{16,32}-strstr-tests: relax timeout condition > gnulib-common.m4: change the ARFLAGS default to 'cr' > update from texinfo > autoupdate > selinux-h: avoid double free after *getfilecon() > fix pty related tests issues on Windows > acl: fix definition of acl_from_mode on FreeBSD > readutmp: port to FreeBSD >=3D 9 > mgetgroups: port to strict OS X > mgetgroups: fix port to strict OS X > linkat: fix invalid definition of LINKAT_SYMLINK_NOTSUP on OS X > mgetgroups: port to strict OS X > mountlist: avoid an unused-label warning on OS X > error.c: correct printf-style format: %d -> %u > fts: avoid reading beyond the heap allocation > savedir: avoid undefined behavior in qsort call > userspec: avoid undefined behavior in gettext call > update from texinfo > gitlog-to-changelog: improve gitmerge.el commits > wchar: fix MinGW compilation warnings > uniname/uniname-tests: use pristine data files > linked-list, linkedhash-list: avoid compiler warnings > libunistring: bump minimum version to 0.9.6 > uniname/uniname: update to Unicode 8.0.0 > * lib/gen-uni-tables.c: Style fixes. > libunistring: update to Unicode 8.0.0 > gnu-web-doc-update: add --mirror to remove stale files > * lib/set-permissions.c: Spelling fix. > update from texinfo > acl-permissions: pacify -Wsuggest-attribute=3Dconst > fsync: document AIX misbehavior > acl-permissions: more porting to AIX > stdio: Don't redefine gets when using C++ > acl-permissions: add a cast to port to older AIX > acl-permissions: port to older AIX, C89 HP-UX > update from texinfo > vasprintf-posix: avoid compiling vasnprintf where possible > file-has-acl: fix build on Mac OS X 10 > prefix-gnulib-mk: remove no longer needed special case > acl: don't depend on the deprecated qacl module > gnulib-tool: concatenate lib_SOURCES to a single line > pthread_sigmask: discount system version if a simple macro > readlinkat: avoid OS X 10.10 trailing slash bug > acl-permissions: Fix build on Mac OS X and older AIX (Bug#20681) > acl-permissions: Fix build on Solaris and Cygwin > linkat: avoid OS X 10.10 trailing slash with symlink bug > unlinkat: handle ignoring of ".." on Darwin 14 > qacl: split into qcopy-acl and qset-acl > gitlog-to-changelog: new option --ignore-line > qacl: Reimplement qset_acl and qcopy_acl (Bug#20666) > file-has-acl: Split feature tests again (Bug#20667) > string: fix build failure on BSD/OSX with FORTIFY_SOURCE > stdio: limit __gnu_printf__ witness to gcc 4.4+ > error: use correct printf attributes on mingw > update from texinfo > inttypes: force correct mingw PRIdMAX even without > stdio: fix probe on mingw under gcc 5.1 > autoupdate > gitlog-to-changelog: parse "Tiny-change" > update from texinfo > doc: document glibc posix_fallocate() issues > gendocs.sh: document new htmlarg default > extern-inline: no need for workaround in GCC 5.1 > update from texinfo > eealloc, pagealign_alloc, xalloc: avoid clang warnings > tests: pacify GCC 5.1's stricter printf checking > fts: port to GCC 5.1 with --enable-gcc-warnings > file-has-acl: port to CentOS 6 > file-has-acl: always return false when ACLs aren't supported > gettext: propagate po/Makefile.in.in too > file-has-acl: new module, split from acl > manywarnings: add GCC 5.1 warnings > autoupdate > doc: update FDL template to match FDL examples. > lstat: fix cross-compilation 'ln -s' problem > gendocs.sh: default to a common CSS style sheet for HTML output > gnulib-tool: output bold attribute more portably > qacl: Simplify HP-UX acl_nontrivial check > acl: On Linux, check for acls without libacl > acl, qacl: split off shared functions into separate object file > git-version-gen: revert "detect untagged revisions" > tempname: avoid unused parameter warnings > git-version-gen: detect untagged revisions > fseeko: fix build failure on NetBSD >=3D 6 > gitlog-to-changelog: port to MS-Windows > gendocs: new option --tex for texi2dvi options > sync gettext .m4 files from gettext > uniname/uniname-tests: fix failure due to alias > hash: remove deprecated hash_insert0 function > mountlist: remove dependency on libmount > stddef: port to pre-C11 GCC on x86 > quotearg-simple-tests: add missing gl_FUNC_MMAP_ANON dependency > yesno: make EOL optional in ENABLE_NLS case also > fdopendir-tests: test it does not close its arg > gitlog-to-changelog: trim trailing white space > gitlog-to-changelog: new option --ignore-matching > fdopendir: port better to MinGW > fdopendir: fix typo in comment > error: document all entry points provided > autoupdate > autoupdate > autoupdate > vasnprintf: pacify clang 3.5.0 > glob, etc.: port to MSVC v18 on MS-Windows 8.1 > poll: port to MSVC v18 on MS-Windows 8.1 > tests: support stderr verification with returns_() > passfd: avoid valgrind uninitalised data warning > uniwbrk/u32-wordbreaks-tests: fix copyright > dup2: doc and test for Android bug > Replace dup2() on Android > Android doesn't define RLIM_SAVED_* > autoupdate > vasnprintf-posix-tests: use consistent test > printf, isinf, etc.: noncanonical !=3D NaN > fts: remove redundant close() (trivial) > getdtablesize: port better for Android > poll: fixes for large fds > fcntl: Fix cross compiling > dup2, fcntl: cross-compiler better for Android > getopt: give accurate ambiguity diagnostic on mem exhaustion > getopt: don't crash on memory exhaustion > tempname: allow compilation with C++ (trivial) > dup2, fcntl: port to AIX > getdtablesize, dup2, fcntl: port to Android > localename: Implement gl_locale_name_thread_unsafe for Android > More changelog fixes > fts: avoid crash when a cycle is added while traversing > uniname/uniname: support character alias > Fix ChangeLog botches in my recent commits > duplocale: Fix Android build of duplocale-tests > signal_h: Fix Android build > net_if: Handle content-free system headers > linkat_nofollow: Add fallback case for cross compiling > euidaccess: Fix Android build > getugroups: Fix Android build > localename: Fix Android build > getdtablesize: Fix Android build > Assume unbroken ungetc() on Android > Fix FILE struct compatibility with Android API level >=3D 21 > tests: avoid recent -Werror=3Dunused-variable regression in test-locale > maint: various whitespace cleanups in tempname > tests: provide returns_() to simplify exit status checking > mountlist: only use libmount when specified > uniname/unimame-tests: don't link with -lunistring > fstrcmp: don't assume strlen < INT_MAX > diffseq: prefer ptrdiff_t to ssize_t > xalloc: fix typo that suppressed warnings > full-read: fix license notice typo > crypto/gc: fix a -Wswitch warning > autoupdate > update from texinfo > tempname: new try_tempname function > gnulib-tool: fix handling of patch(1) diagnostics > bootstrap: exit immediately upon gnulib-tool failure > symlinkat: include all required header files > update from texinfo > update from texinfo > update from texinfo > localename: support Solaris 12 and illumos > locale: fix tests on illumos > unictype: avoid undefined left-shift behavior > libunistring: bump version of unitypes dependants > unictype/category-none: fix link with libunistring > unitypes: fix build with installed libunistring > time: port to MinGW32 3.21 > update-copyright: apply to self > libunistring: update to Unicode 7.0.0 > libunistring: update to Unicode 6.3.0 > libunistring: update to Unicode 6.2.0 > libunistring: update to Unicode 6.1.0 > uniwbrk/u32-wordbreaks-tests: add conformance test > uniwbrk: ignore Extended/Format characters at BOL > test-strstr.c: avoid a trivial leak > update-copyright: recognize groff's \(co marker > maint.mk: fix compatibility with OS X nm > localcharset: improve charset detection on OS/2 > count-leading-zeros: use 64-bit intrinsics on 32-bit Windows > count-leading-zeros: fix pragma typos > autoupdate > count-leading-zeros: avoid 64-bit intrinsics on 32-bit Windows > uniname/uniname: update to Unicode 7.0.0 > doc: update INSTALL from autoconf > stdio: fix use of PRIdMAX on modern mingw > Fix check for pthreads.h pollution on Mingw64 > lib-symbol-versions: cache script check > maint: fix grammar nits in propername > gendocs: Update bug-report address and URLs to Gnulib's. > gendocs: Add 'doc/gendocs_template_min'. > gendocs: Change maintainer. > gendocs: copyright date and version fix > derived INSTALL > revert copyright updates in slaved files > version-etc: new year > autoupdate > autoupdate > xstrtol: ensure errno is reset > utimens: fix dependency typo > autoupdate > docs: mention why libgen.h is bad > autoupdate > assure: new module > autoupdate > stdalign: port better to HP compilers > stdalign: work around Apple GCC 4.0 bug > gendocs.sh and templates now maintained in gnulib > getcwd: fix test failure on OS X 10.9 > parse-datetime: avoid a compiler warning with byacc > unicase/locale-language-tests: fix LOCALE_FR test > autoupdate > update from texinfo > stddef: support C11's max_align_t > unistd: fix iOS check conditional > posixtm: avoid compiler warning in a better way > relocatable: support UNIXROOT in relocate() on EMX > freopen: workaround freopen() on OS/2 kLIBC > get_shared_library_fullname: port to EMX > find_executable: port to EMX > sched: check struct sched_param in spawn.h as well > support GNU format printf and scanf on mingw > bootstrap: Allow perl modules in $buildreq > apply _GL_ATTRIBUTE_PURE to some inline functions > vasnprintf: fix potential incorrect errno > vasnprintf: fix potential use after free > autoupdate > filevercmp, posixtm: avoid compiler warnings with -O3 > Fix LDBL80_WORDS macro on big endian platforms. > autoupdate > git-version-gen: do not print new line characters > gnulib-tool: recognize x:* as an absolute path > argp: avoid extraneous translation and mem leak with empty pre doc > autoupdate > doc: mention that _BSD_SOURCE is deprecated for _DEFAULT_SOURCE > uniname/uniname-tests: skip if system's libunistring is used > printf: fix configure check on big endian systems > pipe-filter-gi, pipe-filter-ii: port to AIX > gitlog-to-changelog: add --until > update from texinfo > extern-inline: update commentary about GCC bugs > gen-uni-tables: untabify > gen-uni-tables: check out-of-range values added to 3-level tables > gen-uni-tables: utilize 'assert' > gen-uni-tables: cosmetic improvements > fcntl-h-tests: port to PA-RISC GNU/Linux > fts: port to C89 > unistd: port to iOS > obstack: do not reject malloc-style obstack_chunkfun, obstack_freefun > autoupdate > update from texinfo > obstack: avoid potentially-nonportable function casts > obstack: fix macro return values > obstack: do not assume system-supplied obstack is size_t safe > obstack: port to platforms that #define __alignof__ > linkat: don't unconditionally replace on GNU/Linux > linkat: wrap to handle symlinks on OS X 10.10 > open, openat: document nonstandard FreeBSD, NetBSD O_NOFOLLOW errno > obstack: add NEWS entry for recent incompatible changes > mountlist: don't use libmount to decide on dummy/remote > maint: add missing ChangeLog entries for Modra's obstack changes > obstack: prefer __alignof__ to alignof > obstack: prefer alignof to calculating alignments by hand > obstack: use size_t alignments and check for overflow > obstack: 64-bit obstack support, part 3 > obstack: 64-bit obstack support, part 2 > obstack: 64-bit obstack support, part 1 > obstack: tidy part 2 > obstack: tidy part 1 > socketlib, sockets, sys_socket: Use AC_REQUIRE to pacify autoconf. > iconv: avoid false detection of non-working iconv > bootstrap: print more diagnostics for missing programs > bootstrap: only update the gnulib submodule > symlinkat: port to AIX 7.1 > readlinkat: port to AIX 7.1 > remove spurious { > modules/fcntl: fix error reporting by dupfd > basename, dirname: Improve documentation. > exclude: declare exclude_patopts static > autoupdate > dirname: support compilation with C++ > qsort_r: include > avltree-list: avoid compiler warnings > qsort_r: new module, for GNU-style qsort_r > strerror_r-posix: support compilation with C++ > fcntl-h: fix compilation with Intel C++ compiler > autoupdate > mountlist: use /proc/self/mountinfo when available > users.txt: add cmogstored > gnulib-tool: Sync with build-aux/bootstrap options > gnulib-tool: Fallback to wget when rsync fails > maintainer-makefile: add syntax check for useless ';;' > pthread, pthread_sigmask, threadlib: port to Ubuntu 14.04 > error: drop spurious semicolon > gnulib-common.m4: port to GCC 4.2.1 and Sun Studio 12 C++ > manywarnings: add GCC 4.9 warnings > vasnprintf: fix bugs in width computation > vasnprintf: Avoid signed/unsigned comparison warning. > parse-datetime: Avoid signed/unsigned comparison warning > qsort_r: new module, for GNU-style qsort_r > vla: new module > localename: make gl_locale_name_thread really thread-safe on Windows > getpass: don't assume struct termios > getdtablesize: fall back on sysconf (_SC_OPEN_MAX) > vararrays: modernize AC_C_VARARRAYS for C11 > relocatable-prog-wrapper: port gettext to OS X 10.8 + GCC 4.8.1 > sys_select: fix FD_ZERO problem on Solaris 10 > accept: document Solaris 10 type glitch > extern-inline: port to FreeBSD, DragonFly > autoupdate > Use consistent style to check DEBUG macro in regex_internal.c > openat-die: use _Noreturn markup > test-open: port to cygwin, which lacks Fortify > localename: Enforce declarations before statements. > test-userspec: don't look up numeric user names > localcharset, localename: MS-Windows support for non-default locales > announce-gen: avoid failure when Digest::SHA is installed > gettext: revert "update macros to version 0.19" > regex: don't deref NULL upon heap allocation failure > maint.mk: give projects more flexibilty in set_prog_name arguments > regex: fix memory leak in compiler > announce-gen: avoid perl warnings > localename: avoid -Wsuggest-attribute=3D{const,pure} warnings > nl_langinfo: Fix last change. > Define macros for glibc > Sync up error.c with glibc > nl_langinfo: fix build under mingw > mountlist: do not classify a bind-mounted dir entry as "dummy" > maint.mk: less syntax-check noise when SIGPIPE is ignored > nl_langinfo: CODESET on MS-Windows and more items from localeconv > Bruno Haible has stepped down as maintainer. > mktime: merge #if/#ifdef usage from glibc > git-version-gen: improve option descriptions > regex: fix memory leak in compiler > regex: merge patch from libc > acl: port to gcc -Wredundant-decls > parse-duration: eliminate 68-year duration limit > pthread: don't assume AC_CANONICAL_HOST, port better to Solaris, etc. > pthread: define thread-safe macros on some platforms > regex: don't be multithreaded if USE_UNLOCKED_IO. > gettext: update macros to version 0.19 > select,poll: fix console handle check on windows 8 > select: fix waiting on anonymous pipes on MS-Windows > times: fix to return non constant value on MS-Windows > isatty: fix to work on windows 8 > maint: fix typo in fdl.texi > mountlist: avoid hasmntopt const type warning on solaris > maintainer-makefile: delete obsolete code > maintainer-makefile: avoid spurious error messages > rename: avoid unused-but-set-variable compiler warning > maint: add ChangeLog entry missing in previous commit > rename: mark a label as potentially unused > gnulib-common.m4: Fix typo in _GL_UNUSED_LABEL. > acl: apply pure attribute to two functions > gnulib-common.m4: add _GL_UNUSED_LABEL > dup2, fcntl, fcntl-h: port to AIX 7.1 > printf, config.rpath: Port to FreeBSD 10. > ftoastr: work around compiler bug in IBM xlc 12.1 > valgrind-tests: fixed misleading help message > isfinite, isinf, isnan tests: fix for little-endian PowerPC > exclude-tests: port to AIX 7.1 > pthread_sigmask, timer-time: use gl_THREADLIB only if needed > gnulib-tool: wget translations using --no-verbose rather than --quiet > gnulib-tool: adjust translation wget to avoid a https redirection > getlogin_r-tests: check return value rather than errno > getlogin_r-tests: fix various issues in recent change > fchdir: port 'open' and 'close' redefinitions to AIX 7.1 > update from texinfo > xalloc: don't potentially generate invalid code for xmemdup calls > getlogin_r-tests: avoid false failure under sudo/ssh etc. > getlogin-tests: avoid false failure under cron > mbrtowc.m4: fix a comment typo > mbrlen, mbrtowc: fix bug with empty input > doc: document mbrtowc and mbrlen problem with empty input > doc: document exec* =3D spawn+exit bug with non-Cygwin Windows platform= s > autoupdate > getlogin-tests: avoid false failure under sudo/ssh etc. > mbsstr, quotearg, xstrtol: pacify IRIX 6.5 cc > update from texinfo > autoupdate > autoupdate > autoupdate > gitlog-to-changelog: revert inclusion of git-log-fix file > maint.mk: Relax the copyright check to cater for non FSF projects > physmem: use sysinfo if _SC_PHYS_PAGES unavailable > exclude: port to strict C99 > regex: do not depend on malloc-gnu > autoupdate > expl: avoid incorrect expl(small_value) on OpenBSD 5.4 > xalloc: allow x2nrealloc (P, PN, S) where P && !*PN > fts: avoid unnecessary strlen calls > fts: avoid unnecessary strlen calls > fts: avoid unnecessary strlen calls > autoupdate > autoupdate > obstack: Remove ancient NeXTSTEP gcc support conditional > obstack: merge with glibc changes > strftime: wrap macros in "do {...} while(0)" > modechange: avoid memory leaks for invalid octal modes > autoupdate > gitlog-to-changelog: include a dummy git-log-fix file > autoupdate > update from texinfo > gitlog-to-changelog: also include the file, git-log-fix > autoupdate > regex: port to OS X 10.8.5 en_US.UTF-8 locale > maint: fix ChangeLog to match commit record > stdint, read-file: fix missing SIZE_MAX on Android (tiny change) > parse-datetime: fix crash or infloop in TZ=3D"" parsing > * NEWS: Recent changes are not that important. > savedir: new symbol for fast-read version > unistd: port readlink to Mac OS X 10.3.9 > * NEWS: Document recent change to diffseq. > diffseq: remove TOO_EXPENSIVE heuristic > savedir: simplify by using stpcpy > spawn: fix link error on uclibc > m4: fix gl_TIMER_TIME() detection of threads on uClibc > maintainer-makefiles: provide AC_PROG_SED for older autoconf > exclude: add support for posix regexps > maintainer-makefiles: use $(SED) for syntax check > update from texinfo > savedir: add sorting arg to savedir, streamsavedir; remove fdsavedir > autoupdate > update from texinfo > update from texinfo > file-type: add support for doors and other less-common file types > update from texinfo > autoupdate > pthread: work around winpthread header pollution on mingw > qacl: check for fchmod > Fix typo in ChangeLog. > fdopen-tests: port to Tru64 > stdalign: port to HP-UX compilers > strtoimax: port to platforms lacking 'long long' > update from texinfo > relocatable-maint.texi: escape braces > maint: remove duplicate ChangeLog entry > maint.mk: adapt openat.h-include-without-use test > relocatable-perl: like relocatable-script, but for Perl scripts > relocatable-shell: Update suggested usage in maintainer documentation. > tests: fix export bug in previous patch > tests: simplify porting to Solaris 10 /bin/sh > update from texinfo > md5, sha1, sha256, sha512: support older autoconf > include_next: port to autoconf 2.63 > maint: add a gnulib-local rule to keep non-ascii out of .texi files > freadable, fwritable, fwriting: declare with the "pure" attribute > maint.mk: adapt openat.h-include-without-use test > doc: use ASCII in .texi files where UTF-8 isn't needed > freading: declare with attribute "pure" > manywarnings: remove -Wmudflap > autoupdate > relocatable-script: remove unused code > maint: fix public-submodule-commit to work with newer git > autoupdate > doc: update main copyright year > maint: update copyright > version-etc: new year > autoupdate > passfd: give nicer error for recvfd at eof > autoupdate > gettimeofday: port recent C++ fix to Emacs > gettimeofday: fix C++ crosscompilation > qacl: port to Windows better > md5, sha1, sha256, sha512: fix compile error in c++ mode > open-tests: fix build failure with -Werror=3Dold-style-declaration > md5, sha1, sha256, sha512: fix link error with partial libcrypto > md5, sha1, sha256, sha512: add gl_SET_CRYPTO_CHECK_DEFAULT > md5, sha1, sha256, sha512: add 'auto', and a way to specify default > autoupdate > bootstrap: warn about BSD toolchain snafu > open-tests: port to glibc with _FORTIFY_SOURCE and -O1 > include_next: minimize code duplication > getcwd: fix compile error in configure check > regex: suppress core dumps from detection code > md5, sha1, sha256, sha512: support mandating use of openssl > test-xvasprintf: disable some -Wformat-security diagnostics > regex: avoid glibc deadlock during configure > md5, sha1, sha256, sha512: use openssl routines if available > base64: fix recent compilation regression on some compilers > autoupdate > autoupdate > ignore-value: revert previous code change > selinux-h: improve stub types and add more stub functions > ignore-value: prefer GCC version back through 2.0 > pty: Activate the signature wrapper of forkpty. > maint: fix gendocs.sh permissions > autoupdate > quotearg: don't attempt to store 1 << 31 into an "int" > error: depend on stdio > doc: Improve wording in relocatable-maint.texi. > Fix indentation in previous patch. > * lib/getgroups.c (posix_getgroups, getgroups) [__APPLE__]: > base64: provide a fast path for encoding well sized buffers > extern-inline: port better to OS X 10.9 > fpending: fix typo > fpending: fix regression on DragonFly BSD > hash: relax license to LGPLv2+, for libguestfs > intprops: port to Oracle Studio c99 > obstack: pacify HP C > maint.mk: prefer gpgv2 over gpgv > isnan: port to VAX > gnulib-tool: protect against CDPATH > maint.mk: restore functionality removed by recent change > Revert "error: make the module depend on vfprintf-posix" > maint.mk: fix "release" target to build _version > maint.mk: get current gnulib revision correctly. > install-reloc: Support multi-binary installation. > selinux-h: really build without selinux when library is missing > regex: also remove dependency on HAVE_WCSCOLL > xfreopen: fix typo: s/frepoen/freopen/ > regex: don't depend on wcscoll > error: add the printf attribute to a static function > error: make the module depend on vfprintf-posix > fpending, obstack, strerror-override: use pure+const function attrs > extern-inline: make safe for -Wundef usage > mkfifo-tests, etc.: allow HP-UX 11.11 bug > acl: allow cross-compilation to Gentoo > mgetgroups: remove dependency on realloc-gnu > regex-tests: port to HP-UX 11.11 > verify: document some 'assume' pitfalls > strtoumax: fix another typo in previous commit > strtoumax: fix typo in previous commit. > strtoumax: port to Solaris 8 > autoupdate > strtoimax, strtoumax: port to HP-UX 11.11 > strtoimax: port to HP-UX 11.11 > New module 'count-trailing-zeros'. > count-leading-zeros: port to MSC; support types wider than 64 bits > count-one-bits: port to MSC; support types wider than 64 bits > mountlist: fix resource leak with MOUNTED_INTERIX_STATVFS > tests: improve diagnostic when an assertion fails > verify: new macro 'assume' > autoupdate > dup2, dup3: work around another cygwin crasher > getdtablesize: work around cygwin issue > pmccabe2html: escaping of special characters > manywarnings: enable nicer gcc warning messages > timespec: use the new TIMESPEC_RESOLUTION in a few more places > warnings: port --enable-gcc-warnings to Solaris Studio 12.3 > configmake: support new --runstatedir option > ctype, string: depend on extern-inline > userspec: support optional parameters to parse_user_spec() > timespec: new function make_timespec, and new constants > stdio: OS X port of putc_unlocked + extern inline > signal: OS X port of sigaddset etc. + extern inline > extern-inline: do not always suppress extern inline on OS X > extern-inline: document fixes for ctype and wctype macros > fflush, freadahead, fseeko: Fix for Android > pmccabe2html: fix portability issues > getgroups: statement without effect > autoupdate > update from texinfo > update from texinfo > glob: fix compilation > glob: fix build for platforms without __THROW > autoupdate > regex-quote: fix buffer access out of bounds > glob: avoid -Wattribute warnings on glibc > headers: check that _GL_INLINE_HEADER_BEGIN is defined > bootstrap: remove the --version requirement from ancillary tools > gc: support HMAC-SHA256 and HMAC-SHA512. > gettext: update to version 0.18.3.1 > selinux-at: omit unnecessary include > autoupdate > d-ino: avoid false negative on symlink > update from texinfo > autoupdate > bootstrap: port to OpenBSD sed > warnings: minor optimization > warnings: check -Wfoo rather than -Wno-foo > accept doclicense option > accept doclicense option > xvasprintf-tests: port to GCC with hardening flags > fpending: port to recent Cygwin change to stdio_ext.h > no need for tendentious comment > regenerate > autoupdate > sys_time: port to OpenBSD > autoupdate > bootstrap: support checksum utils without a --status option > update from texinfo > Fix ChangeLog typo. > autoupdate > regex: port to non-glibc/lock-using systems > update from texinfo > autoupdate > localecharset: make locale_charset thread-safe on Mac OS X > gettext: update to version 0.18.3 > autoupdate > bootstrap: use correct source when copying build-aux files > tmpdir: fix bug in VMS port > tmpdir: fix typo in previous change > * lib/tmpdir.c: Simplify code to add slash; no need for a loop. > tmpdir: port to VMS, to // !=3D /, and to long dirs > regex: port to --with-included-regex --enable-gcc-warnings non-threaded > accept4, dup3, pipe2: port to Cygwin > mountlist: add support for deallocating returned list entries > stdalign, verify: port to FreeBSD 9.1, to C11, and to C++11 > fnmatch: don't goto over declaration > pipe2: decouple from binary-io a bit > mgetgroups: relax license to LGPLv2+ > xalloc-oversized: relax license to LGPLv2+ > nproc: relax license to LGPLv2+ > bootstrap: honor --no-git > update from texinfo > ignore-value: port to gcc -pedantic > extern-inline: port to gcc -std=3Dc89 > doc: document extern-inline > doc: chatter less > fflush, fseeko: port to musl cross-compiles > msvc-inval: port to mingw-w64 > getcwd-lgpl: port to Tru64 > autoupdate > tests: port large-fd POSIX spawn tests to OS X > autoupdate > tests/nap.h: use an adaptive delay to avoid ctime update issues > sig2str: port to C++ > docs: mention cygwin shortcoming in > vasnprintf: silence mingw compiler warning > c-ctype, regex, verify: port to gcc -std=3Dc90 -pedantic > regex: adapt to locking regime instead of depending on pthread > getgroups: document portability issues > test-lchown, test-chown: also skip test if lchown/chown fails with EPER= M > regex: fix dfa race in multithreaded uses > malloca: port to compilers that reject size-zero arrays > parse-datetime, tests: don't use "string" + int > argmatch: port to C++ > argp: typo fix > autoupdate > manywarnings: update for GCC 4.8.0 > spawn-tests, sys_socket-tests, sys_wait-tests: port to clang > getaddrinfo-tests: port --enable-gcc-warnings to clang > thread: port --enable-gcc-warnings to clang > stdio: use __REDIRECT for fwrite, fwrite_unlocked > stdio: port --enable-gcc-warnings to clang > sig2str: port --enable-gcc-warnings to clang > obstack: port --enable-gcc-warnings to clang > memchr2: port --enable-gcc-warnings to clang > mbsstr: port --enable-gcc-warnings to clang > malloca: port --enable-gcc-warnings to clang > inttostr: port --enable-gcc-warnings to clang > warnings: port to clang > quotearg: do not read beyond end of buffer > lock: work around pthread recursive mutexes bug in Mac OS X 10.6 > mkdir-p: remove assumptions about umask and mode > maint.mk: catch more abuse of HAVE_DECL in syntax-check > deps: require Automake >=3D 1.9.6 in generated Makefile fragments > autoupdate > bootstrap: AC_INIT may have more than four parameters > ChangeLog: whitespace cleanup > qacl: port to MS-Windows port of GNU Emacs > acl: include quote.h > fchownat, renameat, unlinkat: update statat dependencies > Assume gnulib is checked out from Git, not CVS > utimensat-tests, etc.: try to fix some races > utimens, utimensat: work around Solaris UTIME_OMIT bug > gettext: now it's your responsibility to add -I$(top_builddir)/intl > acl: include errno.h to get errno > tests: don't assume getdtablesize () <=3D 10000000 > extern-inline: work around bug in Sun c99 > autoupdate > qacl: new module, broken out from the acl module > alignof, intprops, malloca: port better to IBM's C compiler > wctype-h: fix gettext link error on mingw > autoupdate > regex-tests, regex: allow glibc re_search behavior > stdalign: doc fix > stdalign: port to stricter ISO C11 > sys_select, sys_time: port 2013-01-30 Solaris 2.6 fix to Cygwin From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 31 13:18:15 2016 Received: (at submit) by debbugs.gnu.org; 31 Jul 2016 17:18:15 +0000 Received: from localhost ([127.0.0.1]:52334 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bTuNT-0006GH-Lf for submit@debbugs.gnu.org; Sun, 31 Jul 2016 13:18:15 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59003) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bTuNS-0006G5-8F for submit@debbugs.gnu.org; Sun, 31 Jul 2016 13:18:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bTuNL-0006OA-LZ for submit@debbugs.gnu.org; Sun, 31 Jul 2016 13:18:08 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:50882) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTuNL-0006O6-IC for submit@debbugs.gnu.org; Sun, 31 Jul 2016 13:18:07 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49974) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTuNJ-00030Y-Cm for bug-diffutils@gnu.org; Sun, 31 Jul 2016 13:18:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bTuNF-0006Nq-4k for bug-diffutils@gnu.org; Sun, 31 Jul 2016 13:18:04 -0400 Received: from mail-qt0-x243.google.com ([2607:f8b0:400d:c0d::243]:36016) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTuNE-0006Nj-Ut for bug-diffutils@gnu.org; Sun, 31 Jul 2016 13:18:01 -0400 Received: by mail-qt0-x243.google.com with SMTP id u25so7107272qtb.3 for ; Sun, 31 Jul 2016 10:18:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date:cc:message-id:references :to; bh=+A7bW7aih5/2ymi6r15sVqcnpFtDOp2bNgkEjWh87II=; b=dUEEyj+jnJZ8uhz6zAvB1VrTiuIhsyD1GOPXBjGT2HY41i6HTe5oXqKqQ/63csZtMP suSh6Xaw1equ9oScNkAQz9rV0IPp/mVLhx+g4Ely6bGKocbMygolYTFv5w2PkVnJVFhl HFSrbtMnzifEclXXDpyVGR5tJZIqlKG0FBtoFnZGVv/WDehe949jGVF1nytPNBTqXmfN ggLR1O7BmbIpklmCucmCui4cGB80BlyO1oQPjs1JpY1ZesHZZnfEVlPYl7BfAwn5bU7L tclU48GSbjNhMYvzAqDDf5XNiRa4B8SHcvO0H2+V5AKrF5tLJT7N/BIIEOFLM8G69AcT pV7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=+A7bW7aih5/2ymi6r15sVqcnpFtDOp2bNgkEjWh87II=; b=Wl8Cs8rETx7quqCDe5sLdZef18Vy/KSWsVlQxVBwbJsdKI1FiWcbI+ZfV722oehSGG xy6lmaXLWtVdIdlEcVe+ntu8NJuuubGnR+dxl5aG6gp6e9Gdbq8nAj0dFApAxje/8CdC Mggo8vBstl8B2Pstxt3EumElWgQGsbzyRiDGfVS0NkqBk8Idaid/DtnHO4PyWg8kaMxi VTuuG8O7ElrHKZeFXFhIz3EYz1pALKyTVa5S9R1MaLXbiQKCpZ3scin4bpIsKrfpGaao 5LpVNTZLNTesyd4KC1cKPELMciUr56bVHnCOEhUWiLPqSgNxg++lzkdhac4wyd8H2c6g 3rBg== X-Gm-Message-State: AEkoouuzpf9IXLnuedk960FCjV3RbXwwcdK51OJlyAw3Gcal0bU8OmDDZL5STQC19i9bfA== X-Received: by 10.237.59.79 with SMTP id q15mr81692639qte.77.1469985480610; Sun, 31 Jul 2016 10:18:00 -0700 (PDT) Received: from ix.home (pool-100-38-105-55.nycmny.fios.verizon.net. [100.38.105.55]) by smtp.gmail.com with ESMTPSA id t1sm15435126qtt.25.2016.07.31.10.17.59 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 31 Jul 2016 10:18:00 -0700 (PDT) Content-Type: multipart/mixed; boundary="Apple-Mail=_16E34CF2-962E-4E6E-AD2C-D74E4957E880" Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\)) Subject: Re: [platform-testers] new snapshot available: diffutils-3.3.50-0353 From: Assaf Gordon In-Reply-To: Date: Sun, 31 Jul 2016 13:17:57 -0400 Message-Id: <9C56E56C-4D31-46AB-AC75-1AA8A759BF4D@gmail.com> References: To: Jim Meyering X-Mailer: Apple Mail (2.2102) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit Cc: bug-diffutils@gnu.org 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: -4.0 (----) --Apple-Mail=_16E34CF2-962E-4E6E-AD2C-D74E4957E880 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hello Jim > On Jul 31, 2016, at 03:08, Jim Meyering wrote: >=20 >=20 > diffutils snapshot: > http://meyering.net/diff/diffutils-3.3.50-0353.tar.xz >=20 The "colors" test seems to succeed on Fedora/CentOS/SUSE systems (of = various versions), but fail on others (Ubuntu, Debian, FreeBSD, Mac OS = X). Attached are logs from 3 systems. =46rom a cursory look it seems the = exact same failure, but I haven't looked deeper. No other test failures found, but I'll have more results later today. regards, - assaf --Apple-Mail=_16E34CF2-962E-4E6E-AD2C-D74E4957E880 Content-Disposition: attachment; filename=test-suite.darwin14.log.xz Content-Type: application/octet-stream; name="test-suite.darwin14.log.xz" Content-Transfer-Encoding: base64 /Td6WFoAAATm1rRGAgAhARYAAAB0L+Wj4Dc8CChdAB7uQAoQ6nC0252XOM9MsFJmtHAGDWlEgL4w acpWQk4kvofYSdNqD9zO8AA9KaCLI3EQ7542iNyxEdDvTxMs6MFYieabraEpWdX6SEZdH7ZFPrky J7PFqlxfpFyDDIH6rPPRyms4xro13HzH+BosUg8FvrNfLcHVPlJcHoFjsTRQ/ly+OT9FUzUD7XDd rsVcCPz2KGIUNew9bbmXuMvSV2ixhbSdUYp4dJ23p3flB/FAq+ng9N0Y4ZrONluyLLSdblyftGHT 034xtAemU4O4gRL/LM9ddxYb/Kbn3EcSEGw7iAniL/MvFnwDYfZqfTlbZ15mkxDEI/MeOy0Jkh6u +kHgFvRieHOxcYINyr//Jc9t93tGmoFLAC7yDb0PzilUGjtvOm016fw8yePMJzZ77E2Ibli2MIpX OP+YWWZqfx9m7dphp7u71EEeEmWPgxkZSbnjPr8DPy3/dqCU7Jx3IbPEhoRA+pcCKC+ruD6ABXZC 3u1B2waq1q/d9DScI2i7sfMVYo/cJKOR/33bICX3fgdv9WvwRBjsbdgJf0+Zvcn0otMeVkInCkSN ZnUnxL0EaCdUscYLbYvZkoUobzQyXHwi92VW7i/TLLT7y0K7NXTy8Fr2iqm3jbnYncuVwn5L54qA s64Rdc4/0dBAZZJjKErxTBJyUpqopVYYlSxTiXGvjjXCYyiHuOYKEfMrlc7iv+zEipe+ZJykra/1 Sqk8HSOPkmZ0EIA3o41cACqSFj0J3IQ4ZFZ3bwdHpIl8+pfQUB+JFUeQB1qAMSpGeymgtGrD1HGy sZ168bVW9fhnNNDSNBskZMP43Wur2yjelxgFGEFys0P8k/daMNPWGjgzU+fECcSlMddNwzTx/ieW td417AaiX7JfawqS628qh67+Z17huVaAZ2JxzVtZeD3N6ayJ3f7u9+EXJwsmU9qrCTJQnJntC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kESRDytNSuDF1SPxyoJgGxzh6Uxq2RLRK+1DsZOkCeQWj6 kHOodOuXBOzwvOgkRIFlvgN5fKZHwEMds/rq13GjSjnmgeX5rYzWLeB/CXmcEMysP4xL1hNdCiD8 jNErTqfsoIweceQxpM6/BBzXiW48yePfGpRxNqu4q/tQ1TH0rTEE47/kwxWmR+vOHFrYTI05Kga4 M/a9E0oMMf6tpB8alyqOlRxawUApnV+roUVr2t7jrUYRtALBVcBkEd+ksVneV2KS0q3Qr4qp+EkB 0cwmpaodFxTapQCa2G/4tdkN1GSqNXK7+vUgEs4voPfZVdFmn7tBmtbrwNjxTvPbayVAgNaW8iR+ Fxf8wloM4EzwipkDLyYfuZw0CWoB8dycHOhyd/3AcBPvk1TJkrwCaOjBAjX4qJNFQ212jCJWS36P lbCacMDYchoSBFiGXAEMwARAQyhj+U8Rjb/fRUojas5nAcUsPqHxQ3cEQcMZg19LKuEi80nBOFGN ivCX9p5qBg8y5NsQC6v6TZMxje1xR6oFTGX9up2zEfdedds+z8up8KFk6Kgzkvnm2QEnb7+111+8 iojax3jk56A1MiSENNC/JrkdZjbmK0dSBePSCEmJsUUZ2QGG703eTbjtQf9kXzxzJ7YjqgHOWGvs 88AtOjUqZj+MEcfJylZBGouIVGJuCSEcJq7KdWfHUbb9hpKc9Ud3O8yVXHjYdjSC6SDbCwoXl9ao 5xEkWuUI8RT7AADgGPpXXuMZUQABxBC9bgAAkG+dhLHEZ/sCAAAAAARZWg== --Apple-Mail=_16E34CF2-962E-4E6E-AD2C-D74E4957E880 Content-Disposition: attachment; filename=test-suite.freebsd103.log.xz Content-Type: application/octet-stream; name="test-suite.freebsd103.log.xz" Content-Transfer-Encoding: base64 /Td6WFoAAATm1rRGAgAhARYAAAB0L+Wj4C+rB/ddAB7uQAoQ6nC0252XOM9MsFJmtHAGDWlEgL4w acpWQk4kvofYSdNqD9zO8AA9KaCLI3EQ7542iNyxEdDvTxMs6MFYieabraEpWdX6SEZdH7ZFPrky J7PFqlxfpFy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U1RL23xtWtFMNRY5b7nFb0tslgD47XYCXqgUjgOfiltZyF1+qKWupM513pLwraqKO5B Iyhy3hyemQ4c2q5FQ+w0QErSe8mPiqhZQV7aEynnOd8elNklcslacERr2mdRxjaB+kcXmzIGjGO/ QIQ2Q81PyhunklE1f4xGP2iUhHrKb0xFeodgycm2My4Ut79vlnX/wdh5TfDDrgYWaFnYnNqbdnKK Og9GUSxvZU092hLquoHCZrCKCp+q7kpTvSUOwSHXizigQxsuh5EkT2M7c68vVA5fKQKDNyMNVE4h vbdo13kggNGFqnEadO2+InDa2GsWFPcjFQkkqi149mqpVGrcLJ4Bb5g8G8+UpbOcSZInEmF/qPKO 1eq8C0/oI4zQ8PoicASkmJ6kzMOkddCYKeYtgC6BnBi/bh+aQnntkVBMeFVZ3D4mg81n8qxidrWK KcHPVMpC/CpgWJvweJFVX4SdAADzDkpBal9OWQABkxCsXwAAgugaWLHEZ/sCAAAAAARZWg== --Apple-Mail=_16E34CF2-962E-4E6E-AD2C-D74E4957E880 Content-Disposition: attachment; filename=test-suite.ubuntu1404.log.xz Content-Type: application/octet-stream; name="test-suite.ubuntu1404.log.xz" Content-Transfer-Encoding: base64 /Td6WFoAAATm1rRGAgAhARYAAAB0L+Wj4ByDBXxdAB7uQAoQ6nC0252XOM9MsFJmtHAGDWlEgL4w acpWQk4kvofYSdNqD9zO8AA9KaCLI3EQ7542iNyxEdDvTxMs6MFYieabraEpWdX6SEZdMMj+sHYG Pe7p5zDPxbcCevHIWCWlGaa9TnztoVQ/oHq+Ox+5usLa9s8z2aJJblQoa7Ep/wk2oIVNWodajCrW gLd1UBgJSwKrHPjoQnyvUPsbZzl15Z79p1LLsB2ZxVrgu4qQ1neMsJBDhsrMazblCBtmPueWfNCp 5H+yyyIU4UgO9WvxWUy5BE1HhxP99Hlh9mY4puBcKuAwKJHL8A+BrGo5VuCR8BG2U284NBpjd7Cp AuXq+tkJfFh+xCmvZplRWQY0P1BHBLWcuP+fxh4gYtqmfL1aBKH1Tei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zbPdymGyhJCxXTG7N/n4 D2wcPZShWfoMcBOPrefxg0jn+tNYJ7wbU7EumR9LQhEw7c9smbD5Nkmm0O/atx+LaBrk7zlxeX1Y FL8SrvJ35inPwxqG0N5/xwmwT2HWQZt3/PX/t9MFiLjEAhMG2rQLLA4M3GURqXEhnHVTurztvs25 F7D0zkoaHtwRIsftSuqmfPYRL+1+YnbCCRWdL3TSrA3xZA+ddsskROw3nU5wdCH7Ooo7lzazvq1n aKfoYEl1yO7mafeRUwq9asNvWo9bUe+wvQFgFz+MMPBlouhZAkfHnXWp5ked+YNErKSezgimP/65 eU21VifHzUY+AJiBuETrQ8DjZHkgR2BSpg9mFYK84VeOpm3erMHrqTSOqs2e/q7ljdznoKYSxgFJ SwwSGvvcH13fAACFFg9vrOrvcAABmAuEOQAAkY4xDLHEZ/sCAAAAAARZWg== --Apple-Mail=_16E34CF2-962E-4E6E-AD2C-D74E4957E880 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii --Apple-Mail=_16E34CF2-962E-4E6E-AD2C-D74E4957E880-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 31 20:37:20 2016 Received: (at submit) by debbugs.gnu.org; 1 Aug 2016 00:37:20 +0000 Received: from localhost ([127.0.0.1]:52425 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bU1EO-0008C3-4U for submit@debbugs.gnu.org; Sun, 31 Jul 2016 20:37:20 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57724) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bU1EM-0008Bp-5J for submit@debbugs.gnu.org; Sun, 31 Jul 2016 20:37:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bU1EF-0001ca-Mr for submit@debbugs.gnu.org; Sun, 31 Jul 2016 20:37:12 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:40595) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bU1EF-0001cW-JZ for submit@debbugs.gnu.org; Sun, 31 Jul 2016 20:37:11 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48694) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bU1EC-0006Mz-TO for bug-diffutils@gnu.org; Sun, 31 Jul 2016 20:37:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bU1EA-0001cG-Dm for bug-diffutils@gnu.org; Sun, 31 Jul 2016 20:37:07 -0400 Received: from mail-oi0-x244.google.com ([2607:f8b0:4003:c06::244]:34178) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bU1EA-0001cC-6P for bug-diffutils@gnu.org; Sun, 31 Jul 2016 20:37:06 -0400 Received: by mail-oi0-x244.google.com with SMTP id c199so12648448oig.1 for ; Sun, 31 Jul 2016 17:37:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=YJLwB/EP0PmGQNnPwIkRSrG3EsmpiVS6S7cc6rI8pas=; b=g1AbLkfrAADMT9q5jQholYQswowyCv362ma+ebEbQiuEOlA2xqskQdNIFTST8mmGwO /JmM+5XSWPATyMpKWIohDiHpKDps0yT6vfsFcGtuZGpxj+CiILGoxuPm0kIjmVvpGate eBYvGYaPLqJh3T4VjFw2gxcmwbdrnf1HZXroHcbqGnkiDRZeYIzVA6uL6tZg2rbXREgc o3Psrje7NVSJNvpOPqwgHZaU3dhIC+IBk9jJSr+Y1mgIqwRbLuOzSfgKXdg/m4HJjwPG LookqyCeWx0c0ZO/oSnla2QzwH/JfprqqxyZr4FVIpLw/jxW/ni9NxarntSJR8FijYVN XeRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=YJLwB/EP0PmGQNnPwIkRSrG3EsmpiVS6S7cc6rI8pas=; b=USH2cqrhuKXcHT+Ch9YafJ9jYgQ68KmCZMCLCU0L6iNlXnZRcex6CJi+cepuc6aQ4S vKR6DEqPkcGupWhTrs5Azhc+V25Otdpk9YfQ/3RlWWFyPGCATyHQk/PHJ2GjF5hEJ79n SKA2ExrehRPxVYofexmCtbI6nwHdESOFkrmgV+wVRYVeYTNVeK/0IOCNczzHNQSC9uwE f0O9HUtPHoaBgypEEBNc3ZzM5bdai4fjmo/rmFXpH++NNnFivhhZw7P7wrf/1Qqotc7H eISyBoKTw/Q4Pu47tPatj/IJpdvad0eEgyFepKKvb+742LpM8DmTHtGX9nagXPMFwzVl wpWQ== X-Gm-Message-State: AEkooutNGeEBaA0J0REwoUCD4UNHtlF8b2Lje/h5St187LsjS924fA3o5p2tYyeVXsUobFGuuh53RM5pYD/vNg== X-Received: by 10.157.47.6 with SMTP id h6mr29329291otb.140.1470011825503; Sun, 31 Jul 2016 17:37:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.236.73 with HTTP; Sun, 31 Jul 2016 17:36:45 -0700 (PDT) In-Reply-To: <9C56E56C-4D31-46AB-AC75-1AA8A759BF4D@gmail.com> References: <9C56E56C-4D31-46AB-AC75-1AA8A759BF4D@gmail.com> From: Jim Meyering Date: Sun, 31 Jul 2016 17:36:45 -0700 X-Google-Sender-Auth: uyi3MeAiBbmzQbp_BQGwR2azRcI Message-ID: Subject: Re: [platform-testers] new snapshot available: diffutils-3.3.50-0353 To: Assaf Gordon Content-Type: multipart/mixed; boundary=94eb2c037d84ace0250538f7cc57 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit Cc: bug-diffutils@gnu.org 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: -4.0 (----) --94eb2c037d84ace0250538f7cc57 Content-Type: text/plain; charset=UTF-8 On Sun, Jul 31, 2016 at 10:17 AM, Assaf Gordon wrote: > Hello Jim > >> On Jul 31, 2016, at 03:08, Jim Meyering wrote: >> >> diffutils snapshot: >> http://meyering.net/diff/diffutils-3.3.50-0353.tar.xz >> > > The "colors" test seems to succeed on Fedora/CentOS/SUSE systems (of various versions), but fail on others (Ubuntu, Debian, FreeBSD, Mac OS X). > > Attached are logs from 3 systems. From a cursory look it seems the exact same failure, but I haven't looked deeper. > No other test failures found, but I'll have more results later today. Hi Assaf, Thank you for all the speedy testing. I've looked into the failure on a Debian system for which /bin/sh is dash 0.5.8-2.2. dash's printf builtin handles \e differently -- that's easy to work around: use \033, which *is* portable. More surprising is that this generates no output: dash -c 'f() { local t=$(printf '\''\t\t'\''); printf "$t"; }; f' I.e., piping it into wc -c prints 0. With bash, it prints the expected pair of TAB bytes. I found that I could work around this nonsensical behavior by hoisting the "tab=..." definition up/out of those two functions, or by adding standard-says-never-necessary double quotes like this: dash -c 'f() { local t="$(printf '\''\t\t'\'')"; printf "$t"; }; f' However, I prefer not to work around it here (and in every other test script where this comes up), and will insulate all of our test scripts by rejecting any shell with that misbehavior, so plan to adjust init.sh to select another shell when it finds this flaw. On second thought, I will make the local change now, and sleep on the idea of making init.sh reject dash. Done in the attached patch. --94eb2c037d84ace0250538f7cc57 Content-Type: text/plain; charset=US-ASCII; name="esc-tab-dash.diff" Content-Disposition: attachment; filename="esc-tab-dash.diff" Content-Transfer-Encoding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IikK KyAgICBsb2NhbCBoZD0kKHByaW50ZiAiJGVbJHtoZH1tIikKKyAgICBsb2NhbCBhZD0kKHByaW50 ZiAiJGVbJHthZH1tIikKKyAgICBsb2NhbCBkZT0kKHByaW50ZiAiJGVbJHtkZX1tIikKKyAgICBs b2NhbCBsbj0kKHByaW50ZiAiJGVbJHtsbn1tIikKICAgICBwcmludGYgJyVzJyBcCiAiJHtsbn0x YzEkcnMKICRkZTwgYSRycwotLSAKMi44LjAtcmMyCgo= --94eb2c037d84ace0250538f7cc57-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 31 21:04:23 2016 Received: (at submit) by debbugs.gnu.org; 1 Aug 2016 01:04:24 +0000 Received: from localhost ([127.0.0.1]:52431 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bU1eZ-0000NB-HN for submit@debbugs.gnu.org; Sun, 31 Jul 2016 21:04:23 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60409) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bU1eX-0000Mw-TB for submit@debbugs.gnu.org; Sun, 31 Jul 2016 21:04:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bU1eR-00057Y-9R for submit@debbugs.gnu.org; Sun, 31 Jul 2016 21:04:16 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:55887) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bU1eR-00057S-5o for submit@debbugs.gnu.org; Sun, 31 Jul 2016 21:04:15 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51360) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bU1eO-0003oc-Em for bug-diffutils@gnu.org; Sun, 31 Jul 2016 21:04:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bU1eM-000563-UI for bug-diffutils@gnu.org; Sun, 31 Jul 2016 21:04:12 -0400 Received: from mail-oi0-x244.google.com ([2607:f8b0:4003:c06::244]:35231) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bU1eM-00055z-O7 for bug-diffutils@gnu.org; Sun, 31 Jul 2016 21:04:10 -0400 Received: by mail-oi0-x244.google.com with SMTP id w143so12667550oiw.2 for ; Sun, 31 Jul 2016 18:04:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=veVSDXGYgp8PSw3wtkX6sGfoXKwTYInJvFxaiBswN6w=; b=FIPCT8fIfZjWb9TvXeMwUjxrpfte+i48dtDR2Cgm/hd3Og6galMKWPE5yWWNhjNZKU D+/l9FviR+OLOuZJfcFlHm78sfsJZhkRWOM16FpP6ihz7amF59TGkbFsYDv4ZJjbPJN6 CgPzOpIHv1PWaC2a9Q//T19zKuVITpjAPDa9lnZSTlXl9GS8Nw3ZuHFDmyDcs5HCRQi+ pC3ZbwsoGP2bXk2o6C8sejRWKLMAD4hFZSi4zadCJdk9NFhvp6XTcVVan1BXfQiYrek5 zpkgr5rcoz0uF0IKi+w7aPCQNLtd8P1zWj0POv8MPvlZIHXQffs3A+8k7+HzukZVJn6B l3TQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=veVSDXGYgp8PSw3wtkX6sGfoXKwTYInJvFxaiBswN6w=; b=eZZXGUe10cloJt6+QbFNS7OuYakCKDgT/fLVL3cOZAnipq/vq4/ofyws78UuE60bGg 1WmsTFDAGt3FkACshdo1u8P0RfRM2UZ6Om86eMk10O7XB9kOuRahz016xNVsO20uV87w 12Rl35KRxmiS6q8wHQ2tNUVSqCHVzulpDbuNpXJsjG8VDrASUx/wLFZQJ9PwEgl36yji JrsjgDJx5jfcmR+jsuBET3bZWfl2xTHGfMdxhHh+ZQ3GEGnPQ8WopOcnjYgm69eUXPh6 x0s40LlcviwcgvvxtcMw7DnhNyffqgMNAtj209CL6uveCVXqPi98UAbcT13mdOLzbwJg kV/Q== X-Gm-Message-State: AEkoouuKVOmbJh1op/yET/RjQbopNrVieOKLqm/IqWsD2s21XR+Xs09Y7vqZtkSu3pbUULPJeUvynMCYMfolcA== X-Received: by 10.157.44.152 with SMTP id p24mr33665372otb.126.1470013450239; Sun, 31 Jul 2016 18:04:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.236.73 with HTTP; Sun, 31 Jul 2016 18:03:50 -0700 (PDT) In-Reply-To: References: <9C56E56C-4D31-46AB-AC75-1AA8A759BF4D@gmail.com> From: Jim Meyering Date: Sun, 31 Jul 2016 18:03:50 -0700 X-Google-Sender-Auth: -N1NrPk4Wokmw9zbbhmFNfT_2_I Message-ID: Subject: Re: [platform-testers] new snapshot available: diffutils-3.3.50-0353 To: Assaf Gordon Content-Type: multipart/mixed; boundary=001a113ec9ae84aaa60538f82da3 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit Cc: bug-diffutils@gnu.org 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: -4.0 (----) --001a113ec9ae84aaa60538f82da3 Content-Type: text/plain; charset=UTF-8 By the way, here's another patch that I required, in order to bootstrap from latest gnulib. Just pushed, along with the fix+workaround for that test failure. --001a113ec9ae84aaa60538f82da3 Content-Type: text/plain; charset=US-ASCII; name="remove-gl-lib-reg--c-diff.diff" Content-Disposition: attachment; filename="remove-gl-lib-reg--c-diff.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: f_irbc0rsh1 RnJvbSBlOTc0MTE4NzE5YjlmNzlhZGYzNjQ1NDE1MWIxM2ViMjYyMmZhYTkzIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBKaW0gTWV5ZXJpbmcgPG1leWVyaW5nQGZiLmNvbT4KRGF0ZTog U3VuLCAzMSBKdWwgMjAxNiAxNzo0NjoxNyAtMDcwMApTdWJqZWN0OiBbUEFUQ0hdIG1haW50OiBy ZW1vdmUgZ2wvbGliL3JlZyouYy5kaWZmOyBubyBsb25nZXIgbmVlZGVkCgoqIGdsL2xpYi9yZWdj b21wLmMuZGlmZjogUmVtb3ZlIGZpbGUsIG5vdyB0aGF0IGdudWxpYidzCnJlZ2NvbXAuYyBjb21w aWxlcyByZWdleC5jIHdpdGggLVduby11bnVzZWQtcGFyYW1ldGVyLgoqIGdsL2xpYi9yZWdleF9p bnRlcm5hbC5jLmRpZmY6IFRoaXMgZmlsZSBpbmR1Y2VkIGEgY2hhbmdlIHRvIGVuc3VyZQp0aGF0 IHRoZSAiSWR4IiB0eXBlIHdhcyB1bnNpZ25lZCBhbmQgdG8gcmVtb3ZlIGEgZmV3ICJWQVIgPCAw Igpjb21wYXJpc29ucy4gIFRoZXNlIGRheXMsIGl0IGlzIHByb2JhYmx5IGZpbmUgdG8gc3RheSBp biBzeW5jIHdpdGgKZ251bGliL2dsaWJjJ3MgY29waWVzCm9mIHRoZXNlIGZpbGVzLCBzbyByZW1v dmUgdGhlc2UgcGF0Y2hlcywgdG9vLgoqIGdsL2xpYi9yZWdleGVjLmMuZGlmZjogTGlrZXdpc2Uu ClByb21wdGVkIGJ5IGEgcmVwb3J0IGJ5IEFzc2FmIEdvcmRvbiB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d0aDsKLS0gIGVsc2UgaWYgKEJF IChsYXN0X3N0YXJ0IDwgMCB8fCAocmFuZ2UgPCAwICYmIHN0YXJ0IDw9IGxhc3Rfc3RhcnQpLCAw KSkKLSsgIGVsc2UgaWYgKEJFICgvKiBsYXN0X3N0YXJ0IDwgMCB8fCAqLyAocmFuZ2UgPCAwICYm IHN0YXJ0IDw9IGxhc3Rfc3RhcnQpLCAwKSkKLSAgICAgbGFzdF9zdGFydCA9IDA7Ci0KLSAgIF9f bGliY19sb2NrX2xvY2sgKGRmYS0+bG9jayk7Ci0tIAoyLjguMC1yYzIKCg== --001a113ec9ae84aaa60538f82da3-- From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 01 11:28:08 2016 Received: (at 24116) by debbugs.gnu.org; 1 Aug 2016 15:28:08 +0000 Received: from localhost ([127.0.0.1]:53095 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bUF8R-0007qO-Tp for submit@debbugs.gnu.org; Mon, 01 Aug 2016 11:28:08 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45812) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bUF8P-0007pt-Nh for 24116@debbugs.gnu.org; Mon, 01 Aug 2016 11:28:06 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id D53E5C04B307; Mon, 1 Aug 2016 15:27:59 +0000 (UTC) Received: from [10.3.116.30] (ovpn-116-30.phx2.redhat.com [10.3.116.30]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u71FRxmj005629; Mon, 1 Aug 2016 11:27:59 -0400 Subject: Re: [bug-diffutils] bug#24116: [platform-testers] new snapshot available: diffutils-3.3.50-0353 To: Jim Meyering , Assaf Gordon References: <9C56E56C-4D31-46AB-AC75-1AA8A759BF4D@gmail.com> From: Eric Blake Openpgp: url=http://people.redhat.com/eblake/eblake.gpg Organization: Red Hat, Inc. Message-ID: <579F6A7E.6080307@redhat.com> Date: Mon, 1 Aug 2016 09:27:58 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="wqMH9FgaUOxGJd3l8ntpMk8jW3ojp9hRi" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Mon, 01 Aug 2016 15:28:00 +0000 (UTC) X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 24116 Cc: 24116@debbugs.gnu.org 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: -6.3 (------) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --wqMH9FgaUOxGJd3l8ntpMk8jW3ojp9hRi Content-Type: multipart/mixed; boundary="u4cW1jxXfe1bDPM9avX1pKDDwV1tB0DG6" From: Eric Blake To: Jim Meyering , Assaf Gordon Cc: 24116@debbugs.gnu.org Message-ID: <579F6A7E.6080307@redhat.com> Subject: Re: [bug-diffutils] bug#24116: [platform-testers] new snapshot available: diffutils-3.3.50-0353 References: <9C56E56C-4D31-46AB-AC75-1AA8A759BF4D@gmail.com> In-Reply-To: --u4cW1jxXfe1bDPM9avX1pKDDwV1tB0DG6 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 07/31/2016 06:36 PM, Jim Meyering wrote: > dash's printf builtin handles \e differently -- that's easy to work > around: use \033, which *is* portable. > More surprising is that this generates no output: >=20 > dash -c 'f() { local t=3D$(printf '\''\t\t'\''); printf "$t"; }; f' That's because you made the classic mistake of using local AND assigning to the variable at the same time. This works: dash -c 'f() { local t; t=3D$(...); printf "$t"; }; f' The difference? There is a notion of an assignment context: http://austingroupbugs.net/view.php?id=3D351 Bash treats 'local' like 'export' in introducing an assignment context (so "" around local t=3D$() is optional); but 'local' is not specified by= POSIX, so dash does NOT treat it as an assignment context. Since local is a command name, you MUST use "" in all subsequent words, or else defer the actual assignments to standalone statements, to get assignment context. >=20 > I.e., piping it into wc -c prints 0. > With bash, it prints the expected pair of TAB bytes. > I found that I could work around this nonsensical behavior by hoisting > the "tab=3D..." definition up/out of those two functions, or by adding > standard-says-never-necessary double quotes like this: >=20 > dash -c 'f() { local t=3D"$(printf '\''\t\t'\'')"; printf "$t"; }; f'= Umm, the standard is silent. local is not defined by the standard. >=20 > However, I prefer not to work around it here (and in every other test > script where this comes up), and will insulate all of our test scripts > by rejecting any shell with that misbehavior, so plan to adjust > init.sh to select another shell when it finds this flaw. It's not a flaw in dash, but in your expectations. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --u4cW1jxXfe1bDPM9avX1pKDDwV1tB0DG6-- --wqMH9FgaUOxGJd3l8ntpMk8jW3ojp9hRi Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJXn2p+AAoJEKeha0olJ0NqXs8H/1XLRg7K8J2Fl9FLp7PXwDPV P60FPVF+zodNAKjcQadfN9prExoBpfFpdE04Mfg3utDKq+jFl8/qP09K5Aiq1DaI opyTKRDc+DeIF1UQMbJtiZslys+Plpq9bW0nCA5DPUtFGSsGpTg5mS8U7WXLHd89 WoRZ2hQjog8E0yIj5T8NjEY247y+M7LHW4Czb1c4aYk6CNZ4y8pv7iuF/jz2PR53 Dos2ruh/p8kIQVVy2XgWpnhM8/DedJ0sriEm8m+y4M/HY5MJDSidUVmSzS/dzuRg uyp9qXCrq70x7O9WL8+Qj1V3oCuuMINxXq5RqIZ5nkFa+BBJkNztnn4tnH9gQ2g= =6pV6 -----END PGP SIGNATURE----- --wqMH9FgaUOxGJd3l8ntpMk8jW3ojp9hRi-- From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 01 11:38:12 2016 Received: (at 24116) by debbugs.gnu.org; 1 Aug 2016 15:38:12 +0000 Received: from localhost ([127.0.0.1]:53102 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bUFIB-00084z-UO for submit@debbugs.gnu.org; Mon, 01 Aug 2016 11:38:12 -0400 Received: from mail-oi0-f66.google.com ([209.85.218.66]:33844) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bUFIA-00084m-Ah for 24116@debbugs.gnu.org; Mon, 01 Aug 2016 11:38:10 -0400 Received: by mail-oi0-f66.google.com with SMTP id c199so14173070oig.1 for <24116@debbugs.gnu.org>; Mon, 01 Aug 2016 08:38:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=RfffwvBt6thE51L5iocNLfT7HPz0Lm1OwQm9dXiIIZk=; b=atynikOrU3rJPGtLogBKyXMnelI1kjDGCghcJSho0EgaCxt5JtYa0uTvBz+JSn61Ey lq1e0mCN8CeVaJKBlgRArrLV6B6rgWXBsqc2YjqYghp2iQwl8QLq31zovDj6pxe580Vy 1BzTwCuJIdoqOq9s0bMWCpiZmOTEiyBcihmYVP/BKQrYjYaGoM4D62L7i7u2jhVDr6M8 LsN/EldOxOZcAE38J8UaKYOJ+05rUpVx4H9a8wrH4O+8NbltoyVfvEWpUIxFNK3VOWnd jpktqhRMq89yXODCmnnKk2HL1hWGVrCb+sYdluUQXCKYFL+bHIdIkBd+LV+U2w5UeTcD RP9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=RfffwvBt6thE51L5iocNLfT7HPz0Lm1OwQm9dXiIIZk=; b=Jb5cvDg0Qmw59iV1dkpm3kcoc4hjb8E4xY+047GrpH/GYQspvY6XeYzVe2RWYrQkyP WNdks58L2Wc+znaKpQkXkNUwbuDwyG4kg6KzLm1XyhzSHLOe7mQet7QENsAA8ycqoGPG llclLdXtGI+t1yLPmJet2+CB0wby6JmJOswTcuWVk/ufEKuklfZpphTIoO8hLIXs8s+9 dBC66d9ar9GBEO38SNce8P+OyiZrYR/xKk3572fVs0k5jRcLhCVRTaah21cmmBDT6CUt IP+SzeFXf2VwxfSn17vY5hhgl7qIXn2oEOruRYJPzgW2GJx6zoPPRPzTTteFlASZBtTA 1wxw== X-Gm-Message-State: AEkoouuVOod8Emt750MdO42kdYSzu40PJN3XAdYcRD6/fkPxS+ddm+Zi+cf+Q1dgEvZsMAUu1J3h8bNTQSvxRA== X-Received: by 10.157.47.103 with SMTP id h94mr35540507otb.170.1470065884630; Mon, 01 Aug 2016 08:38:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.236.73 with HTTP; Mon, 1 Aug 2016 08:37:44 -0700 (PDT) In-Reply-To: <579F6A7E.6080307@redhat.com> References: <9C56E56C-4D31-46AB-AC75-1AA8A759BF4D@gmail.com> <579F6A7E.6080307@redhat.com> From: Jim Meyering Date: Mon, 1 Aug 2016 08:37:44 -0700 X-Google-Sender-Auth: Oddp5ZmWZPStdZDIn4njx9GJMJQ Message-ID: Subject: Re: [bug-diffutils] bug#24116: [platform-testers] new snapshot available: diffutils-3.3.50-0353 To: Eric Blake Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 24116 Cc: Assaf Gordon , 24116@debbugs.gnu.org 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: -0.7 (/) On Mon, Aug 1, 2016 at 8:27 AM, Eric Blake wrote: > On 07/31/2016 06:36 PM, Jim Meyering wrote: > >> dash's printf builtin handles \e differently -- that's easy to work >> around: use \033, which *is* portable. >> More surprising is that this generates no output: >> >> dash -c 'f() { local t=$(printf '\''\t\t'\''); printf "$t"; }; f' > > That's because you made the classic mistake of using local AND assigning > to the variable at the same time. > > This works: > > dash -c 'f() { local t; t=$(...); printf "$t"; }; f' > > The difference? There is a notion of an assignment context: > http://austingroupbugs.net/view.php?id=351 > > Bash treats 'local' like 'export' in introducing an assignment context > (so "" around local t=$() is optional); but 'local' is not specified by > POSIX, so dash does NOT treat it as an assignment context. Since local > is a command name, you MUST use "" in all subsequent words, or else > defer the actual assignments to standalone statements, to get assignment > context. > >> >> I.e., piping it into wc -c prints 0. >> With bash, it prints the expected pair of TAB bytes. >> I found that I could work around this nonsensical behavior by hoisting >> the "tab=..." definition up/out of those two functions, or by adding >> standard-says-never-necessary double quotes like this: >> >> dash -c 'f() { local t="$(printf '\''\t\t'\'')"; printf "$t"; }; f' > > Umm, the standard is silent. local is not defined by the standard. > >> >> However, I prefer not to work around it here (and in every other test >> script where this comes up), and will insulate all of our test scripts >> by rejecting any shell with that misbehavior, so plan to adjust >> init.sh to select another shell when it finds this flaw. > > It's not a flaw in dash, but in your expectations. Thanks for the explanation. This is a corner of the non-standard that I prefer not to have to remember and constantly work around. IMHO, bash and zsh get it right, and dash chose behavior that makes shell scripting with it harder than necessary. From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 05 08:47:07 2016 Received: (at 24116) by debbugs.gnu.org; 5 Aug 2016 12:47:07 +0000 Received: from localhost ([127.0.0.1]:56224 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bVeWp-0000BE-1B for submit@debbugs.gnu.org; Fri, 05 Aug 2016 08:47:07 -0400 Received: from mga11.intel.com ([192.55.52.93]:60170) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bVeWm-0000Ai-2c for 24116@debbugs.gnu.org; Fri, 05 Aug 2016 08:47:05 -0400 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 05 Aug 2016 05:46:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,474,1464678000"; d="scan'208";a="1035692874" Received: from dsgordon-linux2.isw.intel.com (HELO [10.102.226.88]) ([10.102.226.88]) by fmsmga002.fm.intel.com with ESMTP; 05 Aug 2016 05:46:58 -0700 Subject: Re: [bug-diffutils] bug#24116: [platform-testers] new snapshot available: diffutils-3.3.50-0353 To: Jim Meyering , Assaf Gordon References: <9C56E56C-4D31-46AB-AC75-1AA8A759BF4D@gmail.com> From: Dave Gordon Organization: Intel Corporation (UK) Ltd. - Co. Reg. #1134945 - Pipers Way, Swindon SN3 1RJ Message-ID: <2e1ea9a1-278e-8979-023b-72f77d677f5f@intel.com> Date: Fri, 5 Aug 2016 13:46:56 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 24116 Cc: 24116@debbugs.gnu.org, dash@vger.kernel.org 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: -6.3 (------) On 01/08/16 01:36, Jim Meyering wrote: > On Sun, Jul 31, 2016 at 10:17 AM, Assaf Gordon wrote: >> Hello Jim >> >>> On Jul 31, 2016, at 03:08, Jim Meyering wrote: >>> >>> diffutils snapshot: >>> http://meyering.net/diff/diffutils-3.3.50-0353.tar.xz >> >> The "colors" test seems to succeed on Fedora/CentOS/SUSE systems (of various versions), but fail on others (Ubuntu, Debian, FreeBSD, Mac OS X). >> >> Attached are logs from 3 systems. From a cursory look it seems the exact same failure, but I haven't looked deeper. >> No other test failures found, but I'll have more results later today. > > Hi Assaf, > Thank you for all the speedy testing. > I've looked into the failure on a Debian system for which /bin/sh is > dash 0.5.8-2.2. > dash's printf builtin handles \e differently -- that's easy to work > around: use \033, which *is* portable. > More surprising is that this generates no output: > > dash -c 'f() { local t=$(printf '\''\t\t'\''); printf "$t"; }; f' > > I.e., piping it into wc -c prints 0. > With bash, it prints the expected pair of TAB bytes. > I found that I could work around this nonsensical behavior by hoisting > the "tab=..." definition up/out of those two functions, or by adding > standard-says-never-necessary double quotes like this: > > dash -c 'f() { local t="$(printf '\''\t\t'\'')"; printf "$t"; }; f' > > However, I prefer not to work around it here (and in every other test > script where this comes up), and will insulate all of our test scripts > by rejecting any shell with that misbehavior, so plan to adjust > init.sh to select another shell when it finds this flaw. > > On second thought, I will make the local change now, and sleep on the > idea of making init.sh reject dash. > Done in the attached patch. No, that's definitely a dash(1) bug, and quite a serious one. Here's a variant that makes it more obvious: # Define our test string, without too much complicated quoting $ X='f() { local t=$(printf "abc"); printf "$t"; }; f' $ bash -c "$X" | hd 00000000 61 62 63 |abc| 00000003 $ dash -c "$X" | hd 00000000 61 62 63 |abc| 00000003 # As expected, we get the same result from bash(1) and dash(1). # Now try a different test string: $ X='f() { local t=$(printf "a\tc"); printf "$t"; }; f' $ bash -c "$X" | hd 00000000 61 09 63 |a.c| 00000003 $ dash -c "$X" | hd 00000000 61 |a| 00000001 # Wibble! dash(1) has truncated the string at the TAB :( # In fact it's worse that that $ X='f() { local t=$(printf "a\tc=d"); printf "$t+$c"; }; f' $ bash -c "$X" | hd 00000000 61 09 63 3d 64 2b |a.c=d+| 00000006 $ dash -c "$X" | hd 00000000 61 2b 64 |a+d| 00000003 What dash(1) appears to have done is silently take the TAB as the terminator of the containing double-quoted string, AND of the containing $() construct, as well as a whitespace, so that the "c=d" is taken as the next argument to the 'local' builtin. I suspect this unexpected termination of the inner quoted-string could be quite exploitable! .Dave. From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 05 10:09:08 2016 Received: (at 24116) by debbugs.gnu.org; 5 Aug 2016 14:09:08 +0000 Received: from localhost ([127.0.0.1]:56761 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bVfoC-0002I7-EB for submit@debbugs.gnu.org; Fri, 05 Aug 2016 10:09:08 -0400 Received: from mga09.intel.com ([134.134.136.24]:62069) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bVfoA-0002Hz-L7 for 24116@debbugs.gnu.org; Fri, 05 Aug 2016 10:09:07 -0400 Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP; 05 Aug 2016 07:09:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,474,1464678000"; d="scan'208";a="860328486" Received: from dsgordon-linux2.isw.intel.com (HELO [10.102.226.88]) ([10.102.226.88]) by orsmga003.jf.intel.com with ESMTP; 05 Aug 2016 07:09:04 -0700 Subject: Re: [bug-diffutils] bug#24116: [platform-testers] new snapshot available: diffutils-3.3.50-0353 To: Harald van Dijk References: <9C56E56C-4D31-46AB-AC75-1AA8A759BF4D@gmail.com> <2e1ea9a1-278e-8979-023b-72f77d677f5f@intel.com> <90e016d1-e0be-83c8-d0ee-ecb5665318ef@gigawatt.nl> From: Dave Gordon Organization: Intel Corporation (UK) Ltd. - Co. Reg. #1134945 - Pipers Way, Swindon SN3 1RJ Message-ID: <7564725e-88c1-a66e-9891-d96d56585c13@intel.com> Date: Fri, 5 Aug 2016 15:09:03 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <90e016d1-e0be-83c8-d0ee-ecb5665318ef@gigawatt.nl> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 24116 Cc: 24116@debbugs.gnu.org, dash@vger.kernel.org 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: -6.3 (------) On 05/08/16 14:13, Harald van Dijk wrote: > On 5-8-2016 14:46, Dave Gordon wrote: >> On 01/08/16 01:36, Jim Meyering wrote: >>> On Sun, Jul 31, 2016 at 10:17 AM, Assaf Gordon >>> wrote: >>>> Hello Jim >>>> >>>>> On Jul 31, 2016, at 03:08, Jim Meyering wrote: >>>>> >>>>> diffutils snapshot: >>>>> http://meyering.net/diff/diffutils-3.3.50-0353.tar.xz >>>> >>>> The "colors" test seems to succeed on Fedora/CentOS/SUSE systems (of >>>> various versions), but fail on others (Ubuntu, Debian, FreeBSD, Mac >>>> OS X). >>>> >>>> Attached are logs from 3 systems. From a cursory look it seems the >>>> exact same failure, but I haven't looked deeper. >>>> No other test failures found, but I'll have more results later today. >>> >>> Hi Assaf, >>> Thank you for all the speedy testing. >>> I've looked into the failure on a Debian system for which /bin/sh is >>> dash 0.5.8-2.2. >>> dash's printf builtin handles \e differently -- that's easy to work >>> around: use \033, which *is* portable. >>> More surprising is that this generates no output: >>> >>> dash -c 'f() { local t=$(printf '\''\t\t'\''); printf "$t"; }; f' >>> >>> I.e., piping it into wc -c prints 0. >>> With bash, it prints the expected pair of TAB bytes. >>> I found that I could work around this nonsensical behavior by hoisting >>> the "tab=..." definition up/out of those two functions, or by adding >>> standard-says-never-necessary double quotes like this: >>> >>> dash -c 'f() { local t="$(printf '\''\t\t'\'')"; printf "$t"; }; f' >>> >>> However, I prefer not to work around it here (and in every other test >>> script where this comes up), and will insulate all of our test scripts >>> by rejecting any shell with that misbehavior, so plan to adjust >>> init.sh to select another shell when it finds this flaw. >>> >>> On second thought, I will make the local change now, and sleep on the >>> idea of making init.sh reject dash. >>> Done in the attached patch. >> >> No, that's definitely a dash(1) bug, and quite a serious one. Here's a >> variant that makes it more obvious: >> >> # Define our test string, without too much complicated quoting >> $ X='f() { local t=$(printf "abc"); printf "$t"; }; f' >> $ bash -c "$X" | hd >> 00000000 61 62 63 |abc| >> 00000003 >> $ dash -c "$X" | hd >> 00000000 61 62 63 |abc| >> 00000003 >> # As expected, we get the same result from bash(1) and dash(1). >> >> # Now try a different test string: >> $ X='f() { local t=$(printf "a\tc"); printf "$t"; }; f' >> $ bash -c "$X" | hd >> 00000000 61 09 63 |a.c| >> 00000003 >> $ dash -c "$X" | hd >> 00000000 61 |a| >> 00000001 >> # Wibble! dash(1) has truncated the string at the TAB :( >> >> # In fact it's worse that that >> $ X='f() { local t=$(printf "a\tc=d"); printf "$t+$c"; }; f' >> $ bash -c "$X" | hd >> 00000000 61 09 63 3d 64 2b |a.c=d+| >> 00000006 >> $ dash -c "$X" | hd >> 00000000 61 2b 64 |a+d| >> 00000003 >> >> What dash(1) appears to have done is silently take the TAB as >> the terminator of the containing double-quoted string, AND of >> the containing $() construct, as well as a whitespace, so that >> the "c=d" is taken as the next argument to the 'local' builtin. >> >> I suspect this unexpected termination of the inner quoted-string >> could be quite exploitable! > > This gets reported relatively frequently. The local command is > non-standard but a common extension in shells. In the shells that > provide it, it gets treated the same, syntax-wise, as the standard > export command, including in dash. > > Unfortunately, POSIX currently requires the export command to not have > any magic quoting, and any POSIX-conforming shell will make > > a="b c=d" > export a=$a > > set a to b, and c to d. Not so with bash, but that's because bash simply > isn't POSIX-conforming, even if invoked as sh. > > POSIX will require special quoting rules for the export command in the > future, similar to what bash does today. When it does, dash is likely to > change to match that, and the local command will likely be changed to > work the same way. > > Right now, though, since the special quoting behaviour is non-standard, > this is a bug in the script unless the script is explicitly stated to > work only with specific shells. If the script is meant to be portable, > even if only across shells that provide the local command, quoting > $(...) is the right thing to do. > > Alternatively: > > local a > a=$(...) > > should work too, including in dash. Since a=$(...) is not an argument to > any command here, since it's the shell syntax that says it's an > assignment rather than the semantics of a particular command, field > splitting won't happen here. > > Cheers, > Harald van Dijk Hi, thanks for the explanation :) I had devised a few more tests and realised that dash is applying word-splitting after substitution, as would be expected for ordinary external commands e.g. $ X="256 if=foo" $ dd bs=$X dd: failed to open ‘foo’: No such file or directory where one would always expect to write bs="$X" with quotes if one wanted to ensure that it was taken as a single parameter and without quotes if one wanted it to be broken into multiple words. It was just a surprise to find this (rather than bash's implicit quoting) applying to dash builtin commands! Another variant that does work, this time by escaping rather than quoting the TAB, and deferring conversion of '\t' into a TAB until after the word-splitting: $ X='f() { local t=$(printf a\\\\tc=d); printf "$t+$c"; }; f' $ bash -c "$X" | hd 00000000 61 09 63 3d 64 2b |a.c=d+| 00000006 $ dash -c "$X" | hd 00000000 61 09 63 3d 64 2b |a.c=d+| 00000006 Cheers, .Dave. From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 05 11:33:46 2016 Received: (at 24116) by debbugs.gnu.org; 5 Aug 2016 15:33:46 +0000 Received: from localhost ([127.0.0.1]:56809 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bVh85-0004GC-Nk for submit@debbugs.gnu.org; Fri, 05 Aug 2016 11:33:46 -0400 Received: from lb3-smtp-cloud3.xs4all.net ([194.109.24.30]:40072) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bVewT-0000lQ-5X for 24116@debbugs.gnu.org; Fri, 05 Aug 2016 09:13:38 -0400 Received: from [10.20.1.30] ([145.131.163.129]) by smtp-cloud3.xs4all.net with ESMTP id TRDR1t00B2npLFD01RDSh8; Fri, 05 Aug 2016 15:13:30 +0200 Subject: Re: [bug-diffutils] bug#24116: [platform-testers] new snapshot available: diffutils-3.3.50-0353 To: Dave Gordon , Jim Meyering , Assaf Gordon References: <9C56E56C-4D31-46AB-AC75-1AA8A759BF4D@gmail.com> <2e1ea9a1-278e-8979-023b-72f77d677f5f@intel.com> From: Harald van Dijk Message-ID: <90e016d1-e0be-83c8-d0ee-ecb5665318ef@gigawatt.nl> Date: Fri, 5 Aug 2016 15:13:25 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <2e1ea9a1-278e-8979-023b-72f77d677f5f@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 24116 X-Mailman-Approved-At: Fri, 05 Aug 2016 11:33:44 -0400 Cc: 24116@debbugs.gnu.org, dash@vger.kernel.org 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: 0.2 (/) On 5-8-2016 14:46, Dave Gordon wrote: > On 01/08/16 01:36, Jim Meyering wrote: >> On Sun, Jul 31, 2016 at 10:17 AM, Assaf Gordon >> wrote: >>> Hello Jim >>> >>>> On Jul 31, 2016, at 03:08, Jim Meyering wrote: >>>> >>>> diffutils snapshot: >>>> http://meyering.net/diff/diffutils-3.3.50-0353.tar.xz >>> >>> The "colors" test seems to succeed on Fedora/CentOS/SUSE systems (of >>> various versions), but fail on others (Ubuntu, Debian, FreeBSD, Mac >>> OS X). >>> >>> Attached are logs from 3 systems. From a cursory look it seems the >>> exact same failure, but I haven't looked deeper. >>> No other test failures found, but I'll have more results later today. >> >> Hi Assaf, >> Thank you for all the speedy testing. >> I've looked into the failure on a Debian system for which /bin/sh is >> dash 0.5.8-2.2. >> dash's printf builtin handles \e differently -- that's easy to work >> around: use \033, which *is* portable. >> More surprising is that this generates no output: >> >> dash -c 'f() { local t=$(printf '\''\t\t'\''); printf "$t"; }; f' >> >> I.e., piping it into wc -c prints 0. >> With bash, it prints the expected pair of TAB bytes. >> I found that I could work around this nonsensical behavior by hoisting >> the "tab=..." definition up/out of those two functions, or by adding >> standard-says-never-necessary double quotes like this: >> >> dash -c 'f() { local t="$(printf '\''\t\t'\'')"; printf "$t"; }; f' >> >> However, I prefer not to work around it here (and in every other test >> script where this comes up), and will insulate all of our test scripts >> by rejecting any shell with that misbehavior, so plan to adjust >> init.sh to select another shell when it finds this flaw. >> >> On second thought, I will make the local change now, and sleep on the >> idea of making init.sh reject dash. >> Done in the attached patch. > > No, that's definitely a dash(1) bug, and quite a serious one. Here's a > variant that makes it more obvious: > > # Define our test string, without too much complicated quoting > $ X='f() { local t=$(printf "abc"); printf "$t"; }; f' > $ bash -c "$X" | hd > 00000000 61 62 63 |abc| > 00000003 > $ dash -c "$X" | hd > 00000000 61 62 63 |abc| > 00000003 > # As expected, we get the same result from bash(1) and dash(1). > > # Now try a different test string: > $ X='f() { local t=$(printf "a\tc"); printf "$t"; }; f' > $ bash -c "$X" | hd > 00000000 61 09 63 |a.c| > 00000003 > $ dash -c "$X" | hd > 00000000 61 |a| > 00000001 > # Wibble! dash(1) has truncated the string at the TAB :( > > # In fact it's worse that that > $ X='f() { local t=$(printf "a\tc=d"); printf "$t+$c"; }; f' > $ bash -c "$X" | hd > 00000000 61 09 63 3d 64 2b |a.c=d+| > 00000006 > $ dash -c "$X" | hd > 00000000 61 2b 64 |a+d| > 00000003 > > What dash(1) appears to have done is silently take the TAB as > the terminator of the containing double-quoted string, AND of > the containing $() construct, as well as a whitespace, so that > the "c=d" is taken as the next argument to the 'local' builtin. > > I suspect this unexpected termination of the inner quoted-string > could be quite exploitable! This gets reported relatively frequently. The local command is non-standard but a common extension in shells. In the shells that provide it, it gets treated the same, syntax-wise, as the standard export command, including in dash. Unfortunately, POSIX currently requires the export command to not have any magic quoting, and any POSIX-conforming shell will make a="b c=d" export a=$a set a to b, and c to d. Not so with bash, but that's because bash simply isn't POSIX-conforming, even if invoked as sh. POSIX will require special quoting rules for the export command in the future, similar to what bash does today. When it does, dash is likely to change to match that, and the local command will likely be changed to work the same way. Right now, though, since the special quoting behaviour is non-standard, this is a bug in the script unless the script is explicitly stated to work only with specific shells. If the script is meant to be portable, even if only across shells that provide the local command, quoting $(...) is the right thing to do. Alternatively: local a a=$(...) should work too, including in dash. Since a=$(...) is not an argument to any command here, since it's the shell syntax that says it's an assignment rather than the semantics of a particular command, field splitting won't happen here. Cheers, Harald van Dijk From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 05 11:54:50 2016 Received: (at 24116) by debbugs.gnu.org; 5 Aug 2016 15:54:50 +0000 Received: from localhost ([127.0.0.1]:56823 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bVhST-0004nq-W2 for submit@debbugs.gnu.org; Fri, 05 Aug 2016 11:54:50 -0400 Received: from mga04.intel.com ([192.55.52.120]:12365) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bVhSR-0004nb-SU for 24116@debbugs.gnu.org; Fri, 05 Aug 2016 11:54:48 -0400 Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP; 05 Aug 2016 08:54:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,474,1464678000"; d="scan'208";a="1030420807" Received: from dsgordon-linux2.isw.intel.com (HELO [10.102.226.88]) ([10.102.226.88]) by orsmga002.jf.intel.com with ESMTP; 05 Aug 2016 08:54:18 -0700 Subject: Re: [bug-diffutils] bug#24116: bug#24116: [platform-testers] new snapshot available: diffutils-3.3.50-0353 References: <9C56E56C-4D31-46AB-AC75-1AA8A759BF4D@gmail.com> <2e1ea9a1-278e-8979-023b-72f77d677f5f@intel.com> <90e016d1-e0be-83c8-d0ee-ecb5665318ef@gigawatt.nl> <7564725e-88c1-a66e-9891-d96d56585c13@intel.com> To: Jim Meyering From: Dave Gordon Organization: Intel Corporation (UK) Ltd. - Co. Reg. #1134945 - Pipers Way, Swindon SN3 1RJ Message-ID: <0aaa9438-2bbd-ccbc-4b32-70dc044c2331@intel.com> Date: Fri, 5 Aug 2016 16:54:17 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <7564725e-88c1-a66e-9891-d96d56585c13@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: 24116 Cc: 24116@debbugs.gnu.org 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.3 (-) On 05/08/16 15:09, Dave Gordon wrote: > On 05/08/16 14:13, Harald van Dijk wrote: >> On 5-8-2016 14:46, Dave Gordon wrote: >>> On 01/08/16 01:36, Jim Meyering wrote: >>>> On Sun, Jul 31, 2016 at 10:17 AM, Assaf Gordon >>>> wrote: >>>>> Hello Jim >>>>> >>>>>> On Jul 31, 2016, at 03:08, Jim Meyering wrote: >>>>>> >>>>>> diffutils snapshot: >>>>>> http://meyering.net/diff/diffutils-3.3.50-0353.tar.xz >>>>> >>>>> The "colors" test seems to succeed on Fedora/CentOS/SUSE systems (of >>>>> various versions), but fail on others (Ubuntu, Debian, FreeBSD, Mac >>>>> OS X). >>>>> >>>>> Attached are logs from 3 systems. From a cursory look it seems the >>>>> exact same failure, but I haven't looked deeper. >>>>> No other test failures found, but I'll have more results later today. >>>> >>>> Hi Assaf, >>>> Thank you for all the speedy testing. >>>> I've looked into the failure on a Debian system for which /bin/sh is >>>> dash 0.5.8-2.2. >>>> dash's printf builtin handles \e differently -- that's easy to work >>>> around: use \033, which *is* portable. >>>> More surprising is that this generates no output: >>>> >>>> dash -c 'f() { local t=$(printf '\''\t\t'\''); printf "$t"; }; f' >>>> >>>> I.e., piping it into wc -c prints 0. >>>> With bash, it prints the expected pair of TAB bytes. >>>> I found that I could work around this nonsensical behavior by hoisting >>>> the "tab=..." definition up/out of those two functions, or by adding >>>> standard-says-never-necessary double quotes like this: >>>> >>>> dash -c 'f() { local t="$(printf '\''\t\t'\'')"; printf "$t"; }; f' >>>> >>>> However, I prefer not to work around it here (and in every other test >>>> script where this comes up), and will insulate all of our test scripts >>>> by rejecting any shell with that misbehavior, so plan to adjust >>>> init.sh to select another shell when it finds this flaw. >>>> >>>> On second thought, I will make the local change now, and sleep on the >>>> idea of making init.sh reject dash. >>>> Done in the attached patch. [snip] >> Alternatively: >> >> local a >> a=$(...) >> >> should work too, including in dash. Since a=$(...) is not an argument to >> any command here, since it's the shell syntax that says it's an >> assignment rather than the semantics of a particular command, field >> splitting won't happen here. >> >> Cheers, >> Harald van Dijk Hi, after Harald's explanation, can I suggest you change the script to separate the "local" and the assignment? That appears to work on all shells, including dash(1) $ dash -c 'f() { local t; t=$(printf '\''\t\t'\''); printf "$t"; }; f' | hd 00000000 09 09 |..| 00000002 It's a really minimal (3-character) change, and it's less ugly than adding the extra quotes that the standard seems to say should never be needed :) .Dave. From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 05 12:21:27 2016 Received: (at 24116) by debbugs.gnu.org; 5 Aug 2016 16:21:27 +0000 Received: from localhost ([127.0.0.1]:56828 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bVhsF-0005Sh-9I for submit@debbugs.gnu.org; Fri, 05 Aug 2016 12:21:27 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46500) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bVhsD-0005SW-3R for 24116@debbugs.gnu.org; Fri, 05 Aug 2016 12:21:26 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 3A3AF85376; Fri, 5 Aug 2016 16:21:22 +0000 (UTC) Received: from [10.3.116.153] (ovpn-116-153.phx2.redhat.com [10.3.116.153]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u75GLL3Q009238; Fri, 5 Aug 2016 12:21:21 -0400 Subject: Re: [bug-diffutils] bug#24116: [platform-testers] new snapshot available: diffutils-3.3.50-0353 To: Harald van Dijk , Dave Gordon , Jim Meyering , Assaf Gordon References: <9C56E56C-4D31-46AB-AC75-1AA8A759BF4D@gmail.com> <2e1ea9a1-278e-8979-023b-72f77d677f5f@intel.com> <90e016d1-e0be-83c8-d0ee-ecb5665318ef@gigawatt.nl> From: Eric Blake Openpgp: url=http://people.redhat.com/eblake/eblake.gpg Organization: Red Hat, Inc. Message-ID: <57A4BD00.1080900@redhat.com> Date: Fri, 5 Aug 2016 10:21:20 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <90e016d1-e0be-83c8-d0ee-ecb5665318ef@gigawatt.nl> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="WpCi8Wkvk7b18FHwg7Snb6dkwdsdRVhpT" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Fri, 05 Aug 2016 16:21:23 +0000 (UTC) X-Spam-Score: -6.2 (------) X-Debbugs-Envelope-To: 24116 Cc: 24116@debbugs.gnu.org, dash@vger.kernel.org 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: -6.2 (------) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --WpCi8Wkvk7b18FHwg7Snb6dkwdsdRVhpT Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 08/05/2016 07:13 AM, Harald van Dijk wrote: >=20 > Unfortunately, POSIX currently requires the export command to not have > any magic quoting, and any POSIX-conforming shell will make >=20 > a=3D"b c=3Dd" > export a=3D$a >=20 > set a to b, and c to d. Not so with bash, but that's because bash simpl= y > isn't POSIX-conforming, even if invoked as sh. Not quite so fast. >=20 > POSIX will require special quoting rules for the export command in the > future, similar to what bash does today. When it does, dash is likely t= o > change to match that, and the local command will likely be changed to > work the same way. POSIX has already issued an interpretation request, and therefore, any CURRENT implementations (including bash) that already behave as permitted by the interpretation ARE conforming. Dash is still currently conforming per the current version of POSIX, but will be non-conforming when the interpretation request goes live in the next revision of POSIX, while bash is already conforming both now and in the future revision, without change. So I would suggest that dash make the change to implement assignment context to 'export', 'readonly', and 'local' sooner, rather than later. http://austingroupbugs.net/view.php?id=3D351 --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --WpCi8Wkvk7b18FHwg7Snb6dkwdsdRVhpT Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJXpL0AAAoJEKeha0olJ0Nqk4QH/jYNanus773AZYEmL+hnFtNl vSP7xXRWMyW2OpL9oL2mPTOaJ38McBPaE6rLj264S81Zu5WPKYebay6noJsYVpok a1+EF+UC8wy8gJz/Qsw/BmS18Q2Nr9t9zj5/vQ48IMBXEDdiOwqlOtc7nH7tckwa cQczlAYQV/rlVW1g7kPkcOMJzMKLRHjqYLI6POg06WHExC/T2vMt4i+9MW5eoM81 jf9yRNtBOzJ3Lx3Si1+CCMb7x/Qkuq5hpaFimOY4Z8X6wcKWB3BgjlyQCZl7Nee2 CjQWW8Vzd7wc12zrBAjZMIRg7jQgL+MuAB1ZP1ZyUUa298eaC4nsLkOG2DtwQI0= =JUKJ -----END PGP SIGNATURE----- --WpCi8Wkvk7b18FHwg7Snb6dkwdsdRVhpT-- From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 05 13:15:15 2016 Received: (at 24116) by debbugs.gnu.org; 5 Aug 2016 17:15:15 +0000 Received: from localhost ([127.0.0.1]:56844 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bViiI-0006il-U5 for submit@debbugs.gnu.org; Fri, 05 Aug 2016 13:15:15 -0400 Received: from mailfilter1-k0683s008.csv-networks.nl ([92.48.231.157]:40918) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bViiG-0006iW-Fe for 24116@debbugs.gnu.org; Fri, 05 Aug 2016 13:15:13 -0400 Received: from [84.244.151.217] (helo=hosting12.csv-networks.nl) by mailfilter1-k0683s008.csv-networks.nl with esmtps (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1bVilU-00019e-PG; Fri, 05 Aug 2016 17:18:32 +0000 Received: from home.gigawatt.nl ([83.163.3.213] helo=[192.168.178.26]) by hosting12.csv-networks.nl with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.85) (envelope-from ) id 1bVii8-00053R-FL; Fri, 05 Aug 2016 19:15:04 +0200 Subject: Re: [bug-diffutils] bug#24116: [platform-testers] new snapshot available: diffutils-3.3.50-0353 To: Eric Blake , Dave Gordon , Jim Meyering , Assaf Gordon References: <9C56E56C-4D31-46AB-AC75-1AA8A759BF4D@gmail.com> <2e1ea9a1-278e-8979-023b-72f77d677f5f@intel.com> <90e016d1-e0be-83c8-d0ee-ecb5665318ef@gigawatt.nl> <57A4BD00.1080900@redhat.com> From: Harald van Dijk Message-ID: <82552903-31e7-eeb1-948d-3bbac2288046@gigawatt.nl> Date: Fri, 5 Aug 2016 19:15:02 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <57A4BD00.1080900@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 24116 Cc: 24116@debbugs.gnu.org, dash@vger.kernel.org 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: -0.0 (/) On 05/08/2016 18:21, Eric Blake wrote: > On 08/05/2016 07:13 AM, Harald van Dijk wrote: >> Unfortunately, POSIX currently requires the export command to not have >> any magic quoting, and any POSIX-conforming shell will make >> >> a="b c=d" >> export a=$a >> >> set a to b, and c to d. Not so with bash, but that's because bash simply >> isn't POSIX-conforming, even if invoked as sh. > > Not quite so fast. > >> >> POSIX will require special quoting rules for the export command in the >> future, similar to what bash does today. When it does, dash is likely to >> change to match that, and the local command will likely be changed to >> work the same way. > > POSIX has already issued an interpretation request, and therefore, any > CURRENT implementations (including bash) that already behave as > permitted by the interpretation ARE conforming. [...] > http://austingroupbugs.net/view.php?id=351 An interpretation request doesn't automatically mean that all current implementations are conforming, does it? It only means that when the interpretation response says so. In this case, the response says that the standard does not allow bash/ksh's behaviour. http://austingroupbugs.net/view.php?id=351#c865: > Interpretation response > ------------------------ > The standard states that the current behavior of ksh93 does not conform, and conforming implementations must conform to this. However, concerns have been raised about this which are being referred to the sponsor. The fact that this is seen as a defect in the standard which will be fixed, rather than a defect in bash/ksh, doesn't make bash/ksh conform, it merely means that bash/ksh shouldn't be changed to conform. From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 05 16:35:58 2016 Received: (at 24116) by debbugs.gnu.org; 5 Aug 2016 20:35:58 +0000 Received: from localhost ([127.0.0.1]:56873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bVlqX-0003E1-OZ for submit@debbugs.gnu.org; Fri, 05 Aug 2016 16:35:57 -0400 Received: from mail-oi0-f45.google.com ([209.85.218.45]:36652) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bVlqW-0003Do-Mr for 24116@debbugs.gnu.org; Fri, 05 Aug 2016 16:35:57 -0400 Received: by mail-oi0-f45.google.com with SMTP id f189so104409056oig.3 for <24116@debbugs.gnu.org>; Fri, 05 Aug 2016 13:35:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=mxWJ45LQiPyLiwvcT4KEQ4P5vOjhV5XEGk4Z+gVzPXA=; b=GGeVp1hWiz7bEwsF1oYPrYI3r7vzOkCwXUl4u0V1yhB2AS1c04ZUc92uyovsf3537S lTO7CDiACP6c7GKy1x6F7MAIlni1G+pfhepzq0+YCOqYFCFie4fLEITiQ4Cf2MHbJgvy yAiAXSN30Xshk07587x33zJC7kkpJ3w9RjR1hhHotN7YM3XVNH3FztWmQQuM50sBZvj6 Iwe7lnQVw/BnMmWGjeZbRqJlilO2j1zyFsnfO2MN61/Wdp8SO+onHqc7BuSUC7K3/lgD VtLS8ryXX3KmjS8Bo2Wx5jQ1sevp/ZaCoNynmY8IUJfQMnWOrRqNiODb21Et/h6oydDa oDvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=mxWJ45LQiPyLiwvcT4KEQ4P5vOjhV5XEGk4Z+gVzPXA=; b=Epdaj7Y2lb6QWZALbbUi0//qqOC/IsKxs+QoqhggUUTIThSXg9bFYe6Rp/rOIkE9bl NYnCQJsmlg0afFEbPGA2Fm6va9vZoVSXfidF+hgFayXE1K+XBAHIKWAxPiHWw3hiKixG DmFQX4tzQvDhUqVeP2yp7DBOvznKBlbz2sn0XC9iGz7kMXoLnbL1wkdPgzsOR2gqyKGz +gdMweL7j8uA1YyndO3msWiZKuNAoeXv4qdRJ1sja/4LLVbYW5QBOMbB66GPT2hQbV2s y7c6w67HwMaozztdOysYkBNZHJRkWjYWJuU5wWAA/df2pqvqDXJtq9DwY8v/ath5NeAm /AHw== X-Gm-Message-State: AEkoouspHKySv6FexrC5Ft4qENL3N7xcnb2ybchTFxN2vFgudy5Voh0Q6IJfIf1tHg/KsbXvVU+2O/68BlFbLA== X-Received: by 10.202.221.131 with SMTP id u125mr43789476oig.161.1470429351159; Fri, 05 Aug 2016 13:35:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.236.146 with HTTP; Fri, 5 Aug 2016 13:35:30 -0700 (PDT) In-Reply-To: <0aaa9438-2bbd-ccbc-4b32-70dc044c2331@intel.com> References: <9C56E56C-4D31-46AB-AC75-1AA8A759BF4D@gmail.com> <2e1ea9a1-278e-8979-023b-72f77d677f5f@intel.com> <90e016d1-e0be-83c8-d0ee-ecb5665318ef@gigawatt.nl> <7564725e-88c1-a66e-9891-d96d56585c13@intel.com> <0aaa9438-2bbd-ccbc-4b32-70dc044c2331@intel.com> From: Jim Meyering Date: Fri, 5 Aug 2016 13:35:30 -0700 X-Google-Sender-Auth: m831aKHqw3OYYkT01I1JWmrQ2kw Message-ID: Subject: Re: [bug-diffutils] bug#24116: bug#24116: [platform-testers] new snapshot available: diffutils-3.3.50-0353 To: Dave Gordon Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 24116 Cc: 24116@debbugs.gnu.org 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: -0.7 (/) On Fri, Aug 5, 2016 at 8:54 AM, Dave Gordon wrote: ... > > after Harald's explanation, can I suggest you change the script to > separate the "local" and the assignment? That appears to work on all > shells, including dash(1) > > $ dash -c 'f() { local t; t=$(printf '\''\t\t'\''); printf "$t"; }; f' | hd > 00000000 09 09 |..| > 00000002 > > It's a really minimal (3-character) change, and it's less ugly than > adding the extra quotes that the standard seems to say should never > be needed :) Thanks, but I've already fixed it by hoisting the definition to global scope: http://git.sv.gnu.org/cgit/diffutils.git/commit/?id=55596fcd4846a802d From debbugs-submit-bounces@debbugs.gnu.org Thu May 04 13:00:15 2017 Received: (at control) by debbugs.gnu.org; 4 May 2017 17:00:15 +0000 Received: from localhost ([127.0.0.1]:54752 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d6K6x-0004SO-6X for submit@debbugs.gnu.org; Thu, 04 May 2017 13:00:15 -0400 Received: from mail-vk0-f41.google.com ([209.85.213.41]:35194) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d6K6v-0004S9-8A for control@debbugs.gnu.org; Thu, 04 May 2017 13:00:13 -0400 Received: by mail-vk0-f41.google.com with SMTP id v20so11664045vke.2 for ; Thu, 04 May 2017 10:00:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:from:date:message-id:subject:to; bh=YJW1KhlqWuLUoMvmhtVcL/MEqkpHd6fnq4zFO76XXwM=; b=JyzQEE9LdNVpSa21QT4kquNxE7dctfQFVpyVkqePAIVXTnH7D2oXdSrDroUgiT4nZn 1DP4jadhTH7W9lnWxibaFnu5YqAfJQBx5Pd/wdMMYXeUht7ikyoal43qNJ9Uhk88qXlm 6GQImoTouw/iUmXinGnPLFVBb7Cs0RPJS4/QsPoWyNenjTsf1viXl5/WsvsfWvnF0Ogt JwRlXdc6aCidtGy2VRPMVHYhZ99Wc5JZwl/OSWRlh0kt35GGWqQXt85aJoFHo+Nk/oFR 9jMJKnWKa3wMIt4+bDTTumokqX5fYSOpgLYIoivrMrubkOalaJJAOtXEcCCMHY/E4s2P vq6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=YJW1KhlqWuLUoMvmhtVcL/MEqkpHd6fnq4zFO76XXwM=; b=YzxSmCJZEhPXG+6i6unf4MIa8IjeFbzKfwnTXcvIkXwJQ7ULwTv44D8WnrP33HE5Ei 9hfxw9GoagM40+blh7xvYAnO9g8syzxyRalw5m6karsOW6h9cNWyA2UrR8evSwFNS6BV uvTVUtl0w3XUzUVYsBWI12Dyqru5toAMVKev+YMJW02NpMjJ9IQgstRIXXAJoqw+FMjn 8get4em8XE6GQm4tftNnuJH5h8QeXgamDUnCLv0CJTDpEzsV+mU4bfIHcrh5qCpP+vKY HWgfqemQ1BdnuyqE+HYl1AzTsUn0Bo/IUROv57kCuG+lPfC6lBVO0YqNF5Pz0Obr9B9p sB7w== X-Gm-Message-State: AN3rC/5XRnOZIrb06DB5DsdI9AI9zuCqlYChqk+roamlK63wuURUwas8 m0sePhx1TOB9UTyHqh9kfZ4fIzPMgswp X-Received: by 10.31.50.9 with SMTP id y9mr17552615vky.14.1493917207034; Thu, 04 May 2017 10:00:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.86.86 with HTTP; Thu, 4 May 2017 09:59:46 -0700 (PDT) From: Jim Meyering Date: Thu, 4 May 2017 09:59:46 -0700 X-Google-Sender-Auth: 8Aqv289gxlWI_nirpLTwP8u17FI Message-ID: Subject: close non-bug tickets To: GNU bug tracker automated control server Content-Type: text/plain; charset=UTF-8 X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: control 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: 0.2 (/) tags 24116 + notabug close 24116 tags 24121 + notabug close 24121 tags 24137 + notabug close 24137 tags 24170 + notabug close 24170 tags 24187 + notabug close 24187 tags 24227 + notabug close 24227 tags 24228 + notabug close 24228 tags 24277 + notabug close 24277 thanks #24116 new snapshot available: diffutils-3.3.50-0353 #24121 new snapshot available: diffutils-3.3.52-e974 #24137 new snapshot available: diffutils-3.3.57-a37c #24170 new snapshot available: diffutils-3.3.59-0547 #24187 diffutils-3.4 released [stable] #24227 new snapshot available: diffutils-3.4.8-c06c #24228 new snapshot available: diffutils-3.4.9-d647 #24277 diffutils-3.5 released [stable] From unknown Wed Jun 18 23:05:15 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 02 Jun 2017 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator