Re: g_file_test()
- From: Tim Janik <timj gtk org>
- To: Gtk+ Developers <gtk-devel-list gnome org>
- Subject: Re: g_file_test()
- Date: Tue, 4 Sep 2001 02:28:44 +0200 (CEST)
On Mon, 6 Aug 2001, Tim Janik wrote:
>
> typedef enum
> {
> G_FILE_TEST_IS_REGULAR = 1 << 0,
> G_FILE_TEST_IS_SYMLINK = 1 << 1,
> G_FILE_TEST_IS_DIR = 1 << 2,
> G_FILE_TEST_IS_EXECUTABLE = 1 << 3,
> G_FILE_TEST_EXISTS = 1 << 4
> } GFileTest;
>
> gboolean g_file_test (const gchar *filename,
> GFileTest test);
>
> having used g_file_test() in a couple places now, i have to say that:
> 1) it definitely needs G_FILE_TEST_IS_READABLE and G_FILE_TEST_IS_WRITABLE
> 2) it should return TRUE only if all tests succeeded.
are there actually any objections/concerns not yet raised on this issue?
if not, i'd like to fix matters ASAP.
---
ciaoTJ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]