diff --git a/src/engine/filent.c b/src/engine/filent.c index d73e33dee..2cb000d4b 100644 --- a/src/engine/filent.c +++ b/src/engine/filent.c @@ -166,7 +166,7 @@ void file_dirscan( OBJECT * dir, scanback func, void * closure ) path_build( &f, filename, 0 ); filename_obj = object_new( filename->value ); - path_add_key( filename_obj ); + path_key__register_long_path( filename_obj ); files = list_push_back( files, filename_obj ); ff = file_info( filename_obj ); ff->is_file = finfo->attrib & _A_SUBDIR ? 0 : 1; diff --git a/src/engine/pathsys.h b/src/engine/pathsys.h index d46b17099..c76dfed00 100644 --- a/src/engine/pathsys.h +++ b/src/engine/pathsys.h @@ -72,7 +72,7 @@ OBJECT * path_as_key( OBJECT * path ); * long form. Avoids the need for some subsequent path_as_key() call to do a * potentially expensive short-->long path conversion. */ -void path_add_key( OBJECT * long_path ); +void path_key__register_long_path( OBJECT * long_path ); #ifdef USE_PATHUNIX /* Returns a static pointer to the system dependent path to the temporary diff --git a/src/engine/pathunix.c b/src/engine/pathunix.c index 734048e9d..be7c6049d 100644 --- a/src/engine/pathunix.c +++ b/src/engine/pathunix.c @@ -471,7 +471,7 @@ static path_key_entry * path_key( OBJECT * const path, } -void path_add_key( OBJECT * long_path ) +void path_key__register_long_path( OBJECT * long_path ) { path_key( long_path, 1 ); } @@ -503,7 +503,7 @@ void path_done( void ) #else /* NT */ -void path_add_key( OBJECT * path ) +void path_key__register_long_path( OBJECT * path ) { }