[PATCH] Mark non-UTF-8 localedata test input files as binary

Mike FABIAN mfabian@redhat.com
Tue Aug 29 17:31:59 GMT 2023


Andreas Schwab via Libc-alpha <libc-alpha@sourceware.org> さんはかきました:

> Non-UTF-8 files can cause problems, because a mixture of encodings in the
> same patch is hard to handle.  Mark the non-UTF-8 files as binary to
> avoid that.
> ---
>  .gitattributes | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/.gitattributes b/.gitattributes
> index 06b553db80..1492f6c84d 100644
> --- a/.gitattributes
> +++ b/.gitattributes
> @@ -1,2 +1,6 @@
>  ChangeLog    merge=merge-changelog
>  timezone/* -whitespace
> +localedata/*.ISO-8859-*.in binary
> +localedata/cs_CZ.in binary
> +localedata/th_TH.in binary
> +localedata/tst-langinfo.sh binary
> -- 
>
> 2.41.0

Does that help with applying this Thai collation patch?:

https://patchwork.sourceware.org/project/glibc/patch/20230725164811.1961209-1-mfabian@redhat.com/

-- 
Mike FABIAN <mfabian@redhat.com>
睡眠不足はいい仕事の敵だ。



More information about the Libc-alpha mailing list