MacOS uses custom decomposed UTF8 encoded strings for path names (while precomposed Unicode strings are typically used within the image). Encode and decode path names using the existing VM routines (ux2sqPath() and sq2uxPath()).
Linux provides ux2sqPath() and sq2uxPath() as part of vm.a. OSX requires a plugin specific Makefile to access sqUnixCharConv.[ch] You can view, comment on, or merge this pull request online at:
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/280
-- Commit Summary --
* 1.3.3: Add path encoding / decoding
-- File Changes --
A platforms/iOS/plugins/FileAttributesPlugin/Makefile (10) M src/plugins/FileAttributesPlugin/FileAttributesPlugin.c (225)
-- Patch Links --
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/280.patch https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/280.diff
@akgrant43 pushed 1 commit.
2c9cb8a FileAttributesPlugin: make plugin internal on macos64x64
@akgrant43 pushed 1 commit.
0ddeabf FileAttributesPlugin: add to VM additional includes
@akgrant43 pushed 1 commit.
2c95611 FileAttributesPlugin: plugin is internal on macos
@akgrant43 pushed 1 commit.
71f0df6 Revert "FileAttributesPlugin: add to VM additional includes"
Merged #280 into Cog.
vm-dev@lists.squeakfoundation.org