summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/fhandler.cc')
-rw-r--r--winsup/cygwin/fhandler.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/winsup/cygwin/fhandler.cc b/winsup/cygwin/fhandler.cc
index 17f2db194..b2a8054a0 100644
--- a/winsup/cygwin/fhandler.cc
+++ b/winsup/cygwin/fhandler.cc
@@ -124,7 +124,7 @@ fhandler_base::get_readahead_into_buffer (char *buf, size_t buflen)
*/
void
-fhandler_base::set_name (const char *unix, const char *win32, int unit)
+fhandler_base::set_name (const char *unix_path, const char *win32_path, int unit)
{
if (!no_free_names ())
{
@@ -135,18 +135,18 @@ fhandler_base::set_name (const char *unix, const char *win32, int unit)
}
unix_path_name_ = win32_path_name_ = NULL;
- if (unix == NULL || !*unix)
+ if (unix_path == NULL || !*unix_path)
return;
- unix_path_name_ = strdup (unix);
+ unix_path_name_ = strdup (unix_path);
if (unix_path_name_ == NULL)
{
system_printf ("fatal error. strdup failed");
exit (ENOMEM);
}
- if (win32)
- win32_path_name_ = strdup (win32);
+ if (win32_path)
+ win32_path_name_ = strdup (win32_path);
else
{
const char *fmt = get_native_name ();