<pre style='margin:0'>
Zero King (l2dy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/1bc9ce09cf2de44e4ecea89957c3d418ee1bb233">https://github.com/macports/macports-ports/commit/1bc9ce09cf2de44e4ecea89957c3d418ee1bb233</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 1bc9ce0 w3m: update Debian patch
</span>1bc9ce0 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 1bc9ce09cf2de44e4ecea89957c3d418ee1bb233
</span>Author: Zero King <l2dy@macports.org>
AuthorDate: Fri Feb 2 04:30:29 2018 +0000
<span style='display:block; white-space:pre;color:#404040;'> w3m: update Debian patch
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes CVE-2018-6196, CVE-2018-6197, CVE-2018-6198
</span>---
www/w3m/Portfile | 4 +-
www/w3m/files/debian/020_debian.patch | 1046 +++++++++++++++++++++++++--------
2 files changed, 790 insertions(+), 260 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/www/w3m/Portfile b/www/w3m/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 6b2fb55..9bab91a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/www/w3m/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/www/w3m/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,7 +4,7 @@ PortSystem 1.0
</span>
name w3m
version 0.5.3
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 10
</span> categories www
license MIT
maintainers nomaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -80,6 +80,6 @@ variant inline_image_imlib2 description {View inline images with imlib2} {
</span> }
livecheck.type regex
<span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.version "${version}-35"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.version "${version}-36"
</span> livecheck.url https://packages.debian.org/unstable/w3m
livecheck.regex ${name}_(\\d+(?:\\.\\d+)*-\\d+)(?:\\.\\d+)?.debian.tar.xz
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/www/w3m/files/debian/020_debian.patch b/www/w3m/files/debian/020_debian.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index fda367b..ebaf8f0 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/www/w3m/files/debian/020_debian.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/www/w3m/files/debian/020_debian.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,5 +1,5 @@
</span> Description: Git master branch of Debian's w3m
<span style='display:block; white-space:pre;background:#ffe0e0;'>-Origin: https://anonscm.debian.org/cgit/collab-maint/w3m.git
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Origin: https://salsa.debian.org/debian/w3m/commits/master
</span>
diff --git a/Bonus/goodict.cgi b/Bonus/goodict.cgi
index 8f443c1..5fb6581 100755
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -60,10 +60,102 @@ index 8f443c1..5fb6581 100755
</span> $input = "w3m-control: GOTO_LINK";
}
diff --git a/ChangeLog b/ChangeLog
<span style='display:block; white-space:pre;background:#ffe0e0;'>-index 88358ef..5e77a18 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 88358ef..b14c60a 100644
</span> --- a/ChangeLog
+++ ChangeLog
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1,3 +1,1526 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1,3 +1,1618 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++2018-01-25 Tatsuya Kinoshita <tats@debian.org>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * ChangeLog, NEWS: Add CVE IDs.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ cf. https://security-tracker.debian.org/tracker/source-package/w3m
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++2018-01-21 Tatsuya Kinoshita <tats@debian.org>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * NEWS: Update NEWS.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * scripts/Makefile.in: Do not remove w3mdict.cgi when "make distclean".
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * config.h.dist, config.h.in, configure, configure.ac, main.c, rc.c:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ Make temporary directory safely when ~/.w3m is unwritable.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=888097
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ [CVE-2018-6198]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * rc.c: Suppress error messages when ~/.w3m is unwritable.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=871425
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++2018-01-20 Tatsuya Kinoshita <tats@debian.org>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * config.guess, config.sub:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ Update config.* with autotools-dev 20171216.1.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * table.c: Prevent negative indent value in feed_table_block_tag().
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ Bug-Debian: https://github.com/tats/w3m/issues/88 [CVE-2018-6196]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++2018-01-06 Tatsuya Kinoshita <tats@debian.org>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * doc-jp/README.SSL: Doc fix for ssl_forbid_method.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * po/de.po, po/ja.po, po/w3m.pot, po/zh_CN.po, po/zh_TW.po, rc.c:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * url.c: Fix multi-character character constant for ssl_forbid_method.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++2018-01-06 se <se@example.com>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * po/de.po, po/ja.po, po/w3m.pot, po/zh_CN.po, po/zh_TW.po, rc.c:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * url.c: Extend ssl_forbid_method to disable TLSv1.1.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=874218#5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++2018-01-06 Tatsuya Kinoshita <tats@debian.org>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * w3mimg/fb/fb_w3mimg.c: Accept TERM=fbterm.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ cf. https://bushowhige.blogspot.jp/2015/01/fbterm-w3m-img.html
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++2017-12-27 Tatsuya Kinoshita <tats@debian.org>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * form.c: Prevent invalid columnPos() call in formUpdateBuffer().
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ Bug-Debian: https://github.com/tats/w3m/issues/89 [CVE-2018-6197]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * main.c: Typo fix in fusage().
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=878106
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * doc-jp/README.tab, doc/README.tab, main.c: English fix.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ cf. [emacs-w3m:12706], http://emacs-w3m.namazu.org/ml/msg12598.html
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++2017-12-24 HIGUCHI Daisuke (VDR dai) <dai@debian.org>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * scripts/w3mman/w3mman.1.in, terms.c: Fix spelling error.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++2017-08-27 Kyle J. McKay <mackyle@gmail.com>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ Correct <base ...> parsing and do not turn a form's GET into POST.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ Bug-Debian: https://github.com/tats/w3m/pull/93
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * form.c:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ form.c: do not gratuitously turn GET into POST.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ When encountering a <form ...> tag that contains these values:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ method="get" enctype="multipart/form-data"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ Do not transform the method into POST to accomodate enctype.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ Instead behave in the compatible way that all other browsers
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ behave in this instance and ignore the enctype parameter
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ (treating it as the default application/x-www-form-urlencoded)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ and perform a "GET" just as the method parameter requests.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ This behavior produces far more compatible results than
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ gratuitously changing the "get" into a "post" which can
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ result in unexpected "405 Method Not Allowed" errors.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * file.c:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ file.c: compute correct base URL when not absolute.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ When a server makes use of the PATH_INFO feature in a CGI,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ the returned pages may often have a <base href="..." /> tag
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ specifying the URL of the CGI itself as the base.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ However, to avoid hard-coding the scheme and host into such
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ a base href, the href value will often omit the scheme, host
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ and port.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ Make sure that when parsing any such base href value that
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ any omitted components are taken from the current URL rather
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ than taken as being from a bare, absolute file:/// URL.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span> +2017-01-02 Tatsuya Kinoshita <tats@debian.org>
+
+ * NEWS: Update NEWS.
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1642,10 +1734,23 @@ index 7d692f9..453072d 100644
</span> do \
(cd $$dir && $(MAKE) $(MAKE_ARGS) uninstall); \
diff --git a/NEWS b/NEWS
<span style='display:block; white-space:pre;background:#ffe0e0;'>-index 66e309d..d8a99d3 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 66e309d..4ed621a 100644
</span> --- a/NEWS
+++ NEWS
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1,3 +1,65 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1,3 +1,78 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++Debian's w3m 0.5.3+git20180125
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++* bug fixes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ - fix stack overflow with malformed text [CVE-2018-6196]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ - fix null deref with malformed text [CVE-2018-6197]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ - fix /tmp file races only when ~/.w3m is unwritable [CVE-2018-6198]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ - do not remove w3mdict.cgi when "make distclean"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ - do not turn a form's GET into POST
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ - correct <base ...> parsing
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ - accept TERM=fbterm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++* new feature
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ - extend ssl_forbid_method to disable TLSv1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span> +Debian's w3m 0.5.3+git20170102
+
+* bug fixes
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2220,7 +2325,7 @@ index 5afc26a..3b2352a 100644
</span> unlink(buf->savecache);
buf->savecache = NULL;
diff --git a/config.guess b/config.guess
<span style='display:block; white-space:pre;background:#ffe0e0;'>-index 51fab47..0967f2a 100755
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 51fab47..31e01ef 100755
</span> --- a/config.guess
+++ config.guess
@@ -1,13 +1,12 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2228,10 +2333,10 @@ index 51fab47..0967f2a 100755
</span> # Attempt to guess a canonical system name.
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+# Copyright 1992-2016 Free Software Foundation, Inc.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# Copyright 1992-2017 Free Software Foundation, Inc.
</span>
-timestamp='2004-03-12'
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+timestamp='2016-04-02'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++timestamp='2017-11-07'
</span>
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2246,7 +2351,7 @@ index 51fab47..0967f2a 100755
</span> # You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+# along with this program; if not, see <http://www.gnu.org/licenses/>.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# along with this program; if not, see <https://www.gnu.org/licenses/>.
</span> #
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2266,7 +2371,7 @@ index 51fab47..0967f2a 100755
</span> -# config.sub. If it succeeds, it prints the system name on stdout, and
-# exits with 0. Otherwise, it exits with 1.
+# You can get the latest version of this script from:
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
</span> #
-# The plan is that this can be called by configure scripts if you
-# don't specify an explicit build system type.
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2275,13 +2380,22 @@ index 51fab47..0967f2a 100755
</span>
me=`echo "$0" | sed -e 's,.*/,,'`
<span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -42,7 +39,7 @@ Usage: $0 [OPTION]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Output the configuration name of the system \`$me' is run on.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-Operation modes:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++Options:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -h, --help print this help, then exit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -t, --time-stamp print date of last modification, then exit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -v, --version print version number, then exit
</span> @@ -53,8 +50,7 @@ version="\
GNU config.guess ($timestamp)
Originally written by Per Bothner.
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
-Free Software Foundation, Inc.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+Copyright 1992-2016 Free Software Foundation, Inc.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++Copyright 1992-2017 Free Software Foundation, Inc.
</span>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2353,7 +2467,7 @@ index 51fab47..0967f2a 100755
</span> # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
# switched to ELF, *-*-netbsd* would select the old
# object file format. This provides both forward
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -151,22 +168,30 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -151,22 +168,33 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
</span> # Note: NetBSD doesn't particularly care about the vendor
# portion of the name. We always set it to "unknown".
sysctl="sysctl -n hw.machine_arch"
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2377,10 +2491,13 @@ index 51fab47..0967f2a 100755
</span> *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
esac
# The Operating System including object format, if it has switched
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # to ELF recently, or will in the future.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # to ELF recently, or will in the future.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ # to ELF recently (or will in the future) and ABI.
</span> case "${UNAME_MACHINE_ARCH}" in
<span style='display:block; white-space:pre;background:#ffe0e0;'>-- arm*|i386|m68k|ns32k|sh3*|sparc|vax)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ arm*|earm*|i386|m68k|ns32k|sh3*|sparc|vax)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ earm*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ os=netbsdelf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ arm*|i386|m68k|ns32k|sh3*|sparc|vax)
</span> eval $set_cc_for_build
if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
- | grep __ELF__ >/dev/null
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2388,7 +2505,7 @@ index 51fab47..0967f2a 100755
</span> then
# Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
# Return netbsd for either. FIX?
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -176,7 +201,14 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -176,7 +204,14 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
</span> fi
;;
*)
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2404,7 +2521,7 @@ index 51fab47..0967f2a 100755
</span> ;;
esac
# The OS release
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -189,78 +221,48 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -189,78 +224,54 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
</span> release='-gnu'
;;
*)
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2478,6 +2595,9 @@ index 51fab47..0967f2a 100755
</span> + UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'`
+ echo ${UNAME_MACHINE_ARCH}-unknown-libertybsd${UNAME_RELEASE}
+ exit ;;
<span style='display:block; white-space:pre;background:#e0ffe0;'>++ *:MidnightBSD:*:*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ echo ${UNAME_MACHINE}-unknown-midnightbsd${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ exit ;;
</span> *:ekkoBSD:*:*)
echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
- exit 0 ;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2497,6 +2617,9 @@ index 51fab47..0967f2a 100755
</span> + *:Sortix:*:*)
+ echo ${UNAME_MACHINE}-unknown-sortix
+ exit ;;
<span style='display:block; white-space:pre;background:#e0ffe0;'>++ *:Redox:*:*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ echo ${UNAME_MACHINE}-unknown-redox
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ exit ;;
</span> alpha:OSF1:*:*)
case $UNAME_RELEASE in
*4.0)
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2508,7 +2631,7 @@ index 51fab47..0967f2a 100755
</span> ;;
esac
# According to Compaq, /usr/sbin/psrinfo has been available on
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -270,76 +272,82 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -270,76 +281,73 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
</span> ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
case "$ALPHA_CPU_TYPE" in
"EV4 (21064)")
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2567,22 +2690,20 @@ index 51fab47..0967f2a 100755
</span> - Alpha*:OpenVMS:*:*)
- echo alpha-hp-vms
- exit 0 ;;
<span style='display:block; white-space:pre;background:#e0ffe0;'>+- Alpha\ *:Windows_NT*:*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # How do we know it's Interix rather than the generic POSIX subsystem?
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # Should we change UNAME_MACHINE based on the output of uname instead
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # of the specific Alpha model?
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- echo alpha-pc-interix
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- exit 0 ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- 21064:Windows_NT:50:3)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- echo alpha-dec-winnt3.5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- exit 0 ;;
</span> + echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
+ # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
+ exitcode=$?
+ trap '' 0
+ exit $exitcode ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- Alpha\ *:Windows_NT*:*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # How do we know it's Interix rather than the generic POSIX subsystem?
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Should we change UNAME_MACHINE based on the output of uname instead
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # of the specific Alpha model?
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- echo alpha-pc-interix
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- exit 0 ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ exit ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 21064:Windows_NT:50:3)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- echo alpha-dec-winnt3.5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- exit 0 ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ exit ;;
</span> Amiga*:UNIX_System_V:4.0:*)
echo m68k-unknown-sysv4
- exit 0;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2773,7 +2894,22 @@ index 51fab47..0967f2a 100755
</span> mips:*:*:UMIPS | mips:*:*:RISCos)
eval $set_cc_for_build
sed 's/^ //' << EOF >$dummy.c
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -467,35 +494,36 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -455,47 +482,48 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #if defined (host_mips) && defined (MIPSEB)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #if defined (SYSTYPE_SYSV)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ printf ("mips-mips-riscos%ssysv\\n", argv[1]); exit (0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #if defined (SYSTYPE_SVR4)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ printf ("mips-mips-riscos%ssvr4\\n", argv[1]); exit (0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ printf ("mips-mips-riscos%sbsd\\n", argv[1]); exit (0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span> exit (-1);
}
EOF
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2871,7 +3007,7 @@ index 51fab47..0967f2a 100755
</span> *:AIX:2:3)
if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
eval $set_cc_for_build
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -553,49 +581,54 @@ EOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -553,125 +581,140 @@ EOF
</span> exit(0);
}
EOF
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2912,8 +3048,9 @@ index 51fab47..0967f2a 100755
</span> *:AIX:*:*)
echo rs6000-ibm-aix
- exit 0 ;;
<span style='display:block; white-space:pre;background:#e0ffe0;'>+- ibmrt:4.4BSD:*|romp-ibm:BSD:*)
</span> + exit ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ibmrt:4.4BSD:*|romp-ibm:BSD:*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ibmrt:4.4BSD:*|romp-ibm:4.4BSD:*)
</span> echo romp-ibm-bsd4.4
- exit 0 ;;
+ exit ;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2940,7 +3077,10 @@ index 51fab47..0967f2a 100755
</span> 9000/[34678]??:HP-UX:*:*)
HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
case "${UNAME_MACHINE}" in
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -604,74 +637,84 @@ EOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- 9000/31? ) HP_ARCH=m68000 ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- 9000/[34]?? ) HP_ARCH=m68k ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ 9000/31?) HP_ARCH=m68000 ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ 9000/[34]??) HP_ARCH=m68k ;;
</span> 9000/[678][0-9][0-9])
if [ -x /usr/bin/getconf ]; then
sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3074,7 +3214,7 @@ index 51fab47..0967f2a 100755
</span> 3050*:HI-UX:*:*)
eval $set_cc_for_build
sed 's/^ //' << EOF >$dummy.c
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -699,340 +742,351 @@ EOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -699,356 +742,356 @@ EOF
</span> exit (0);
}
EOF
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3083,8 +3223,9 @@ index 51fab47..0967f2a 100755
</span> + { echo "$SYSTEM_NAME"; exit; }
echo unknown-hitachi-hiuxwe2
- exit 0 ;;
<span style='display:block; white-space:pre;background:#e0ffe0;'>+- 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
</span> + exit ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:*)
</span> echo hppa1.1-hp-bsd
- exit 0 ;;
+ exit ;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3095,8 +3236,9 @@ index 51fab47..0967f2a 100755
</span> *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
echo hppa1.0-hp-mpeix
- exit 0 ;;
<span style='display:block; white-space:pre;background:#e0ffe0;'>+- hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
</span> + exit ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ hp7??:OSF1:*:* | hp8?[79]:OSF1:*:*)
</span> echo hppa1.1-hp-osf
- exit 0 ;;
+ exit ;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3219,10 +3361,11 @@ index 51fab47..0967f2a 100755
</span> + UNAME_PROCESSOR=`/usr/bin/uname -p`
+ case ${UNAME_PROCESSOR} in
+ amd64)
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+ echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ *)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ UNAME_PROCESSOR=x86_64 ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ i386)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ UNAME_PROCESSOR=i586 ;;
</span> + esac
<span style='display:block; white-space:pre;background:#e0ffe0;'>++ echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
</span> + exit ;;
i*:CYGWIN*:*)
echo ${UNAME_MACHINE}-pc-cygwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3239,16 +3382,21 @@ index 51fab47..0967f2a 100755
</span> + *:MSYS*:*)
+ echo ${UNAME_MACHINE}-pc-msys
+ exit ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+ i*:windows32*:*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ # uname -m includes "-pc" on this system.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ echo ${UNAME_MACHINE}-mingw32
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ exit ;;
</span> i*:PW*:*)
echo ${UNAME_MACHINE}-pc-pw32
- exit 0 ;;
- x86:Interix*:[34]*)
- echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
- exit 0 ;;
<span style='display:block; white-space:pre;background:#e0ffe0;'>+- [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- echo i${UNAME_MACHINE}-pc-mks
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- exit 0 ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # How do we know it's Interix rather than the generic POSIX subsystem?
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # UNAME_MACHINE based on the output of uname instead of i386?
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- echo i586-pc-interix
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- exit 0 ;;
</span> + exit ;;
+ *:Interix*:*)
+ case ${UNAME_MACHINE} in
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3262,31 +3410,16 @@ index 51fab47..0967f2a 100755
</span> + echo ia64-unknown-interix${UNAME_RELEASE}
+ exit ;;
+ esac ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- echo i${UNAME_MACHINE}-pc-mks
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- exit 0 ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ exit ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ 8664:Windows_NT:*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ echo x86_64-pc-mks
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ exit ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # How do we know it's Interix rather than the generic POSIX subsystem?
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # UNAME_MACHINE based on the output of uname instead of i386?
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- echo i586-pc-interix
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- exit 0 ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ exit ;;
</span> i*:UWIN*:*)
echo ${UNAME_MACHINE}-pc-uwin
- exit 0 ;;
<span style='display:block; white-space:pre;background:#e0ffe0;'>+- p*:CYGWIN*:*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- echo powerpcle-unknown-cygwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- exit 0 ;;
</span> + exit ;;
+ amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
+ echo x86_64-unknown-cygwin
+ exit ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- p*:CYGWIN*:*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- echo powerpcle-unknown-cygwin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- exit 0 ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ exit ;;
</span> prep*:SunOS:5.*:*)
echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
- exit 0 ;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3455,6 +3588,9 @@ index 51fab47..0967f2a 100755
</span> - if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
- echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
- exit 0 ;;
<span style='display:block; white-space:pre;background:#e0ffe0;'>++ mips64el:Linux:*:*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ exit ;;
</span> + openrisc*:Linux:*:*)
+ echo or1k-unknown-linux-${LIBC}
+ exit ;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3494,6 +3630,9 @@ index 51fab47..0967f2a 100755
</span> + ppcle:Linux:*:*)
+ echo powerpcle-unknown-linux-${LIBC}
+ exit ;;
<span style='display:block; white-space:pre;background:#e0ffe0;'>++ riscv32:Linux:*:* | riscv64:Linux:*:*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ exit ;;
</span> s390:Linux:*:* | s390x:Linux:*:*)
- echo ${UNAME_MACHINE}-ibm-linux
- exit 0 ;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3631,11 +3770,12 @@ index 51fab47..0967f2a 100755
</span> i*86:*DOS:*:*)
echo ${UNAME_MACHINE}-pc-msdosdjgpp
- exit 0 ;;
<span style='display:block; white-space:pre;background:#e0ffe0;'>+- i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
</span> + exit ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ i*86:*:4.*:*)
</span> UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1040,15 +1094,16 @@ EOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
</span> else
echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
fi
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3655,7 +3795,7 @@ index 51fab47..0967f2a 100755
</span> i*86:*:3.2:*)
if test -f /usr/options/cb.name; then
UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1066,73 +1121,86 @@ EOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1066,73 +1109,86 @@ EOF
</span> else
echo ${UNAME_MACHINE}-pc-sysv32
fi
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3769,7 +3909,7 @@ index 51fab47..0967f2a 100755
</span> *:SINIX-*:*:*)
if uname -p 2>/dev/null >/dev/null ; then
UNAME_MACHINE=`(uname -p) 2>/dev/null`
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1140,278 +1208,203 @@ EOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1140,291 +1196,239 @@ EOF
</span> else
echo ns32k-sni-sysv
fi
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3884,14 +4024,21 @@ index 51fab47..0967f2a 100755
</span> + if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then
+ if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
+ if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+ (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ grep IS_64BIT_ARCH >/dev/null
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ grep IS_64BIT_ARCH >/dev/null
</span> + then
+ case $UNAME_PROCESSOR in
+ i386) UNAME_PROCESSOR=x86_64 ;;
+ powerpc) UNAME_PROCESSOR=powerpc64 ;;
+ esac
+ fi
<span style='display:block; white-space:pre;background:#e0ffe0;'>++ # On 10.4-10.6 one might compile for PowerPC via gcc -arch ppc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if (echo '#ifdef __POWERPC__'; echo IS_PPC; echo '#endif') | \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ grep IS_PPC >/dev/null
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ UNAME_PROCESSOR=powerpc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ fi
</span> + fi
+ elif test "$UNAME_PROCESSOR" = i386 ; then
+ # Avoid executing cc on OS X 10.9, as it ships with a stub
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3918,17 +4065,21 @@ index 51fab47..0967f2a 100755
</span> *:QNX:*:4*)
echo i386-pc-qnx
- exit 0 ;;
<span style='display:block; white-space:pre;background:#e0ffe0;'>+- NSR-?:NONSTOP_KERNEL:*:*)
</span> + exit ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+ NEO-?:NONSTOP_KERNEL:*:*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ NEO-*:NONSTOP_KERNEL:*:*)
</span> + echo neo-tandem-nsk${UNAME_RELEASE}
+ exit ;;
+ NSE-*:NONSTOP_KERNEL:*:*)
+ echo nse-tandem-nsk${UNAME_RELEASE}
+ exit ;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- NSR-?:NONSTOP_KERNEL:*:*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ NSR-*:NONSTOP_KERNEL:*:*)
</span> echo nsr-tandem-nsk${UNAME_RELEASE}
- exit 0 ;;
+ exit ;;
<span style='display:block; white-space:pre;background:#e0ffe0;'>++ NSX-*:NONSTOP_KERNEL:*:*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ echo nsx-tandem-nsk${UNAME_RELEASE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ exit ;;
</span> *:NonStop-UX:*:*)
echo mips-compaq-nonstopux
- exit 0 ;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4078,7 +4229,8 @@ index 51fab47..0967f2a 100755
</span> -#if defined (__386BSD__)
- printf ("i386-pc-bsd\n"); exit (0);
-#endif
<span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++echo "$0: unable to guess system type" >&2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> -#if defined (sequent)
-#if defined (i386)
- printf ("i386-sequent-dynix\n"); exit (0);
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4092,7 +4244,11 @@ index 51fab47..0967f2a 100755
</span> - struct utsname un;
-
- uname(&un);
<span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++case "${UNAME_MACHINE}:${UNAME_SYSTEM}" in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ mips:Linux | mips64:Linux)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ # If we got here on MIPS GNU/Linux, output extra information.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ cat >&2 <<EOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> - if (strncmp(un.version, "V2", 2) == 0) {
- printf ("i386-sequent-ptx2\n"); exit (0);
- }
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4130,7 +4286,9 @@ index 51fab47..0967f2a 100755
</span> -
- exit (1);
-}
<span style='display:block; white-space:pre;background:#ffe0e0;'>--EOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++NOTE: MIPS GNU/Linux systems require a C compiler to fully recognize
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++the system type. Please install a C compiler and try again.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ EOF
</span> -
-$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && $dummy && exit 0
-
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4163,23 +4321,45 @@ index 51fab47..0967f2a 100755
</span> - exit 0 ;;
- esac
-fi
<span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> cat >&2 <<EOF
<span style='display:block; white-space:pre;background:#ffe0e0;'>- $0: unable to guess system type
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-$0: unable to guess system type
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1419,7 +1412,9 @@ This script, last modified $timestamp, has failed to recognize
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- the operating system you are using. It is advised that you
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- download the most up to date version of the config scripts from
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-This script, last modified $timestamp, has failed to recognize
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-the operating system you are using. It is advised that you
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-download the most up to date version of the config scripts from
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++This script (version $timestamp), has failed to recognize the
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++operating system you are using. If your script is old, overwrite *all*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++copies of config.guess and config.sub with the latest versions from:
</span>
- ftp://ftp.gnu.org/pub/gnu/config/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+ http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
</span> +and
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+ http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-If the version you run ($0) is already up to date, please
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-send the following data and any information you think might be
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-pertinent to <config-patches@gnu.org> in order to provide the needed
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-information to handle your system.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++If $0 has already been updated, send the following data and any
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++information you think might be pertinent to config-patches@gnu.org to
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++provide the necessary information to handle your system.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ config.guess timestamp = $timestamp
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- If the version you run ($0) is already up to date, please
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- send the following data and any information you think might be
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1452,7 +1456,7 @@ EOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ exit 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Local variables:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-# eval: (add-hook 'write-file-hooks 'time-stamp)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# eval: (add-hook 'write-file-functions 'time-stamp)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # time-stamp-start: "timestamp='"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # time-stamp-format: "%:y-%02m-%02d"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # time-stamp-end: "'"
</span> diff --git a/config.h.dist b/config.h.dist
<span style='display:block; white-space:pre;background:#ffe0e0;'>-index 844a555..0440927 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 844a555..4d9c119 100644
</span> --- a/config.h.dist
+++ config.h.dist
@@ -9,10 +9,10 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4195,8 +4375,16 @@ index 844a555..0440927 100644
</span>
/*
If you want to load and save URL history.
<span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -210,6 +210,7 @@ typedef long clen_t;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define HAVE_SRANDOM
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #undef HAVE_GETPASSPHRASE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define HAVE_CHDIR
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define HAVE_MKDTEMP
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define SETJMP(env) sigsetjmp(env,1)
</span> diff --git a/config.h.in b/config.h.in
<span style='display:block; white-space:pre;background:#ffe0e0;'>-index 2f41eed..3b575e4 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 2f41eed..6ab3008 100644
</span> --- a/config.h.in
+++ config.h.in
@@ -25,6 +25,7 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4216,7 +4404,15 @@ index 2f41eed..3b575e4 100644
</span> #define ENABLE_REMOVE_TRAILINGSPACES
#undef MENU_THIN_FRAME
#undef USE_RAW_SCROLL
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -209,6 +210,10 @@ typedef RETSIGTYPE MySignalHandler;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -142,6 +143,7 @@ typedef long clen_t;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #undef HAVE_SRANDOM
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #undef HAVE_GETPASSPHRASE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #undef HAVE_CHDIR
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#undef HAVE_MKDTEMP
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #undef HAVE_SETPGRP
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #undef HAVE_SETLOCALE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #undef HAVE_LANGINFO_CODESET
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -209,6 +211,10 @@ typedef RETSIGTYPE MySignalHandler;
</span> #define SUPPORT_WIN9X_CONSOLE_MBCS 1
#endif
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4228,7 +4424,7 @@ index 2f41eed..3b575e4 100644
</span> #define DEFAULT_TERM "dosansi"
#else
diff --git a/config.sub b/config.sub
<span style='display:block; white-space:pre;background:#ffe0e0;'>-index ba33103..8d39c4b 100755
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index ba33103..00f68b8 100755
</span> --- a/config.sub
+++ config.sub
@@ -1,42 +1,40 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4236,10 +4432,10 @@ index ba33103..8d39c4b 100755
</span> # Configuration validation subroutine script.
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+# Copyright 1992-2016 Free Software Foundation, Inc.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# Copyright 1992-2017 Free Software Foundation, Inc.
</span>
-timestamp='2004-03-12'
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+timestamp='2016-03-30'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++timestamp='2017-11-23'
</span>
-# This file is (in principle) common to ALL GNU software.
-# The presence of a machine in this file suggests that SOME GNU software
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4267,7 +4463,7 @@ index ba33103..8d39c4b 100755
</span> -# Foundation, Inc., 59 Temple Place - Suite 330,
-# Boston, MA 02111-1307, USA.
-
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+# along with this program; if not, see <http://www.gnu.org/licenses/>.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# along with this program; if not, see <https://www.gnu.org/licenses/>.
</span> +#
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4288,12 +4484,12 @@ index ba33103..8d39c4b 100755
</span> # Otherwise, we print the canonical config type on stdout and succeed.
+# You can get the latest version of this script from:
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
</span> +
# This file is supposed to be the same for all GNU packages
# and recognize all the CPU types, system types and aliases
# that are meaningful with *any* GNU software.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -55,8 +53,7 @@ timestamp='2004-03-12'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -55,12 +53,11 @@ timestamp='2004-03-12'
</span> me=`echo "$0" | sed -e 's,.*/,,'`
usage="\
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4303,13 +4499,18 @@ index ba33103..8d39c4b 100755
</span>
Canonicalize a configuration name.
<span style='display:block; white-space:pre;background:#e0ffe0;'>+-Operation modes:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++Options:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -h, --help print this help, then exit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -t, --time-stamp print date of last modification, then exit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -v, --version print version number, then exit
</span> @@ -70,8 +67,7 @@ Report bugs and patches to <config-patches@gnu.org>."
version="\
GNU config.sub ($timestamp)
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
-Free Software Foundation, Inc.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+Copyright 1992-2016 Free Software Foundation, Inc.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++Copyright 1992-2017 Free Software Foundation, Inc.
</span>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4346,7 +4547,7 @@ index ba33103..8d39c4b 100755
</span> + nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
+ linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
+ knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+ kopensolaris*-gnu* | \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ kopensolaris*-gnu* | cloudabi*-eabi* | \
</span> + storm-chaos* | os2-emx* | rtmk-nova*)
os=-$maybe_os
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4405,7 +4606,7 @@ index ba33103..8d39c4b 100755
</span> -sco*)
os=-sco3.2v2
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -203,6 +217,12 @@ case $os in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -203,15 +217,18 @@ case $os in
</span> -isc*)
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4418,7 +4619,16 @@ index ba33103..8d39c4b 100755
</span> -lynx*)
os=-lynxos
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -227,57 +247,114 @@ case $basic_machine in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -ptx*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- -windowsnt*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- os=`echo $os | sed -e 's/windowsnt/winnt/'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -psos*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=-psos
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -227,57 +244,115 @@ case $basic_machine in
</span> # Some are omitted here because they have special meanings below.
1750a | 580 \
| a29k \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4440,8 +4650,9 @@ index ba33103..8d39c4b 100755
</span> + | e2k | epiphany \
+ | fido | fr30 | frv | ft32 \
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+- | i370 | i860 | i960 | ia64 \
</span> + | hexagon \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- | i370 | i860 | i960 | ia64 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ | i370 | i860 | i960 | ia16 | ia64 \
</span> | ip2k | iq2000 \
- | m32r | m32rle | m68000 | m68k | m88k | mcore \
+ | k1om \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4483,6 +4694,7 @@ index ba33103..8d39c4b 100755
</span> | pdp10 | pdp11 | pj | pjl \
- | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
+ | powerpc | powerpc64 | powerpc64le | powerpcle \
<span style='display:block; white-space:pre;background:#e0ffe0;'>++ | pru \
</span> | pyramid \
- | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
+ | riscv32 | riscv64 \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4494,6 +4706,9 @@ index ba33103..8d39c4b 100755
</span> - | strongarm \
- | tahoe | thumb | tic4x | tic80 | tron \
- | v850 | v850e \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+- | we32k \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- | x86 | xscale | xstormy16 | xtensa \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- | z8k)
</span> + | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
+ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
+ | spu \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4501,9 +4716,7 @@ index ba33103..8d39c4b 100755
</span> + | ubicom32 \
+ | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
+ | visium \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- | we32k \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- | x86 | xscale | xstormy16 | xtensa \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- | z8k)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ | wasm32 \
</span> + | x86 | xc16x | xstormy16 | xtensa \
+ | z8k | z80)
basic_machine=$basic_machine-unknown
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4549,7 +4762,7 @@ index ba33103..8d39c4b 100755
</span>
# We use `pc' rather than `unknown'
# because (1) that's what they normally are, and
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -293,59 +370,89 @@ case $basic_machine in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -293,59 +368,91 @@ case $basic_machine in
</span> # Recognize the basic CPU types with company name.
580-* \
| a29k-* \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4576,8 +4789,9 @@ index ba33103..8d39c4b 100755
</span> + | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
| h8300-* | h8500-* \
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+- | i*86-* | i860-* | i960-* | ia64-* \
</span> + | hexagon-* \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- | i*86-* | i860-* | i960-* | ia64-* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ | i*86-* | i860-* | i960-* | ia16-* | ia64-* \
</span> | ip2k-* | iq2000-* \
- | m32r-* | m32rle-* \
+ | k1om-* \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4623,6 +4837,7 @@ index ba33103..8d39c4b 100755
</span> | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
- | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
+ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
<span style='display:block; white-space:pre;background:#e0ffe0;'>++ | pru-* \
</span> | pyramid-* \
- | romp-* | rs6000-* \
- | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4645,6 +4860,7 @@ index ba33103..8d39c4b 100755
</span> + | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
+ | vax-* \
+ | visium-* \
<span style='display:block; white-space:pre;background:#e0ffe0;'>++ | wasm32-* \
</span> | we32k-* \
- | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
- | xtensa-* \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4742,7 +4958,7 @@ index ba33103..8d39c4b 100755
</span> cris | cris-* | etrax*)
basic_machine=cris-axis
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -481,6 +627,14 @@ case $basic_machine in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -481,14 +627,30 @@ case $basic_machine in
</span> basic_machine=m88k-motorola
os=-sysv3
;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4757,7 +4973,24 @@ index ba33103..8d39c4b 100755
</span> dpx20 | dpx20-*)
basic_machine=rs6000-bull
os=-bosx
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -592,7 +746,6 @@ case $basic_machine in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- dpx2* | dpx2*-bull)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ dpx2*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=m68k-bull
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=-sysv3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ e500v[12])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ basic_machine=powerpc-unknown
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ os=$os"spe"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ e500v[12]-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ os=$os"spe"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ebmon29k)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=a29k-amd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=-ebmon
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -592,7 +754,6 @@ case $basic_machine in
</span> i370-ibm* | ibm*)
basic_machine=i370-ibm
;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4765,7 +4998,7 @@ index ba33103..8d39c4b 100755
</span> i*86v32)
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
os=-sysv32
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -631,6 +784,17 @@ case $basic_machine in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -631,6 +792,17 @@ case $basic_machine in
</span> basic_machine=m68k-isi
os=-sysv
;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4783,7 +5016,7 @@ index ba33103..8d39c4b 100755
</span> m88k-omron*)
basic_machine=m88k-omron
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -642,10 +806,21 @@ case $basic_machine in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -642,10 +814,21 @@ case $basic_machine in
</span> basic_machine=ns32k-utek
os=-sysv
;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4806,7 +5039,7 @@ index ba33103..8d39c4b 100755
</span> miniframe)
basic_machine=m68000-convergent
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -659,10 +834,6 @@ case $basic_machine in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -659,10 +842,6 @@ case $basic_machine in
</span> mips3*)
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4817,7 +5050,7 @@ index ba33103..8d39c4b 100755
</span> monitor)
basic_machine=m68k-rom68k
os=-coff
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -671,14 +842,29 @@ case $basic_machine in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -671,14 +850,29 @@ case $basic_machine in
</span> basic_machine=powerpc-unknown
os=-morphos
;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4847,7 +5080,16 @@ index ba33103..8d39c4b 100755
</span> ncr3000)
basic_machine=i486-ncr
os=-sysv4
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -743,9 +929,11 @@ case $basic_machine in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -707,7 +901,7 @@ case $basic_machine in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=v70-nec
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=-sysv
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- next | m*-next )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ next | m*-next)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=m68k-next
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case $os in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -nextstep* )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -743,20 +937,24 @@ case $basic_machine in
</span> np1)
basic_machine=np1-gould
;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4862,7 +5104,11 @@ index ba33103..8d39c4b 100755
</span> ;;
nsr-tandem)
basic_machine=nsr-tandem
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -754,9 +942,8 @@ case $basic_machine in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ nsx-tandem)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ basic_machine=nsx-tandem
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ op50n-* | op60c-*)
</span> basic_machine=hppa1.1-oki
os=-proelf
;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4873,7 +5119,7 @@ index ba33103..8d39c4b 100755
</span> ;;
os400)
basic_machine=powerpc-ibm
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -778,6 +965,14 @@ case $basic_machine in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -778,6 +976,14 @@ case $basic_machine in
</span> basic_machine=i860-intel
os=-osf
;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4888,7 +5134,7 @@ index ba33103..8d39c4b 100755
</span> pbd)
basic_machine=sparc-tti
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -787,6 +982,12 @@ case $basic_machine in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -787,6 +993,12 @@ case $basic_machine in
</span> pc532 | pc532-*)
basic_machine=ns32k-pc532
;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4901,7 +5147,7 @@ index ba33103..8d39c4b 100755
</span> pentium | p5 | k5 | k6 | nexgen | viac3)
basic_machine=i586-pc
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -816,9 +1017,10 @@ case $basic_machine in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -816,11 +1028,12 @@ case $basic_machine in
</span> ;;
power) basic_machine=power-ibm
;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4912,9 +5158,21 @@ index ba33103..8d39c4b 100755
</span> + ppc-* | ppcbe-*)
+ basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ppcle | powerpclittle | ppc-le | powerpc-little)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ppcle | powerpclittle | ppc-le | powerpc-little)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ppcle | powerpclittle)
</span> basic_machine=powerpcle-unknown
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -843,6 +1045,14 @@ case $basic_machine in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ppcle-* | powerpclittle-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -830,7 +1043,7 @@ case $basic_machine in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ppc64le | powerpc64little | ppc64-le | powerpc64-little)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ppc64le | powerpc64little)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=powerpc64le-unknown
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ppc64le-* | powerpc64little-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -843,6 +1056,14 @@ case $basic_machine in
</span> basic_machine=i586-unknown
os=-pw32
;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4929,7 +5187,7 @@ index ba33103..8d39c4b 100755
</span> rom68k)
basic_machine=m68k-rom68k
os=-coff
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -869,6 +1079,10 @@ case $basic_machine in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -869,6 +1090,10 @@ case $basic_machine in
</span> sb1el)
basic_machine=mipsisa64sb1el-unknown
;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4940,7 +5198,7 @@ index ba33103..8d39c4b 100755
</span> sei)
basic_machine=mips-sei
os=-seiux
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -880,6 +1094,9 @@ case $basic_machine in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -880,6 +1105,9 @@ case $basic_machine in
</span> basic_machine=sh-hitachi
os=-hms
;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4950,7 +5208,7 @@ index ba33103..8d39c4b 100755
</span> sh64)
basic_machine=sh64-unknown
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -901,6 +1118,9 @@ case $basic_machine in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -901,6 +1129,9 @@ case $basic_machine in
</span> basic_machine=i860-stratus
os=-sysv4
;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4960,7 +5218,7 @@ index ba33103..8d39c4b 100755
</span> sun2)
basic_machine=m68000-sun
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -957,17 +1177,9 @@ case $basic_machine in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -957,17 +1188,9 @@ case $basic_machine in
</span> basic_machine=t90-cray
os=-unicos
;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4981,10 +5239,23 @@ index ba33103..8d39c4b 100755
</span> ;;
tx39)
basic_machine=mipstx39-unknown
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1029,9 +1241,16 @@ case $basic_machine in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1021,6 +1244,9 @@ case $basic_machine in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=a29k-wrs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=-vxworks
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ wasm32)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ basic_machine=wasm32-unknown
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ w65*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ basic_machine=w65-wdc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=-none
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1029,9 +1255,19 @@ case $basic_machine in
</span> basic_machine=hppa1.1-winbond
os=-proelf
;;
<span style='display:block; white-space:pre;background:#e0ffe0;'>++ x64)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ basic_machine=x86_64-pc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ;;
</span> + xbox)
+ basic_machine=i686-pc
+ os=-mingw32
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4998,7 +5269,7 @@ index ba33103..8d39c4b 100755
</span> ymp)
basic_machine=ymp-cray
os=-unicos
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1040,6 +1259,10 @@ case $basic_machine in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1040,6 +1276,10 @@ case $basic_machine in
</span> basic_machine=z8k-unknown
os=-sim
;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5009,7 +5280,7 @@ index ba33103..8d39c4b 100755
</span> none)
basic_machine=none-none
os=-none
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1059,6 +1282,9 @@ case $basic_machine in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1059,6 +1299,9 @@ case $basic_machine in
</span> romp)
basic_machine=romp-ibm
;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5019,7 +5290,7 @@ index ba33103..8d39c4b 100755
</span> rs6000)
basic_machine=rs6000-ibm
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1075,13 +1301,10 @@ case $basic_machine in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1075,13 +1318,10 @@ case $basic_machine in
</span> we32k)
basic_machine=we32k-att
;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5035,14 +5306,14 @@ index ba33103..8d39c4b 100755
</span> basic_machine=sparc-sun
;;
cydra)
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1125,9 +1348,12 @@ esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1125,9 +1365,12 @@ esac
</span> if [ x"$os" != x"" ]
then
case $os in
- # First match some system type aliases
- # that might get confused with valid system types.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+ # First match some system type aliases
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ # that might get confused with valid system types.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ # First match some system type aliases that might get confused
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ # with valid system types.
</span> # -solaris* is a basic system type, with this one exception.
+ -auroraux)
+ os=-auroraux
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5050,8 +5321,15 @@ index ba33103..8d39c4b 100755
</span> -solaris1 | -solaris1.*)
os=`echo $os | sed -e 's|solaris1|sunos4|'`
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1148,26 +1374,32 @@ case $os in
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Each alternative MUST END IN A *, to match a version number.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1143,31 +1386,37 @@ case $os in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -gnu/linux*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # First accept the basic system types.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ # Now accept the basic system types.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # The portable systems comes first.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # Each alternative MUST END IN A *, to match a version number.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ # Each alternative MUST end in a * to match a version number.
</span> # -sysv* is not here because it comes later, after sysvr4.
-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
- | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5074,9 +5352,9 @@ index ba33103..8d39c4b 100755
</span> - | -chorusos* | -chorusrdb* \
- | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
- | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+ | -chorusos* | -chorusrdb* | -cegcc* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ | -chorusos* | -chorusrdb* | -cegcc* | -glidix* \
</span> + | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+ | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
</span> + | -linux-newlib* | -linux-musl* | -linux-uclibc* \
+ | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5087,11 +5365,11 @@ index ba33103..8d39c4b 100755
</span> - | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*)
+ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
+ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+ | -onefs* | -tirtos*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox*)
</span> # Remember, each alternative MUST END IN *, to match a version number.
;;
-qnx*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1185,7 +1417,7 @@ case $os in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1185,7 +1434,7 @@ case $os in
</span> os=`echo $os | sed -e 's|nto|nto-qnx|'`
;;
-sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5100,7 +5378,7 @@ index ba33103..8d39c4b 100755
</span> | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
;;
-mac*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1206,7 +1438,7 @@ case $os in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1206,7 +1455,7 @@ case $os in
</span> -opened*)
os=-openedition
;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5109,7 +5387,16 @@ index ba33103..8d39c4b 100755
</span> os=-os400
;;
-wince*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1255,7 +1487,7 @@ case $os in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1242,7 +1491,7 @@ case $os in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -nova*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=-rtmk-nova
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- -ns2 )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ -ns2)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=-nextstep2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -nsk*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1255,7 +1504,7 @@ case $os in
</span> -sinix*)
os=-sysv4
;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5118,7 +5405,7 @@ index ba33103..8d39c4b 100755
</span> os=-tpf
;;
-triton*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1291,8 +1523,15 @@ case $os in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1291,8 +1540,28 @@ case $os in
</span> -aros*)
os=-aros
;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5130,13 +5417,26 @@ index ba33103..8d39c4b 100755
</span> + -dicos*)
+ os=-dicos
+ ;;
<span style='display:block; white-space:pre;background:#e0ffe0;'>++ -pikeos*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ # Until real need of OS specific support for
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ # particular features comes up, bare metal
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ # configurations are quite functional.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ case $basic_machine in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ arm*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ os=-eabi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ *)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ os=-elf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ;;
</span> + -nacl*)
+ ;;
+ -ios)
;;
-none)
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1316,6 +1555,12 @@ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1316,6 +1585,12 @@ else
</span> # system, and we'll never get to this point.
case $basic_machine in
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5149,7 +5449,7 @@ index ba33103..8d39c4b 100755
</span> *-acorn)
os=-riscix1.2
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1325,9 +1570,24 @@ case $basic_machine in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1325,9 +1600,24 @@ case $basic_machine in
</span> arm*-semi)
os=-aout
;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5177,7 +5477,7 @@ index ba33103..8d39c4b 100755
</span> # This must come before the *-dec entry.
pdp10-*)
os=-tops20
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1346,13 +1606,13 @@ case $basic_machine in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1346,13 +1636,13 @@ case $basic_machine in
</span> ;;
m68000-sun)
os=-sunos3
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5194,7 +5494,13 @@ index ba33103..8d39c4b 100755
</span> mips*-cisco)
os=-elf
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1371,9 +1631,15 @@ case $basic_machine in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1368,12 +1658,21 @@ case $basic_machine in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sparc-* | *-sun)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=-sunos4.1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ pru-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ os=-elf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ;;
</span> *-be)
os=-beos
;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5210,7 +5516,16 @@ index ba33103..8d39c4b 100755
</span> *-wec)
os=-proelf
;;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1476,7 +1742,7 @@ case $basic_machine in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1407,7 +1706,7 @@ case $basic_machine in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ m88k-omron*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=-luna
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- *-next )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ *-next)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os=-nextstep
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ *-sequent)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1476,7 +1775,7 @@ case $basic_machine in
</span> -sunos*)
vendor=sun
;;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5219,7 +5534,7 @@ index ba33103..8d39c4b 100755
</span> vendor=ibm
;;
-beos*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1539,7 +1805,7 @@ case $basic_machine in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1539,10 +1838,10 @@ case $basic_machine in
</span> esac
echo $basic_machine$os
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5227,9 +5542,13 @@ index ba33103..8d39c4b 100755
</span> +exit
# Local variables:
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # eval: (add-hook 'write-file-hooks 'time-stamp)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-# eval: (add-hook 'write-file-hooks 'time-stamp)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# eval: (add-hook 'write-file-functions 'time-stamp)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # time-stamp-start: "timestamp='"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # time-stamp-format: "%:y-%02m-%02d"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # time-stamp-end: "'"
</span> diff --git a/configure b/configure
<span style='display:block; white-space:pre;background:#ffe0e0;'>-index 4c1bc06..140f050 100755
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 4c1bc06..8699b43 100755
</span> --- a/configure
+++ configure
@@ -1486,11 +1486,11 @@ Optional Packages:
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5332,6 +5651,15 @@ index 4c1bc06..140f050 100755
</span> for lib in $with_termlib; do
as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_tgetent" | $as_tr_sh`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -l$lib" >&5
<span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -8766,7 +8767,7 @@ _ACEOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-for ac_func in strcasecmp strcasestr strchr memcpy strerror bcopy setpgrp chdir getcwd getwd readlink setenv putenv strtoll stroq atoll atoq symlink readlink lstat srand48 srandom getpassphrase waitpid setlocale
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++for ac_func in strcasecmp strcasestr strchr memcpy strerror bcopy setpgrp chdir mkdtemp getcwd getwd readlink setenv putenv strtoll stroq atoll atoq symlink readlink lstat srand48 srandom getpassphrase waitpid setlocale
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ do :
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
</span> @@ -8986,7 +8987,7 @@ extern char *sys_errlist[];
int
main ()
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5372,9 +5700,18 @@ index 4c1bc06..140f050 100755
</span> "libwc/Makefile") CONFIG_FILES="$CONFIG_FILES libwc/Makefile" ;;
"w3mimg/Makefile") CONFIG_FILES="$CONFIG_FILES w3mimg/Makefile" ;;
diff --git a/configure.ac b/configure.ac
<span style='display:block; white-space:pre;background:#ffe0e0;'>-index 7308fc6..320a6e2 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 7308fc6..ebb3282 100644
</span> --- a/configure.ac
+++ configure.ac
<span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -150,7 +150,7 @@ dnl AC_FUNC_MEMCMP
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ dnl AC_FUNC_MMAP
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ dnl AC_FUNC_SETVBUF_REVERSED
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ dnl AC_FUNC_VPRINTF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-AC_CHECK_FUNCS(strcasecmp strcasestr strchr memcpy strerror bcopy setpgrp chdir getcwd getwd readlink setenv putenv strtoll stroq atoll atoq symlink readlink lstat srand48 srandom getpassphrase waitpid setlocale)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_CHECK_FUNCS(strcasecmp strcasestr strchr memcpy strerror bcopy setpgrp chdir mkdtemp getcwd getwd readlink setenv putenv strtoll stroq atoll atoq symlink readlink lstat srand48 srandom getpassphrase waitpid setlocale)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AC_FUNC_STRFTIME
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AC_FUNC_WAIT3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AC_FUNC_SETPGRP
</span> @@ -172,7 +172,7 @@ AC_SUBST(RC_DIR)
RC_DIR="~/.$PACKAGE"
AC_DEFINE(RC_DIR, "$RC_DIR")
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -9249,14 +9586,16 @@ index 074766f..e5e59b1 100644
</span> http://w3m.sourceforge.net/
+ https://sourceforge.net/projects/w3m/
diff --git a/doc-jp/README.SSL b/doc-jp/README.SSL
<span style='display:block; white-space:pre;background:#ffe0e0;'>-index 4aedfde..47d5fd6 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 4aedfde..ac3f4a3 100644
</span> --- a/doc-jp/README.SSL
+++ doc-jp/README.SSL
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -25,9 +25,9 @@ SSL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -24,10 +24,10 @@ SSL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ �� SSL �˴ؤ��ưʲ������꤬��ǽ�ˤʤäƤޤ�:
</span>
ssl_forbid_method
<span style='display:block; white-space:pre;background:#ffe0e0;'>- �Ȥ�ʤ�SSL��åɤΥꥹ��(2: SSLv2, 3: SSLv3, t: TLSv1)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- �Ȥ�ʤ�SSL��åɤΥꥹ��(2: SSLv2, 3: SSLv3, t: TLSv1)
</span> - (�ǥե���Ȥ�<NULL>).
<span style='display:block; white-space:pre;background:#e0ffe0;'>++ �Ȥ�ʤ�SSL��åɤΥꥹ��(2: SSLv2, 3: SSLv3, t: TLSv1.0, 5: TLSv1.1)
</span> + (�ǥե���Ȥ�2, 3).
ssl_verify_server ON/OFF
- SSL�Υ�����ǧ�ڤ�Ԥ�(�ǥե���Ȥ�OFF).
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -9377,6 +9716,18 @@ index 0000000..90066f7
</span> +http://www.example.com/ABC/
+
+���������ۥ���̾����ʬ�Ͼ�˾�ʸ�����Ѵ����Ƥ�����Ӥ��ޤ���
<span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/doc-jp/README.tab b/doc-jp/README.tab
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 61f7c58..99a1220 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- a/doc-jp/README.tab
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ doc-jp/README.tab
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -38,6 +38,6 @@ w3m $B$r%?%V%V%i%&%62=(B
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ open_tab_blank $B!D(B target $B$,(B _blank $B$+(B _new $B$N>l9g$O?7$7$$%?%V$G3+$/(B
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $B%G%U%)%k%H$O(B OFF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ close_tab_back $B!D(B $BLa$k;~$K%P%C%U%!$,:G8e$J$i%?%V$rJD$8$k(B
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- $B%G%U%)%k%H$O(B OFF (= Can't back...)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ $B%G%U%)%k%H$O(B OFF (= Can't go back...)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $B$rDI2C$7$F$$$^$9!#(B
</span> diff --git a/doc-jp/keymap.lynx b/doc-jp/keymap.lynx
index 869c716..e4085c8 100644
--- a/doc-jp/keymap.lynx
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -13910,6 +14261,19 @@ index 0000000..588afc4
</span> + environmental variable.
+
+ $ W3M_IMG2SIXEL="img2sixel -d atkinson" w3m -sixel http://...
<span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/doc/README.tab b/doc/README.tab
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 8e98e1c..f237f70 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- a/doc/README.tab
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ doc/README.tab
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -39,7 +39,7 @@ Options:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ open_tab_blank ... open new tab if target is _blank or _new
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default: OFF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ close_tab_back ... close the tab when you back from last buffer in the tab
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- default: OFF (= Can't back...)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ default: OFF (= Can't go back...)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> diff --git a/doc/keymap.lynx b/doc/keymap.lynx
index 869c716..e4085c8 100644
--- a/doc/keymap.lynx
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -14453,7 +14817,7 @@ index 8fe1215..37c4f15 100644
</span> QuietMessage = TRUE;
fmInitialized = FALSE;
diff --git a/file.c b/file.c
<span style='display:block; white-space:pre;background:#ffe0e0;'>-index 567d41e..4d15ff1 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 567d41e..9b0e947 100644
</span> --- a/file.c
+++ file.c
@@ -26,6 +26,8 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -14990,10 +15354,11 @@ index 567d41e..4d15ff1 100644
</span> Strcat_char(tmp, ' ');
}
break;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -3732,6 +3753,75 @@ process_input(struct parsed_tag *tag)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -3731,6 +3752,75 @@ process_input(struct parsed_tag *tag)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return tmp;
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>- Str
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++Str
</span> +process_button(struct parsed_tag *tag)
+{
+ Str tmp = NULL;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -15062,10 +15427,9 @@ index 567d41e..4d15ff1 100644
</span> + return tmp;
+}
+
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+Str
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Str
</span> process_select(struct parsed_tag *tag)
{
<span style='display:block; white-space:pre;background:#ffe0e0;'>- Str tmp = NULL;
</span> @@ -3926,7 +4016,7 @@ process_textarea(struct parsed_tag *tag, int width)
cur_textarea_size = 20;
if (parsedtag_get_value(tag, ATTR_COLS, &p)) {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -15383,7 +15747,8 @@ index 567d41e..4d15ff1 100644
</span> + buf->document_charset);
if (!buf->baseURL)
buf->baseURL = New(ParsedURL);
<span style='display:block; white-space:pre;background:#ffe0e0;'>- parseURL(p, buf->baseURL, NULL);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- parseURL(p, buf->baseURL, NULL);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ parseURL2(p, buf->baseURL, &buf->currentURL);
</span> +#if defined(USE_M17N) || defined(USE_IMAGE)
+ base = buf->baseURL;
+#endif
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -16142,7 +16507,7 @@ index 8378939..96d3ab3 100644
</span> global double image_scale init(100);
#endif
diff --git a/form.c b/form.c
<span style='display:block; white-space:pre;background:#ffe0e0;'>-index b7556ca..0605513 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index b7556ca..bc14d39 100644
</span> --- a/form.c
+++ form.c
@@ -10,8 +10,10 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -16156,7 +16521,20 @@ index b7556ca..0605513 100644
</span> #include "menu.h"
#endif /* MENU_SELECT */
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -122,10 +124,12 @@ formList_addInput(struct form_list *fl, struct parsed_tag *tag)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -54,10 +56,9 @@ newFormList(char *action, char *method, char *charset, char *enctype,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ m = FORM_METHOD_INTERNAL;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* unknown method is regarded as 'get' */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (enctype != NULL && !strcasecmp(enctype, "multipart/form-data")) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if (m != FORM_METHOD_GET && enctype != NULL &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ !strcasecmp(enctype, "multipart/form-data")) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ e = FORM_ENCTYPE_MULTIPART;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (m == FORM_METHOD_GET)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- m = FORM_METHOD_POST;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifdef USE_M17N
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -122,10 +123,12 @@ formList_addInput(struct form_list *fl, struct parsed_tag *tag)
</span> parsedtag_get_value(tag, ATTR_SIZE, &item->size);
parsedtag_get_value(tag, ATTR_MAXLENGTH, &item->maxlength);
item->readonly = parsedtag_exists(tag, ATTR_READONLY);
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -16171,7 +16549,7 @@ index b7556ca..0605513 100644
</span> item->select_option = select_option[i].first;
#endif /* MENU_SELECT */
if (parsedtag_get_value(tag, ATTR_ROWS, &p))
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -196,7 +200,7 @@ formtype(char *typestr)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -196,7 +199,7 @@ formtype(char *typestr)
</span> if (!strcasecmp(typestr, _formtypetbl[i]))
return i;
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -16180,7 +16558,7 @@ index b7556ca..0605513 100644
</span> }
void
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -316,7 +320,8 @@ form_update_line(Line *line, char **str, int spos, int epos, int width,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -316,7 +319,8 @@ form_update_line(Line *line, char **str, int spos, int epos, int width,
</span> pos += width - w;
len = line->len + pos + spos - epos;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -16190,7 +16568,7 @@ index b7556ca..0605513 100644
</span> prop = New_N(Lineprop, len);
bcopy((void *)line->lineBuf, (void *)buf, spos * sizeof(char));
bcopy((void *)line->propBuf, (void *)prop, spos * sizeof(Lineprop));
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -438,6 +443,9 @@ formUpdateBuffer(Anchor *a, Buffer *buf, FormItemList *form)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -438,6 +442,9 @@ formUpdateBuffer(Anchor *a, Buffer *buf, FormItemList *form)
</span> switch (form->type) {
case FORM_INPUT_CHECKBOX:
case FORM_INPUT_RADIO:
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -16200,7 +16578,7 @@ index b7556ca..0605513 100644
</span> if (form->checked)
buf->currentLine->lineBuf[spos] = '*';
else
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -455,8 +463,14 @@ formUpdateBuffer(Anchor *a, Buffer *buf, FormItemList *form)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -455,8 +462,14 @@ formUpdateBuffer(Anchor *a, Buffer *buf, FormItemList *form)
</span> }
else
#endif /* MENU_SELECT */
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -16215,7 +16593,16 @@ index b7556ca..0605513 100644
</span> if (form->type == FORM_TEXTAREA) {
int n = a->y - buf->currentLine->linenumber;
if (n > 0)
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -477,6 +491,9 @@ formUpdateBuffer(Anchor *a, Buffer *buf, FormItemList *form)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -469,6 +482,8 @@ formUpdateBuffer(Anchor *a, Buffer *buf, FormItemList *form)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rows = form->rows ? form->rows : 1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ col = COLPOS(l, a->start.pos);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ for (c_rows = 0; c_rows < rows; c_rows++, l = l->next) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if (l == NULL)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ break;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (rows > 1) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pos = columnPos(l, col);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ a = retrieveAnchor(buf->formitem, l->linenumber, pos);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -477,6 +492,9 @@ formUpdateBuffer(Anchor *a, Buffer *buf, FormItemList *form)
</span> spos = a->start.pos;
epos = a->end.pos;
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -16225,7 +16612,7 @@ index b7556ca..0605513 100644
</span> pos = form_update_line(l, &p, spos, epos, COLPOS(l, epos) - col,
rows > 1,
form->type == FORM_INPUT_PASSWORD);
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -787,7 +804,7 @@ struct pre_form {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -787,7 +805,7 @@ struct pre_form {
</span> static struct pre_form *PreForm = NULL;
static struct pre_form *
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -16234,7 +16621,7 @@ index b7556ca..0605513 100644
</span> {
ParsedURL pu;
struct pre_form *new;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -796,21 +813,13 @@ add_pre_form(struct pre_form *prev, char *url, char *name, char *action)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -796,21 +814,13 @@ add_pre_form(struct pre_form *prev, char *url, char *name, char *action)
</span> new = prev->next = New(struct pre_form);
else
new = PreForm = New(struct pre_form);
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -16260,7 +16647,7 @@ index b7556ca..0605513 100644
</span> new->name = (name && *name) ? name : NULL;
new->action = (action && *action) ? action : NULL;
new->item = NULL;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -834,7 +843,7 @@ add_pre_form_item(struct pre_form *pf, struct pre_form_item *prev, int type,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -834,7 +844,7 @@ add_pre_form_item(struct pre_form *pf, struct pre_form_item *prev, int type,
</span> new->name = name;
new->value = value;
if (checked && *checked && (!strcmp(checked, "0") ||
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -16269,7 +16656,7 @@ index b7556ca..0605513 100644
</span> || !strcasecmp(checked, "no")))
new->checked = 0;
else
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -875,6 +884,7 @@ loadPreForm(void)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -875,6 +885,7 @@ loadPreForm(void)
</span> return;
while (1) {
char *p, *s, *arg;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -16277,7 +16664,7 @@ index b7556ca..0605513 100644
</span>
line = Strfgets(fp);
if (line->length == 0)
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -890,18 +900,20 @@ loadPreForm(void)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -890,18 +901,20 @@ loadPreForm(void)
</span> if (*p == '#' || *p == '\0')
continue; /* comment or empty line */
s = getWord(&p);
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -16300,7 +16687,7 @@ index b7556ca..0605513 100644
</span> if (!strcmp(s, "form")) {
if (!arg || !*arg)
continue;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -913,7 +925,7 @@ loadPreForm(void)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -913,7 +926,7 @@ loadPreForm(void)
</span> }
if (pf->item) {
struct pre_form *prev = pf;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18803,7 +19190,7 @@ index c0461df..f0c6242 100644
</span> int quoted;
char *q = NULL;
diff --git a/main.c b/main.c
<span style='display:block; white-space:pre;background:#ffe0e0;'>-index b421943..85b0003 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index b421943..43e181c 100644
</span> --- a/main.c
+++ main.c
@@ -1,6 +1,7 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18833,7 +19220,7 @@ index b421943..85b0003 100644
</span> static void
fversion(FILE * f)
{
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -200,10 +206,12 @@ fusage(FILE * f, int err)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -200,9 +206,11 @@ fusage(FILE * f, int err)
</span> #ifdef USE_M17N
fprintf(f, " -I charset document charset\n");
fprintf(f, " -O charset display/output charset\n");
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18841,11 +19228,10 @@ index b421943..85b0003 100644
</span> fprintf(f, " -e EUC-JP\n");
fprintf(f, " -s Shift_JIS\n");
fprintf(f, " -j JIS\n");
<span style='display:block; white-space:pre;background:#ffe0e0;'>- #endif
</span> +#endif
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span> fprintf(f, " -B load bookmark\n");
fprintf(f, " -bookmark file specify bookmark file\n");
<span style='display:block; white-space:pre;background:#ffe0e0;'>- fprintf(f, " -T type specify content-type\n");
</span> @@ -214,7 +222,7 @@ fusage(FILE * f, int err)
#endif /* USE_COLOR */
fprintf(f,
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18855,10 +19241,12 @@ index b421943..85b0003 100644
</span> fprintf(f,
" -cols width specify column width (used with -dump)\n");
fprintf(f,
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -248,8 +256,12 @@ fusage(FILE * f, int err)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -247,9 +255,13 @@ fusage(FILE * f, int err)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ " -cookie use cookie (-no-cookie: don't use cookie)\n");
</span> #endif /* USE_COOKIE */
fprintf(f, " -graph use DEC special graphics for border of table and menu\n");
<span style='display:block; white-space:pre;background:#ffe0e0;'>- fprintf(f, " -no-graph use ACII character for border of table and menu\n");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- fprintf(f, " -no-graph use ACII character for border of table and menu\n");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ fprintf(f, " -no-graph use ASCII character for border of table and menu\n");
</span> +#if 1 /* pager requires -s */
+ fprintf(f, " -s squeeze multiple blank lines\n");
+#else
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -19718,6 +20106,15 @@ index b421943..85b0003 100644
</span> {
Buffer *buf = Currentbuf->linkBuffer[LB_N_FRAME];
<span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -3970,7 +4105,7 @@ DEFUN(backBf, BACK, "Back to previous buffer")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* FIXME: gettextize? */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- disp_message("Can't back...", TRUE);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ disp_message("Can't go back...", TRUE);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> @@ -4008,8 +4143,7 @@ DEFUN(backBf, BACK, "Back to previous buffer")
displayBuffer(Currentbuf, B_FORCE_REDRAW);
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20275,7 +20672,18 @@ index b421943..85b0003 100644
</span> }
void
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -5772,7 +5975,7 @@ w3m_exit(int i)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -5768,11 +5971,18 @@ w3m_exit(int i)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifdef __MINGW32_VERSION
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ WSACleanup();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifdef HAVE_MKDTEMP
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if (no_rc_dir && tmp_dir != rc_dir)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if (rmdir(tmp_dir) != 0) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ fprintf(stderr, "Can't remove temporary directory (%s)!\n", tmp_dir);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ exit(1);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span> exit(i);
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20284,7 +20692,7 @@ index b421943..85b0003 100644
</span> {
char *data, *p;
int cmd;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -5900,7 +6103,7 @@ setAlarmEvent(AlarmEvent * event, int sec, short status, int cmd, void *data)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -5900,7 +6110,7 @@ setAlarmEvent(AlarmEvent * event, int sec, short status, int cmd, void *data)
</span> }
#endif
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20293,7 +20701,7 @@ index b421943..85b0003 100644
</span> {
char *resource = searchKeyData();
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -5969,8 +6172,7 @@ DEFUN(reinit, REINIT, "Reload configuration files")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -5969,8 +6179,7 @@ DEFUN(reinit, REINIT, "Reload configuration files")
</span> ptr, FALSE);
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20303,7 +20711,7 @@ index b421943..85b0003 100644
</span> {
char *data;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -6031,7 +6233,7 @@ _newT(void)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -6031,7 +6240,7 @@ _newT(void)
</span> nTab++;
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20312,7 +20720,7 @@ index b421943..85b0003 100644
</span> {
_newT();
displayBuffer(Currentbuf, B_REDRAW_IMAGE);
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -6142,7 +6344,7 @@ deleteTab(TabBuffer * tab)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -6142,7 +6351,7 @@ deleteTab(TabBuffer * tab)
</span> return FirstTab;
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20321,7 +20729,7 @@ index b421943..85b0003 100644
</span> {
TabBuffer *tab;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -6157,7 +6359,7 @@ DEFUN(closeT, CLOSE_TAB, "Close current tab")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -6157,7 +6366,7 @@ DEFUN(closeT, CLOSE_TAB, "Close current tab")
</span> displayBuffer(Currentbuf, B_REDRAW_IMAGE);
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20330,7 +20738,7 @@ index b421943..85b0003 100644
</span> {
int i;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -6172,7 +6374,7 @@ DEFUN(nextT, NEXT_TAB, "Move to next tab")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -6172,7 +6381,7 @@ DEFUN(nextT, NEXT_TAB, "Move to next tab")
</span> displayBuffer(Currentbuf, B_REDRAW_IMAGE);
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20339,7 +20747,7 @@ index b421943..85b0003 100644
</span> {
int i;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -6236,7 +6438,7 @@ followTab(TabBuffer * tab)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -6236,7 +6445,7 @@ followTab(TabBuffer * tab)
</span> displayBuffer(Currentbuf, B_FORCE_REDRAW);
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20348,7 +20756,7 @@ index b421943..85b0003 100644
</span> {
followTab(prec_num ? numTab(PREC_NUM) : NULL);
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -6277,13 +6479,13 @@ tabURL0(TabBuffer * tab, char *prompt, int relative)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -6277,13 +6486,13 @@ tabURL0(TabBuffer * tab, char *prompt, int relative)
</span> displayBuffer(Currentbuf, B_FORCE_REDRAW);
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20364,7 +20772,7 @@ index b421943..85b0003 100644
</span> {
tabURL0(prec_num ? numTab(PREC_NUM) : NULL,
"Goto relative URL on new tab: ", TRUE);
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -6328,7 +6530,7 @@ moveTab(TabBuffer * t, TabBuffer * t2, int right)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -6328,7 +6537,7 @@ moveTab(TabBuffer * t, TabBuffer * t2, int right)
</span> displayBuffer(Currentbuf, B_FORCE_REDRAW);
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20373,7 +20781,7 @@ index b421943..85b0003 100644
</span> {
TabBuffer *tab;
int i;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -6338,7 +6540,7 @@ DEFUN(tabR, TAB_RIGHT, "Move current tab right")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -6338,7 +6547,7 @@ DEFUN(tabR, TAB_RIGHT, "Move current tab right")
</span> moveTab(CurrentTab, tab ? tab : LastTab, TRUE);
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20382,7 +20790,7 @@ index b421943..85b0003 100644
</span> {
TabBuffer *tab;
int i;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -6547,7 +6749,7 @@ stopDownload(void)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -6547,7 +6756,7 @@ stopDownload(void)
</span> }
/* download panel */
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20706,22 +21114,23 @@ index 774b1bd..b0c890d 100644
</span> new_option_menu(&menu, label, &key, NULL);
menu.initial = 0;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -2025,7 +2069,6 @@ list_menu(Buffer *buf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -2024,7 +2068,6 @@ list_menu(Buffer *buf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> label[nitem] = NULL;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- set_menu_frame();
</span> - set_menu_frame();
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ set_menu_frame();
</span> new_option_menu(&menu, label, &key, NULL);
<span style='display:block; white-space:pre;background:#ffe0e0;'>- menu.initial = 0;
</span> diff --git a/mimehead.c b/mimehead.c
index 78997e0..d16270c 100644
--- a/mimehead.c
+++ mimehead.c
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -64,12 +64,22 @@ ha2d(char x, char y)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -63,13 +63,23 @@ ha2d(char x, char y)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> Str
decodeB(char **ww)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span> + struct growbuf gb;
+
+ growbuf_init(&gb);
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20731,7 +21140,7 @@ index 78997e0..d16270c 100644
</span> +
+void
+decodeB_to_growbuf(struct growbuf *gb, char **ww)
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span> unsigned char c[4];
char *wp = *ww;
char d[3];
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20771,7 +21180,7 @@ index 78997e0..d16270c 100644
</span>
Str
decodeU(char **ww)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span> + struct growbuf gb;
+
+ growbuf_init(&gb);
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20781,7 +21190,7 @@ index 78997e0..d16270c 100644
</span> +
+void
+decodeU_to_growbuf(struct growbuf *gb, char **ww)
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span> unsigned char c1, c2;
char *w = *ww;
int n, i;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20811,10 +21220,11 @@ index 78997e0..d16270c 100644
</span> }
/* RFC2047 (4.2. The "Q" encoding) */
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -165,9 +187,19 @@ decodeQ(char **ww)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -164,10 +186,20 @@ decodeQ(char **ww)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* RFC2045 (6.7. Quoted-Printable Content-Transfer-Encoding) */
</span> Str
decodeQP(char **ww)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span> + struct growbuf gb;
+
+ growbuf_init(&gb);
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20824,7 +21234,7 @@ index 78997e0..d16270c 100644
</span> +
+void
+decodeQP_to_growbuf(struct growbuf *gb, char **ww)
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span> char *w = *ww;
- Str a = Strnew_size(strlen(w));
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20938,7 +21348,7 @@ index 2f57810..a60a09d 100644
</span> # bugs in the untranslated strings:
diff --git a/po/de.po b/po/de.po
new file mode 100644
<span style='display:block; white-space:pre;background:#ffe0e0;'>-index 0000000..96489c1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 0000000..b4dcd36
</span> --- /dev/null
+++ po/de.po
@@ -0,0 +1,936 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21536,8 +21946,8 @@ index 0000000..96489c1
</span> +msgstr "Datei mit PEM-kodierten Zertifikaten von CAs"
+
+#: rc.c:205
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+msgid "List of forbidden SSL methods (2: SSLv2, 3: SSLv3, t:TLSv1)"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+msgstr "Liste unzulässiger SSL-Verfahren (2: SSLv2, 3: SSLv3, t: TLSv1)"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++msgid "List of forbidden SSL methods (2: SSLv2, 3: SSLv3, t: TLSv1.0, 5: TLSv1.1)"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++msgstr "Liste unzulässiger SSL-Verfahren (2: SSLv2, 3: SSLv3, t: TLSv1.0, 5: TLSv1.1)"
</span> +
+#: rc.c:208
+msgid "Enable cookie processing"
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21879,7 +22289,7 @@ index 0000000..96489c1
</span> +msgid "en;q=1.0"
+msgstr "de;q=1.0, en;q=0.5"
diff --git a/po/ja.po b/po/ja.po
<span style='display:block; white-space:pre;background:#ffe0e0;'>-index d67c695..3810d30 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index d67c695..95a5341 100644
</span> --- a/po/ja.po
+++ po/ja.po
@@ -1,6 +1,6 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -22609,9 +23019,11 @@ index d67c695..3810d30 100644
</span> msgstr "SSLの認証局のPEM形式証明書群のファイル"
-#: rc.c:195
<span style='display:block; white-space:pre;background:#e0ffe0;'>+-msgid "List of forbidden SSL methods (2: SSLv2, 3: SSLv3, t:TLSv1)"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-msgstr "使わないSSLメソッドのリスト(2: SSLv2, 3: SSLv3, t:TLSv1)"
</span> +#: rc.c:205
<span style='display:block; white-space:pre;background:#ffe0e0;'>- msgid "List of forbidden SSL methods (2: SSLv2, 3: SSLv3, t:TLSv1)"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- msgstr "使わないSSLメソッドのリスト(2: SSLv2, 3: SSLv3, t:TLSv1)"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++msgid "List of forbidden SSL methods (2: SSLv2, 3: SSLv3, t: TLSv1.0, 5: TLSv1.1)"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++msgstr "使わないSSLメソッドのリスト(2: SSLv2, 3: SSLv3, t: TLSv1.0, 5: TLSv1.1)"
</span>
-#: rc.c:198
+#: rc.c:208
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -23017,7 +23429,7 @@ index d67c695..3810d30 100644
</span> msgid "en;q=1.0"
msgstr "ja;q=1.0, en;q=0.5"
diff --git a/po/w3m.pot b/po/w3m.pot
<span style='display:block; white-space:pre;background:#ffe0e0;'>-index e164b1e..607e26f 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index e164b1e..bf38ef8 100644
</span> --- a/po/w3m.pot
+++ po/w3m.pot
@@ -1,6 +1,6 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -23743,8 +24155,9 @@ index e164b1e..607e26f 100644
</span> msgstr ""
-#: rc.c:195
<span style='display:block; white-space:pre;background:#e0ffe0;'>+-msgid "List of forbidden SSL methods (2: SSLv2, 3: SSLv3, t:TLSv1)"
</span> +#: rc.c:205
<span style='display:block; white-space:pre;background:#ffe0e0;'>- msgid "List of forbidden SSL methods (2: SSLv2, 3: SSLv3, t:TLSv1)"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++msgid "List of forbidden SSL methods (2: SSLv2, 3: SSLv3, t: TLSv1.0, 5: TLSv1.1)"
</span> msgstr ""
-#: rc.c:198
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -24152,7 +24565,7 @@ index e164b1e..607e26f 100644
</span> msgstr ""
diff --git a/po/zh_CN.po b/po/zh_CN.po
new file mode 100644
<span style='display:block; white-space:pre;background:#ffe0e0;'>-index 0000000..8cfa8fd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 0000000..cf25e22
</span> --- /dev/null
+++ po/zh_CN.po
@@ -0,0 +1,916 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -24745,8 +25158,8 @@ index 0000000..8cfa8fd
</span> +msgstr "包含 PEM 编码 CA 证书的文件"
+
+#: rc.c:205
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+msgid "List of forbidden SSL methods (2: SSLv2, 3: SSLv3, t:TLSv1)"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+msgstr "被禁止的 SSL 方式列表 (2: SSLv2, 3: SSLv3, t:TLSv1)"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++msgid "List of forbidden SSL methods (2: SSLv2, 3: SSLv3, t: TLSv1.0, 5: TLSv1.1)"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++msgstr "被禁止的 SSL 方式列表 (2: SSLv2, 3: SSLv3, t: TLSv1.0, 5: TLSv1.1)"
</span> +
+#: rc.c:208
+msgid "Enable cookie processing"
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -25074,7 +25487,7 @@ index 0000000..8cfa8fd
</span> +msgstr "zh-CN;q=1.0, zh-Hans;q=0.9, zh;q=0.8, en;q=0.6"
diff --git a/po/zh_TW.po b/po/zh_TW.po
new file mode 100644
<span style='display:block; white-space:pre;background:#ffe0e0;'>-index 0000000..954a4d2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 0000000..44f7a14
</span> --- /dev/null
+++ po/zh_TW.po
@@ -0,0 +1,916 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -25667,8 +26080,8 @@ index 0000000..954a4d2
</span> +msgstr "包含 PEM 編碼 CA 證書的檔案"
+
+#: rc.c:205
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+msgid "List of forbidden SSL methods (2: SSLv2, 3: SSLv3, t:TLSv1)"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+msgstr "被禁止的 SSL 方式列表 (2: SSLv2, 3: SSLv3, t:TLSv1)"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++msgid "List of forbidden SSL methods (2: SSLv2, 3: SSLv3, t: TLSv1.0, 5: TLSv1.1)"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++msgstr "被禁止的 SSL 方式列表 (2: SSLv2, 3: SSLv3, t: TLSv1.0, 5: TLSv1.1)"
</span> +
+#: rc.c:208
+msgid "Enable cookie processing"
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -26137,7 +26550,7 @@ index f8a7345..ed8f890 100644
</span> -
-#include "indep.h"
diff --git a/rc.c b/rc.c
<span style='display:block; white-space:pre;background:#ffe0e0;'>-index 8441a39..7de87b8 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 8441a39..3fd84ef 100644
</span> --- a/rc.c
+++ rc.c
@@ -9,7 +9,9 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -26181,6 +26594,15 @@ index 8441a39..7de87b8 100644
</span> #define CMT_FTPPASS N_("Password for anonymous FTP (your mail address)")
#define CMT_FTPPASS_HOSTNAMEGEN N_("Generate domain part of password for FTP")
#define CMT_USERAGENT N_("User-Agent identification string")
<span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -192,7 +202,7 @@ static int OptionEncode = FALSE;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define CMT_SSL_CA_PATH N_("Path to directory for PEM encoded certificates of CAs")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define CMT_SSL_CA_FILE N_("File consisting of PEM encoded certificates of CAs")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif /* USE_SSL_VERIFY */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#define CMT_SSL_FORBID_METHOD N_("List of forbidden SSL methods (2: SSLv2, 3: SSLv3, t:TLSv1)")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define CMT_SSL_FORBID_METHOD N_("List of forbidden SSL methods (2: SSLv2, 3: SSLv3, t: TLSv1.0, 5: TLSv1.1)")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif /* USE_SSL */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifdef USE_COOKIE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define CMT_USECOOKIE N_("Enable cookie processing")
</span> @@ -390,6 +400,8 @@ struct param_ptr params1[] = {
NULL},
{"graphic_char", P_CHARINT, PI_SEL_C, (void *)&UseGraphicChar,
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -26253,7 +26675,49 @@ index 8441a39..7de87b8 100644
</span>
if (AcceptLang == NULL || *AcceptLang == '\0') {
/* TRANSLATORS:
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1483,6 +1512,7 @@ panel_set_option(struct parsed_tagarg *arg)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1250,7 +1279,7 @@ init_rc(void)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (stat(rc_dir, &st) < 0) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (errno == ENOENT) { /* no directory */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (do_mkdir(rc_dir, 0700) < 0) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- fprintf(stderr, "Can't create config directory (%s)!", rc_dir);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /* fprintf(stderr, "Can't create config directory (%s)!\n", rc_dir); */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ goto rc_dir_err;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1258,17 +1287,17 @@ init_rc(void)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- fprintf(stderr, "Can't open config directory (%s)!", rc_dir);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /* fprintf(stderr, "Can't open config directory (%s)!\n", rc_dir); */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ goto rc_dir_err;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (!S_ISDIR(st.st_mode)) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* not a directory */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- fprintf(stderr, "%s is not a directory!", rc_dir);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /* fprintf(stderr, "%s is not a directory!\n", rc_dir); */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ goto rc_dir_err;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (!(st.st_mode & S_IWUSR)) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- fprintf(stderr, "%s is not writable!", rc_dir);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /* fprintf(stderr, "%s is not writable!\n", rc_dir); */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ goto rc_dir_err;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ no_rc_dir = FALSE;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1301,6 +1330,11 @@ init_rc(void)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ((tmp_dir = getenv("TMP")) == NULL || *tmp_dir == '\0') &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ((tmp_dir = getenv("TEMP")) == NULL || *tmp_dir == '\0'))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ tmp_dir = "/tmp";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifdef HAVE_MKDTEMP
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ tmp_dir = mkdtemp(Strnew_m_charp(tmp_dir, "/w3m-XXXXXX", NULL)->ptr);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if (tmp_dir == NULL)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ tmp_dir = rc_dir;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ create_option_search_table();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ goto open_rc;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1483,6 +1517,7 @@ panel_set_option(struct parsed_tagarg *arg)
</span> {
FILE *f = NULL;
char *p;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -26261,7 +26725,7 @@ index 8441a39..7de87b8 100644
</span>
if (config_file == NULL) {
disp_message("There's no config file... config not saved", FALSE);
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1498,14 +1528,17 @@ panel_set_option(struct parsed_tagarg *arg)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1498,14 +1533,17 @@ panel_set_option(struct parsed_tagarg *arg)
</span> if (arg->value) {
p = conv_to_system(arg->value);
if (set_param(arg->arg, p)) {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -26282,7 +26746,7 @@ index 8441a39..7de87b8 100644
</span> sync_with_option();
backBf();
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1556,3 +1589,217 @@ helpFile(char *base)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1556,3 +1594,217 @@ helpFile(char *base)
</span> return expandPath(Strnew_m_charp(w3m_help_dir(), "/", base, NULL)->ptr);
}
#endif
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -26523,18 +26987,9 @@ index 5bee4b2..93406e8 100644
</span> YIELD(1, c, 7);
return 0;
diff --git a/scripts/Makefile.in b/scripts/Makefile.in
<span style='display:block; white-space:pre;background:#ffe0e0;'>-index 4da9ce5..3384813 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 4da9ce5..5beb9b0 100644
</span> --- a/scripts/Makefile.in
+++ scripts/Makefile.in
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -34,7 +34,7 @@ CONF_DIR = $(sysconfdir)/$(PACKAGE)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- DOCDIRS = @DOCDIRS@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- AUXBIN_TARGETS = xface2xpm
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--LIB_TARGETS = dirlist.cgi w3mhelp.cgi w3mmail.cgi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+LIB_TARGETS = dirlist.cgi w3mdict.cgi w3mhelp.cgi w3mmail.cgi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- HELP_TARGETS = w3mhelp-funcname.pl w3mhelp-funcdesc-stamp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- SUBDIRS = multipart w3mman
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- .PHONY: $(SUBDIRS)
</span> @@ -60,7 +60,7 @@ w3mhelp-funcname.pl: w3mhelp-funcname.pl.in ../funcname.tab $(top_srcdir)/doc/ke
@cat $(srcdir)/w3mhelp-funcname.pl.in >> w3mhelp-funcname.pl
@echo "done"
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -26544,6 +26999,24 @@ index 4da9ce5..3384813 100644
</span> @echo "generating w3mhelp-funcdesc*.pl..."
@for dirlang in $(DOCDIRS); do \
dir=`expr "$$dirlang" : "\(.*\):.*"`; \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -87,7 +87,7 @@ install: $(LIB_TARGETS) $(HELP_TARGETS)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ do \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $(INSTALL_SCRIPT) $$file $(DESTDIR)$(AUXBIN_DIR); \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ done
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- for file in $(LIB_TARGETS); \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ for file in w3mdict.cgi $(LIB_TARGETS); \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ do \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $(INSTALL_SCRIPT) $$file $(DESTDIR)$(CGIBIN_DIR); \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ done
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -105,7 +105,7 @@ uninstall:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ do \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rm -f $(AUXBIN_DIR)/$$file; \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ done
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- -for file in $(LIB_TARGETS); \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ -for file in w3mdict.cgi $(LIB_TARGETS); \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ do \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rm -f $(LIB_DIR)/$$file; \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ done
</span> diff --git a/scripts/w3mdict.cgi b/scripts/w3mdict.cgi
new file mode 100755
index 0000000..6b0e62e
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -26978,7 +27451,7 @@ index 569e2fc..ad1cffe 100644
</span> > $(distdir)/w3mman.tar.gz
-rm -fr $(distdir)/w3mman
diff --git a/scripts/w3mman/w3mman.1.in b/scripts/w3mman/w3mman.1.in
<span style='display:block; white-space:pre;background:#ffe0e0;'>-index 1c0361d..904fb5d 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 1c0361d..8c433a7 100644
</span> --- a/scripts/w3mman/w3mman.1.in
+++ scripts/w3mman/w3mman.1.in
@@ -1,4 +1,4 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27057,7 +27530,7 @@ index 1c0361d..904fb5d 100644
</span> .TP
.I @libexecdir@/@PACKAGE@/cgi-bin/w3mman2html.cgi
-convert manual page to html.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+manual page to HTML convertor.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++manual page to HTML converter.
</span> .SH SEE ALSO
.BR man (1),
.BR w3m (1).
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27204,7 +27677,7 @@ index 50475ae..c047c56 100644
</span> buf[i] = (*p == ' ') ? NBSP_CODE : *p;
diff --git a/table.c b/table.c
<span style='display:block; white-space:pre;background:#ffe0e0;'>-index e1243ff..221db92 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index e1243ff..4f193e1 100644
</span> --- a/table.c
+++ table.c
@@ -188,7 +188,7 @@ dv2sv(double *dv, short *iv, int size)
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27320,7 +27793,22 @@ index e1243ff..221db92 100644
</span> setwidth(tbl, mode);
feed_table_inline_tag(tbl, line, mode, -1);
clearcontentssize(tbl, mode);
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -2546,8 +2566,10 @@ feed_table_tag(struct table *tbl, char *line, struct table_mode *mode,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -2336,10 +2356,14 @@ feed_table_block_tag(struct table *tbl,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (mode->indent_level < MAX_INDENT_LEVEL)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ tbl->indent -= INDENT_INCR;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if (tbl->indent < 0)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ tbl->indent = 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ offset = tbl->indent;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (cmd == HTML_DT) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (mode->indent_level > 0 && mode->indent_level <= MAX_INDENT_LEVEL)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ offset -= INDENT_INCR;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if (offset < 0)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ offset = 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (tbl->indent > 0) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ check_minimum0(tbl, 0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -2546,8 +2570,10 @@ feed_table_tag(struct table *tbl, char *line, struct table_mode *mode,
</span> }
}
#ifdef ID_EXT
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27332,7 +27820,7 @@ index e1243ff..221db92 100644
</span> #endif /* ID_EXT */
tbl->trattr = align | valign;
break;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -2572,7 +2594,7 @@ feed_table_tag(struct table *tbl, char *line, struct table_mode *mode,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -2572,7 +2598,7 @@ feed_table_tag(struct table *tbl, char *line, struct table_mode *mode,
</span> }
tbl->col++;
check_row(tbl, tbl->row);
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27341,7 +27829,7 @@ index e1243ff..221db92 100644
</span> tbl->col++;
}
if (tbl->col > MAXCOL - 1) {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -2600,12 +2622,16 @@ feed_table_tag(struct table *tbl, char *line, struct table_mode *mode,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -2600,12 +2626,16 @@ feed_table_tag(struct table *tbl, char *line, struct table_mode *mode,
</span> if ((tbl->row + rowspan) >= tbl->max_rowsize)
check_row(tbl, tbl->row + rowspan);
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27358,7 +27846,7 @@ index e1243ff..221db92 100644
</span> if (parsedtag_get_value(tag, ATTR_ALIGN, &i)) {
switch (i) {
case ALIGN_LEFT:
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -2878,6 +2904,14 @@ feed_table_tag(struct table *tbl, char *line, struct table_mode *mode,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -2878,6 +2908,14 @@ feed_table_tag(struct table *tbl, char *line, struct table_mode *mode,
</span> tmp = process_input(tag);
feed_table1(tbl, tmp, mode, width);
break;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27373,7 +27861,7 @@ index e1243ff..221db92 100644
</span> case HTML_SELECT:
tmp = process_select(tag);
if (tmp)
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -3010,7 +3044,6 @@ feed_table_tag(struct table *tbl, char *line, struct table_mode *mode,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -3010,7 +3048,6 @@ feed_table_tag(struct table *tbl, char *line, struct table_mode *mode,
</span> break;
case HTML_TABLE_ALT:
id = -1;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27407,7 +27895,7 @@ index f9b7b76..f5a2c30 100644
</span> /fieldset HTML_N_FIELDSET
iframe HTML_IFRAME
diff --git a/terms.c b/terms.c
<span style='display:block; white-space:pre;background:#ffe0e0;'>-index 7a3c987..3d2ffd7 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 7a3c987..a636ac0 100644
</span> --- a/terms.c
+++ terms.c
@@ -12,6 +12,7 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27700,6 +28188,33 @@ index 7a3c987..3d2ffd7 100644
</span> #ifdef USE_MOUSE
#define W3M_TERM_INFO(name, title, mouse) name, title, mouse
#define NEED_XTERM_ON (1)
<span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -563,7 +823,7 @@ ttymode_set(int mode, int imode)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ while (TerminalSet(tty, &ioval) == -1) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (errno == EINTR || errno == EAGAIN)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ continue;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- printf("Error occured while set %x: errno=%d\n", mode, errno);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ printf("Error occurred while set %x: errno=%d\n", mode, errno);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reset_error_exit(SIGNAL_ARGLIST);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -584,7 +844,7 @@ ttymode_reset(int mode, int imode)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ while (TerminalSet(tty, &ioval) == -1) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (errno == EINTR || errno == EAGAIN)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ continue;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- printf("Error occured while reset %x: errno=%d\n", mode, errno);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ printf("Error occurred while reset %x: errno=%d\n", mode, errno);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reset_error_exit(SIGNAL_ARGLIST);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif /* __MINGW32_VERSION */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -601,7 +861,7 @@ set_cc(int spec, int val)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ while (TerminalSet(tty, &ioval) == -1) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (errno == EINTR || errno == EAGAIN)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ continue;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- printf("Error occured: errno=%d\n", errno);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ printf("Error occurred: errno=%d\n", errno);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reset_error_exit(SIGNAL_ARGLIST);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> @@ -634,7 +894,8 @@ reset_tty(void)
writestr(T_se); /* reset terminal */
flush_tty();
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27737,6 +28252,15 @@ index 7a3c987..3d2ffd7 100644
</span> }
else
#endif
<span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -2019,7 +2282,7 @@ sleep_till_anykey(int sec, int purge)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ er = TerminalSet(tty, &ioval);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (er == -1) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- printf("Error occured: errno=%d\n", errno);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ printf("Error occurred: errno=%d\n", errno);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reset_error_exit(SIGNAL_ARGLIST);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return ret;
</span> @@ -2027,8 +2290,8 @@ sleep_till_anykey(int sec, int purge)
#ifdef USE_MOUSE
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27749,7 +28273,7 @@ index 7a3c987..3d2ffd7 100644
</span> #define CYGWIN_OFF {fputs("\033[?1000l",ttyf); flush_tty();}
diff --git a/url.c b/url.c
<span style='display:block; white-space:pre;background:#ffe0e0;'>-index ed6062e..0378913 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index ed6062e..d759383 100644
</span> --- a/url.c
+++ url.c
@@ -121,6 +121,7 @@ static struct table2 DefaultGuess[] = {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27768,9 +28292,14 @@ index ed6062e..0378913 100644
</span> option = SSL_OP_ALL;
if (ssl_forbid_method) {
if (strchr(ssl_forbid_method, '2'))
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -337,7 +339,15 @@ openSSLHandle(int sock, char *hostname, char **p_cert)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -336,8 +338,20 @@ openSSLHandle(int sock, char *hostname, char **p_cert)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ option |= SSL_OP_NO_TLSv1;
</span> if (strchr(ssl_forbid_method, 'T'))
option |= SSL_OP_NO_TLSv1;
<span style='display:block; white-space:pre;background:#e0ffe0;'>++ if (strchr(ssl_forbid_method, '4'))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ option |= SSL_OP_NO_TLSv1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if (strchr(ssl_forbid_method, '5'))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ option |= SSL_OP_NO_TLSv1_1;
</span> }
+#ifdef SSL_OP_NO_COMPRESSION
+ option |= SSL_OP_NO_COMPRESSION;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27784,7 +28313,7 @@ index ed6062e..0378913 100644
</span> #ifdef USE_SSL_VERIFY
/* derived from openssl-0.9.5/apps/s_{client,cb}.c */
#if 1 /* use SSL_get_verify_result() to verify cert */
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -444,6 +454,8 @@ baseURL(Buffer *buf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -444,6 +458,8 @@ baseURL(Buffer *buf)
</span> /* <BASE> tag is defined in the document */
return buf->baseURL;
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27793,7 +28322,7 @@ index ed6062e..0378913 100644
</span> else
return &buf->currentURL;
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -638,16 +650,21 @@ openSocket(char *const hostname,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -638,16 +654,21 @@ openSocket(char *const hostname,
</span> #define COPYPATH_SPC_ALLOW 0
#define COPYPATH_SPC_IGNORE 1
#define COPYPATH_SPC_REPLACE 2
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27819,7 +28348,7 @@ index ed6062e..0378913 100644
</span> break;
case COPYPATH_SPC_IGNORE:
/* do nothing */
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -658,7 +675,7 @@ copyPath(char *orgpath, int length, int option)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -658,7 +679,7 @@ copyPath(char *orgpath, int length, int option)
</span> }
}
else
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27828,7 +28357,7 @@ index ed6062e..0378913 100644
</span> orgpath++;
length--;
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -668,22 +685,14 @@ copyPath(char *orgpath, int length, int option)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -668,22 +689,14 @@ copyPath(char *orgpath, int length, int option)
</span> void
parseURL(char *url, ParsedURL *p_url, ParsedURL *current)
{
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27853,7 +28382,7 @@ index ed6062e..0378913 100644
</span>
/* RFC1808: Relative Uniform Resource Locators
* 4. Resolving Relative URLs
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -694,7 +703,7 @@ parseURL(char *url, ParsedURL *p_url, ParsedURL *current)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -694,7 +707,7 @@ parseURL(char *url, ParsedURL *p_url, ParsedURL *current)
</span> goto do_label;
}
#if defined( __EMX__ ) || defined( __CYGWIN__ )
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27862,7 +28391,7 @@ index ed6062e..0378913 100644
</span> p_url->scheme = SCM_LOCAL;
p += 17 - 1;
url += 17 - 1;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -802,19 +811,20 @@ parseURL(char *url, ParsedURL *p_url, ParsedURL *current)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -802,19 +815,20 @@ parseURL(char *url, ParsedURL *p_url, ParsedURL *current)
</span> /* scheme://user:pass@host or
* scheme://host:port
*/
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27887,7 +28416,7 @@ index ed6062e..0378913 100644
</span> tmp = Strnew_charp_n(q, p - q);
p_url->port = atoi(tmp->ptr);
/* *p is one of ['\0', '/', '?', '#'] */
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -822,15 +832,19 @@ parseURL(char *url, ParsedURL *p_url, ParsedURL *current)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -822,15 +836,19 @@ parseURL(char *url, ParsedURL *p_url, ParsedURL *current)
</span> case '@':
/* scheme://user@... */
p_url->user = copyPath(q, p - q, COPYPATH_SPC_IGNORE);
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27910,7 +28439,7 @@ index ed6062e..0378913 100644
</span> break;
}
analyze_file:
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -956,12 +970,16 @@ parseURL(char *url, ParsedURL *p_url, ParsedURL *current)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -956,12 +974,16 @@ parseURL(char *url, ParsedURL *p_url, ParsedURL *current)
</span> p_url->label = NULL;
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27929,10 +28458,11 @@ index ed6062e..0378913 100644
</span> p->scheme = q->scheme;
p->port = q->port;
p->is_nocache = q->is_nocache;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1280,9 +1298,23 @@ getURLScheme(char **url)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1279,10 +1301,24 @@ getURLScheme(char **url)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return scheme;
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>- static char *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++static char *
</span> +schemeNumToName(int scheme)
+{
+ int i;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27944,7 +28474,7 @@ index ed6062e..0378913 100644
</span> + return NULL;
+}
+
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+static char *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ static char *
</span> otherinfo(ParsedURL *target, ParsedURL *current, char *referer)
{
Str s = Strnew();
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27953,7 +28483,7 @@ index ed6062e..0378913 100644
</span>
Strcat_charp(s, "User-Agent: ");
if (UserAgent == NULL || *UserAgent == '\0')
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1306,7 +1338,12 @@ otherinfo(ParsedURL *target, ParsedURL *current, char *referer)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1306,7 +1342,12 @@ otherinfo(ParsedURL *target, ParsedURL *current, char *referer)
</span> Strcat_charp(s, "Pragma: no-cache\r\n");
Strcat_charp(s, "Cache-control: no-cache\r\n");
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27967,7 +28497,7 @@ index ed6062e..0378913 100644
</span> #ifdef USE_SSL
if (current && current->scheme == SCM_HTTPS && target->scheme != SCM_HTTPS) {
/* Don't send Referer: if https:// -> http:// */
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1314,6 +1351,7 @@ otherinfo(ParsedURL *target, ParsedURL *current, char *referer)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1314,6 +1355,7 @@ otherinfo(ParsedURL *target, ParsedURL *current, char *referer)
</span> else
#endif
if (referer == NULL && current && current->scheme != SCM_LOCAL &&
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27975,7 +28505,7 @@ index ed6062e..0378913 100644
</span> (current->scheme != SCM_FTP ||
(current->user == NULL && current->pass == NULL))) {
char *p = current->label;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1384,7 +1422,6 @@ HTTPrequest(ParsedURL *pu, ParsedURL *current, HRequest *hr, TextList *extra)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1384,7 +1426,6 @@ HTTPrequest(ParsedURL *pu, ParsedURL *current, HRequest *hr, TextList *extra)
</span> {
Str tmp;
TextListItem *i;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27983,7 +28513,7 @@ index ed6062e..0378913 100644
</span> #ifdef USE_COOKIE
Str cookie;
#endif /* USE_COOKIE */
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1400,7 +1437,6 @@ HTTPrequest(ParsedURL *pu, ParsedURL *current, HRequest *hr, TextList *extra)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1400,7 +1441,6 @@ HTTPrequest(ParsedURL *pu, ParsedURL *current, HRequest *hr, TextList *extra)
</span> for (i = extra->first; i != NULL; i = i->next) {
if (strncasecmp(i->ptr, "Authorization:",
sizeof("Authorization:") - 1) == 0) {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27991,7 +28521,7 @@ index ed6062e..0378913 100644
</span> #ifdef USE_SSL
if (hr->command == HR_COMMAND_CONNECT)
continue;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1430,20 +1466,20 @@ HTTPrequest(ParsedURL *pu, ParsedURL *current, HRequest *hr, TextList *extra)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1430,20 +1470,20 @@ HTTPrequest(ParsedURL *pu, ParsedURL *current, HRequest *hr, TextList *extra)
</span> #endif /* USE_COOKIE */
if (hr->command == HR_COMMAND_POST) {
if (hr->request->enctype == FORM_ENCTYPE_MULTIPART) {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -28016,7 +28546,7 @@ index ed6062e..0378913 100644
</span> if (header_string)
Strcat(tmp, header_string);
Strcat_charp(tmp, "\r\n");
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1603,7 +1639,7 @@ openURL(char *url, ParsedURL *pu, ParsedURL *current,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1603,7 +1643,7 @@ openURL(char *url, ParsedURL *pu, ParsedURL *current,
</span> pu->host != NULL && !check_no_proxy(pu->host)) {
hr->flag |= HR_FLAG_PROXY;
sock = openSocket(FTP_proxy_parsed.host,
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -28025,7 +28555,7 @@ index ed6062e..0378913 100644
</span> FTP_proxy_parsed.port);
if (sock < 0)
return uf;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1645,15 +1681,15 @@ openURL(char *url, ParsedURL *pu, ParsedURL *current,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1645,15 +1685,15 @@ openURL(char *url, ParsedURL *pu, ParsedURL *current,
</span> }
else if (pu->scheme == SCM_HTTPS) {
sock = openSocket(HTTPS_proxy_parsed.host,
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -28045,7 +28575,7 @@ index ed6062e..0378913 100644
</span> #ifdef USE_SSL
sslh = NULL;
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1685,8 +1721,7 @@ openURL(char *url, ParsedURL *pu, ParsedURL *current,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1685,8 +1725,7 @@ openURL(char *url, ParsedURL *pu, ParsedURL *current,
</span> }
}
else {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -28055,7 +28585,7 @@ index ed6062e..0378913 100644
</span> if (sock < 0) {
*status = HTST_MISSING;
return uf;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1750,7 +1785,7 @@ openURL(char *url, ParsedURL *pu, ParsedURL *current,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1750,7 +1789,7 @@ openURL(char *url, ParsedURL *pu, ParsedURL *current,
</span> pu->host != NULL && !check_no_proxy(pu->host)) {
hr->flag |= HR_FLAG_PROXY;
sock = openSocket(GOPHER_proxy_parsed.host,
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -28064,7 +28594,7 @@ index ed6062e..0378913 100644
</span> GOPHER_proxy_parsed.port);
if (sock < 0)
return uf;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1758,8 +1793,7 @@ openURL(char *url, ParsedURL *pu, ParsedURL *current,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1758,8 +1797,7 @@ openURL(char *url, ParsedURL *pu, ParsedURL *current,
</span> tmp = HTTPrequest(pu, current, hr, extra_header);
}
else {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -28074,7 +28604,7 @@ index ed6062e..0378913 100644
</span> if (sock < 0)
return uf;
if (pu->file == NULL)
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -2049,7 +2083,7 @@ filename_extension(char *path, int is_url)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -2049,7 +2087,7 @@ filename_extension(char *path, int is_url)
</span> break;
}
if (*last_dot == '.') {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -28083,7 +28613,7 @@ index ed6062e..0378913 100644
</span> if (is_url && !IS_ALNUM(last_dot[i]))
break;
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -2234,3 +2268,66 @@ schemeToProxy(int scheme)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -2234,3 +2272,66 @@ schemeToProxy(int scheme)
</span> }
return pu;
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -29206,7 +29736,7 @@ index 36e3b62..f1e8d97 100644
</span> #include <gdk-pixbuf/gdk-pixbuf.h>
#include "fb.h"
diff --git a/w3mimg/fb/fb_w3mimg.c b/w3mimg/fb/fb_w3mimg.c
<span style='display:block; white-space:pre;background:#ffe0e0;'>-index d3ae5a9..fb323f5 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index d3ae5a9..62511f0 100644
</span> --- a/w3mimg/fb/fb_w3mimg.c
+++ w3mimg/fb/fb_w3mimg.c
@@ -153,10 +153,15 @@ check_tty_console(char *tty)
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -29231,8 +29761,8 @@ index d3ae5a9..fb323f5 100644
</span>
- if (!check_tty_console(getenv("W3M_TTY")) && strcmp("jfbterm", getenv("TERM")) != 0) {
+ if (!check_tty_console(getenv("W3M_TTY")) &&
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+ strcmp("jfbterm", getenv("TERM")) != 0 &&
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ strncmp("jfbterm-", getenv("TERM"), 8) != 0) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ strncmp("fbterm", getenv("TERM"), 6) != 0 &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ strncmp("jfbterm", getenv("TERM"), 7) != 0) {
</span> fprintf(stderr, "w3mimgdisplay/fb: tty is not console\n");
goto error;
}
</pre><pre style='margin:0'>
</pre>