Changeset c6126e57 in rtems


Ignore:
Timestamp:
01/08/97 16:21:38 (26 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
d135fc52
Parents:
1019ae4
Message:

removed assert() for stat on non-devices. Now it returns -1. This
makes gnat pass about 55 more tests in the acvc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libc/syscalls.c

    r1019ae4 rc6126e57  
    5151{
    5252  if ( strncmp( "/dev/", path, 5 ) ) {
    53     puts( "stat -- non-devices not supported" );
    54     assert( 0 );
     53    return -1;
    5554  }
    5655  return __fstat( 0, buf );
Note: See TracChangeset for help on using the changeset viewer.