Changeset d78c6fe3 in rtems


Ignore:
Timestamp:
Jan 13, 2000, 6:22:32 PM (22 years ago)
Author:
Jennifer Averett <Jennifer.Averett@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
e7d76dc
Parents:
661ff9a
Message:

+ Comment cleanup

Files:
8 edited

Legend:

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

    r661ff9a rd78c6fe3  
    3232 *
    3333 *  _POSIX_Message_queue_Create_support
     34 *
     35 *  This routine does the actual creation and initialization of
     36 *  a poxix message queue. 
    3437 */
    3538 
     
    127130  }
    128131
    129  
    130   /* XXX - need Names to be a string!!! */
    131132  _Objects_Open(
    132133    &_POSIX_Message_queue_Information,
  • c/src/exec/posix/src/mqueuenametoid.c

    r661ff9a rd78c6fe3  
    3333 *  _POSIX_Message_queue_Name_to_id
    3434 *
    35  *  XXX
     35 *  Look up the specified name and attempt to locate the id
     36 *  for the associated message queue.
    3637 */
    3738
     
    4950    return EINVAL;
    5051
    51   if( strlen(name) > PATH_MAX )  /* XXX - Is strlen ok to use here ? */
     52  if( strlen(name) > PATH_MAX )
    5253    return ENAMETOOLONG;
    5354
  • c/src/exec/posix/src/mqueueopen.c

    r661ff9a rd78c6fe3  
    5252  _Thread_Disable_dispatch();
    5353
    54   /* XXX is attr used with out being initialized otherwise? */
    5554  if ( oflag & O_CREAT ) {
    5655    va_start(arg, oflag);
     
    105104  }
    106105 
    107   /* XXX verify this comment...
    108    *
     106  /*
    109107   *  At this point, the message queue does not exist and everything has been
    110108   *  checked. We should go ahead and create a message queue.
     
    131129}
    132130
     131
     132
     133
     134
  • c/src/exec/posix/src/semaphorecreatesupp.c

    r661ff9a rd78c6fe3  
    4545
    4646  if ( name ) {
    47 
    48     if( strlen(name) > PATH_MAX ) {  /* XXX - Is strlen ok to use here ? */
     47    if( strlen(name) > PATH_MAX ) {
    4948      _Thread_Enable_dispatch();
    5049      set_errno_and_return_minus_one( ENAMETOOLONG );
    5150    }
    52 
    53     /*
    54      * XXX Greater than NAME_MAX while POSIX_NO_TRUNC in effect.
    55      * XXX Error description in POSIX book different for mq_open and mq_unlink
    56      *     Why???
    57      */
    5851  }
    5952
  • cpukit/posix/src/mqueuecreatesupp.c

    r661ff9a rd78c6fe3  
    3232 *
    3333 *  _POSIX_Message_queue_Create_support
     34 *
     35 *  This routine does the actual creation and initialization of
     36 *  a poxix message queue. 
    3437 */
    3538 
     
    127130  }
    128131
    129  
    130   /* XXX - need Names to be a string!!! */
    131132  _Objects_Open(
    132133    &_POSIX_Message_queue_Information,
  • cpukit/posix/src/mqueuenametoid.c

    r661ff9a rd78c6fe3  
    3333 *  _POSIX_Message_queue_Name_to_id
    3434 *
    35  *  XXX
     35 *  Look up the specified name and attempt to locate the id
     36 *  for the associated message queue.
    3637 */
    3738
     
    4950    return EINVAL;
    5051
    51   if( strlen(name) > PATH_MAX )  /* XXX - Is strlen ok to use here ? */
     52  if( strlen(name) > PATH_MAX )
    5253    return ENAMETOOLONG;
    5354
  • cpukit/posix/src/mqueueopen.c

    r661ff9a rd78c6fe3  
    5252  _Thread_Disable_dispatch();
    5353
    54   /* XXX is attr used with out being initialized otherwise? */
    5554  if ( oflag & O_CREAT ) {
    5655    va_start(arg, oflag);
     
    105104  }
    106105 
    107   /* XXX verify this comment...
    108    *
     106  /*
    109107   *  At this point, the message queue does not exist and everything has been
    110108   *  checked. We should go ahead and create a message queue.
     
    131129}
    132130
     131
     132
     133
     134
  • cpukit/posix/src/semaphorecreatesupp.c

    r661ff9a rd78c6fe3  
    4545
    4646  if ( name ) {
    47 
    48     if( strlen(name) > PATH_MAX ) {  /* XXX - Is strlen ok to use here ? */
     47    if( strlen(name) > PATH_MAX ) {
    4948      _Thread_Enable_dispatch();
    5049      set_errno_and_return_minus_one( ENAMETOOLONG );
    5150    }
    52 
    53     /*
    54      * XXX Greater than NAME_MAX while POSIX_NO_TRUNC in effect.
    55      * XXX Error description in POSIX book different for mq_open and mq_unlink
    56      *     Why???
    57      */
    5851  }
    5952
Note: See TracChangeset for help on using the changeset viewer.