Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Properly create arrays to store signal related information
MAX_UNIX_SIGNAL_TYPES corresponds to the total number of signals available. All signals have a value greater than 0. MAX_UNIX_SIGNAL_TYPES should not be used to create an array for storing information related to signals. Instead, (MAX_UNIX_SIGNAL_TYPES + 1) should be used to create an array for storing information related to signals. This will allow us to properly store the information for the MAX_UNIX_SIGNAL_TYPES(th) signal. Macro ARRAY_SIZE_SIGNALS has been added to create arrays for storing information related to signals. Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
- Loading branch information