blueszhangsh / serf

Automatically exported from code.google.com/p/serf
Apache License 2.0
0 stars 0 forks source link

serf core dumps if run against the wrong APR #23

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Since some APR calls have different numbers of arguments between 0.9 and
1.*, serf will core dump if not run against the APR it was built for.

Original issue reported on code.google.com by DanChris...@gmail.com on 9 Jul 2007 at 4:52

Attachments:

GoogleCodeExporter commented 9 years ago
Oops,  I didn't mean to sent that yet.

The patch above is code to do a run time check of APR version.  I don't know if 
that
is the best place to insert it in serf's code (it really only needs to be run 
once),
but it shows what could be done.

-Dan C

Original comment by DanChris...@gmail.com on 9 Jul 2007 at 4:55

GoogleCodeExporter commented 9 years ago
Since serf is a library and not an app, I think it is best to leave it to the 
app to
ensure the library versions don't conflict.

(If we ever add a serf_initialize, I guess we could do this check then; but 
since we
don't...)

Original comment by justin.e...@gmail.com on 30 Dec 2008 at 7:32