--- parser3/src/main/pa_common.C 2001/03/10 16:34:39 1.5 +++ parser3/src/main/pa_common.C 2001/03/12 09:08:51 1.7 @@ -1,9 +1,9 @@ /* Parser Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) - Author: Alexander Petrosyan + Author: Alexander Petrosyan (http://design.ru/paf) - $Id: pa_common.C,v 1.5 2001/03/10 16:34:39 paf Exp $ + $Id: pa_common.C,v 1.7 2001/03/12 09:08:51 paf Exp $ */ #ifdef HAVE_CONFIG_H @@ -37,7 +37,7 @@ int __snprintf(char *b, size_t s, const #endif -char *file_read(Pool& pool, char *fname, bool fail_on_read_problem) { +char *file_read(Pool& pool, const char *fname, bool fail_on_read_problem) { int f; struct stat finfo; if (fname && !stat(fname,&finfo) && (f=open(fname,O_RDONLY