[maemo-commits] [maemo-commits] r14618 - in projects/haf/trunk/dbus/debian: . patches
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Thu Oct 25 15:56:12 EEST 2007
- Previous message: [maemo-commits] r14617 - in projects/haf/trunk/hildon-input-method: . src
- Next message: [maemo-commits] r14619 - projects/haf/trunk/dbus/debian/patches
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: kihamala Date: 2007-10-25 15:56:11 +0300 (Thu, 25 Oct 2007) New Revision: 14618 Added: projects/haf/trunk/dbus/debian/patches/26-use-signed-return-value2.patch Modified: projects/haf/trunk/dbus/debian/changelog Log: another size_t -> ssize_t replacement Modified: projects/haf/trunk/dbus/debian/changelog =================================================================== --- projects/haf/trunk/dbus/debian/changelog 2007-10-25 12:41:43 UTC (rev 14617) +++ projects/haf/trunk/dbus/debian/changelog 2007-10-25 12:56:11 UTC (rev 14618) @@ -6,7 +6,8 @@ Bugs discovered by statical code analysis: * Added a missing va_end call to dbus_set_error. - * Use ssize_t instead of size_t to store read(2) return value. + * Use ssize_t instead of size_t to store read(2) return value in two + places in dbus-spawn.c. * Added a missing NULL check to _dbus_spawn_async_with_babysitter. * Added a check for failing allocation to bus.c:setup_server. * Use DBUS_UID_UNSET and DBUS_GID_UNSET instead of checking if an unsigned Added: projects/haf/trunk/dbus/debian/patches/26-use-signed-return-value2.patch =================================================================== --- projects/haf/trunk/dbus/debian/patches/26-use-signed-return-value2.patch 2007-10-25 12:41:43 UTC (rev 14617) +++ projects/haf/trunk/dbus/debian/patches/26-use-signed-return-value2.patch 2007-10-25 12:56:11 UTC (rev 14618) @@ -0,0 +1,12 @@ +diff -pur dbus-1.0.2/dbus/dbus-spawn.c dbus-1.0.2.new/dbus/dbus-spawn.c +--- dbus-1.0.2/dbus/dbus-spawn.c 2006-12-11 21:21:09.000000000 +0200 ++++ dbus-1.0.2.new/dbus/dbus-spawn.c 2007-10-25 15:54:45.912493808 +0300 +@@ -70,7 +70,7 @@ read_ints (int fd, + + while (TRUE) + { +- size_t chunk; ++ ssize_t chunk; + size_t to_read; + + to_read = sizeof (int) * n_ints_in_buf - bytes;
- Previous message: [maemo-commits] r14617 - in projects/haf/trunk/hildon-input-method: . src
- Next message: [maemo-commits] r14619 - projects/haf/trunk/dbus/debian/patches
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]