X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=util%2Ftpath.c;h=f04df3ef37a8dd37c6c942402f52c4e09a22ac98;hb=4b3d1e197d75fcb2607be8d86d244f20c4180000;hp=b8f07946a3244d52c339e6b84ddcbbc79d7dc13f;hpb=98f0cc2d7eeed27912edb88bf16512bb622b19ee;p=yaz-moved-to-github.git diff --git a/util/tpath.c b/util/tpath.c index b8f0794..f04df3e 100644 --- a/util/tpath.c +++ b/util/tpath.c @@ -1,9 +1,9 @@ /* - * Copyright (c) 1995-2002, Index Data. + * Copyright (c) 1995-2003, Index Data. * See the file LICENSE for details. * Sebastian Hammer, Adam Dickmeiss * - * $Id: tpath.c,v 1.6 2002-04-04 20:49:46 adam Exp $ + * $Id: tpath.c,v 1.9 2003-01-06 08:20:28 adam Exp $ */ #if HAVE_CONFIG_H #include @@ -18,11 +18,16 @@ FILE *yaz_path_fopen(const char *path, const char *name, const char *mode) { - return yaz_path_fopen_base (path, name, mode, 0); + return yaz_fopen (path, name, mode, 0); } -FILE *yaz_path_fopen_base(const char *path, const char *name, const char *mode, - const char *base) +int yaz_fclose (FILE *f) +{ + return fclose (f); +} + +FILE *yaz_fopen(const char *path, const char *name, const char *mode, + const char *base) { char spath[1024];