Re: g_file_write()
- From: Havoc Pennington <hp redhat com>
- To: Soeren Sandmann <sandmann daimi au dk>
- Cc: gtk-devel-list gnome org
- Subject: Re: g_file_write()
- Date: Mon, 07 Mar 2005 11:56:05 -0500
On Mon, 2005-03-07 at 00:21 +0100, Soeren Sandmann wrote:
> I think it makes sense to do the atomic write. Here is a new patch
> that does that. It also uses the g_* versions where appropriate and
> hopefully doesn't leak.
>
On UNIX anyway I don't think you need the unlink(), rename() will
overwrite (and be atomic, so you never lose the orig file without
copying in the new one)
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]