(line_wrap_stream): Initialize D->seek. libc-960825
authormiles <miles>
Tue, 20 Aug 1996 21:55:39 +0000 (21:55 +0000)
committermiles <miles>
Tue, 20 Aug 1996 21:55:39 +0000 (21:55 +0000)
stdio/linewrap.c

index 37780d2..e8fd851 100644 (file)
@@ -346,6 +346,7 @@ line_wrap_stream (FILE *stream, size_t lmargin, size_t rmargin, ssize_t wmargin)
   d->output = stream->__room_funcs.__output;
   d->close = stream->__io_funcs.__close;
   d->fileno = stream->__io_funcs.__fileno;
+  d->seek = stream->__io_funcs.__seek;
 
   /* Take over the stream.  */
   wrap_stream (stream, d);