[uim-commit] r870 - trunk/uim
ekato at freedesktop.org
ekato at freedesktop.org
Mon Jun 6 12:43:57 PDT 2005
Author: ekato
Date: 2005-06-06 12:43:54 -0700 (Mon, 06 Jun 2005)
New Revision: 870
Modified:
trunk/uim/skk-dic.c
Log:
* uim/skk-dic.c (skk_lib_save_personal_dictionary) : No need to
call remove(2) since an old personal dictionary is replaced with
rename(2).
Modified: trunk/uim/skk-dic.c
===================================================================
--- trunk/uim/skk-dic.c 2005-06-06 09:39:47 UTC (rev 869)
+++ trunk/uim/skk-dic.c 2005-06-06 19:43:54 UTC (rev 870)
@@ -2205,7 +2205,7 @@
if (fclose(fp) != 0)
goto error;
- if (remove(fn) != 0 || rename(tmp_fn, fn) != 0)
+ if (rename(tmp_fn, fn) != 0)
goto error;
if (stat(fn, &st) != -1) {
More information about the uim-commit
mailing list