Revision history for sqGetFilenameFromString


Revision [414]

Last edited on 2010-09-12 21:35:40 by JohnMcIntosh
Additions:
See iPhone but we also subclass to resolve os-9 alias files with some code via
http://blacktree-alchemy.googlecode.com/svn/branches/B5X/README.markdown
Licensed under the Apache License, Version 2.0 (the "License");
Deletions:
TBD


Revision [163]

Edited on 2008-10-16 20:37:07 by JohnMcIntosh
Additions:
BUGS possible buffer overflow because length is implied to be 1000 and not guarded by caller.
BUGS calls just assume it works, but it could fail if name with null > 1000 or if encoding/decoding fails.


Revision [162]

Edited on 2008-10-16 20:35:47 by JohnMcIntosh
Additions:
Ignore alias flag, just copy the file name into the target buffer.
No translation occurs.
? Unclear if the file name path has to be translated, or is it translated at each point where it is used by the operating system api?


Revision [161]

Edited on 2008-10-16 20:30:14 by JohnMcIntosh
Additions:
not the target.
sqFileOpen does call with true to resolve the alias because we want to open the target of the alias file, not the alias file.
Note that on unix opening a symbolic link would open the target of the symbolic link, but on os-9/os-x opening an alias file does not imply opening the target of the alias file.
Deletions:
not the target. sqFileOpen does call with true to resolve the alias because we want to open the target of the alias file, not the alias file.
Note that on unix opening a symbolic link would open the target of the symbolic link, but on os-9/os-x see the comments below about what an os-9 alias file is.


Revision [160]

The oldest known version of this page was created on 2008-10-16 20:29:15 by JohnMcIntosh
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki