bug#36718: uniq treats distinct Korean characters equal

2019-07-18 Thread Paul Eggert
uniq just calls strcoll, and if strcoll (A, B) returns 0 then uniq assumes the lines are equal. So my guess is that your problem has something to do with strcoll, not with coreutils per se.

Re: [PATCH 1/1] cp: leverage copy_file_range syscall for copy

2019-07-18 Thread Olga Kornievskaia
On Thu, Jul 18, 2019 at 12:21 PM Pádraig Brady wrote: > > On 18/07/19 16:08, Olga Kornievskaia wrote: > > On Thu, Jul 18, 2019 at 7:54 AM Pádraig Brady wrote: > >> > >> On 15/07/19 17:37, Olga Kornievskaia wrote: > >>> From: Olga Kornievskaia > >>> > >>> Add an option of --copy-offload that

Re: [PATCH 1/1] cp: leverage copy_file_range syscall for copy

2019-07-18 Thread Pádraig Brady
On 18/07/19 16:08, Olga Kornievskaia wrote: > On Thu, Jul 18, 2019 at 7:54 AM Pádraig Brady wrote: >> >> On 15/07/19 17:37, Olga Kornievskaia wrote: >>> From: Olga Kornievskaia >>> >>> Add an option of --copy-offload that instead of doing a traditional >>> copy will utilize a copy_file_range()

Re: [PATCH 1/1] cp: leverage copy_file_range syscall for copy

2019-07-18 Thread Olga Kornievskaia
On Thu, Jul 18, 2019 at 7:54 AM Pádraig Brady wrote: > > On 15/07/19 17:37, Olga Kornievskaia wrote: > > From: Olga Kornievskaia > > > > Add an option of --copy-offload that instead of doing a traditional > > copy will utilize a copy_file_range() system call. For local file > > system this

bug#36718: uniq treats distinct Korean characters equal

2019-07-18 Thread Felix Hamme
Dear all, I found that, when performing uniq on some Korean characters, it treats them as equal (counts as duplicate) although the characters aren't equal. To be precise, it happened to me on the Characters 프 (U+D504) and 틀 (U+D2C0). An example (input, expected output, actual output) can be

Re: [PATCH 1/1] cp: leverage copy_file_range syscall for copy

2019-07-18 Thread Pádraig Brady
On 15/07/19 17:37, Olga Kornievskaia wrote: > From: Olga Kornievskaia > > Add an option of --copy-offload that instead of doing a traditional > copy will utilize a copy_file_range() system call. For local file > system this system call adds the benefit that no copy from > kernel space into user