Re: [PATCH] Determine access rights to files by GNOME_VFS_FILE_INFO_FIELDS_ACCESS
- From: Alexander Larsson <alexl redhat com>
- To: Christian Neumair <chris gnome-de org>
- Cc: nautilus-list gnome org
- Subject: Re: [PATCH] Determine access rights to files by GNOME_VFS_FILE_INFO_FIELDS_ACCESS
- Date: Mon, 12 Dec 2005 10:52:10 +0100
On Fri, 2005-12-09 at 15:51 +0100, Christian Neumair wrote:
> On Fr, 2005-12-09 at 12:44 +0100, Alexander Larsson wrote:
> > On Thu, 2005-12-01 at 15:22 +0100, Christian Neumair wrote:
> > > Christian Kellner asked me to improve and submit a patch to this list
> > > that makes Nautilus use GNOME_VFS_FILE_INFO_FIELDS_ACCESS for
> > > determining file permissions.
> > > I've also attached a patch that makes gnome_vfs_file_info_matches check
> > > for valid_fields being identical, since this can make client
> > > applications assume that two file infos match where they don't, and
> > > Nautilus uses it.
> > >
> > > OK to commit?
>
> > No need to pass this in mime_list_load.
> > (...)
> > I think "and" semantics is better, so this should be:
> > (file->details->info->permissions & permissions) != permissions
>
> Attaching new patch.
Thanks. I applied this.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl redhat com alla lysator liu se
He's an old-fashioned albino Green Beret with a robot buddy named Sparky.
She's a cynical tempestuous mermaid fleeing from a Satanic cult. They fight
crime!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]