[uim-commit] r617 - trunk/uim

ekato at freedesktop.org ekato at freedesktop.org
Wed Feb 9 00:34:11 PST 2005


Author: ekato
Date: 2005-02-09 00:34:03 -0800 (Wed, 09 Feb 2005)
New Revision: 617

Modified:
   trunk/uim/prime.c
Log:
* Remove socket path before excecuting new prime process for unix
  domain socket.


Modified: trunk/uim/prime.c
===================================================================
--- trunk/uim/prime.c	2005-02-09 05:58:06 UTC (rev 616)
+++ trunk/uim/prime.c	2005-02-09 08:34:03 UTC (rev 617)
@@ -212,6 +212,7 @@
       
       prime_fd = prime_init_ud(prime_ud_path);
       if(prime_fd == -1) {
+	unlink(prime_ud_path);
 	option = malloc(strlen("-u ") + strlen(prime_ud_path) + 1);
 	sprintf(option, "-u %s", prime_ud_path);
 	prime_pid = uim_ipc_open_command_with_option(prime_pid, &primer, &primew, prime_command, option);



More information about the Uim-commit mailing list