Re: glib outstanding stuff
- From: George <jirka 5z com>
- To: Havoc Pennington <hp redhat com>
- Cc: Tim Janik <timj gtk org>, Gtk+ Developers <gtk-devel-list gnome org>
- Subject: Re: glib outstanding stuff
- Date: Sat, 7 Oct 2000 16:29:37 -0700
On Fri, Oct 06, 2000 at 10:22:44PM -0400, Havoc Pennington wrote:
> > 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?
By the way, g_file_test conflicts with the g_file_test in libgnome. So if we
don't want to have weird silent bugs from the 2.0 port (because the new
g_file_test does have different semantics), it should be named differently
anyway.
Also I suppose there should a test for regular file (libgnome:
G_FILE_TEST_ISREG)
George
--
George <jirka 5z com>
Never interrupt your enemy when he is making a mistake.
-- Napoleon Bonaparte
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]