close file before rename
authorThorsten Maerz <torte@netztorte.de>
Mon, 13 Jan 2003 05:04:29 +0000 (05:04 +0000)
committerThorsten Maerz <torte@netztorte.de>
Mon, 13 Jan 2003 05:04:29 +0000 (05:04 +0000)
ChangeLog.claws
configure.in
src/common/prefs.c

index 8eae008..27f0a44 100644 (file)
@@ -1,3 +1,8 @@
+2003-01-12 [thorsten]  0.8.8claws90
+
+       * src/common/prefs.c
+               close file before rename
+
 2003-01-12 [alfons]    0.8.8claws89
 
        * AUTHORS
index bd71a1c..2aca52b 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=8
 MICRO_VERSION=8
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws89
+EXTRA_VERSION=claws90
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 42f917b..fc29030 100644 (file)
@@ -158,6 +158,7 @@ gint prefs_file_close(PrefFile *pfile)
                                
                                return -1;
                        }
+               fclose(orig_fp);
        }
 
        tmppath = g_strconcat(path, ".tmp", NULL);