* path.h (path_conv::set_name): Declare new function.

* path.cc (path_conv::set_name): Define new function.
* fhandler.h (fhandler_dev_null::open): Declare new function.
* fhandler.cc (fhandler_dev_null::open): Define new function.
This commit is contained in:
Christopher Faylor
2005-01-31 21:29:59 +00:00
parent 4faae8d6e9
commit 17dc5be5e9
5 changed files with 27 additions and 0 deletions

View File

@ -942,6 +942,15 @@ out:
#endif
}
void
path_conv::set_name (const char *win32, const char *posix)
{
if (!normalized_path_size && normalized_path)
cfree (normalized_path);
strcpy (path, win32);
set_normalized_path (posix, false);
}
path_conv::~path_conv ()
{
if (!normalized_path_size && normalized_path)