~ubuntu-branches/ubuntu/maverick/dbus/maverick-proposed

« back to all changes in this revision

Viewing changes to dbus/dbus-marshal-byteswap.c

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2010-09-27 13:06:32 UTC
  • mfrom: (1.1.23 upstream)
  • Revision ID: james.westby@ubuntu.com-20100927130632-bqs145trvchd2lmf
Tags: 1.4.0-0ubuntu1
* New upstream release
 - Fixes https://bugs.freedesktop.org/show_bug.cgi?id=17754 Race condition in protected_change_timeout
 - Requested by various upstream KDE developers http://lists.kde.org/?t=128514970000004&r=1&w=2

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 *
22
22
 */
23
23
 
 
24
#include <config.h>
24
25
#include "dbus-marshal-byteswap.h"
25
26
#include "dbus-marshal-basic.h"
26
27
#include "dbus-signature.h"
191
192
          }
192
193
          break;
193
194
 
 
195
        case DBUS_TYPE_UNIX_FD:
 
196
          /* fds can only be passed on a local machine, so byte order must always match */
 
197
          _dbus_assert_not_reached("attempted to byteswap unix fds which makes no sense");
 
198
          break;
 
199
 
194
200
        default:
195
201
          _dbus_assert_not_reached ("invalid typecode in supposedly-validated signature");
196
202
          break;