yes they are the posix constants.   Switching to string wouldn't be a
problem either.  

On a side note, I code in C for gtk and i've never botherde with the c++
extensions.  I would like to add a radio button in the preference window
for the "open to last file" option.   I dont think that the recursive
file thing needs an option, as normal file mode is not changed at all. 

Probably add the option button tonight or tomorrow.  


On Sat, 2002-03-30 at 23:44, Alan Robertson wrote:
> Simon Law wrote:
> 
> > On 30 Mar 2002, Ed Sweetman wrote:
> > 
> > 
> >>Ok, fixed it to use PATH_MAX and FILENAME_MAX. 
> >>also fixed a stupid mistake i made by not catting the trailing / to
> >>directories correctly.   
> >>
> > 
> >     Guys, please don't do this.  You'll just make it harder for
> > yourself on different systems.  Remember, on some systems like GNU,
> > there is no maximum path length (paths can be infinitely long).  On 
> > other files systems, the maximum path length might be larger or smaller
> > than the Linux specific one that you've defined.
> > 
> >     Use a String to go and store the path length.  Then you don't
> > have to worry if the name gets larger or smaller.
> 
> 
> I think they actually switched to using the POSIX constant, not one they 
> defined.  I suspect that this is defined on in the Windows environment too.
> 
> In spite of this comment, I agree with you.  Just use a String, and be done 
> with it.  Use Strings and have no worries Mate!
> 
> But, one still might want to define a maximum directory depth anyway just to 
> keep Windows emulation of Symlinks (for example) from making you crazy in 
> some goofy environments...
> 
>       -- Alan Robertson
>          [EMAIL PROTECTED]
> 
> _______________________________________________
> [EMAIL PROTECTED]
> http://www.freeamp.org/mailman/listinfo/freeamp-dev


_______________________________________________
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev

Reply via email to