lclevy / ADFlib

A free, portable and open implementation of the Amiga filesystem
GNU General Public License v2.0
90 stars 30 forks source link

Make Win32 filename mangling optional with unadf -w #39

Closed kyz closed 1 year ago

kyz commented 1 year ago

Add a new command-line flag, -w, for unadf. If provided, it will turn on filename mangling. If not, filenames will be extracted as-is, which is not a problem for UNIX filesystems, they can accommodate all Amiga filenames.

Extend the mangling so it supports fixing all forbidden filenames in Windows environments.

t-w commented 1 year ago

Seems OK.

(just as reference where is it from: see also discussion in #33 regarding d7ca78a5, where checking was incomplete and not necessary for not M$OSes. thanks for improving this)