2 * Copyright (c) 1995, Index Data.
3 * See the file LICENSE for details.
4 * Sebastian Hammer, Adam Dickmeiss
7 * Revision 1.2 1996-10-29 13:36:26 adam
10 * Revision 1.1 1995/11/01 16:35:00 quinn
11 * Making data1 look for tables in data1_tabpath
20 FILE *yaz_path_fopen(const char *path, const char *name, const char *mode)
25 return fopen(name, mode);
31 if (sscanf(path, "%511[^:]", spath) < 1)
33 sprintf(spath + strlen(spath), "/%s", name);
34 if ((f = fopen(spath, mode)))
36 if ((path = strchr(path, ':')))