* lisp/server.el (server-start): Revert part of 2010-08-08 change. Using
address 127.0.0.1 for local host is now done in Fmake_network_process.
* src/process.c (Fmake_network_process): When arg :host is 'local,
use address 127.0.0.1, not name "localhost".
+2010-09-25 Juanma Barranquero <lekktu@gmail.com>
+
+ * server.el (server-start): Revert part of 2010-08-08 change. Using
+ address 127.0.0.1 for local host is now done in Fmake_network_process.
+
2010-09-24 Glenn Morris <rgm@gnu.org>
* image-mode.el, progmodes/compile.el, progmodes/gud.el:
(if server-use-tcp
(list :family 'ipv4 ;; We're not ready for IPv6 yet
:service t
- :host (or server-host "127.0.0.1") ;; See bug#6781
+ :host (or server-host 'local)
:plist '(:authenticated nil))
(list :family 'local
:service server-file
+2010-09-25 Juanma Barranquero <lekktu@gmail.com>
+
+ * process.c (Fmake_network_process): When arg :host is 'local,
+ use address 127.0.0.1, not name "localhost". (Bug#6781)
+
2010-09-24 Eli Zaretskii <eliz@gnu.org>
* indent.c (Fcurrent_indentation, indented_beyond_p)
if (!NILP (host))
{
if (EQ (host, Qlocal))
- host = build_string ("localhost");
+ /* Depending on setup, "localhost" may map to different IPv4 and/or
+ IPv6 addresses, so it's better to be explicit. (Bug#6781) */
+ host = build_string ("127.0.0.1");
CHECK_STRING (host);
}