--- BasiliskII/src/BeOS/extfs_beos.cpp 1999/10/19 21:33:57 1.2 +++ BasiliskII/src/BeOS/extfs_beos.cpp 1999/10/21 22:39:59 1.3 @@ -72,6 +72,21 @@ void extfs_exit(void) /* + * Add component to path name + */ + +void add_path_component(char *path, const char *component, int max_len) +{ + int l = strlen(path); + if (l < max_len-1 && path[l-1] != '/') { + path[l] = '/'; + path[l+1] = 0; + } + strncat(path, s, max_len-1); +} + + +/* * Get/set finder type/creator for file specified by full path */