"because there has been no further comment" doesn't seem to me a good
reason to close a bug.
> I just now re-read
https://bugs.launchpad.net/ubuntu/+source/grep/+bug/1535458 and it's not
clear to me what bug is being reported
> downstream.
Just read the description in the original report, it should be pretty
clear what the problem is.
Also see comment 7:
https://bugs.launchpad.net/ubuntu/+source/grep/+bug/1535458/comments/7
Then I don't know what existing upstream bug tracks the issue, if
there's any.
There's no test case because I've never been able to create one, but I
keep observing the issue as described every day. (and it appeared as a
regression in Ubuntu around the time when ubuntu bug 1535458 was reported)
> There are several messages saying it's fixed or it's not,
The issue described in the original report has never been fixed in
Ubuntu. Some people said it was fixed upstream, and later people
referring to the same upstream bug said it regressed again upstream.
However, I don't know whether they are right and whether they are
linking the ubuntu bug to the right upstream bug. Also, different people
have different opinions about what upstream bug is the real cause of the
downstream one.
Some of the latest comments, I seem to remember, seemed to imply that
the new behavior would be expected, which is just idiotic.
This might be a partial test case:
Download and gunzip the following file:
http://matteosistisette.com/test/bug_grep/profile.php.gz
then try:
# grep function profile.php
Expected output: -----------
require_once(DIR . '/includes/functions_user.php');
require_once(DIR . '/includes/functions_databuild.php');
require_once(DIR . '/includes/functions_databuild.php');
(....)
------------ /Expected output
Actual output:
Binary file profile.php matches
This is an ISO-8859-15-encoded file (or that's what Gedit says) and I'm
testing on a utf-8 locale, but that should be irrelevant
Output of
$ locale
LANG=en_US.UTF-8
LANGUAGE=en_US
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=es_ES.UTF-8
LC_TIME=es_ES.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=es_ES.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=es_ES.UTF-8
LC_NAME=es_ES.UTF-8
LC_ADDRESS=es_ES.UTF-8
LC_TELEPHONE=es_ES.UTF-8
LC_MEASUREMENT=es_ES.UTF-8
LC_IDENTIFICATION=es_ES.UTF-8
LC_ALL=
On 08/09/16 07:51, GNU bug Tracking System wrote:
Your bug report
#23844: broken: randomly detexts textf files as binary
which was filed against the grep package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 23...@debbugs.gnu.org.