[Bug libstdc++/89562] New: std::filesystem::copy truncates files before byte with value 0x1A

rodrigo.coimbra at tse dot jus.br gcc-bugzilla@gcc.gnu.org
Sat Mar 2 22:05:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89562

            Bug ID: 89562
           Summary: std::filesystem::copy truncates files before byte with
                    value 0x1A
           Product: gcc
           Version: 8.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rodrigo.coimbra at tse dot jus.br
  Target Milestone: ---

Created attachment 45874
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45874&action=edit
Source code

The function std::filesystem::copy truncates files before byte with value 0x1A.
Copying JPEG files demonstrates the bug.

Using MinGW-w64 on Windows 7.


More information about the Gcc-bugs mailing list