-/*
- * Copyright (C) 1995-2007, Index Data ApS
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2013 Index Data
* See the file LICENSE for details.
- *
- * $Id: match_glob.c,v 1.1 2007-10-24 13:50:02 adam Exp $
*/
-
/**
* \file
* \brief Glob expression match
*/
-
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <assert.h>
#include <stdlib.h>
-#include <ctype.h>
#include <string.h>
#include <yaz/xmalloc.h>
return *text == '\0';
if (glob[0] == '*')
{
- do
+ do
{
if (yaz_match_glob(glob+1, text))
return 1;
/*
* Local variables:
* c-basic-offset: 4
+ * c-file-style: "Stroustrup"
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab