[maemo-commits] [maemo-commits] r14545 - in projects/haf/trunk/dbus/debian: . patches
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Fri Oct 19 16:00:40 EEST 2007
- Previous message: [maemo-commits] r14544 - projects/haf/hafbuildbot
- Next message: [maemo-commits] r14546 - projects/haf/hafbuildbot
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: kihamala Date: 2007-10-19 16:00:37 +0300 (Fri, 19 Oct 2007) New Revision: 14545 Added: projects/haf/trunk/dbus/debian/patches/22-use-signed-return-value.patch Modified: projects/haf/trunk/dbus/debian/changelog Log: use ssize_t instead of size_t for read(2) return value Modified: projects/haf/trunk/dbus/debian/changelog =================================================================== --- projects/haf/trunk/dbus/debian/changelog 2007-10-19 12:58:43 UTC (rev 14544) +++ projects/haf/trunk/dbus/debian/changelog 2007-10-19 13:00:37 UTC (rev 14545) @@ -6,6 +6,7 @@ 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. -- Kimmo Hämäläinen <kimmo.hamalainen at nokia.com> Thu, 18 Oct 2007 11:21:11 +0300 Added: projects/haf/trunk/dbus/debian/patches/22-use-signed-return-value.patch =================================================================== --- projects/haf/trunk/dbus/debian/patches/22-use-signed-return-value.patch 2007-10-19 12:58:43 UTC (rev 14544) +++ projects/haf/trunk/dbus/debian/patches/22-use-signed-return-value.patch 2007-10-19 13:00:37 UTC (rev 14545) @@ -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-19 15:57:35.165058408 +0300 +@@ -125,7 +125,7 @@ read_pid (int fd, + + while (TRUE) + { +- size_t chunk; ++ ssize_t chunk; + size_t to_read; + + to_read = sizeof (pid_t) - bytes;
- Previous message: [maemo-commits] r14544 - projects/haf/hafbuildbot
- Next message: [maemo-commits] r14546 - projects/haf/hafbuildbot
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]