GNU bug report logs - #18266
grep -P and invalid exits with error

Previous Next

Package: grep;

Reported by: Santiago <santiago <at> debian.org>

Date: Thu, 14 Aug 2014 15:43:02 UTC

Severity: wishlist

Merged with 18455

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Santiago <santiago <at> debian.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 758105 <at> bugs.debian.org, Vincent Lefevre <vincent <at> vinc17.net>, 18266 <at> debbugs.gnu.org
Subject: bug#18266: grep -P and invalid exits with error
Date: Tue, 9 Sep 2014 04:44:43 +0200
[Message part 1 (text/plain, inline)]
Patch updated.  Paul, thanks for the previous comments. As you
suggested, the attached patch doesn't copy the buffer and splits the
input when it finds an invalid character.

For the moment, I don't see a cleaner way to avoid the pcre internals.

Regards,

Santiago
[grep-pcresearch-clean-utf8-3.patch (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 10 years and 248 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.