diff options
| author | Paul Eggert | 2011-05-23 18:59:17 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-05-23 18:59:17 -0700 |
| commit | 2d1fc3c73cd8b771cbfb1114f7f85dc0273d24e3 (patch) | |
| tree | 15889e3086ebad411afab40a167690f802651ec6 /src/ChangeLog | |
| parent | c8a9ca5a6456e7d0ec9577493d5110b692b818bf (diff) | |
| download | emacs-2d1fc3c73cd8b771cbfb1114f7f85dc0273d24e3.tar.gz emacs-2d1fc3c73cd8b771cbfb1114f7f85dc0273d24e3.zip | |
* dbusbind.c: Use XFASTINT rather than XUINT, and check for nonneg.
(Fdbus_call_method, Fdbus_call_method_asynchronously):
Use XFASTINT rather than XUINT when numbers are nonnegative.
(xd_append_arg, Fdbus_method_return_internal):
(Fdbus_method_error_internal): Likewise. Also, for unsigned
arguments, check that Lisp number is nonnegative, rather than
silently wrapping negative numbers around.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 96e489bd731..46c601731c5 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,13 @@ | |||
| 1 | 2011-05-24 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-05-24 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * dbusbind.c: Use XFASTINT rather than XUINT, and check for nonneg. | ||
| 4 | (Fdbus_call_method, Fdbus_call_method_asynchronously): | ||
| 5 | Use XFASTINT rather than XUINT when numbers are nonnegative. | ||
| 6 | (xd_append_arg, Fdbus_method_return_internal): | ||
| 7 | (Fdbus_method_error_internal): Likewise. Also, for unsigned | ||
| 8 | arguments, check that Lisp number is nonnegative, rather than | ||
| 9 | silently wrapping negative numbers around. | ||
| 10 | |||
| 3 | * data.c (arith_driver, Flsh): Avoid unnecessary casts to EMACS_UINT. | 11 | * data.c (arith_driver, Flsh): Avoid unnecessary casts to EMACS_UINT. |
| 4 | 12 | ||
| 5 | 2011-05-23 Paul Eggert <eggert@cs.ucla.edu> | 13 | 2011-05-23 Paul Eggert <eggert@cs.ucla.edu> |