apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@covalent.net
Subject Re: cvs commit: apr/test testmmap.c
Date Mon, 04 Dec 2000 23:09:01 GMT

>        return 1;
>   +#else    
>   +    fprintf(stdout,"APR MMAP Test\n*************\n\n");
>   +    fprintf(stdout,"Failed!  APR was not built with MMAP.\n");
>   +    return -1;
>   +#endif
>    }

Please do not fail with a -1 here.  make test checks to determine if we
have failed with a -1 and stops at that point.  Building without MMAP
support should not be a fatal error, it should return 0 or 1.

Ryan

_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------


Mime
View raw message