]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(line_wrap_stream): Initialize D->seek. cvs/libc-960821 cvs/libc-960822 cvs/libc-960823 cvs/libc-960824 cvs/libc-960825
authorMiles Bader <miles@gnu.org>
Tue, 20 Aug 1996 21:55:39 +0000 (21:55 +0000)
committerMiles Bader <miles@gnu.org>
Tue, 20 Aug 1996 21:55:39 +0000 (21:55 +0000)
stdio/linewrap.c

index 37780d21a353e80f1f049ac63c0c92ba3cc52bf2..e8fd85129887eb5a0632345411a5ea8ebd383a71 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);