[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Path length on minixfs
Hello everybody,
I got yesterday the Pl 10 version of the minix file system and saw in
the source, that Dpathconf(PATH_LEN) gives unlimited path length.
That might be true, that the file system driver can handle arbitrarily
long path names, but I think that it is a bit annoying to have to handle
this case explicitly in programs, as one cannot allocate infinite space
to hold such a long name :)
I would suggest to use Dpathconf("u:\") to get the max. Path length that
mint can handle, and return that from the minix fs. Does that sound
acceptable?
Regards,
Ulrich
--
+---------------+----------------------------+-----------------------+
| Ulrich Kuehn | Internet: | Life is uncertain -- |
| Cand.Math.Inf | kuehn@math.uni-muenster.de | eat the dessert first |
+---------------+----------------------------+-----------------------+