Enlightenment CVS committal Author : nash Project : e17 Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore Modified Files: Ecore.h Log Message: Don't use unportable 1-bit bitfields. =================================================================== RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore/Ecore.h,v retrieving revision 1.54 retrieving revision 1.55 diff -u -3 -r1.54 -r1.55 --- Ecore.h 26 Aug 2007 11:17:20 -0000 1.54 +++ Ecore.h 25 Oct 2007 05:26:03 -0000 1.55 @@ -144,10 +144,10 @@ struct _Ecore_Event_Signal_Exit /** Exit request event */ { - int interrupt : 1; /**< Set if the exit request was an interrupt signal*/ - int quit : 1; /**< set if the exit request was a quit signal */ - int terminate : 1; /**< Set if the exit request was a terminate singal */ - void *ext_data; /**< Extension data - not used */ + unsigned int interrupt : 1; /**< Set if the exit request was an interrupt signal*/ + unsigned int quit : 1; /**< set if the exit request was a quit signal */ + unsigned int terminate : 1; /**< Set if the exit request was a terminate singal */ + void *ext_data; /**< Extension data - not used */ #ifndef _WIN32 siginfo_t data; /**< Signal info */ @@ -181,14 +181,14 @@ struct _Ecore_Exe_Event_Del /** Process exit event */ { - pid_t pid; /**< The process ID of the process that exited */ - int exit_code; /**< The exit code of the process */ - Ecore_Exe *exe; /**< The handle to the exited process, or NULL if not found */ - int exit_signal; /** < The signal that caused the process to exit */ - char exited : 1; /** < set to 1 if the process exited of its own accord */ - char signalled : 1; /** < set to 1 id the process exited due to uncaught signal */ - void *ext_data; /**< Extension data - not used */ - siginfo_t data; /**< Signal info */ + pid_t pid; /**< The process ID of the process that exited */ + int exit_code; /**< The exit code of the process */ + Ecore_Exe *exe; /**< The handle to the exited process, or NULL if not found */ + int exit_signal; /** < The signal that caused the process to exit */ + unsigned char exited : 1; /** < set to 1 if the process exited of its own accord */ + unsigned char signalled : 1; /** < set to 1 id the process exited due to uncaught signal */ + void *ext_data; /**< Extension data - not used */ + siginfo_t data; /**< Signal info */ }; struct _Ecore_Exe_Event_Data_Line /**< Lines from a child process */ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs