[newlib-cygwin] Cygwin: proc fd: fix a copy/paste bug calling file_pathconv
Corinna Vinschen
corinna@sourceware.org
Tue Feb 5 14:37:00 GMT 2019
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=b59f5795e69f5477b2be13e858dd1ee47e89b798
commit b59f5795e69f5477b2be13e858dd1ee47e89b798
Author: Corinna Vinschen <corinna@vinschen.de>
Date: Tue Feb 5 15:20:50 2019 +0100
Cygwin: proc fd: fix a copy/paste bug calling file_pathconv
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diff:
---
winsup/cygwin/fhandler_process_fd.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/winsup/cygwin/fhandler_process_fd.cc b/winsup/cygwin/fhandler_process_fd.cc
index 7d70ebe..4f326b6 100644
--- a/winsup/cygwin/fhandler_process_fd.cc
+++ b/winsup/cygwin/fhandler_process_fd.cc
@@ -60,7 +60,7 @@ fhandler_process_fd::fetch_fh (HANDLE &out_hdl, uint32_t flags)
return NULL;
}
size_t size;
- void *buf = p->file_pathconv (fd, FFH_LINKAT, size);
+ void *buf = p->file_pathconv (fd, flags, size);
if (size == 0)
{
set_errno (ENOENT);
More information about the Cygwin-cvs
mailing list