| 339 | } |
| 340 | |
| 341 | static OBJECT * get_filename( OBJECT * path ) |
| 342 | { |
| 343 | PATHNAME path1[ 1 ]; |
| 344 | string buf[ 1 ]; |
| 345 | OBJECT * result; |
| 346 | path_parse( object_str( path ), path1 ); |
| 347 | path1->f_dir.ptr = NULL; |
| 348 | path1->f_dir.len = 0; |
| 349 | string_new( buf ); |
| 350 | path_build( path1, buf ); |
| 351 | result = object_new( buf->value ); |
| 352 | string_free( buf ); |
| 353 | return result; |
| 354 | } |
| 355 | |
| 356 | static int is_same_file( OBJECT * file1, OBJECT * file2 ) |
| 357 | { |
no test coverage detected