Changeset 622e09b in rtems


Ignore:
Timestamp:
Sep 14, 2007, 2:53:00 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
b047186
Parents:
36f19131
Message:

2007-09-14 Joel Sherrill <joel.sherrill@…>

PR 1261/cpukit

  • posix/src/semaphorecreatesupp.c: Initialize all fields during semaphore creation.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r36f19131 r622e09b  
     12007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        PR 1261/cpukit
     4        * posix/src/semaphorecreatesupp.c: Initialize all fields during
     5        semaphore creation.
     6
    172007-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • cpukit/posix/src/semaphorecreatesupp.c

    r36f19131 r622e09b  
    7979    the_semaphore->open_count = 1;
    8080    the_semaphore->linked = TRUE;
     81  } else {
     82    the_semaphore->named = FALSE;
     83    the_semaphore->open_count = 0;
     84    the_semaphore->linked = FALSE;
    8185  }
    82   else
    83     the_semaphore->named = FALSE;
    8486
    8587  the_sem_attr = &the_semaphore->Semaphore.Attributes;
Note: See TracChangeset for help on using the changeset viewer.