Changeset f2e3e37 in rtems


Ignore:
Timestamp:
Sep 14, 2007, 2:53:14 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
24af51c5
Parents:
7349e6d0
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

    r7349e6d0 rf2e3e37  
     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

    r7349e6d0 rf2e3e37  
    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.