Re: [patch] fix mkdir(NULL) in gnome_metadata
- From: Miguel de Icaza <miguel ximian com>
- To: Darin Adler <darin bentspoon com>
- Cc: gnome-devel-list gnome org
- Subject: Re: [patch] fix mkdir(NULL) in gnome_metadata
- Date: 30 Aug 2001 23:23:51 -0400
> Oops. Should just be "database", not "database ()".
>
> This explains the strange stat(NULL) that Alex Larsson was seeing in
> Nautilus. I also worry that the constant locking and unlocking on every
> call to gnome_metadata_get may make Nautilus do excessive I/O, but that's
> an issue for another time.
You can actually lock the metadata database yourself before any
metadata operations, do all your reads and unlock it to avoid this.
GMC does that for its desktop directory I believe.
Miguel.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]