diff options
| author | Juanma Barranquero | 2010-07-07 11:45:28 +0200 |
|---|---|---|
| committer | Juanma Barranquero | 2010-07-07 11:45:28 +0200 |
| commit | ed3751c8245cbf523caf4975f654d459f070ea9a (patch) | |
| tree | 1bc6a7e69181867c76389dbaca292f8d29af351a /src/process.c | |
| parent | cf84bb53567cf64b3dade9e9abeaef289371f0cc (diff) | |
| download | emacs-ed3751c8245cbf523caf4975f654d459f070ea9a.tar.gz emacs-ed3751c8245cbf523caf4975f654d459f070ea9a.zip | |
Fix whitespace to follow coding guidelines.
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/process.c b/src/process.c index 75bc59a30ab..0807a0e17cb 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -3003,7 +3003,7 @@ usage: (make-serial-process &rest ARGS) */) | |||
| 3003 | p->inherit_coding_system_flag | 3003 | p->inherit_coding_system_flag |
| 3004 | = !(!NILP (tem) || NILP (buffer) || !inherit_process_coding_system); | 3004 | = !(!NILP (tem) || NILP (buffer) || !inherit_process_coding_system); |
| 3005 | 3005 | ||
| 3006 | Fserial_process_configure(nargs, args); | 3006 | Fserial_process_configure (nargs, args); |
| 3007 | 3007 | ||
| 3008 | specpdl_ptr = specpdl + specpdl_count; | 3008 | specpdl_ptr = specpdl + specpdl_count; |
| 3009 | 3009 | ||
| @@ -3401,7 +3401,7 @@ usage: (make-network-process &rest ARGS) */) | |||
| 3401 | ret = getaddrinfo (SDATA (host), portstring, &hints, &res); | 3401 | ret = getaddrinfo (SDATA (host), portstring, &hints, &res); |
| 3402 | if (ret) | 3402 | if (ret) |
| 3403 | #ifdef HAVE_GAI_STRERROR | 3403 | #ifdef HAVE_GAI_STRERROR |
| 3404 | error ("%s/%s %s", SDATA (host), portstring, gai_strerror(ret)); | 3404 | error ("%s/%s %s", SDATA (host), portstring, gai_strerror (ret)); |
| 3405 | #else | 3405 | #else |
| 3406 | error ("%s/%s getaddrinfo error %d", SDATA (host), portstring, ret); | 3406 | error ("%s/%s getaddrinfo error %d", SDATA (host), portstring, ret); |
| 3407 | #endif | 3407 | #endif |
| @@ -3900,7 +3900,7 @@ format; see the description of ADDRESS in `make-network-process'. */) | |||
| 3900 | 3900 | ||
| 3901 | again: | 3901 | again: |
| 3902 | ifaces += 25; | 3902 | ifaces += 25; |
| 3903 | buf_size = ifaces * sizeof(ifreqs[0]); | 3903 | buf_size = ifaces * sizeof (ifreqs[0]); |
| 3904 | ifreqs = (struct ifreq *)xrealloc(ifreqs, buf_size); | 3904 | ifreqs = (struct ifreq *)xrealloc(ifreqs, buf_size); |
| 3905 | if (!ifreqs) | 3905 | if (!ifreqs) |
| 3906 | { | 3906 | { |
| @@ -4362,7 +4362,7 @@ server_accept_connection (Lisp_Object server, int channel) | |||
| 4362 | int i; | 4362 | int i; |
| 4363 | args[0] = build_string ("%x:%x:%x:%x:%x:%x:%x:%x"); | 4363 | args[0] = build_string ("%x:%x:%x:%x:%x:%x:%x:%x"); |
| 4364 | for (i = 0; i < 8; i++) | 4364 | for (i = 0; i < 8; i++) |
| 4365 | args[i+1] = make_number (ntohs(ip6[i])); | 4365 | args[i+1] = make_number (ntohs (ip6[i])); |
| 4366 | host = Fformat (9, args); | 4366 | host = Fformat (9, args); |
| 4367 | service = make_number (ntohs (saddr.in.sin_port)); | 4367 | service = make_number (ntohs (saddr.in.sin_port)); |
| 4368 | 4368 | ||
| @@ -5164,23 +5164,23 @@ wait_reading_process_output (time_limit, microsecs, read_kbd, do_display, | |||
| 5164 | /* getsockopt(,,SO_ERROR,,) is said to hang on some systems. | 5164 | /* getsockopt(,,SO_ERROR,,) is said to hang on some systems. |
| 5165 | So only use it on systems where it is known to work. */ | 5165 | So only use it on systems where it is known to work. */ |
| 5166 | { | 5166 | { |
| 5167 | int xlen = sizeof(xerrno); | 5167 | int xlen = sizeof (xerrno); |
| 5168 | if (getsockopt(channel, SOL_SOCKET, SO_ERROR, &xerrno, &xlen)) | 5168 | if (getsockopt (channel, SOL_SOCKET, SO_ERROR, &xerrno, &xlen)) |
| 5169 | xerrno = errno; | 5169 | xerrno = errno; |
| 5170 | } | 5170 | } |
| 5171 | #else | 5171 | #else |
| 5172 | { | 5172 | { |
| 5173 | struct sockaddr pname; | 5173 | struct sockaddr pname; |
| 5174 | int pnamelen = sizeof(pname); | 5174 | int pnamelen = sizeof (pname); |
| 5175 | 5175 | ||
| 5176 | /* If connection failed, getpeername will fail. */ | 5176 | /* If connection failed, getpeername will fail. */ |
| 5177 | xerrno = 0; | 5177 | xerrno = 0; |
| 5178 | if (getpeername(channel, &pname, &pnamelen) < 0) | 5178 | if (getpeername (channel, &pname, &pnamelen) < 0) |
| 5179 | { | 5179 | { |
| 5180 | /* Obtain connect failure code through error slippage. */ | 5180 | /* Obtain connect failure code through error slippage. */ |
| 5181 | char dummy; | 5181 | char dummy; |
| 5182 | xerrno = errno; | 5182 | xerrno = errno; |
| 5183 | if (errno == ENOTCONN && read(channel, &dummy, 1) < 0) | 5183 | if (errno == ENOTCONN && read (channel, &dummy, 1) < 0) |
| 5184 | xerrno = errno; | 5184 | xerrno = errno; |
| 5185 | } | 5185 | } |
| 5186 | } | 5186 | } |
| @@ -6336,7 +6336,7 @@ SIGCODE may be an integer, or a symbol whose name is a signal name. */) | |||
| 6336 | CHECK_SYMBOL (sigcode); | 6336 | CHECK_SYMBOL (sigcode); |
| 6337 | name = SDATA (SYMBOL_NAME (sigcode)); | 6337 | name = SDATA (SYMBOL_NAME (sigcode)); |
| 6338 | 6338 | ||
| 6339 | if (!strncmp(name, "SIG", 3) || !strncmp(name, "sig", 3)) | 6339 | if (!strncmp (name, "SIG", 3) || !strncmp (name, "sig", 3)) |
| 6340 | name += 3; | 6340 | name += 3; |
| 6341 | 6341 | ||
| 6342 | if (0) | 6342 | if (0) |
| @@ -7252,7 +7252,7 @@ init_process (void) | |||
| 7252 | processes. As such, we only change the default value. */ | 7252 | processes. As such, we only change the default value. */ |
| 7253 | if (initialized) | 7253 | if (initialized) |
| 7254 | { | 7254 | { |
| 7255 | char *release = get_operating_system_release(); | 7255 | char *release = get_operating_system_release (); |
| 7256 | if (!release || !release[0] || (release[0] < MIN_PTY_KERNEL_VERSION | 7256 | if (!release || !release[0] || (release[0] < MIN_PTY_KERNEL_VERSION |
| 7257 | && release[1] == '.')) { | 7257 | && release[1] == '.')) { |
| 7258 | Vprocess_connection_type = Qnil; | 7258 | Vprocess_connection_type = Qnil; |