Re: [AD] 3 patches regarding unicode and buffer overfows (mostly)

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Vincent Penquerc'h wrote:
> I thought so, or MAX_PATH or something along those lines.
> But an info file from libc says that GNU systems don't have a
> hard limit on file name size, so such a macro would only be a
> "hint" or a reasonnable size to use, not a real max. So ...

But this hint ought to be at least as good as the arbitrary number 80?
And for platforms that actually have a limit it seems more sensible to
use it. I think 80 may be a bit small, eg. msvc creates some longer
paths.

-- 
Sven Sandberg      ssven.geo@xxxxxxxxxx      www.geocities.com/ssven.geo
O.....................................................................o
If the eyes of all humans were lined up, then they would reach the moon



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/