You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by rb...@covalent.net on 2000/12/05 00:09:01 UTC

Re: cvs commit: apr/test testmmap.c

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