[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#30773: marked as done (libc6-dev: regexp.h compares to 'n' rather than '\n')



Your message dated Fri, 12 Nov 1999 00:05:51 +0100
with message-id <19991112000551.A16688@in.tum.de>
and subject line libc6-dev: regexp.h compares to 'n' rather than '\n'
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(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.)

Darren Benham
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 16 Dec 1998 13:31:47 +0000
Received: (qmail 11716 invoked from network); 16 Dec 1998 13:31:46 -0000
Received: from irc.opoy.fi (HELO sheraton.suomi.net) (root@194.157.175.7)
  by master.debian.org with SMTP; 16 Dec 1998 13:31:46 -0000
Received: from PC486.Niemitalo.fi (anne240.wnet.opoy.fi [193.143.95.240])
	by sheraton.suomi.net (8.8.8/8.8.8) with ESMTP id PAA13135;
	Wed, 16 Dec 1998 15:31:31 +0200 (EET)
Received: from kalle by PC486.Niemitalo.fi with local (Exim 2.05 #1 (Debian))
	id 0zqFl3-0001st-00; Wed, 16 Dec 1998 14:08:49 +0200
To: submit@bugs.debian.org
Subject: libc6-dev: regexp.h compares to 'n' rather than '\n'
From: Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
X-URL: http://stekt.oulu.fi/~tosi/
Date: 16 Dec 1998 14:08:45 +0200
Message-ID: <87ogp4i90y.fsf@PC486.Niemitalo.fi>
Lines: 30
Sender: Kalle Olavi Niemitalo <kalle@Niemitalo.fi>

Package: libc6-dev
Version: 2.0.7u-5
Severity: wishlist

Line 134 of /usr/include/regexp.h:
      if (__ch == '\0' || __ch == 'n')

This is just a guess, as I've never used this code, but shouldn't this
compare __ch to '\n' rather than 'n'?  The comment on lines 93-98 says:

/* Get and compile the user supplied pattern up to end of line or
   string or until EOF is seen, whatever happens first.  The result is
   placed in the buffer starting at EXPBUG and delimited by ENDBUF.

   This function cannot be defined in the libc itself since it depends
   on the macros.  */

There's a bug in the comment as well: the real parameter is expbuf,
not expbug.

I set the severity to wishlist because I'm not sure of these being
bugs and programs shouldn't use this header anyway.

-- System Information
Debian Release: slink
Kernel Version: Linux PC486 2.0.36 #1 to marras 19 00:12:13 EET 1998 i486 unknown

Versions of the packages libc6-dev depends on:
ii  libc6           2.0.7u-5       The GNU C library version 2 (run-time files)
ii  gcc             2.7.2.3-6      The GNU C compiler.
---------------------------------------
Received: (at 30773-done) by bugs.debian.org; 11 Nov 1999 23:30:54 +0000
Received: (qmail 20012 invoked from network); 11 Nov 1999 23:30:53 -0000
Received: from tuminfo2.informatik.tu-muenchen.de (root@131.159.0.81)
  by master.debian.org with SMTP; 11 Nov 1999 23:30:53 -0000
Received: from atsystem1.informatik.tu-muenchen.de ([131.159.8.165] HELO atsystem1.informatik.tu-muenchen.de ident: postfix [port 33421]) by tuminfo2.informatik.tu-muenchen.de with SMTP id <111599-3286>; Fri, 12 Nov 1999 00:30:44 +0000
Received: from asterix.gallien (schoepf.modem.informatik.tu-muenchen.de [172.16.0.164])
	by atsystem1.informatik.tu-muenchen.de (Postfix) with ESMTP id B02F482D7
	for <30773-done@bugs.debian.org>; Fri, 12 Nov 1999 00:30:28 +0100 (MET)
Received: from schoepf by asterix.gallien with local (Exim 3.03 #1 (Debian))
	id 11m3Hr-0004Lj-00; Fri, 12 Nov 1999 00:05:51 +0100
Date:	Fri, 12 Nov 1999 00:05:51 +0100
From:	Thomas Schoepf <schoepf@debian.org>
To:	30773-done@bugs.debian.org
Subject: Re: libc6-dev: regexp.h compares to 'n' rather than '\n'
Message-ID: <19991112000551.A16688@in.tum.de>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="dDRMvlgZJXvWKvBx"
User-Agent: Mutt/1.0i
Sender: Thomas Schoepf <schoepf@in.tum.de>


--dDRMvlgZJXvWKvBx
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

Hi,

this has been fixed in between:

asterix:~$ grep -n EXPBUG /usr/include/regexp.h
asterix:~$ grep -n "__ch =3D=3D" /usr/include/regexp.h
136:      if (__ch =3D=3D '\0' || __ch =3D=3D '\n')
asterix:~$=20

Thomas
--=20
DSA/B0FA4F49;ElG/C631AF6E:FA38 2D7E 408F 61E4 BF49  B48F 04BD F5BE B0FA 4F49
RSA/2EA7BBBD: 08 96 1F CD AD 55 03 0F  95 92 B0 F2 04 32 4B 52

--dDRMvlgZJXvWKvBx
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.0 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjgrS88ACgkQBL31vrD6T0kHWACgiFSjE9RWj/gh3QjShkdJ9qNk
6RwAoIBidP11E5ZDyH2Zaw3M1O6rSmCy
=RnuM
-----END PGP SIGNATURE-----

--dDRMvlgZJXvWKvBx--


Reply to: