# \[patch\] RSTRING fixes for 1.9

**URL:** <https://www.ruby-forum.com/t/patch-rstring-fixes-for-1-9/135078>\
**Category:** Mongrel\
**Created:** [April 17, 2008, 5:24pm UTC](https://www.ruby-forum.com/t/patch-rstring-fixes-for-1-9/135078 "2008-04-17T17:24:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cdr](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/d9b06d/32.png) [@cdr](https://www.ruby-forum.com/u/cdr)\
**Post date:** [April 17, 2008, 5:24pm UTC](https://www.ruby-forum.com/t/patch-rstring-fixes-for-1-9/135078/1 "2008-04-17T17:24:30Z")

</div>

doing what ebb did. change RSTRING(str)-\>ptr and RSTRING(str)-\>len to  
RSTRING\_PTR(str) and RSTRING\_LEN(str) and define a backwards-compatible  
macro…

i dont think i had to fix this before. maybe thin or something already  
had installed a working http11.so

maybe the mongrel parser should be its own package, since so much stuff  
uses it w/o the rest of mongrel?

side note. mongrel.rubyforge trac doesnt use the same accts as toplevel  
rubyforge? (why im mailing this)

best,  
C

---

<div class="post-metadata">

**Author:** ![cdr](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/d9b06d/32.png) [@cdr](https://www.ruby-forum.com/u/cdr)\
**Post date:** [April 17, 2008, 5:33pm UTC](https://www.ruby-forum.com/t/patch-rstring-fixes-for-1-9/135078/2 "2008-04-17T17:33:21Z")

</div>

On Thu, Apr 17, 2008 at 12:21 PM, cdr [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> doing what ebb did. change RSTRING(str)-\>ptr and RSTRING(str)-\>len to RSTRING\_PTR(str) and RSTRING\_LEN(str) and define a backwards-compatible macro..
> 
> i dont think i had to fix this before. maybe thin or something already had installed a working http11.so

This is already fixed in Mongrel

[http://mongrel.rubyforge.org/changeset/895](http://mongrel.rubyforge.org/changeset/895)

> maybe the mongrel parser should be its own package, since so much stuff uses it w/o the rest of mongrel?

Mongrel HTTP parser is core of mongrel, it shouldn’t be splitted.

> side note. mongrel.rubyforge trac doesnt use the same accts as toplevel rubyforge? (why im mailing this)

No, RubyForge do not offer Trac functionality, after all RubyForge is  
GForge / SourceForge software (PHP) and not Python.

Mongrel Trac is not hosted at rubyforge, even so, trac and GForge  
software cannot share authorization information (well, not without  
tweaking).

## – Luis L. Multimedia systems

Human beings, who are almost unique in having the ability to learn from  
the experience of others, are also remarkable for their apparent  
disinclination to do so.  
Douglas Adams
