|
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.17 2006-11-10 13:29:39 dockes Exp $ (C) 2004 J.F.Dockes";
|
2 |
static char rcsid[] = "@(#$Id: internfile.cpp,v 1.18 2006-12-13 09:13:18 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
|
|
... |
|
... |
47 |
// Make sure tmp dir is empty. we guarantee this to filters
|
47 |
// Make sure tmp dir is empty. we guarantee this to filters
|
48 |
if (wipedir(tdir) != 0) {
|
48 |
if (wipedir(tdir) != 0) {
|
49 |
LOGERR(("uncompressfile: can't clear temp dir %s\n", tdir.c_str()));
|
49 |
LOGERR(("uncompressfile: can't clear temp dir %s\n", tdir.c_str()));
|
50 |
return false;
|
50 |
return false;
|
51 |
}
|
51 |
}
|
52 |
string cmd = conf->findFilter(cmdv.front());
|
52 |
string cmd = cmdv.front();
|
53 |
|
53 |
|
54 |
// Substitute file name and temp dir in command elements
|
54 |
// Substitute file name and temp dir in command elements
|
55 |
list<string>::const_iterator it = cmdv.begin();
|
55 |
list<string>::const_iterator it = cmdv.begin();
|
56 |
++it;
|
56 |
++it;
|
57 |
list<string> args;
|
57 |
list<string> args;
|