Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 196216
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jose Quinteiro <gentoo@quinteiro.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mcl-0.53.00-inputlines.patch Patch to send whole input lines to an embedded interpreter patch Jose Quinteiro 2007-10-17 21:35 0000 21.78 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 196216 depends on: Show dependency tree
Bug 196216 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-10-17 21:33 0000
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 From Jose Quinteiro 2007-10-17 21:35:14 0000 -------
Created an attachment (id=133716) [details]
Patch to send whole input lines to an embedded interpreter

------- Comment #2 From Mr. Bones. 2007-10-17 21:49:04 0000 -------
Has this patch been sent upstream?

------- Comment #3 From Jose Quinteiro 2007-10-17 21:51:25 0000 -------
(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 From Mr. Bones. 2007-10-21 05:54:44 0000 -------
In portage.  Thanks for the bug report and patch.

remerge if this issue affects you.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug