AmendHub

Download:

jcs

/

amend

/

amendments

/

158

util: copy_file: These refs won't be valid at this point


jcs made amendment 158 9 months ago
--- util.c Sat Dec 6 20:53:59 2025 +++ util.c Wed Dec 17 20:45:52 2025 @@ -1261,8 +1261,6 @@ copy_file(Str255 source, Str255 dest, bool overwrite) if (source_ref == -1 && ResError() == eofErr) { /* no resource fork */ - FSClose(source_ref); - FSClose(dest_ref); return 0; }