Changeset 812f440 in rtems
- Timestamp:
- 10/21/99 16:38:49 (24 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 9583f6e
- Parents:
- 39537657
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/exec/posix/src/ptimer.c
r39537657 r812f440 590 590 int timer_pos; /* Position of the timer in the table */ 591 591 rtems_time_of_day rtems_time; /* Time in RTEMS */ 592 592 593 593 594 /* First the position in the table of timers is obtained */ … … 624 625 /* The old data of the timer are returned */ 625 626 626 COPY_ITIMERSPEC_S ( &timer_struct[timer_pos].timer_data, ovalue ); 627 if ( ovalue ) 628 COPY_ITIMERSPEC_S ( &timer_struct[timer_pos].timer_data, ovalue ); 627 629 628 630 /* The new data are set */ … … 683 685 * returns the old ones in "ovalue" */ 684 686 685 COPY_ITIMERSPEC_S ( &timer_struct[timer_pos].timer_data, ovalue ); 687 if ( ovalue ) 688 COPY_ITIMERSPEC_S ( &timer_struct[timer_pos].timer_data, ovalue ); 686 689 687 690 COPY_ITIMERSPEC_S ( value, &timer_struct[timer_pos].timer_data ); … … 758 761 * returns the old ones in "ovalue" */ 759 762 760 COPY_ITIMERSPEC_S ( &timer_struct[timer_pos].timer_data, ovalue ); 763 if ( ovalue ) 764 COPY_ITIMERSPEC_S ( &timer_struct[timer_pos].timer_data, ovalue ); 761 765 762 766 COPY_ITIMERSPEC_S ( value, &timer_struct[timer_pos].timer_data ); -
cpukit/posix/src/ptimer.c
r39537657 r812f440 590 590 int timer_pos; /* Position of the timer in the table */ 591 591 rtems_time_of_day rtems_time; /* Time in RTEMS */ 592 592 593 593 594 /* First the position in the table of timers is obtained */ … … 624 625 /* The old data of the timer are returned */ 625 626 626 COPY_ITIMERSPEC_S ( &timer_struct[timer_pos].timer_data, ovalue ); 627 if ( ovalue ) 628 COPY_ITIMERSPEC_S ( &timer_struct[timer_pos].timer_data, ovalue ); 627 629 628 630 /* The new data are set */ … … 683 685 * returns the old ones in "ovalue" */ 684 686 685 COPY_ITIMERSPEC_S ( &timer_struct[timer_pos].timer_data, ovalue ); 687 if ( ovalue ) 688 COPY_ITIMERSPEC_S ( &timer_struct[timer_pos].timer_data, ovalue ); 686 689 687 690 COPY_ITIMERSPEC_S ( value, &timer_struct[timer_pos].timer_data ); … … 758 761 * returns the old ones in "ovalue" */ 759 762 760 COPY_ITIMERSPEC_S ( &timer_struct[timer_pos].timer_data, ovalue ); 763 if ( ovalue ) 764 COPY_ITIMERSPEC_S ( &timer_struct[timer_pos].timer_data, ovalue ); 761 765 762 766 COPY_ITIMERSPEC_S ( value, &timer_struct[timer_pos].timer_data );
Note: See TracChangeset
for help on using the changeset viewer.