apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: [PATCH] get string showing supported dbm types in typical usage-syntax manner
Date Fri, 31 Mar 2006 19:14:18 GMT
Jeff Trawick wrote:
> 
> Apache httpd's htdbm's often-incorrect usage statement could use
> something like this patch:
> 
> -    fprintf(stderr, "   -T   DBM Type (SDBM|GDBM|DB|default).\n");
> +    fprintf(stderr, "   -T   DBM Type (%s).\n",
> +            apr_dbm_typestring_get(pool));
> 
> Or should applications that need to do something like that build their
> own string via APU_HAVE_foo and assume that the apr-util they built
> with matches the one they're running with?
> 

+1: concept

-- 
===========================================================================
   Jim Jagielski   [|]   jim@jaguNET.com   [|]   http://www.jaguNET.com/
	    "If you can dodge a wrench, you can dodge a ball."

Mime
View raw message