projects
/
platform
/
upstream
/
ibus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
049ca9f
)
call g_unlink before write address.
author
Peng Huang
<shawn.p.huang@gmail.com>
Tue, 11 Aug 2009 23:44:55 +0000
(07:44 +0800)
committer
Peng Huang
<shawn.p.huang@gmail.com>
Tue, 11 Aug 2009 23:44:55 +0000
(07:44 +0800)
src/ibusshare.c
patch
|
blob
|
history
diff --git
a/src/ibusshare.c
b/src/ibusshare.c
index 2fb7cf7d04fed452dc50d59620e50e177cf6eee4..eb2bec25bec5ea37072b3c81c7ba58e617646a7d 100644
(file)
--- a/
src/ibusshare.c
+++ b/
src/ibusshare.c
@@
-238,6
+238,7
@@
ibus_write_address (const gchar *address)
g_mkdir_with_parents (path, 0700);
g_free (path);
+ g_unlink (ibus_get_socket_path ());
pf = fopen (ibus_get_socket_path (), "w");
g_return_if_fail (pf != NULL);