2 * Copyright (c) 1995, Index Data.
3 * See the file LICENSE for details.
4 * Sebastian Hammer, Adam Dickmeiss
7 * Revision 1.1 1995-11-01 16:35:00 quinn
8 * Making data1 look for tables in data1_tabpath
16 FILE *yaz_path_fopen(char *path, char *name, char *mode)
21 return fopen(name, mode);
27 if (sscanf(path, "%511[^:]", spath) < 1)
29 sprintf(spath + strlen(spath), "/%s", name);
30 if ((f = fopen(spath, mode)))
32 if ((path = strchr(path, ':')))