X2Go Bug report logs - #668
[Patch] Replace "echo -n" with printf

version graph

Package: x2goserver; Maintainer for x2goserver is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goserver is src:x2goserver.

Reported by: Lars Wendler <polynomial-c@gentoo.org>

Date: Fri, 7 Nov 2014 16:05:01 UTC

Severity: important

Tags: patch, pending

Fixed in version 4.0.1.19

Done: X2Go Release Manager <git-admin@x2go.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit@bugs.x2go.org (full text, mbox, reply):

Received: (at submit) by bugs.x2go.org; 7 Nov 2014 16:00:15 +0000
From polynomial-c@gentoo.org  Fri Nov  7 17:00:13 2014
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham
	version=3.3.2
X-Greylist: delayed 494 seconds by postgrey-1.34 at ymir.das-netzwerkteam.de; Fri, 07 Nov 2014 17:00:12 CET
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id D28F05DEA7
	for <submit@bugs.x2go.org>; Fri,  7 Nov 2014 17:00:12 +0100 (CET)
Received: from shanghai.paradoxon.rec (p4FDAB157.dip0.t-ipconnect.de [79.218.177.87])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	(Authenticated sender: polynomial-c)
	by smtp.gentoo.org (Postfix) with ESMTPSA id 85BCA340467
	for <submit@bugs.x2go.org>; Fri,  7 Nov 2014 15:51:54 +0000 (UTC)
Date: Fri, 7 Nov 2014 16:51:42 +0100
From: Lars Wendler <polynomial-c@gentoo.org>
To: submit@bugs.x2go.org
Subject: [Patch] Replace "echo -n" with printf
Message-ID: <20141107165142.7acf1f19@shanghai.paradoxon.rec>
Organization: Gentoo
X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
 boundary="Sig_/8PXTaHs71KyHfkZP6R6FisC"; protocol="application/pgp-signature"
[Message part 1 (text/plain, inline)]
Package: x2goclient
Version: git master


Hi,

at Gentoo latest version of the dash shell doesn't support "echo -n"
anymore[1]. The result is that x2gpath returns every path with a
prefixed "-n " when dash is used as /bin/sh.
Accoring to "man p1 echo" section "APPLICATION USAGE" applications
should not rely on "echo -n" but use printf instead.
The attached patch does exactly that.

Kind regards
Lars

[1] https://bugs.gentoo.org/528452

-- 
Lars Wendler
Gentoo package maintainer
GPG: 4DD8 C47C CDFA 5295 E1A6 3FC8 F696 74AB 981C A6FC
[0001-echo-n-cannot-be-expected-to-work-with-every-POSIX-s.patch (text/x-patch, attachment)]
[Message part 3 (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 14:50:54 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.