Re: [PATCH v2 8/8] fhandler_disk_file.cc: Use path_conv's IndexNumber

2021-01-26 Thread Corinna Vinschen via Cygwin-patches
On Jan 20 17:10, Ben Wijen wrote: > path_conv already knows the IndexNumber, so just use it. Yeah, this looks like a vestige from before the time we switched to FILE_ALL_INFORMATION. > > This commit also fixes the potential handle leak. > --- > winsup/cygwin/fhandler_disk_file.cc | 24 ++---

[PATCH v2 8/8] fhandler_disk_file.cc: Use path_conv's IndexNumber

2021-01-20 Thread Ben Wijen
path_conv already knows the IndexNumber, so just use it. This commit also fixes the potential handle leak. --- winsup/cygwin/fhandler_disk_file.cc | 24 ++-- 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/winsup/cygwin/fhandler_disk_file.cc b/winsup/cygwin/fha