This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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]

Re: [PATCH] Fix posix/tst-regex by using ISO-8859 encoding for ChangeLog.8.


Stefan Liebler wrote:

Better the test should be fixed to assume UTF-8, or, even better, not
to rely on ChangeLog files for test data.

zw


Sure. Sounds fair.
I've copied the old ChangeLog.8 file and use it as a dedicated input-file for tst-regex. See attached patch.

Better to do both, i.e., to not have the test cases rely on ChangeLog files, and to use UTF-8 in source files. Proposed patch attached. This patch has mixed encoding since it changes a file's encoding from Latin-1 to UTF-8, so it's compressed to prevent my email client from mangling it.

Attachment: 0001-Fix-posix-tst-regex-by-using-UTF-8-and-own-test-inpu.patch.gz
Description: application/gzip


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]