apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guenter Knauf <fua...@apache.org>
Subject Re: svn commit: r551983 - in /apr/apr-util/branches/1.2.x: dbd/apr_dbd.c
Date Fri, 29 Jun 2007 18:32:14 GMT
> --- apr/apr-util/branches/1.2.x/dbd/apr_dbd.c (original)
> +++ apr/apr-util/branches/1.2.x/dbd/apr_dbd.c Fri Jun 29 11:08:58 2007
> @@ -126,6 +126,8 @@

>  #ifdef WIN32
>      sprintf(path, "apr_dbd_%s.dll", name);
> +#elif defined(NETWARE)
> +    sprintf(path, "dbd%s.nlm", name);
>  #else
>      sprintf(path, "apr_dbd_%s.so", name);
>  #endif
this part looks in apr-util 1.3.x trunk:

#ifdef WIN32
    sprintf(path, "apr_dbd_%s.dll", name);
#elif defined(NETWARE)
    apr_snprintf(path, sizeof path, "dbd%s.nlm", name);
#else
    apr_snprintf(path, sizeof path, APU_DSO_LIBDIR "/apr_dbd_%s.so", name);
#endif

I think that we should use in 1.3.x also apr_snprintf() for the WIN32 load;
and that we use same in 1.2.x

Guenter.



Mime
View raw message