Your message dated Tue, 10 Oct 2006 03:04:47 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#198846: fixed in grep 2.5.1.ds2-6
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.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: grep
Version: 2.5.1.ds1-4
Severity: normal


I also tested this with the binary from
Version 2.5.1.ds2-5 (i386)
and got the same results.

both binaries give the same --version output:
$ grep --version
grep (GNU grep) 2.5.1

Copyright 1988, 1992-1999, 2000, 2001 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ 

Per the documentation (--help, info, man pages)
-D skip
or
--devices=skip
should cause FIFOs to be skipped.
In testing, however, FIFOs are not skipped.
The program and the documentation should be consistent (either correct
the program to match the documentation, or vice versa).
example demonstration of bug:
  -D, --devices=ACTION      how to handle devices, FIFOs and sockets
                            ACTION is 'read' or 'skip'
$ mknod p p && ls -lond p
prw-------  1 1003 0 Sep 14 13:42 p
$ >out grep -D skip RE p & echo REmatch>>p; wait; cat out
[2] 22002
[2]-  Done                    grep -D skip RE p >out
REmatch
$ 

I did also test character special device - without options the device
is not skipped, and with -D skip the character special device is
skipped, so the bug is apparently limited to only certain device
type(s) (e.g. FIFOs).

In the latest upstream source (e.g.:
http://cvs.savannah.gnu.org/viewcvs/grep/src/grep.c?rev=1.121&root=grep&view=markup
)
it would appear the source at least intends to behave consistent with
the documentation:
#ifndef DJGPP
      if (devices == SKIP_DEVICES && (S_ISCHR(stats->stat.st_mode) || 
S_ISBLK(stats->stat.st_mode) || S_ISSOCK(stats->stat.st_mode) || 
S_ISFIFO(stats->stat.st_mode)))
#else
      if (devices == SKIP_DEVICES && (S_ISCHR(stats->stat.st_mode) || 
S_ISBLK(stats->stat.st_mode)))
#endif

I haven't checked to see precisely where the bug creeps in between the
(most current) upstream source's apparent intent, and bug apparently
being present in most current Debian (at least in unstable and testing
binaries, and stable binary).

references:
news:[EMAIL PROTECTED]
news:[EMAIL PROTECTED]
http://savannah.gnu.org/projects/grep/
http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&data=grep&archive=no&version=&dist=unstable

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.29
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages grep depends on:
ii  libc6                 2.3.2.ds1-22sarge4 GNU C Library: Shared libraries an

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: grep
Source-Version: 2.5.1.ds2-6

We believe that the bug you reported is fixed in the latest version of
grep, which is due to be installed in the Debian FTP archive:

grep_2.5.1.ds2-6.diff.gz
  to pool/main/g/grep/grep_2.5.1.ds2-6.diff.gz
grep_2.5.1.ds2-6.dsc
  to pool/main/g/grep/grep_2.5.1.ds2-6.dsc
grep_2.5.1.ds2-6_i386.deb
  to pool/main/g/grep/grep_2.5.1.ds2-6_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Santiago Ruano Rincón <[EMAIL PROTECTED]> (supplier of updated grep package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 10 Oct 2006 00:41:50 -0500
Source: grep
Binary: grep
Architecture: source i386
Version: 2.5.1.ds2-6
Distribution: unstable
Urgency: low
Maintainer: Anibal Monsalve Salazar <[EMAIL PROTECTED]>
Changed-By: Santiago Ruano Rincón <[EMAIL PROTECTED]>
Description: 
 grep       - GNU grep, egrep and fgrep
Closes: 198846 248733
Changes: 
 grep (2.5.1.ds2-6) unstable; urgency=low
 .
   * Added watch file. (Closes: #248733)
   * grep didn't work with FIFOs, thanks to Bastian Kleineidam
     <[EMAIL PROTECTED]> (Closes: #198846)
Files: 
 db2fc9ef649862cccc2c483b0bf01de3 656 utils required grep_2.5.1.ds2-6.dsc
 17530b3aec77ed9958ed96f96e0b35a4 22414 utils required grep_2.5.1.ds2-6.diff.gz
 f5ff5a298d5b825aceaa02cc29c2bd5b 146100 utils required 
grep_2.5.1.ds2-6_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFKzT1QUuEI2/szeARAnsSAJ9vVn8Y/pXRMe61WAWGinIWho7C1ACfXNCI
OwBjyaxp3ySG+TeFPfh8kAQ=
=aARL
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to