/*
- * "$Id: testfile.c 4942 2006-01-18 19:49:15Z mike $"
+ * "$Id: testfile.c 177 2006-06-21 00:20:03Z jlovell $"
*
* File test program for the Common UNIX Printing System (CUPS).
*
#include "string.h"
#include "file.h"
#include "debug.h"
-#include <zlib.h>
+#ifdef HAVE_LIBZ
+# include <zlib.h>
+#endif /* HAVE_LIBZ */
/*
*/
fputs("cupsFileFind: ", stdout);
- if (cupsFileFind("cat", "/bin", filename, sizeof(filename)) &&
- cupsFileFind("cat", "/bin:/usr/bin", filename, sizeof(filename)))
+ if (cupsFileFind("cat", "/bin", 1, filename, sizeof(filename)) &&
+ cupsFileFind("cat", "/bin:/usr/bin", 1, filename, sizeof(filename)))
printf("PASS (%s)\n", filename);
else
{
/*
- * End of "$Id: testfile.c 4942 2006-01-18 19:49:15Z mike $".
+ * End of "$Id: testfile.c 177 2006-06-21 00:20:03Z jlovell $".
*/