aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2011-04-15 01:51:02 -0700
committerPaul Eggert2011-04-15 01:51:02 -0700
commit9c3c56a7475d2ee8c834cbcc46e615b99bd6fced (patch)
treee874f0e4728422cf6b6a63e96418dc14d3f2eccc /src/ChangeLog
parent49093f601b69d91126aefd328ee8f6bfeb797407 (diff)
parenta0238ccadcb6bf4eaf5caaced7d3904458a698db (diff)
downloademacs-9c3c56a7475d2ee8c834cbcc46e615b99bd6fced.tar.gz
emacs-9c3c56a7475d2ee8c834cbcc46e615b99bd6fced.zip
emacs_write: Accept and return EMACS_INT for sizes.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 706751bbdfa..200c20fc3bf 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,30 @@
12011-04-15 Paul Eggert <eggert@cs.ucla.edu>
2
3 emacs_write: Accept and return EMACS_INT for sizes.
4 See http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00514.html
5 et seq.
6 * gnutls.c, gnutls.h (emacs_gnutls_read, emacs_gnutls_write):
7 Accept and return EMACS_INT.
8 (emacs_gnutls_write): Return the number of bytes written on
9 partial writes.
10 * sysdep.c, lisp.h (emacs_read, emacs_write): Likewise.
11 (emacs_read, emacs_write): Remove check for negative size, as the
12 Emacs source code has been audited now.
13 * sysdep.c (MAX_RW_COUNT): New macro, to work around kernel bugs.
14 (emacs_read, emacs_write): Use it.
15 * process.c (send_process): Adjust to the new signatures of
16 emacs_write and emacs_gnutls_write. Do not attempt to store
17 a byte offset into an 'int'; it might overflow.
18 See http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00483.html
19
20 * sound.c: Don't assume sizes fit in 'int'.
21 (struct sound_device.period_size, alsa_period_size):
22 Return EMACS_INT, not int.
23 (struct sound_device.write, vox_write, alsa_write):
24 Accept EMACS_INT, not int.
25 (wav_play, au_play): Use EMACS_INT to store sizes and to
26 record read return values.
27
12011-04-15 Ben Key <bkey76@gmail.com> 282011-04-15 Ben Key <bkey76@gmail.com>
2 29
3 * keyboard.c (Qundefined): Don't declare static since it is 30 * keyboard.c (Qundefined): Don't declare static since it is