Re: RFR: [8056310] Cleanup in WinNTFileSystem_md.c

2014-08-29 Thread Alan Bateman
On 28/08/2014 23:28, Ivan Gerasimov wrote: Hello! This is a proposal to make some minor cleanup in WinNTFileSystem_md.c: - fix a typo in error message, Looks okay. - use wide char constant for consistency, Looks okay. - avoid an array reallocation for power-of-two sizes, It's a bit of

RFR: [8056310] Cleanup in WinNTFileSystem_md.c

2014-08-28 Thread Ivan Gerasimov
Hello! This is a proposal to make some minor cleanup in WinNTFileSystem_md.c: - fix a typo in error message, - use wide char constant for consistency, - avoid an array reallocation for power-of-two sizes, - avoid a very unlikely memory leak (when frompath != NULL topath == NULL). BUGURL: