Re: Opening files that start with %

jgotts linuxsavvy com writes:

[about gnome_vfs_get_file_info and transforming filenames to URIs]

> Technically speaking, yes, but since this bug is occurring in several
> applications, wouldn't it be cleaner to add the appropriate URI fix-up code to
> a library?

Sure, but that's actually a different issue and as James pointed out
there already is such a function. An application still has to know
exactly when a string it's dealing with is a filename or a URI and call
that function in the appropriate places. This sort of thing can't be
done automagically as there's a large overlap between the set of all
possible filenames and the set of all possible URIs.


Intevation GmbH                       

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]