projects
/
platform
/
upstream
/
dbus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Enable anonymous authorization for tests
[platform/upstream/dbus.git]
/
dbus
/
dbus-pipe.c
diff --git
a/dbus/dbus-pipe.c
b/dbus/dbus-pipe.c
index
60a58b5
..
7b5fe6d
100644
(file)
--- a/
dbus/dbus-pipe.c
+++ b/
dbus/dbus-pipe.c
@@
-35,7
+35,7
@@
void
_dbus_pipe_init (DBusPipe *pipe,
int fd)
{
_dbus_pipe_init (DBusPipe *pipe,
int fd)
{
- pipe->fd
_or_handle
= fd;
+ pipe->fd = fd;
}
/**
}
/**
@@
-59,7
+59,7
@@
_dbus_pipe_init_stdout (DBusPipe *pipe)
dbus_bool_t
_dbus_pipe_is_valid(DBusPipe *pipe)
{
dbus_bool_t
_dbus_pipe_is_valid(DBusPipe *pipe)
{
- return pipe->fd
_or_handle
>= 0;
+ return pipe->fd >= 0;
}
/**
}
/**
@@
-71,7
+71,7
@@
_dbus_pipe_is_valid(DBusPipe *pipe)
dbus_bool_t
_dbus_pipe_is_stdout_or_stderr (DBusPipe *pipe)
{
dbus_bool_t
_dbus_pipe_is_stdout_or_stderr (DBusPipe *pipe)
{
- return pipe->fd
_or_handle == 1 || pipe->fd_or_handle
== 2;
+ return pipe->fd
== 1 || pipe->fd
== 2;
}
/**
}
/**
@@
-81,5
+81,5
@@
_dbus_pipe_is_stdout_or_stderr (DBusPipe *pipe)
void
_dbus_pipe_invalidate (DBusPipe *pipe)
{
void
_dbus_pipe_invalidate (DBusPipe *pipe)
{
- pipe->fd
_or_handle
= -1;
+ pipe->fd = -1;
}
}