Re: g_file_write()

On Mar 6, 2005, at 6:21 PM, Soeren Sandmann wrote:

+ * 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]