Mercurial > hg > xemacs-beta
comparison src/process-unix.c @ 609:13e3d7ae7155
[xemacs-hg @ 2001-06-06 12:34:42 by ben]
nitpicky fixes:
emodules.c, tooltalk.c, process-unix.c: Fix warnings pointed out by Martin.
lisp.h: Correct usage of CBufbyte.
esd.c: indentation changes.
bytecode.c, eval.c, fileio.c: Use CBufbyte instead of char for error/warning functions.
linuxplay.c, miscplay.c, sgiplay.c, sunplay.c: Define DONT_ENCAPSULATE. (All encapsulation is removed in my pending Mule workspace.)
sgiplay.c: Put back #include <audio.h> accidentally removed.
Make play_sound_data return an int, like all other
such functions in *play.c.
sound.c: Fix up documentation of `play-sound'.
sysfile.h: Don't include sys/fcntl.h, as per Martin's advice.
author | ben |
---|---|
date | Wed, 06 Jun 2001 12:34:47 +0000 |
parents | 190b164ddcac |
children | 023b83f4e54b |
comparison
equal
deleted
inserted
replaced
608:4d7fdf497470 | 609:13e3d7ae7155 |
---|---|
1589 hints.ai_protocol = 0; | 1589 hints.ai_protocol = 0; |
1590 LISP_STRING_TO_EXTERNAL (host, ext_host, Qnative); | 1590 LISP_STRING_TO_EXTERNAL (host, ext_host, Qnative); |
1591 retval = getaddrinfo (ext_host, NULL, &hints, &res); | 1591 retval = getaddrinfo (ext_host, NULL, &hints, &res); |
1592 if (retval != 0) | 1592 if (retval != 0) |
1593 { | 1593 { |
1594 Bufbyte *gai_error; | 1594 CBufbyte *gai_error; |
1595 | 1595 |
1596 EXTERNAL_TO_C_STRING (gai_strerror (retval), gai_error, Qnative); | 1596 EXTERNAL_TO_C_STRING (gai_strerror (retval), gai_error, Qnative); |
1597 maybe_signal_error (Qio_error, gai_error, host, | 1597 maybe_signal_error (Qio_error, gai_error, host, |
1598 Qprocess, ERROR_ME_NOT); | 1598 Qprocess, ERROR_ME_NOT); |
1599 canonname = host; | 1599 canonname = host; |
1683 hints.ai_protocol = 0; | 1683 hints.ai_protocol = 0; |
1684 LISP_STRING_TO_EXTERNAL (host, ext_host, Qnative); | 1684 LISP_STRING_TO_EXTERNAL (host, ext_host, Qnative); |
1685 retval = getaddrinfo (ext_host, portstring, &hints, &res); | 1685 retval = getaddrinfo (ext_host, portstring, &hints, &res); |
1686 if (retval != 0) | 1686 if (retval != 0) |
1687 { | 1687 { |
1688 Bufbyte *gai_error; | 1688 CBufbyte *gai_error; |
1689 | 1689 |
1690 EXTERNAL_TO_C_STRING (gai_strerror (retval), gai_error, Qnative); | 1690 EXTERNAL_TO_C_STRING (gai_strerror (retval), gai_error, Qnative); |
1691 signal_error (Qio_error, gai_error, list2 (host, service)); | 1691 signal_error (Qio_error, gai_error, list2 (host, service)); |
1692 } | 1692 } |
1693 | 1693 |