Changeset 9181246 in rtems


Ignore:
Timestamp:
Nov 16, 1999, 10:45:51 PM (20 years ago)
Author:
Jennifer Averett <Jennifer.Averett@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
0fa51b5b
Parents:
18c3155
Message:

Fixed bug.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/libcsupport/src/utime.c

    r18c3155 r9181246  
    2727  int                                result;
    2828
     29  if ( rtems_filesystem_evaluate_path( path, 0x00, &temp_loc, TRUE ) )
     30    return -1;
     31
    2932  if ( !temp_loc.ops->utime )
    3033    set_errno_and_return_minus_one( ENOTSUP );
    31 
    32   if ( rtems_filesystem_evaluate_path( path, 0x00, &temp_loc, TRUE ) )
    33     return -1;
    3434
    3535  result = (*temp_loc.ops->utime)( &temp_loc, times->actime, times->modtime );
  • c/src/lib/libc/utime.c

    r18c3155 r9181246  
    2727  int                                result;
    2828
     29  if ( rtems_filesystem_evaluate_path( path, 0x00, &temp_loc, TRUE ) )
     30    return -1;
     31
    2932  if ( !temp_loc.ops->utime )
    3033    set_errno_and_return_minus_one( ENOTSUP );
    31 
    32   if ( rtems_filesystem_evaluate_path( path, 0x00, &temp_loc, TRUE ) )
    33     return -1;
    3434
    3535  result = (*temp_loc.ops->utime)( &temp_loc, times->actime, times->modtime );
  • cpukit/libcsupport/src/utime.c

    r18c3155 r9181246  
    2727  int                                result;
    2828
     29  if ( rtems_filesystem_evaluate_path( path, 0x00, &temp_loc, TRUE ) )
     30    return -1;
     31
    2932  if ( !temp_loc.ops->utime )
    3033    set_errno_and_return_minus_one( ENOTSUP );
    31 
    32   if ( rtems_filesystem_evaluate_path( path, 0x00, &temp_loc, TRUE ) )
    33     return -1;
    3434
    3535  result = (*temp_loc.ops->utime)( &temp_loc, times->actime, times->modtime );
Note: See TracChangeset for help on using the changeset viewer.