Daniel Black d161c9a9db Skip read-only check when output file specified
Only check if input files are read-only when overwriting them; skip
that check when the output goes to a different file.

* src/patch.c (main): Set read_only_behavior to RO_IGNORE when an output
file has been specified.
* tests/read-only-files: Add test case.
2025-05-01 13:40:20 +02:00
..
2025-01-05 13:33:00 -08:00
2025-04-05 17:26:56 +02:00
2025-01-05 13:33:00 -08:00
2025-01-05 13:33:00 -08:00
2025-01-05 13:33:00 -08:00
2025-01-05 13:33:00 -08:00
2025-01-05 13:33:00 -08:00
2025-01-05 13:33:00 -08:00
2025-01-05 13:33:00 -08:00
2025-01-05 13:33:00 -08:00
2025-01-05 13:33:00 -08:00
2025-01-05 13:33:00 -08:00
2025-01-05 13:33:00 -08:00
2025-01-05 13:33:00 -08:00
2025-01-05 13:33:00 -08:00
2025-01-05 13:33:00 -08:00
2025-01-05 13:33:00 -08:00
2025-01-05 13:33:00 -08:00
2025-01-05 13:33:00 -08:00
2025-01-05 13:33:00 -08:00
2025-01-05 13:33:00 -08:00
2025-01-05 13:33:00 -08:00
2025-01-05 13:33:00 -08:00
2025-01-05 13:33:00 -08:00
2025-01-05 13:33:00 -08:00
2025-01-05 13:33:00 -08:00
2025-01-05 13:33:00 -08:00
2025-01-05 13:33:00 -08:00
2025-01-05 13:33:00 -08:00
2025-01-05 13:33:00 -08:00
2025-01-05 13:33:00 -08:00
2025-01-05 13:33:00 -08:00
2025-01-05 13:33:00 -08:00
2025-01-05 13:33:00 -08:00
2025-01-05 13:33:00 -08:00