This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Aug 11 15:07, Jim Burwell wrote: > 64 bit egrep gets a segfault and dumps core when it opens binary files: Confirmed. This isn't exactly about binary files, but rather grep stumbles over Cygwin/Newlib's UTF-16 surrogate pair handling here. To trigger this problem, three circumstances must conincide: - you have to use a UTF-8 locale like en_US.UTF-8, - you have to use grep's -i option, - and you have to hit a file with a UTF-8 sequence which translates to a surrogate. I'm looking into a patch to handle this uncommon situation and try to send it upstream. Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat
Attachment:
pgpdOaoh9YIGD.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |