mirror of
https://github.com/aaru-dps/libaaruformat.git
synced 2026-04-17 19:43:25 +00:00
Separate writer finalization from resource cleanup in close.c to enable a future reader-only library target (aaruformatread). close_write.c contains all write_* helpers and aaruf_finalize_write(). close.c retains aaruf_close() with cleanup only, dispatching writer finalization via a function pointer set by aaruf_create()/aaruf_open(). Zero behavioral change — same tests pass, same error semantics.