Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 325268 Details for
Bug 436536
net-irc/xchat-2.8.8-r2 - patches that apply cleanly and fix several issues
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
autoload from xchat plugins
0014-Autoload-from-.xchat2-plugins-also-as-like-perl-plug.patch (text/plain), 1.15 KB, created by
David J Cozatt
on 2012-09-28 20:31:40 UTC
(
hide
)
Description:
autoload from xchat plugins
Filename:
MIME Type:
Creator:
David J Cozatt
Created:
2012-09-28 20:31:40 UTC
Size:
1.15 KB
patch
obsolete
>From 1122d20acd0e1049cf952ffedbcaccc74e3adf12 Mon Sep 17 00:00:00 2001 >From: Jeong YunWon <jeong@youknowone.org> >Date: Mon, 18 Jun 2012 14:24:11 +0900 >Subject: [PATCH] Autoload from ~/.xchat2/plugins also as like perl plugin > >--- > plugins/python/python.c | 10 ++++++++++ > 1 files changed, 10 insertions(+), 0 deletions(-) > >diff --git a/plugins/python/python.c b/plugins/python/python.c >index fcbe992..58eb826 100644 >--- a/plugins/python/python.c >+++ b/plugins/python/python.c >@@ -379,11 +379,21 @@ Util_Autoload_from (const char *dir_name) > static void > Util_Autoload() > { >+ const char *xdir; >+ char *sub_dir; > /* we need local filesystem encoding for chdir, opendir etc */ > > /* auto-load from ~/.xchat2/ or %APPDATA%\X-Chat 2\ */ >+ xdir = xchat_get_info(ph, "xchatdirfs"); > Util_Autoload_from(xchat_get_info(ph, "xchatdirfs")); > >+ /* auto-load from subdirectory plugins */ >+ sub_dir = malloc (strlen (xdir) + 9); >+ strcpy (sub_dir, xdir); >+ strcat (sub_dir, "/plugins"); >+ Util_Autoload_from(sub_dir); >+ free (sub_dir); >+ > #ifdef WIN32 /* also auto-load C:\Program Files\XChat\Plugins\*.py */ > Util_Autoload_from(XCHATLIBDIR"/plugins"); > #endif >-- >1.7.7.5 (Apple Git-26) >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 436536
:
325242
|
325244
|
325246
|
325248
|
325250
|
325252
|
325254
|
325256
|
325258
|
325260
|
325262
|
325264
|
325266
| 325268 |
325270
|
325272
|
325274
|
325276