]> code.delx.au - gnu-emacs/blobdiff - lisp/url/url-ns.el
(eshell-windows-shell-file): Look for command.com, not command.exe.
[gnu-emacs] / lisp / url / url-ns.el
index fe181422e4fe27eee43251d4aa6122ba1eb18c69..3edbf2c84d4c9fb76cd40f1658f3a289c78a19b9 100644 (file)
@@ -1,6 +1,6 @@
 ;;; url-ns.el --- Various netscape-ish functions for proxy definitions
 
-;; Copyright (c) 1997 - 1999 Free Software Foundation, Inc.
+;; Copyright (C) 1997, 1998, 1999, 2004, 2005 Free Software Foundation, Inc.
 
 ;; Keywords: comm, data, processes, hypermedia
 
@@ -18,8 +18,8 @@
 
 ;; You should have received a copy of the GNU General Public License
 ;; along with GNU Emacs; see the file COPYING.  If not, write to the
-;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-;; Boston, MA 02111-1307, USA.
+;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+;; Boston, MA 02110-1301, USA.
 
 ;;; Code:
 
@@ -51,9 +51,9 @@
     (if (or (/= (length netc) (length ipc))
            (/= (length ipc) (length maskc)))
        nil
-      (setq netc (mapcar 'string-to-int netc)
-           ipc (mapcar 'string-to-int ipc)
-           maskc (mapcar 'string-to-int maskc))
+      (setq netc (mapcar 'string-to-number netc)
+           ipc (mapcar 'string-to-number ipc)
+           maskc (mapcar 'string-to-number maskc))
       (and
        (= (logand (nth 0 netc) (nth 0 maskc))
          (logand (nth 0 ipc)  (nth 0 maskc)))