Re: g_strsplit variant which filters empty strings from the result



Do you have a case where it would actually make sense to use such
as function?  The file name case is an awful one:

1. It's unix-specific.  On win32 you can see /foo/bar\baz\bof

2. It fails to distinguish "//foo" and "/foo" which, even on unix, are two
    different file names.

It seems to me that such a function is a tad special for a general library
like glib.

Morten


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