Hi, On Sun, Nov 22, 2020 at 2:15 PM K.Takata <[email protected]> wrote:
> *@k-takata* commented on this pull request. > ------------------------------ > > In src/testdir/test_functions.vim > <https://github.com/vim/vim/pull/7346#discussion_r528412995>: > > > + " Maximum length of a filename (including the path) in MS-Windows is 255 > + " characters. Make sure the length of the temp filename is < 255. > + let len = 255 - getcwd()->len() - 6 > > The maximum length of a pathname is 259, and the maximum length of a file > name without the path is 255. > > > According to this page: https://docs.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation the maximum length of a file path is MAX_PATH (260) which includes the driver letter, directory names, path separators and the file name. To be on the safe side, I chose 255. I can change it to 260. Regards, Yegappan -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/CAAW7x7%3DXHJx4rd%3DNrAeWB5AzRZf1x-VPALtgNQajKs%2BmfP4ucA%40mail.gmail.com.
