Petter Skott <lps@dc.luth.se> writes:
> Or to be fully correct:
>
> #include <stdio.h>
> #include "db.h"
> main ()
> {
> if (major < $svn_check_berkeley_db_major)
> exit (1);
> if (minor < $svn_check_berkeley_db_minor)
> exit (1);
> if (patch < $svn_check_berkeley_db_patch)
> exit (1);
> exit (0);
> }
Shouldn't that be:
#include <stdio.h>
#include "db.h"
main ()
{
if (major < $svn_check_berkeley_db_major)
exit (1);
else if (minor < $svn_check_berkeley_db_minor)
exit (1);
else if (patch < $svn_check_berkeley_db_patch)
exit (1);
exit (0);
}
(I changed two "if"s to "else if"s).
?,
-Karl
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:49 2006