| 1 | --- src/base/ftrfork.c.orig 2009-03-12 01:50:33.000000000 -0600 |
| 2 | +++ src/base/ftrfork.c 2009-03-15 19:57:24.000000000 -0600 |
| 3 | @@ -476,29 +476,7 @@ |
| 4 | /* |
| 5 | Only meaningful on systems with hfs+ drivers (or Macs). |
| 6 | */ |
| 7 | - FT_Error error; |
| 8 | - char* newpath; |
| 9 | - FT_Memory memory; |
| 10 | - FT_Long base_file_len = ft_strlen( base_file_name ); |
| 11 | - |
| 12 | - FT_UNUSED( stream ); |
| 13 | - |
| 14 | - |
| 15 | - memory = library->memory; |
| 16 | - |
| 17 | - if ( base_file_len + 6 > FT_INT_MAX ) |
| 18 | - return FT_Err_Array_Too_Large; |
| 19 | - |
| 20 | - if ( FT_ALLOC( newpath, base_file_len + 6 ) ) |
| 21 | - return error; |
| 22 | - |
| 23 | - FT_MEM_COPY( newpath, base_file_name, base_file_len ); |
| 24 | - FT_MEM_COPY( newpath + base_file_len, "/rsrc", 6 ); |
| 25 | - |
| 26 | - *result_file_name = newpath; |
| 27 | - *result_offset = 0; |
| 28 | - |
| 29 | - return FT_Err_Ok; |
| 30 | + return raccess_guess_darwin_newvfs( library, stream, base_file_name, result_file_name, result_offset ); |
| 31 | } |
| 32 | |
| 33 | |