Enlightenment CVS committal Author : raster Project : e17 Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore Modified Files: ecore_exe.c Log Message: add more members and notes =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore/ecore_exe.c,v retrieving revision 1.13 retrieving revision 1.14 diff -u -3 -r1.13 -r1.14 --- ecore_exe.c 24 Oct 2005 08:53:50 -0000 1.13 +++ ecore_exe.c 24 Oct 2005 09:02:46 -0000 1.14 @@ -89,6 +89,16 @@ * aces like the client del event from ecore_con - signalling that the * connection is closed. once this event has been handled the child * ecore_exe struct is freed automatically and is no longer valid. + * + * when fd handlers report data - if line buffering is nto enabled instantly + * copy data to a exe data event struct and add the event like ecore_con. if + * line buffering is enabled, parse new data block for a \n. if there is + * none, then simply append to read buf. if there are 1 or more, append + * until, and including the first \n, to the existing read ubf (if any) then + * generate data event for that. repeat for each other \n found until no \n + * chars are left, then take trailing data (if any) and put in read buf + * waiting for more data. + * */ if (!exe_cmd) return NULL; pid = fork(); ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs