On 1/12/2011 11:55, [email protected] wrote:
teeemcee
2011-01-12 08:55:46 -0800 (Wed, 12 Jan 2011)
371
diriswriteable wasn't really working properly on Windows when a directory on 
writeable media is made read-only, so I added a kludge for that.

Doesn't Windows have a proper concept of unwriteable directories?

Not really. The best way to check is to try writing to a file, and see if it fails.

You could try explicitly checking security, media, etc., but that would be a lot of code and you'd definitely miss stuff.

(Also, I'm aware that Game will immediately crash if trying to play a game from 
read-only media, due to trying to write g_debug.txt. I have a branch for 
that...)
>
---
U   wip/util.bas
_______________________________________________
Ohrrpgce mailing list
[email protected]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org

_______________________________________________
Ohrrpgce mailing list
[email protected]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org

Reply via email to