Your message dated Sat, 12 Feb 2005 17:00:19 +0100
with message-id <[EMAIL PROTECTED]>
has caused the Debian Bug report #285038,
regarding swig: -help is on stderr
to be marked as having been forwarded to the upstream software
author(s) [EMAIL PROTECTED]
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
---------------------------------------
Received: (at 285038-forwarded) by bugs.debian.org; 12 Feb 2005 16:00:56 +0000
>From [EMAIL PROTECTED] Sat Feb 12 08:00:55 2005
Return-path: <[EMAIL PROTECTED]>
Received: from tms.rz.uni-kiel.de [134.245.11.89]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1CzzhX-0004ia-00; Sat, 12 Feb 2005 08:00:55 -0800
Received: from amavis by tms.rz.uni-kiel.de with scanned-ok (Exim 4.34)
id 1Czzh1-00043m-Qf
for [EMAIL PROTECTED]; Sat, 12 Feb 2005 17:00:24 +0100
Received: from zaphod.gpi.uni-kiel.de ([134.245.120.1])
by tms.rz.uni-kiel.de with esmtp (Exim 4.34)
id 1Czzgz-00043P-8m; Sat, 12 Feb 2005 17:00:21 +0100
Received: from localhost ([127.0.0.1] helo=stargate.galaxy)
by zaphod.gpi.uni-kiel.de with esmtp (Exim 3.35 #1 (Debian))
id 1Czzgy-0007ua-00; Sat, 12 Feb 2005 17:00:20 +0100
Received: by stargate.galaxy (Postfix, from userid 1000)
id 185D8189CC; Sat, 12 Feb 2005 17:00:19 +0100 (CET)
Date: Sat, 12 Feb 2005 17:00:19 +0100
From: Torsten Landschoff <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: [PATCH] -help writes to stderr - why not stdout?
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="3Pql8miugIZX0722"
Content-Disposition: inline
User-Agent: Mutt/1.5.6+20040722i
X-Virus-Scanned: by AMaViS 0.3.12 (Uni-Kiel/tms)
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no
version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
--3Pql8miugIZX0722
Content-Type: multipart/mixed; boundary="XMCwj5IQnwKtuyBG"
Content-Disposition: inline
--XMCwj5IQnwKtuyBG
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Hi, it's me again.
A user of the swig package asked why -help outputs to stderr, as the=20
usage information is the correct output of that operation and not really
an error. I think it should go to stdout... See also:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D285038
Suggested trivial patch attached.
Greetings
Torsten
--XMCwj5IQnwKtuyBG
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="help-stdout.diff"
Index: Source/Modules/main.cxx
===================================================================
RCS file: /cvsroot/swig/SWIG/Source/Modules/main.cxx,v
retrieving revision 1.49
diff -u -r1.49 main.cxx
--- Source/Modules/main.cxx 22 Nov 2004 01:37:29 -0000 1.49
+++ Source/Modules/main.cxx 12 Feb 2005 15:55:20 -0000
@@ -521,8 +521,8 @@
Swig_error_msg_format(EMF_MICROSOFT);
Swig_mark_arg(i);
} else if (strcmp(argv[i],"-help") == 0) {
- fputs(usage1,stderr);
- fputs(usage2,stderr);
+ fputs(usage1,stdout);
+ fputs(usage2,stdout);
Swig_mark_arg(i);
help = 1;
}
--XMCwj5IQnwKtuyBG--
--3Pql8miugIZX0722
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFCDigTdQgHtVUb5EcRAlcIAJ4j3fm9RDGNahMCNK/wPTZzSgsl1wCeI/Y5
YMPuvsuYOgdwWHTxI4Jf8ZE=
=IlPS
-----END PGP SIGNATURE-----
--3Pql8miugIZX0722--
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]