Changeset 1af79634 in rtems for cpukit/include


Ignore:
Timestamp:
Oct 25, 2001, 5:38:55 PM (18 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
9c30d6a9
Parents:
bc85fdbb
Message:

2001-10-25 Jennifer Averett <jennifer@…>

  • libc/libio.c: Initialize more fields to NULL/0 during initialiation.
  • include/rtems/libio_.h: Fix freenode macro so it works for sockets which do not have the full set of filesystem operations and are initialized via something other than open().
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/include/rtems/libio_.h

    rbc85fdbb r1af79634  
    166166#define rtems_filesystem_freenode( _node ) \
    167167  do { \
    168     if ( (_node)->ops->freenod_h ) \
    169       (*(_node)->ops->freenod_h)( (_node) ); \
     168    if ( (_node)->ops )\
     169      if ( (_node)->ops->freenod_h ) \
     170        (*(_node)->ops->freenod_h)( (_node) ); \
    170171  } while (0)
    171172
Note: See TracChangeset for help on using the changeset viewer.