]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
use correct ssize_t type instead of size_t (FDO Bug #12862)
authorJohn (J5) Palmieri <johnp@redhat.com>
Tue, 15 Jan 2008 20:40:31 +0000 (15:40 -0500)
committerJohn (J5) Palmieri <johnp@redhat.com>
Tue, 15 Jan 2008 20:40:31 +0000 (15:40 -0500)
2008-01-15  John (J5) Palmieri  <johnp@redhat.com>

* patch by Kimmo Hämäläinen <kimmo dot hamalainen at nokia dot com>

* dbus/dbus-spawn.c (read_ints, read_pid): use correct ssize_t type
instead of size_t (FDO Bug #12862)

ChangeLog
dbus/dbus-spawn.c

index 84faa733faad03d1b5ff4e602e13e2dbefaca158..d0020c7933c81cb2a458a2f212468f3c507092d7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-01-15  John (J5) Palmieri  <johnp@redhat.com>
+       
+       * patch by Kimmo Hämäläinen <kimmo dot hamalainen at nokia dot com>
+
+       * dbus/dbus-spawn.c (read_ints, read_pid): use correct ssize_t type
+       instead of size_t (FDO Bug #12862)
+
 2008-01-15  John (J5) Palmieri  <johnp@redhat.com>
        
        * patch by Kimmo Hämäläinen <kimmo dot hamalainen at nokia dot com>
index 68596cf3d1214c07aaa7eac29dd479242ba46523..52d3eef00912b0d4aa99a8d7cff59ff32c69bec7 100644 (file)
@@ -73,7 +73,7 @@ read_ints (int        fd,
   while (TRUE)
     {
       size_t chunk;
-      size_t to_read;
+      ssize_t to_read;
 
       to_read = sizeof (int) * n_ints_in_buf - bytes;
 
@@ -128,7 +128,7 @@ read_pid (int        fd,
   while (TRUE)
     {
       size_t chunk;    
-      size_t to_read;
+      ssize_t to_read;
       
       to_read = sizeof (pid_t) - bytes;