Re: glib outstanding stuff



Tim Janik <timj gtk org> writes: 
> i don't have a strong opinion on whether we should have a function
> for the "any" or "all" tests, but i find the name g_file_test()
> annoyingly unintuitive to perform an "any" test.
> judging from the name, "g_file_test" should do an "all" test,
> if you want it match any GFileTest bit, call it "g_file_test_any".
>

Just _test() doesn't imply any or all to me. test_any seems pretty
cryptic though. Any better ideas? Anyone?
 
> oh, and please do me a favour, when you commit this patch, please
> also remove g_scanner_stat_mode() entirely on the way.
> 

Will do.

Havoc




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