Fix comment

This commit is contained in:
Andy McFadden 2022-08-07 12:53:29 -07:00
parent 5f5c089506
commit 0790c97ee2

View File

@ -1472,11 +1472,7 @@ public:
* The filename returned is defined to be null-terminated Mac OS Roman.
* For most filesystems this is automatic, as filenames are restricted
* to ASCII, but for DOS 3.3 it requires stripping high bits. It also
* means that embedded nulls will be lost. (Some HFS references indicate
* that '\0' is allowed, but I think people assume that because the API
* uses a string with an explicit length. Looking at "Inside Mac: Files"
* chapter 2, page 2-71, HFS filenames are stored in a fixed 31-byte
* field that is padded with zeroes, so embedded nulls are impossible.)
* means that embedded nulls will be lost.
*
* The original unmodified filename is available through GetRawFileName,
* which can be optionally passed a size_t pointer to get the size