freebsd-ports/www/mod_backhand/files/patch-mod_backhand.c
Sean Chittenden 396bd70e27 Clear errno on library load. Fixes the symptom of mod_backhand aborting on
systems with nss.  Notified upstream maintainers.  Port rev bump.

PR:			ports/75048
Submitted by:		Rachel Willmer <rachel@hobthross.com>
Fix obtained from:	Scott Wilson <scott.wilson@gmail.com>
2006-02-21 08:50:44 +00:00

10 lines
299 B
C

--- mod_backhand.c.orig Tue Feb 21 00:42:40 2006
+++ mod_backhand.c Tue Feb 21 00:43:24 2006
@@ -427,6 +427,7 @@
mbcfg *cfg = (mbcfg *) mconfig;
struct cpd *newfunc;
cfg->local = 1;
+ ap_os_dso_error();
handle = ap_os_dso_load(szFilename);
if(!handle)
return ap_os_dso_error();