summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libpcre
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2019-03-21 12:30:42 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-03-24 16:59:43 +0000
commit63ef9d342277c4ba541b78cbb45ef181f071f495 (patch)
treea6d0c73744f21cc480145f431d03566e3193085e /meta/recipes-support/libpcre
parent91e3b2a762124bf5cf923654ef3a7c871b84c82f (diff)
downloadopenembedded-core-contrib-63ef9d342277c4ba541b78cbb45ef181f071f495.tar.gz
insane: improve license checksumming logic
Instead of opening files as bytes and battling decoding to UTF-8 which can throw exceptions, open directly as strings and replace invalid codepoints. This handles licenses in encodings which are not UTF-8 but are based on ASCII much better. Also instead of extracting the license lines, writing them to a file, and then hashing the file, hash the lines directly. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libpcre')
0 files changed, 0 insertions, 0 deletions