On 2/27/21 7:35 AM, Ronald Knol wrote:
This is "cp -argu <sourcedir> <destdir>". The source tree contains more
than 2TiB worth of data.
I believe the issue is in src/copy.c where (on line 355) an INT is used to
store "cur_size".
int cur_size = g_iTotalWritten + *total_n_read / 1024;
GNU coreutils 'cp' lacks a 'g' option, and doesn't have the line number
you mentioned. It sounds like you're dealing with a bug in a modified
version of 'cp', which means you should direct your bug report to
whoever made that modification.