[Pidgin] #16728: "Couldn't create plugins dir" on first run

Pidgin trac at pidgin.im
Sun Jul 26 03:33:22 EDT 2015


#16728: "Couldn't create plugins dir" on first run
---------------------+---------------------------
 Reporter:  apjanke  |       Owner:  EionRobb
     Type:  defect   |      Status:  new
Milestone:           |   Component:  unclassified
  Version:  2.10.11  |  Resolution:
 Keywords:           |
---------------------+---------------------------

Comment (by apjanke):

 Same scenario with finch, in `finch.c` lines 381-388. Attempt to create
 the plugin dir is done before libpurple is initialized.

 {{{
         if (g_mkdir(path, S_IRUSR | S_IWUSR | S_IXUSR) != 0 && errno !=
 EEXIST)
                 fprintf(stderr, "Couldn't create plugins dir\n");
         purple_plugins_add_search_path(path);
         g_free(path);

         purple_plugins_add_search_path(LIBDIR);

         if (!purple_core_init(FINCH_UI))
 }}}

--
Ticket URL: <https://developer.pidgin.im/ticket/16728#comment:1>
Pidgin <https://pidgin.im>
Pidgin


More information about the Tracker mailing list