mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-01-19 05:40:22 +01:00
dbus-spawn-unix: Rename from dbus-spawn
This file is the Unix counterpart of dbus-spawn-win.c, so it's less confusing for it to have an indicative name. Signed-off-by: Simon McVittie <smcv@collabora.com> Reviewed-by: Philip Withnall <withnall@endlessm.com> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=104588
This commit is contained in:
parent
d1738d079e
commit
6e804baba4
4 changed files with 4 additions and 7 deletions
|
|
@ -227,7 +227,7 @@ else (WIN32)
|
|||
${DBUS_DIR}/dbus-userdb.h
|
||||
)
|
||||
set (DBUS_UTIL_SOURCES ${DBUS_UTIL_SOURCES}
|
||||
${DBUS_DIR}/dbus-spawn.c
|
||||
${DBUS_DIR}/dbus-spawn-unix.c
|
||||
${DBUS_DIR}/dbus-userdb-util.c
|
||||
${DBUS_DIR}/dbus-sysdeps-util-unix.c
|
||||
)
|
||||
|
|
|
|||
|
|
@ -116,7 +116,7 @@ DBUS_SHARED_arch_sources = \
|
|||
DBUS_UTIL_arch_sources = \
|
||||
dbus-sysdeps-util-unix.c \
|
||||
dbus-userdb-util.c \
|
||||
dbus-spawn.c
|
||||
dbus-spawn-unix.c \
|
||||
endif
|
||||
|
||||
if HAVE_LINUX_EPOLL
|
||||
|
|
|
|||
|
|
@ -447,7 +447,7 @@ _dbus_verbose_real (
|
|||
|
||||
/**
|
||||
* Reinitializes the verbose logging code, used
|
||||
* as a hack in dbus-spawn.c so that a child
|
||||
* as a hack in dbus-spawn-unix.c so that a child
|
||||
* process re-reads its pid
|
||||
*
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
||||
/* dbus-spawn.c Wrapper around fork/exec
|
||||
/* dbus-spawn-unix.c — Wrapper around fork/exec
|
||||
*
|
||||
* Copyright (C) 2002, 2003, 2004 Red Hat, Inc.
|
||||
* Copyright (C) 2003 CodeFactory AB
|
||||
|
|
@ -24,9 +24,6 @@
|
|||
|
||||
#include <config.h>
|
||||
|
||||
/* It isn't obvious from its name, but this file is part of the Unix
|
||||
* system-dependent part of libdbus. Windows has a parallel
|
||||
* implementation in dbus-spawn-win.c. */
|
||||
#if defined(DBUS_WIN) || !defined(DBUS_UNIX)
|
||||
#error "This file only makes sense on Unix OSs"
|
||||
#endif
|
||||
Loading…
Add table
Reference in a new issue