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.

Simon


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

Reply via email to