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.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/fhandler.cc b/winsup/cygwin/fhandler.cc
index c9eb16cc8..e02f9611b 100644
--- a/winsup/cygwin/fhandler.cc
+++ b/winsup/cygwin/fhandler.cc
@@ -40,7 +40,7 @@ struct __cygwin_perfile *perfile_table;
void
fhandler_base::reset (const fhandler_base *from)
{
- pc = from->pc;
+ pc << from->pc;
rabuf = NULL;
ralen = 0;
raixget = 0;
@@ -148,7 +148,7 @@ fhandler_base::get_readahead_into_buffer (char *buf, size_t buflen)
void
fhandler_base::set_name (path_conv &in_pc)
{
- pc = in_pc;
+ pc << in_pc;
}
char *fhandler_base::get_proc_fd_name (char *buf)