Mercurial > hg > xemacs-beta
diff src/process-unix.c @ 4834:b3ea9c582280
Use new cygwin_conv_path API with Cygwin 1.7 for converting names between Win32 and POSIX, UTF-8-aware, with attendant changes elsewhere
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Tue, 12 Jan 2010 01:38:04 -0600 |
parents | aa5ed11f473b |
children | 19a72041c5ed |
line wrap: on
line diff
--- a/src/process-unix.c Sun Jan 10 01:06:15 2010 -0600 +++ b/src/process-unix.c Tue Jan 12 01:38:04 2010 -0600 @@ -525,7 +525,7 @@ CHECK_STRING (tail_port); TO_EXTERNAL_FORMAT (LISP_STRING, tail_port, C_STRING_ALLOCA, - tailportext, Qnative); + tailportext, Qunix_service_name_encoding); svc_info = getservbyname (tailportext, proto); if ((svc_info != 0) && (svc_info->s_port == port)) @@ -1816,7 +1816,7 @@ #endif hints.ai_socktype = SOCK_STREAM; hints.ai_protocol = 0; - LISP_STRING_TO_EXTERNAL (host, ext_host, Qnative); + LISP_STRING_TO_EXTERNAL (host, ext_host, Qunix_host_name_encoding); retval = getaddrinfo (ext_host, NULL, &hints, &res); if (retval != 0) { @@ -1833,7 +1833,8 @@ int gni = getnameinfo (res->ai_addr, res->ai_addrlen, addrbuf, sizeof(addrbuf), NULL, 0, NI_NUMERICHOST); - canonname = gni ? host : build_ext_string (addrbuf, Qnative); + canonname = gni ? host : build_ext_string (addrbuf, + Qunix_host_name_encoding); freeaddrinfo (res); }