Changeset b6a2d2fa in rtems
- Timestamp:
- 08/09/01 22:09:36 (22 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- ccb13cfe
- Parents:
- 70d689a
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/exec/libfs/ChangeLog
r70d689a rb6a2d2fa 1 2001-08-09 Fernando-Ruiz Casas <correo@fernando-ruiz.com> 2 3 * src/imfs/imfs_eval.c: The CD_UP problem in imfs_eval has been 4 touched. The order of the questions is the key. 5 1 6 2001-07-06 Thomas Doerfler <Thomas.Doerfler@imd-systems.de> 2 7 -
c/src/exec/libfs/src/imfs/imfs_eval.c
r70d689a rb6a2d2fa 32 32 #define MAXSYMLINK 5 33 33 34 int IMFS_Set_handlers( 34 int IMFS_Set_handlers( 35 35 rtems_filesystem_location_info_t *loc 36 36 ) … … 293 293 294 294 /* 295 * This was filled in by the caller and is valid in the 295 * This was filled in by the caller and is valid in the 296 296 * mount table. 297 297 */ … … 324 324 325 325 case IMFS_UP_DIR: 326 /* 327 * Am I at the root of all filesystems? (chroot'ed?) 328 */ 329 330 if ( pathloc->node_access == rtems_filesystem_root.node_access ) 331 break; /* Throw out the .. in this case */ 332 326 333 327 334 /* … … 517 524 switch( type ) { 518 525 case IMFS_UP_DIR: 526 /* 527 * Am I at the root of all filesystems? (chroot'ed?) 528 */ 529 530 if ( pathloc->node_access == rtems_filesystem_root.node_access ) 531 break; /* Throw out the .. in this case */ 519 532 520 533 /* … … 560 573 node = pathloc->node_access; 561 574 if ( !node ) 562 set_errno_and_return_minus_one( ENOTDIR ); 575 set_errno_and_return_minus_one( ENOTDIR ); 563 576 564 577 } else if ( node->type == IMFS_SYM_LINK ) { -
c/src/libfs/ChangeLog
r70d689a rb6a2d2fa 1 2001-08-09 Fernando-Ruiz Casas <correo@fernando-ruiz.com> 2 3 * src/imfs/imfs_eval.c: The CD_UP problem in imfs_eval has been 4 touched. The order of the questions is the key. 5 1 6 2001-07-06 Thomas Doerfler <Thomas.Doerfler@imd-systems.de> 2 7 -
c/src/libfs/src/imfs/imfs_eval.c
r70d689a rb6a2d2fa 32 32 #define MAXSYMLINK 5 33 33 34 int IMFS_Set_handlers( 34 int IMFS_Set_handlers( 35 35 rtems_filesystem_location_info_t *loc 36 36 ) … … 293 293 294 294 /* 295 * This was filled in by the caller and is valid in the 295 * This was filled in by the caller and is valid in the 296 296 * mount table. 297 297 */ … … 324 324 325 325 case IMFS_UP_DIR: 326 /* 327 * Am I at the root of all filesystems? (chroot'ed?) 328 */ 329 330 if ( pathloc->node_access == rtems_filesystem_root.node_access ) 331 break; /* Throw out the .. in this case */ 332 326 333 327 334 /* … … 517 524 switch( type ) { 518 525 case IMFS_UP_DIR: 526 /* 527 * Am I at the root of all filesystems? (chroot'ed?) 528 */ 529 530 if ( pathloc->node_access == rtems_filesystem_root.node_access ) 531 break; /* Throw out the .. in this case */ 519 532 520 533 /* … … 560 573 node = pathloc->node_access; 561 574 if ( !node ) 562 set_errno_and_return_minus_one( ENOTDIR ); 575 set_errno_and_return_minus_one( ENOTDIR ); 563 576 564 577 } else if ( node->type == IMFS_SYM_LINK ) { -
cpukit/libfs/ChangeLog
r70d689a rb6a2d2fa 1 2001-08-09 Fernando-Ruiz Casas <correo@fernando-ruiz.com> 2 3 * src/imfs/imfs_eval.c: The CD_UP problem in imfs_eval has been 4 touched. The order of the questions is the key. 5 1 6 2001-07-06 Thomas Doerfler <Thomas.Doerfler@imd-systems.de> 2 7 -
cpukit/libfs/src/imfs/imfs_eval.c
r70d689a rb6a2d2fa 32 32 #define MAXSYMLINK 5 33 33 34 int IMFS_Set_handlers( 34 int IMFS_Set_handlers( 35 35 rtems_filesystem_location_info_t *loc 36 36 ) … … 293 293 294 294 /* 295 * This was filled in by the caller and is valid in the 295 * This was filled in by the caller and is valid in the 296 296 * mount table. 297 297 */ … … 324 324 325 325 case IMFS_UP_DIR: 326 /* 327 * Am I at the root of all filesystems? (chroot'ed?) 328 */ 329 330 if ( pathloc->node_access == rtems_filesystem_root.node_access ) 331 break; /* Throw out the .. in this case */ 332 326 333 327 334 /* … … 517 524 switch( type ) { 518 525 case IMFS_UP_DIR: 526 /* 527 * Am I at the root of all filesystems? (chroot'ed?) 528 */ 529 530 if ( pathloc->node_access == rtems_filesystem_root.node_access ) 531 break; /* Throw out the .. in this case */ 519 532 520 533 /* … … 560 573 node = pathloc->node_access; 561 574 if ( !node ) 562 set_errno_and_return_minus_one( ENOTDIR ); 575 set_errno_and_return_minus_one( ENOTDIR ); 563 576 564 577 } else if ( node->type == IMFS_SYM_LINK ) {
Note: See TracChangeset
for help on using the changeset viewer.