summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libstand/pager.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libstand/pager.c b/lib/libstand/pager.c
index d043f83aedbe..55bbf09481eb 100644
--- a/lib/libstand/pager.c
+++ b/lib/libstand/pager.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: pager.c,v 1.1.1.1 1998/08/20 08:19:55 msmith Exp $
+ * $Id: pager.c,v 1.2 1998/09/18 22:58:00 msmith Exp $
*/
/*
* Simple paged-output and paged-viewing functions
@@ -139,7 +139,6 @@ pager_file(const char *fname)
return(-1);
}
- pager_open();
for (;;) {
hmuch = read(fd, buf, sizeof(buf) - 1);
if (hmuch == -1) {
@@ -156,7 +155,6 @@ pager_file(const char *fname)
break;
}
}
- pager_close();
close(fd);
return(result);
}