apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Woolley <jwool...@virginia.edu>
Subject Re: cvs commit: apr-util/test teststrmatch.c Makefile.in
Date Thu, 09 May 2002 16:57:04 GMT
On 9 May 2002 brianp@apache.org wrote:

>       pattern = apr_strmatch_precompile(pool, "pattern", 1);
>       if (!pattern) {
>           printf("FAILED\n");
>           exit(1);
>       }
>       pattern_nocase = apr_strmatch_precompile(pool, "pattern", 0);
>       if (!pattern) {
>           printf("FAILED\n");
>           exit(1);
>       }
>       pattern_onechar = apr_strmatch_precompile(pool, "g", 0);
>       if (!pattern) {
>           printf("FAILED\n");
>           exit(1);
>       }
>       pattern_zero = apr_strmatch_precompile(pool, "", 0);
>       if (!pattern) {
>           printf("FAILED\n");
>           exit(1);
>       }

Cut-and-pastos on the if conditionals, I assume?

--Cliff

--------------------------------------------------------------
   Cliff Woolley
   cliffwoolley@yahoo.com
   Charlottesville, VA



Mime
View raw message