summaryrefslogtreecommitdiff
path: root/lib/Input.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Input.cc')
-rw-r--r--lib/Input.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Input.cc b/lib/Input.cc
index 88f9343..d6d9ebf 100644
--- a/lib/Input.cc
+++ b/lib/Input.cc
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: Input.cc,v 1.46 2004-07-23 09:54:25 pixel Exp $ */
+/* $Id: Input.cc,v 1.47 2004-07-23 16:56:03 pixel Exp $ */
#include <stdio.h>
#include <string.h>
@@ -103,6 +103,8 @@ Input::Input(const String & no) throw (GeneralException) :
results = gresults;
+ UNLOCK
+
fromarchive = false;
if (results.name == "") {
struct stat s;
@@ -188,6 +190,7 @@ off_t Input::seek(off_t offset, int whence) throw (GeneralException) {
}
int Input::wrapopen(const String & fname, openresults_t * results) {
+ LOCK;
#ifdef DEBUG
printm(M_INFO, _("Wrap-opening ") + fname + "\n");
#endif