]> mj.ucw.cz Git - libucw.git/commitdiff
fb-charconv now not closing wrapped stream, only flushing it
authorTomas Holusa <tomas.holusa@netcentrum.cz>
Wed, 8 Dec 2004 10:44:14 +0000 (10:44 +0000)
committerTomas Holusa <tomas.holusa@netcentrum.cz>
Wed, 8 Dec 2004 10:44:14 +0000 (10:44 +0000)
updated all places, when used this wrapper and close wrapped stream manually

charset/fb-charconv.c

index a7ba616f77dc14ed48bb23b0ed7958c4623aa615..9c54c883779daa84262fc14b009ba99de4340ff6 100644 (file)
@@ -49,7 +49,7 @@ fb_cc_spout(struct fastbuf *f)
 static void
 fb_cc_close(struct fastbuf *f)
 {
-  bclose(FB_CC(f)->out);
+  bflush(FB_CC(f)->out);
   xfree(f);
 }