> --- 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.


Reply via email to