Changeset 2a98af84 in rtems


Ignore:
Timestamp:
May 29, 1996, 9:02:20 PM (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
7f72217e
Parents:
5240c71c
Message:

types.c: spacing

psignal.c: kill recognizes SIGABRT and exits to prevent asserts from
recursively occurring because kill was not implemented and asserted.

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/posix/src/psignal.c

    r5240c71c r2a98af84  
    2020)
    2121{
     22  /* SIGABRT comes from abort via assert */
     23  if ( sig == SIGABRT ) {
     24    exit( 1 );
     25  }
    2226  return POSIX_NOT_IMPLEMENTED();
    2327}
  • c/src/exec/posix/src/types.c

    r5240c71c r2a98af84  
    77
    88#include <rtems/system.h>
    9 
    10 /*
    11  * TEMPORARY
    12  */
    13 
    14 #include <assert.h>
    15 
    16 int POSIX_MP_NOT_IMPLEMENTED()
    17 {
    18   assert( 0 );
    19   return 0;
    20 }
    21 
    22 int POSIX_BOTTOM_REACHED()
    23 {
    24   assert( 0 );
    25   return 0;
    26 }
    27 
    28 int POSIX_NOT_IMPLEMENTED()
    29 {
    30   assert( 0 );
    31   return 0;
    32 }
    33 
    34 /*
    35  * END OF TEMPORARY
    36  */
    379
    3810/*PAGE
     
    196168  return POSIX_NOT_IMPLEMENTED();
    197169}
     170
     171/*
     172 * TEMPORARY
     173 */
     174
     175#include <assert.h>
     176
     177int POSIX_MP_NOT_IMPLEMENTED()
     178{
     179  assert( 0 );
     180  return 0;
     181}
     182
     183int POSIX_BOTTOM_REACHED()
     184{
     185  assert( 0 );
     186  return 0;
     187}
     188
     189int POSIX_NOT_IMPLEMENTED()
     190{
     191  assert( 0 );
     192  return 0;
     193}
     194
     195/*
     196 * END OF TEMPORARY
     197 */
     198
  • cpukit/posix/src/psignal.c

    r5240c71c r2a98af84  
    2020)
    2121{
     22  /* SIGABRT comes from abort via assert */
     23  if ( sig == SIGABRT ) {
     24    exit( 1 );
     25  }
    2226  return POSIX_NOT_IMPLEMENTED();
    2327}
  • cpukit/posix/src/types.c

    r5240c71c r2a98af84  
    77
    88#include <rtems/system.h>
    9 
    10 /*
    11  * TEMPORARY
    12  */
    13 
    14 #include <assert.h>
    15 
    16 int POSIX_MP_NOT_IMPLEMENTED()
    17 {
    18   assert( 0 );
    19   return 0;
    20 }
    21 
    22 int POSIX_BOTTOM_REACHED()
    23 {
    24   assert( 0 );
    25   return 0;
    26 }
    27 
    28 int POSIX_NOT_IMPLEMENTED()
    29 {
    30   assert( 0 );
    31   return 0;
    32 }
    33 
    34 /*
    35  * END OF TEMPORARY
    36  */
    379
    3810/*PAGE
     
    196168  return POSIX_NOT_IMPLEMENTED();
    197169}
     170
     171/*
     172 * TEMPORARY
     173 */
     174
     175#include <assert.h>
     176
     177int POSIX_MP_NOT_IMPLEMENTED()
     178{
     179  assert( 0 );
     180  return 0;
     181}
     182
     183int POSIX_BOTTOM_REACHED()
     184{
     185  assert( 0 );
     186  return 0;
     187}
     188
     189int POSIX_NOT_IMPLEMENTED()
     190{
     191  assert( 0 );
     192  return 0;
     193}
     194
     195/*
     196 * END OF TEMPORARY
     197 */
     198
Note: See TracChangeset for help on using the changeset viewer.