From 20c1fd1b01ef0b0b4cc20b63826dfbcedfd3e5cb Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Mon, 4 Feb 2002 15:26:44 +0000 Subject: [w3m-dev 02984] inline image improvements and cleanups * config.h.dist (HAVE_SYMLINK) added * config.h.dist (HAVE_LSTAT): added * configure: symlink() check * configure: lstat() check * fm.h (maxLoadImage): added * form.c (form_write_from_file): s/HAVE_READLINK/HAVE_LSTAT/ * image.c: include * image.c (MAX_LOAD_IMAGE): default 8 * image.c (max_load_image): deleted * image.c (n_load_image): added * image.c (showImageProgress): added * image.c (loadImage): check load image count s/HAVE_READLINK/HAVE_LSTAT/ (HAVE_SYMLINK) showImageProgress * local.c: include s/HAVE_READLINK/HAVE_LSTAT/ * rc.c (CMT_MAX_LOAD_IMAGE): added * rc.c (max_load_image): added * doc/README.img: update [w3m-dev 02986] * file.c (print_internal_information): Don't print boundaries. Use henv->f instead of stdout. From: TSUCHIYA Masatoshi --- ChangeLog | 8 +++++++- file.c | 7 ++----- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index f7f5a99..82db31f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-02-04 TSUCHIYA Masatoshi + + * [w3m-dev 02986] + * file.c (print_internal_information): Don't print boundaries. + Use henv->f instead of stdout. + 2002-02-04 Hironori Sakamoto * [w3m-dev 02984] inline image improvements and cleanups @@ -2788,4 +2794,4 @@ * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.298 2002/02/04 15:18:41 ukai Exp $ +$Id: ChangeLog,v 1.299 2002/02/04 15:26:44 ukai Exp $ diff --git a/file.c b/file.c index 7bffb9c..3ce3b46 100644 --- a/file.c +++ b/file.c @@ -1,4 +1,4 @@ -/* $Id: file.c,v 1.62 2002/02/04 15:18:42 ukai Exp $ */ +/* $Id: file.c,v 1.63 2002/02/04 15:26:44 ukai Exp $ */ #include "fm.h" #include #include "myctype.h" @@ -5742,9 +5742,6 @@ print_internal_information(struct html_feed_environ *henv) #endif if (fp->enctype == FORM_ENCTYPE_MULTIPART) Strcat_charp(s, " enctype=multipart/form-data"); - if (fp->boundary) - Strcat_m_charp(s, " boundary=\"", html_quote(fp->boundary), - "\"", NULL); Strcat_charp(s, ">"); pushTextLine(tl, newTextLine(s, 0)); } @@ -5778,7 +5775,7 @@ print_internal_information(struct html_feed_environ *henv) else if (henv->f) { TextLineListItem *p; for (p = tl->first; p; p = p->next) - printf("%s\n", p->ptr->line->ptr); + fprintf(henv->f, "%s\n", p->ptr->line->ptr); } } -- cgit v1.2.3