Re: [fog-dev] Long file names on Windows

2 views
Skip to first unread message

Petr Kobalíček

unread,
Jun 24, 2010, 12:15:26 PM6/24/10
to fog...@googlegroups.com
Hi,

no problem with that. If you have time to implement this feature then
I will be pleased to include it in Fog. Honestly I didn't know that
there exist something like long file names support ;)

Of course instead of normalize() there could be function like
WinUtil::someName() to normalize path to long-path form.

--
Best regards
- Petr Kobalicek <http://kobalicek.com>

On Thu, Jun 24, 2010 at 6:11 PM, Jaroslav Šmíd <jard...@gmail.com> wrote:
> Hi,
> what do you think about long file names support in Fog (more then MAX_PATH
> characters)? I might implement it, but that would require not to "normalize"
> paths to posix style dir separators ('/') and to explicitly convert all
> relative paths to absolute paths for IO operations ("." or ".." are not
> possible with long paths). Long paths are in the form \\?\X:\path\file
> instead of just X:\path\file or \\?\UNC\server\ instead of \\server\.
> Or maybe we could try to convert to long path only when some IO returns some
> kind of path too long error or when the path given exceed MAX_PATH
> characters.
>

Jaroslav Šmíd

unread,
Jun 26, 2010, 5:02:58 PM6/26/10
to fog...@googlegroups.com
Ok, I'll implement it after weekend.

--
Jaroslav Šmíd

Reply all
Reply to author
Forward
0 new messages