/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2011 Index Data
+ * Copyright (C) 1995-2012 Index Data
* See the file LICENSE for details.
*/
/**
{
if (path && *path == '\0')
path = 0;
+ if (strchr("/\\", *fname))
+ path = 0;
for (;;)
{
struct stat stat_buf;