-
Notifications
You must be signed in to change notification settings - Fork 4.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the buffer passed to GetFullPathName was too small #4194
Comments
Likely related to #4078 - even if you're not on Windows 10, that covers the same topic (and would be fixable the same way). I'll look into it later nonetheless. |
Since you didn't provide any info about what Notepad++ version you are using, and no debug info I'm going to assume you are on an old version (older than v6.7.8) because there is nothing in the code any more that creates this message. Plus it was already reported and fixed (~3 years ago). |
While this specific issue may indeed be out of date, I do think it would be beneficial to gradually phase out
In fact, removing cases like this would be trivial - all cases like this
would need to be replaced by one call to Removing all In this specific case,
One could argue that it's not beneficial to have only some parts of n++ support paths of arbitrary length. I agree when it comes to usability, but simple, iterative changes would make this more suitable for contributions from more than one person at at time. At the moment, long paths is an enormously huge task no one wants to undertake (myself included), however making progress towards it in small iterations may make it bearable to refactor and develop. EDIT: |
I agree that there is an underlying problem with how paths are handled. Since this issue is in regards to the dialog box showing up (which no longer exists), I'll close this particular issue and any further info and discussion should be done on #4078 |
Error when opening a file with a long file path
When opening a file that has a very long file path, I get the error: "the buffer passed to GetFullPathName was too small.
Steps to Reproduce the Issue
Expected Behavior
Open the file with no problems
Actual Behavior
Throws an error
Debug Information
the buffer passed to GetFullPathName was too small
The text was updated successfully, but these errors were encountered: