Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 196216 - games-mud/mcl Patch to send whole lines to an embedded interpreter
Summary: games-mud/mcl Patch to send whole lines to an embedded interpreter
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-17 21:33 UTC by Jose Quinteiro
Modified: 2007-10-21 05:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to send whole input lines to an embedded interpreter (mcl-0.53.00-inputlines.patch,21.78 KB, patch)
2007-10-17 21:35 UTC, Jose Quinteiro
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jose Quinteiro 2007-10-17 21:33:49 UTC
Mcl will sometimes break lines up into arbitrary chunks before sending them to an embedded interpreter (e.g. Perl or Python.)  This can make regex matching difficult.

These changes are really only extensively tested under BatMUD.  I know of one rare segfault in the PERL plugin code that I haven't fixed.  It's very hard to trigger, though.  I'll fix it as soon as I have a good reproducible test case.

Reproducible: Always

Steps to Reproduce:
Uh, you'd have to run some custom Perl scripts inside mcl connected to your mud of choice.



I've shared these changes with upstream, but have heard nothing yet.  I thought for a while that I'd take up continuing mcl development, but it's been over a year and I haven't done much.  I'm sharing this here in the hopes that others may find it useful.

I've run this on multiple Gentoo (and Debian) systems, so I dunno which --info would be relevant.
Comment 1 Jose Quinteiro 2007-10-17 21:35:14 UTC
Created attachment 133716 [details, diff]
Patch to send whole input lines to an embedded interpreter
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2007-10-17 21:49:04 UTC
Has this patch been sent upstream?
Comment 3 Jose Quinteiro 2007-10-17 21:51:25 UTC
(In reply to comment #2)
> Has this patch been sent upstream?
> 

Yep.  Haven't heard back yet, but it's only been a few days.
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2007-10-21 05:54:44 UTC
In portage.  Thanks for the bug report and patch.

remerge if this issue affects you.