> On 11 Feb 2015, at 15:51, Solomon Foster (via RT) > <[email protected]> wrote: > > # New Ticket Created by Solomon Foster > # Please include the string: [perl #123796] > # in the subject line of all future correspondence about this issue. > # <URL: https://rt.perl.org/Ticket/Display.html?id=123796 > > > > This is perl6 version 2015.01-126-gf53a94d built on MoarVM version > 2015.01-28-ga910556 > >> copy("original.mpg".IO, "copy.mpg".IO) > True >> > colomon@melissa:~/temp$ ls -l *.mpg > -rw-rw-r-- 1 colomon colomon 2147479552 Feb 11 09:51 copy.mpg > -rw-r--r-- 1 colomon colomon 4773115509 Feb 11 09:50 original.mpg
Internally this is handled by the nqp::copy op. I would bet that only the first 2G is copied because that’s what you can have in a signed 4byte int. Liz
