aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-block-file.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-04-09 08:59:46 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-04-09 08:59:46 +0800
commita5bcf4fb3d8fbac4ee401d3c215b8d9e4ece2460 (patch)
tree6303f06373ca4661f15859fd7076fbde79ddb55c /camel/camel-block-file.c
parentcc28f482cc2f14926ccf6dfd4db970a167063516 (diff)
downloadgsoc2013-evolution-a5bcf4fb3d8fbac4ee401d3c215b8d9e4ece2460.tar
gsoc2013-evolution-a5bcf4fb3d8fbac4ee401d3c215b8d9e4ece2460.tar.gz
gsoc2013-evolution-a5bcf4fb3d8fbac4ee401d3c215b8d9e4ece2460.tar.bz2
gsoc2013-evolution-a5bcf4fb3d8fbac4ee401d3c215b8d9e4ece2460.tar.lz
gsoc2013-evolution-a5bcf4fb3d8fbac4ee401d3c215b8d9e4ece2460.tar.xz
gsoc2013-evolution-a5bcf4fb3d8fbac4ee401d3c215b8d9e4ece2460.tar.zst
gsoc2013-evolution-a5bcf4fb3d8fbac4ee401d3c215b8d9e4ece2460.zip
Since bonobo doesn't seem to O_TRUNC the file stream before writing to it,
2002-04-08 Jeffrey Stedfast <fejj@ximian.com> * mail-signature-editor.c (menu_file_save_cb): Since bonobo doesn't seem to O_TRUNC the file stream before writing to it, write to a temp file first and then rename() it to the real filename. This also protects against losing data if the drive is full too. Also use a real mode, not 0, so that we can actually save/read the content ;-) svn path=/trunk/; revision=16392
Diffstat (limited to 'camel/camel-block-file.c')
0 files changed, 0 insertions, 0 deletions