diff options
| author | Paul Eggert | 2011-10-10 23:42:38 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-10-10 23:42:38 -0700 |
| commit | d44287d4adc1e268ef9974ea72010f0186f40197 (patch) | |
| tree | 6f569186f6bb6f789ef9b1cce64b0086ba1ecd30 /src/ChangeLog | |
| parent | 58c8a77dd99a19052bf813198db4257865d32ac8 (diff) | |
| download | emacs-d44287d4adc1e268ef9974ea72010f0186f40197.tar.gz emacs-d44287d4adc1e268ef9974ea72010f0186f40197.zip | |
* process.c (Fsignal_process): Simplify by avoiding a goto.
Treat out-of-range process numbers just like invalid numbers
that fit into the pid_t range, and return -1.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 232475c2af5..00845a4c188 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | 2011-10-08 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-10-11 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | Fix integer width and related issues. | 3 | Fix integer width and related issues. |
| 4 | * alloc.c (pure_bytes_used_lisp, pure_bytes_used_non_lisp): | 4 | * alloc.c (pure_bytes_used_lisp, pure_bytes_used_non_lisp): |
| @@ -556,8 +556,11 @@ | |||
| 556 | * process.c (Fdelete_process): Don't assume pid fits into EMACS_INT. | 556 | * process.c (Fdelete_process): Don't assume pid fits into EMACS_INT. |
| 557 | (Fset_process_window_size, Fformat_network_address) | 557 | (Fset_process_window_size, Fformat_network_address) |
| 558 | (get_lisp_to_sockaddr_size, set_socket_option, Fmake_network_process) | 558 | (get_lisp_to_sockaddr_size, set_socket_option, Fmake_network_process) |
| 559 | (Fsignal_process, sigchld_handler): | 559 | (sigchld_handler): |
| 560 | Check that fixnums are in proper range for system types. | 560 | Check that fixnums are in proper range for system types. |
| 561 | (Fsignal_process): Simplify by avoiding a goto. | ||
| 562 | Treat out-of-range process numbers just like invalid numbers | ||
| 563 | that fit into the pid_t range, and return -1. | ||
| 561 | (Fformat_network_address, read_process_output, send_process) | 564 | (Fformat_network_address, read_process_output, send_process) |
| 562 | (Fprocess_send_region, status_notify): | 565 | (Fprocess_send_region, status_notify): |
| 563 | Use ptrdiff_t, not EMACS_INT, where ptrdiff_t is wide enough. | 566 | Use ptrdiff_t, not EMACS_INT, where ptrdiff_t is wide enough. |