Changeset 5e34bf4 in rtems


Ignore:
Timestamp:
Mar 31, 1998, 2:19:27 PM (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
58933e6
Parents:
4104db2
Message:

Added "sigemptyset()" call to insure that the memcmp() would work.
It appears that the new glibc does not clear all the bits of the signal
set with a sigprocmask.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/score/cpu/unix/cpu.c

    r4104db2 r5e34bf4  
    244244{
    245245  sigset_t old_mask;
    246 
     246  sigset_t new_mask;
     247
     248#if defined(__linux__)
     249  sigemptyset( &old_mask );
     250#endif
    247251  sigprocmask(SIG_BLOCK, 0, &old_mask);
    248252
  • cpukit/score/cpu/unix/cpu.c

    r4104db2 r5e34bf4  
    244244{
    245245  sigset_t old_mask;
    246 
     246  sigset_t new_mask;
     247
     248#if defined(__linux__)
     249  sigemptyset( &old_mask );
     250#endif
    247251  sigprocmask(SIG_BLOCK, 0, &old_mask);
    248252
Note: See TracChangeset for help on using the changeset viewer.