[PATCH] copy_file_file: Use binary mode when opening the source/destination file

The attached patch will help to avoid file coruption, as a result of a
copy operation, between different mounted filesystems i.e. binary vs.
text mounted filesystems.

Thanks! :)

Pavel Tsekov

Attachment: mc-copy_file_file.patch
Description: Binary data

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]