- use sqImageFileOpen() to open the image file - use file descriptors only to avoid leaking a FILE struct - removed the ability to let winImageFind manipulate the file some way (only supported by the Quartz display anyway) - removed the loop retrying opening the file again because that relied on winImageFind - reformatted the code to follow the formatting guidelines (it was a bit messy) You can view, comment on, or merge this pull request online at:
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/530
-- Commit Summary --
* Simplify sqUnixMain.c's imgInit()
-- File Changes --
M platforms/unix/vm/sqUnixMain.c (64)
-- Patch Links --
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/530.patch https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/530.diff
@eliotmiranda approved this pull request.
Merged #530 into Cog.
vm-dev@lists.squeakfoundation.org