[email protected]
[Top] [All Lists]

Bug#285038: marked as forwarded (swig: -help is on stderr)

Subject: Bug#285038: marked as forwarded swig: -help is on stderr
From: Debian Bug Tracking System
Date: Sat, 12 Feb 2005 08:18:25 -0800
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 [] 
        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 ([])
        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 ([] 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 

Content-Type: multipart/mixed; boundary="XMCwj5IQnwKtuyBG"
Content-Disposition: inline

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:


Suggested trivial patch attached.



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 @@
          } else if (strcmp(argv[i],"-help") == 0) {
-           fputs(usage1,stderr);
-           fputs(usage2,stderr);
+           fputs(usage1,stdout);
+           fputs(usage2,stdout);
            help = 1;


Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

Version: GnuPG v1.2.4 (GNU/Linux)



To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

<Prev in Thread] Current Thread [Next in Thread>
  • Bug#285038: marked as forwarded (swig: -help is on stderr), Debian Bug Tracking System <=