Paul Eggleton <paul.eggleton-VuQAYsv1563Yd54FQh9/[email protected]>
writes:
> When extracting patches from a git repository with PATCHTOOL = "git" we
> cannot assume that all patches will be UTF-8 formatted, so as with other
> places in this module, try latin-1 if utf-8 fails.
This will probably not work when patch contains a character between 128
and 159 (which is a blackhole in all locales afaik).
I would read the file as a binary ('rb' instead of 'r') and make the
GitApplyTree.* strings a 'bytes' type.
Enrico
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core