diff options
| author | Jim Meyering | 2011-04-10 16:00:13 +0200 |
|---|---|---|
| committer | Jim Meyering | 2011-04-10 16:00:13 +0200 |
| commit | 368f40905f551ebaead782b3bb23140661600ae0 (patch) | |
| tree | 5e03cbb2800c27c16edbd881af8fd02cea707d44 /src/ChangeLog | |
| parent | a32d40405d31edd2ce4349b95277306554fb54a4 (diff) | |
| download | emacs-368f40905f551ebaead782b3bb23140661600ae0.tar.gz emacs-368f40905f551ebaead782b3bb23140661600ae0.zip | |
use ssize_t and size_t for read- and write-like emacs_gnutls_* functions
* gnutls.c (emacs_gnutls_read): Adjust signature to be more read-like:
return ssize_t not "int", and use size_t as the buffer length.
(emacs_gnutls_write): Likewise, and make the buffer pointer "const".
* gnutls.h: Update declarations.
* process.c (read_process_output): Use ssize_t, to match.
(send_process): Likewise.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index a1a5abe87c3..3eaf1e326b5 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,13 @@ | |||
| 1 | 2011-04-10 Jim Meyering <meyering@redhat.com> | ||
| 2 | |||
| 3 | use ssize_t and size_t for read- and write-like emacs_gnutls_* functions | ||
| 4 | * gnutls.c (emacs_gnutls_read): Adjust signature to be more read-like: | ||
| 5 | return ssize_t not "int", and use size_t as the buffer length. | ||
| 6 | (emacs_gnutls_write): Likewise, and make the buffer pointer "const". | ||
| 7 | * gnutls.h: Update declarations. | ||
| 8 | * process.c (read_process_output): Use ssize_t, to match. | ||
| 9 | (send_process): Likewise. | ||
| 10 | |||
| 1 | 2011-04-09 Chong Yidong <cyd@stupidchicken.com> | 11 | 2011-04-09 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 12 | ||
| 3 | * image.c (Fimagemagick_types): Doc fix, and comment cleanup. | 13 | * image.c (Fimagemagick_types): Doc fix, and comment cleanup. |