|
a/src/internfile/internfile.cpp |
|
b/src/internfile/internfile.cpp |
1 |
#ifndef lint
|
1 |
#ifndef lint
|
2 |
static char rcsid[] = "@(#$Id: internfile.cpp,v 1.37 2007-11-16 14:28:52 dockes Exp $ (C) 2004 J.F.Dockes";
|
2 |
static char rcsid[] = "@(#$Id: internfile.cpp,v 1.38 2008-05-27 05:40:58 dockes Exp $ (C) 2004 J.F.Dockes";
|
3 |
#endif
|
3 |
#endif
|
4 |
/*
|
4 |
/*
|
5 |
* This program is free software; you can redistribute it and/or modify
|
5 |
* This program is free software; you can redistribute it and/or modify
|
6 |
* it under the terms of the GNU General Public License as published by
|
6 |
* it under the terms of the GNU General Public License as published by
|
7 |
* the Free Software Foundation; either version 2 of the License, or
|
7 |
* the Free Software Foundation; either version 2 of the License, or
|
|
... |
|
... |
354 |
|
354 |
|
355 |
FileInterner::Status FileInterner::internfile(Rcl::Doc& doc, string& ipath)
|
355 |
FileInterner::Status FileInterner::internfile(Rcl::Doc& doc, string& ipath)
|
356 |
{
|
356 |
{
|
357 |
LOGDEB(("FileInterner::internfile. ipath [%s]\n", ipath.c_str()));
|
357 |
LOGDEB(("FileInterner::internfile. ipath [%s]\n", ipath.c_str()));
|
358 |
if (m_handlers.size() < 1) {
|
358 |
if (m_handlers.size() < 1) {
|
359 |
LOGERR(("FileInterner::internfile: bad stack size %d !!\n",
|
359 |
// Just means the constructor failed
|
360 |
m_handlers.size()));
|
360 |
LOGERR(("FileInterner::internfile: constructor failed\n"));
|
361 |
return FIError;
|
361 |
return FIError;
|
362 |
}
|
362 |
}
|
363 |
|
363 |
|
364 |
// Ipath vector.
|
364 |
// Ipath vector.
|
365 |
// Note that the vector is big enough for the maximum stack. All values
|
365 |
// Note that the vector is big enough for the maximum stack. All values
|