Quote:
Originally Posted by HamletEagle
256 is too much, 128 should be fine.
|
It's actually not, Windows path can be up to 259 (256 + Drive letter, a colon and a backslash) characters long, and even AMXX uses 256 in its code to retrieve paths, like configs directory. Take a look
here for an example. Nothing wrong with having 256 in there. I even myself define a PATH_MAX constant in my plugins when working with files, and set its value to 256/260.