forked from Imagelibrary/rtems
2002-01-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* mw-fb/mw_uid.c: Apply rtems_set_errno_and_return_minus_one.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2002-01-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
|
* mw-fb/mw_uid.c: Apply rtems_set_errno_and_return_minus_one.
|
||||||
|
|
||||||
2001-10-12 Joel Sherrill <joel@OARcorp.com>
|
2001-10-12 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
* rootfs/mkrootfs.c, rootfs/mkrootfs.h: Fixed typo.
|
* rootfs/mkrootfs.c, rootfs/mkrootfs.h: Fixed typo.
|
||||||
|
|||||||
@@ -13,6 +13,11 @@
|
|||||||
// MODIFICATION/HISTORY:
|
// MODIFICATION/HISTORY:
|
||||||
//
|
//
|
||||||
// $Log$
|
// $Log$
|
||||||
|
// Revision 1.3 2000/11/30 14:36:46 joel
|
||||||
|
// 2000-11-30 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
//
|
||||||
|
// * mw-fb/mw_uid.c: Removed unnecessary dependency on <bsp.h>.
|
||||||
|
//
|
||||||
// Revision 1.2 2000/08/30 17:12:55 joel
|
// Revision 1.2 2000/08/30 17:12:55 joel
|
||||||
// 2000-08-30 Joel Sherrill <joel@OARcorp.com>
|
// 2000-08-30 Joel Sherrill <joel@OARcorp.com>
|
||||||
//
|
//
|
||||||
@@ -127,7 +132,7 @@ int uid_read_message( struct MW_UID_MESSAGE *m, unsigned long timeout )
|
|||||||
else if( ( status == RTEMS_UNSATISFIED ) || ( status == RTEMS_TIMEOUT ) )
|
else if( ( status == RTEMS_UNSATISFIED ) || ( status == RTEMS_TIMEOUT ) )
|
||||||
{
|
{
|
||||||
/* this macro returns -1 */
|
/* this macro returns -1 */
|
||||||
set_errno_and_return_minus_one( ETIMEDOUT );
|
rtems_set_errno_and_return_minus_one( ETIMEDOUT );
|
||||||
}
|
}
|
||||||
/* Here we have one error condition */
|
/* Here we have one error condition */
|
||||||
#ifdef MW_DEBUG_ON
|
#ifdef MW_DEBUG_ON
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
2002-01-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
|
* mw-fb/mw_uid.c: Apply rtems_set_errno_and_return_minus_one.
|
||||||
|
|
||||||
2001-10-12 Joel Sherrill <joel@OARcorp.com>
|
2001-10-12 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
* rootfs/mkrootfs.c, rootfs/mkrootfs.h: Fixed typo.
|
* rootfs/mkrootfs.c, rootfs/mkrootfs.h: Fixed typo.
|
||||||
|
|||||||
@@ -13,6 +13,11 @@
|
|||||||
// MODIFICATION/HISTORY:
|
// MODIFICATION/HISTORY:
|
||||||
//
|
//
|
||||||
// $Log$
|
// $Log$
|
||||||
|
// Revision 1.3 2000/11/30 14:36:46 joel
|
||||||
|
// 2000-11-30 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
//
|
||||||
|
// * mw-fb/mw_uid.c: Removed unnecessary dependency on <bsp.h>.
|
||||||
|
//
|
||||||
// Revision 1.2 2000/08/30 17:12:55 joel
|
// Revision 1.2 2000/08/30 17:12:55 joel
|
||||||
// 2000-08-30 Joel Sherrill <joel@OARcorp.com>
|
// 2000-08-30 Joel Sherrill <joel@OARcorp.com>
|
||||||
//
|
//
|
||||||
@@ -127,7 +132,7 @@ int uid_read_message( struct MW_UID_MESSAGE *m, unsigned long timeout )
|
|||||||
else if( ( status == RTEMS_UNSATISFIED ) || ( status == RTEMS_TIMEOUT ) )
|
else if( ( status == RTEMS_UNSATISFIED ) || ( status == RTEMS_TIMEOUT ) )
|
||||||
{
|
{
|
||||||
/* this macro returns -1 */
|
/* this macro returns -1 */
|
||||||
set_errno_and_return_minus_one( ETIMEDOUT );
|
rtems_set_errno_and_return_minus_one( ETIMEDOUT );
|
||||||
}
|
}
|
||||||
/* Here we have one error condition */
|
/* Here we have one error condition */
|
||||||
#ifdef MW_DEBUG_ON
|
#ifdef MW_DEBUG_ON
|
||||||
|
|||||||
Reference in New Issue
Block a user