Enlightenment CVS committal
Author : lordchaos
Project : e17
Module : apps/evfs
Dir : e17/apps/evfs/src/common
Modified Files:
evfs_io.c
Log Message:
HAd to change from union to struct for event - evfs_command is variable size
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/common/evfs_io.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- evfs_io.c 8 Oct 2005 01:53:25 -0000 1.12
+++ evfs_io.c 8 Oct 2005 04:23:07 -0000 1.13
@@ -46,6 +46,7 @@
void evfs_write_event(evfs_client* client, evfs_command* command, evfs_event*
event) {
+ printf("Sending event type '%d'\n", event->type);
evfs_write_ecore_ipc_client_message(client->client,
ecore_ipc_message_new(EVFS_EV_REPLY,EVFS_EV_PART_TYPE,client->id,0,0,&event->type,
sizeof(evfs_eventtype)));
/*Now write the source command, if any*/
@@ -71,6 +72,7 @@
switch (msg->minor) {
case EVFS_EV_PART_TYPE:
+
memcpy(&event->type, msg->data, sizeof(evfs_eventtype));
break;
case EVFS_EV_PART_FILE_MONITOR_TYPE:
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs