[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] MiNTlib getcwd problem & fix



On Mon, 2008-01-07 at 14:32 +0000, Alan Hourihane wrote:
> Here's a fix to mintlib's getcwd function.
> 
> Essentially when asking for a very long filename then the dos2unx
> function will quite happily convert the path, but wouldn't error on
> longer paths than was possible in the provided buffer.

Oh, and it should probably be done in the unx2dos() function too with
similar checking.

Alan.