locking on port buffering operations
[bpt/guile.git] / libguile / strports.c
index 2b3a5ea..fc52a86 100644 (file)
@@ -207,7 +207,7 @@ st_seek (SCM port, scm_t_off offset, int whence)
        st_flush (port);
   
       if (pt->rw_active == SCM_PORT_READ)
-       scm_end_input (port);
+       scm_end_input_unlocked (port);
 
       switch (whence)
        {