Enlightenment CVS committal
Author : xcomputerman
Project : e17
Module : apps/entrance
Dir : e17/apps/entrance/src/daemon
Modified Files:
Entranced.h auth.c ipc.c
Log Message:
Do a chown on the Xauthority file in case it is being created for the first time
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/entrance/src/daemon/Entranced.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Entranced.h 19 Apr 2004 05:15:50 -0000 1.2
+++ Entranced.h 1 May 2004 21:30:04 -0000 1.3
@@ -19,7 +19,7 @@
#define ENTRANCED_DEBUG 1
#define X_SERVER "/usr/X11R6/bin/X -quiet"
-/*#define X_SERVER "/usr/X11R6/bin/Xnest -terminate -geometry 640x480 -ac -full :1"*/
+/*#define X_SERVER "/usr/X11R6/bin/Xnest -full" */
#define X_DISP ":0" /* only used if DISPLAY variable is NOT set */
#define ENTRANCE PREFIX "/bin/entrance_wrapper"
#define PIDFILE "/var/run/entranced.pid"
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/entrance/src/daemon/auth.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- auth.c 1 May 2004 20:44:52 -0000 1.10
+++ auth.c 1 May 2004 21:30:04 -0000 1.11
@@ -382,6 +382,9 @@
fclose(auth_file);
XauUnlockAuth(d->client.authfile);
+
+ chown(d->client.authfile, d->client.uid, d->client.gid);
+
entranced_debug("entranced_auth_user_add: Finished writing auth entries to %s\n",
d->client.authfile);
return ret;
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/entrance/src/daemon/ipc.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- ipc.c 19 Apr 2004 05:15:50 -0000 1.1
+++ ipc.c 1 May 2004 21:30:04 -0000 1.2
@@ -78,8 +78,8 @@
}
}
- entranced_debug("_entranced_ipc_client_data: Received [%i] [%i] [%i] \"%s\"\n",
- e->major, e->minor, e->size, (char *) e->data);
+ entranced_debug("_entranced_ipc_client_data: Received [%i] [%i] [%i] [%i]
\"%s\"\n",
+ e->major, e->minor, e->size, e->response, (char *) e->data);
return TRUE;
}
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs