httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Schaefer <...@sunstarsys.com>
Subject 5005thread patch (was Re: make failure for Apache::Request)
Date Tue, 08 Jan 2002 06:11:23 GMT

[message forwarded to apreq-dev@httpd.apache.org - some content trimmed]

"Stathy Touloumis" <stathy.touloumis@edventions.com> writes:

> Hi,
> 
> I wasn't able to send an email to apreq-dev@apache.org, kept bouncing back.
> I thought I would forward it to you in case you might be able to help.
> 
> I was able to perform a successful build for libapreq-0.33 on :
> #uname -a
> Linux notebook 2.4.10 #1 Sun Dec 9 16:35:07 CST 2001 i686 unknown
> 
> The patch is below in 'unified' format.  Please let me know if there is
> documentation on standards for submitting patches etc.
> 
> Thanks : )
> 
> #perl -V

[...]

>     usethreads=define use5005threads=define useithreads=undef

[...]

> #diff -u Request.xs.OLD Request.xs
> --- Request.xs.OLD      Mon Jan  7 11:07:51 2002
> +++ Request.xs  Mon Jan  7 11:06:08 2002
> @@ -192,6 +192,7 @@
> 
>  static int upload_hook(void *ptr, char *buf, int len, ApacheUpload *upload)
>  {
> +       dTHX;
>      UploadHook *hook = (UploadHook *)ptr;
> 
>      if (!(upload->fp && ApacheRequest_tmpfile(upload->req, upload))) {

Thanks, will apply shortly.  Maybe we should also bundle some feature
tests (using Apache::test?) before going to 1.0?  Perhaps we should try 
adding some of the mod_perl test suite to (the perl portion of) libapreq.

Thoughts, anyone?
-- 
Joe Schaefer


Mime
View raw message