Re: g_file_write()
- From: muppet <scott asofyet org>
- To: Soeren Sandmann <sandmann daimi au dk>
- Cc: GTK Dev List <gtk-devel-list gnome org>
- Subject: Re: g_file_write()
- Date: Mon, 7 Mar 2005 08:51:08 -0500
On Mar 6, 2005, at 6:21 PM, Soeren Sandmann wrote:
http://www.daimi.au.dk/~sandmann/filewrite.patch
+ * Writes all of @contents to a file named @filename, with good error
checking. If
+ * a file called @filename already exists it will be overwritten.
It may be worth noting in the docs that the function does an atomic
write, and that the atomic write scheme will break a hard link (since
the new file doesn't have the same inode as the old). Without this
information, you may have confused developers / users finding it out
the hard way.
In this sense, at least just s/overwritten/replaced/ would work.
--
I believe that if music companies are going to set examples they need
to do it to appropriate people and not dead people.
-- Robin Chianumba
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]