! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
[patch] terminal dbus server mode is b0rked on BE systems
Status:
CLOSED: FIXED
Product:
Xfce4-terminal
Component:
General

Comments

Description Brian J. Tarricone (not reading bugmail) 2007-02-11 22:28:55 CET
Looks like you're using a uid_t to receive a DBUS_TYPE_INT64 off the bus, which probably accidentally works ok on a little-endian system, but breaks on a big-endian system.  So on my powerbook, it thinks the received uid is zero.
Comment 1 Brian J. Tarricone (not reading bugmail) 2007-02-11 22:29:47 CET
Created attachment 989 
use dbus_int64_t instead of uid_t
Comment 2 Benedikt Meurer editbugs 2007-02-12 17:56:21 CET
Committed with revision 24957.

2007-02-12      Benedikt Meurer <benny@xfce.org>

        * terminal/terminal-dbus.c: Apply Brian's patch to fix invalid
          variable type for user id. Bug #2898.

Bug #2898

Reported by:
Brian J. Tarricone (not reading bugmail)
Reported on: 2007-02-11
Last modified on: 2009-12-17

People

Assignee:
Benedikt Meurer
CC List:
0 users

Version

Version:
unspecified

Attachments

use dbus_int64_t instead of uid_t (422 bytes, patch)
2007-02-11 22:29 CET , Brian J. Tarricone (not reading bugmail)
no flags

Additional information