dbus/dbus dbus-sysdeps-util.c,1.4,1.5 dbus-sysdeps.h,1.48,1.49

Joe Shaw joe at freedesktop.org
Sat Jul 9 00:36:25 EST 2005


Update of /cvs/dbus/dbus/dbus
In directory gabe:/tmp/cvs-serv19752/dbus

Modified Files:
	dbus-sysdeps-util.c dbus-sysdeps.h 
Log Message:
2005-07-08  Joe Shaw  <joeshaw at novell.com>

	* configure.in: Add a configure option, --with-console-auth-dir
	
	* dbus/dbus-sysdeps-util.c (_dbus_user_at_console): Use the
	new setting.  Patch from Kay Sievers.

Index: dbus-sysdeps-util.c
===================================================================
RCS file: /cvs/dbus/dbus/dbus/dbus-sysdeps-util.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- dbus-sysdeps-util.c	11 May 2005 17:59:46 -0000	1.4
+++ dbus-sysdeps-util.c	8 Jul 2005 14:36:22 -0000	1.5
@@ -359,7 +359,7 @@
       return FALSE;
     }
 
-  if (!_dbus_string_append (&f, DBUS_CONSOLE_DIR))
+  if (!_dbus_string_append (&f, DBUS_CONSOLE_AUTH_DIR))
     {
       _DBUS_SET_OOM (error);
       goto out;

Index: dbus-sysdeps.h
===================================================================
RCS file: /cvs/dbus/dbus/dbus/dbus-sysdeps.h,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -d -r1.48 -r1.49
--- dbus-sysdeps.h	15 Jun 2005 15:59:57 -0000	1.48
+++ dbus-sysdeps.h	8 Jul 2005 14:36:22 -0000	1.49
@@ -99,8 +99,6 @@
 #define DBUS_UID_FORMAT "%lu"
 #define DBUS_GID_FORMAT "%lu"
 
-#define DBUS_CONSOLE_DIR "/var/run/console/"
-
 /**
  * Struct representing socket credentials
  */



More information about the dbus-commit mailing list