w3m

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/w3m.git/
Log | Files | Refs | README

commit bd6d557c0ba9b9810c4b809119d470f01799f681
parent 971a17c07da84aecfbc935d50d946d2509c3ecb5
Author: ukai <ukai>
Date:   Mon,  4 Feb 2002 15:26:44 +0000

[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 <sys/stat.h>
* 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 <sys/stat.h>
		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  <tsuchiya@pine.kuee.kyoto-u.ac.jp>

Diffstat:
MChangeLog | 6++++++
Mfile.c | 5+----
2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,9 @@ +2002-02-04 TSUCHIYA Masatoshi <tsuchiya@pine.kuee.kyoto-u.ac.jp> + + * [w3m-dev 02986] + * file.c (print_internal_information): Don't print boundaries. + Use henv->f instead of stdout. + 2002-02-04 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> * [w3m-dev 02984] inline image improvements and cleanups diff --git a/file.c b/file.c @@ -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); } }