On Sat, 21 Oct 2017 14:17:25 +0100 Richard Ipsum <[email protected]> wrote:
Hey Richard, > Please correct me if I'm wrong but I'm given to understand that > PATH_MAX is not a safe value to use here.[1] > > [1]: > http://insanecoding.blogspot.co.uk/2007/11/pathmax-simply-isnt.html yeah you're right, but the alternatives are very ugly. My stance is: As long as you properly indicate to the user when a path-string has overflowed, it's okay. And sbase has been used for a lot of things, even very complex tasks, and there was no problem with the path limitation. It is recommended to use the *at-functions of course to reduce fiddling with paths and so forth, however, it's not a high-priority issue at all unless someone provides a very elegant solution for it. With best regards Laslo -- Laslo Hunhold <[email protected]>
