Merge authors: Dmitrijs Ledkovs (xnox) Related merge proposals: https://code.launchpad.net/~xnox/upstart/no-multibuild/+merge/195471 proposed by: Dmitrijs Ledkovs (xnox) review: Approve - James Hunt (jamesodhunt) ------------------------------------------------------------ revno: 1575 [merge] committer: James Hunt <[email protected]> branch nick: upstart timestamp: Mon 2013-11-18 10:31:21 +0000 message: * Merge of lp:~xnox/upstart/no-multibuild. modified: ChangeLog init/conf.c init/xdg.c test/Makefile.am util/Makefile.am
-- lp:upstart https://code.launchpad.net/~upstart-devel/upstart/trunk Your team Upstart Reviewers is subscribed to branch lp:upstart. To unsubscribe from this branch go to https://code.launchpad.net/~upstart-devel/upstart/trunk/+edit-subscription
=== modified file 'ChangeLog' --- ChangeLog 2013-11-15 23:47:31 +0000 +++ ChangeLog 2013-11-18 10:31:21 +0000 @@ -1,3 +1,11 @@ +2013-11-16 Dmitrijs Ledkovs <[email protected]> + + * init/xdg.c, util/Makefile.am, test/Makefile.am, init/conf.c: + - juggle user_mode & session_file from xdg.c to conf.c + - remove INITCTL_BUILD conditional compilation + - make it possible to use the same xdg.o in both init & initctl + - this is in preparation to handle subdir-objects automake option + 2013-11-15 Steve Langasek <[email protected]> * init/tests/test_state.c: test_log_serialise(): === modified file 'init/conf.c' --- init/conf.c 2013-07-16 15:47:12 +0000 +++ init/conf.c 2013-11-16 12:42:57 +0000 @@ -96,6 +96,23 @@ __attribute__ ((warn_unused_result)); /** + * user_mode: + * + * If TRUE, upstart runs in user session mode. + **/ +int user_mode = FALSE; + +/** + * session_file: + * + * Full path to file containing UPSTART_SESSION details (only set when + * user_mode in operation). + * + * File is created on startup and removed on clean shutdown. + **/ +const char *session_file = NULL; + +/** * conf_sources: * * This list holds the list of known sources of configuration; each item === modified file 'init/xdg.c' --- init/xdg.c 2013-05-30 13:14:49 +0000 +++ init/xdg.c 2013-11-16 12:42:57 +0000 @@ -34,26 +34,6 @@ #include "paths.h" #include "xdg.h" -#ifndef INITCTL_BUILD - -/** - * user_mode: - * - * If TRUE, upstart runs in user session mode. - **/ -int user_mode = FALSE; - -/** - * session_file: - * - * Full path to file containing UPSTART_SESSION details (only set when - * user_mode in operation). - * - * File is created on startup and removed on clean shutdown. - **/ -const char *session_file = NULL; - -#endif /* INITCTL_BUILD */ /** * get_subdir: === modified file 'test/Makefile.am' --- test/Makefile.am 2013-11-11 16:15:52 +0000 +++ test/Makefile.am 2013-11-16 12:42:57 +0000 @@ -10,7 +10,6 @@ AM_CPPFLAGS = \ -DLOCALEDIR="\"$(localedir)\"" \ - -DINITCTL_BUILD \ -DSBINDIR="\"$(sbindir)\"" \ -DUPSTART_BINARY="\"$(UPSTART_BINARY)\"" \ -DINITCTL_BINARY="\"$(INITCTL_BINARY)\"" \ === modified file 'util/Makefile.am' --- util/Makefile.am 2013-11-12 14:00:36 +0000 +++ util/Makefile.am 2013-11-16 12:42:57 +0000 @@ -7,7 +7,6 @@ AM_CPPFLAGS = \ -DLOCALEDIR="\"$(localedir)\"" \ - -DINITCTL_BUILD \ -DSBINDIR="\"$(sbindir)\"" \ -I$(top_builddir) -I$(top_srcdir) -iquote$(builddir) -iquote$(srcdir) \ -I$(top_srcdir)/intl \
-- upstart-devel mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/upstart-devel
