cginternals / libzeug

deprecated: C++ sanctuary for small but powerful and frequently required, stand alone features.
MIT License
16 stars 13 forks source link

Fix Windows path issues #148

Closed scheibel closed 8 years ago

scheibel commented 8 years ago

Change to prevent windows problems

scheibel commented 8 years ago

Is this a good idea @sbusch42 ?

sbusch42 commented 8 years ago

No, I don't think it is. I think the correct fix would be not to use system-specific path separator outside of this class. So everything is converted into / when a filename comes in, then inside our applications we can always assume "/" and work with that. The problem in this case was in the code that looks for the PluginInfo.json file and searches for "\" instead of "/" on Windows.