From: liljeber@klaava.Helsinki.FI (Mika Pekka Liljeberg) Subject: Re: Problems with extfs Date: 2 Aug 1992 00:44:40 GMT
In article <1992Jul31.163029.14339@pool.info.sunyit.edu> ujlh@pool.info.sunyit.edu (James Henrickson) wrote:
> In article <1992Jul30.175218.26142@ifi.uio.no> janl@ifi.uio.no (Jan Nicolai Langfeldt) writes:
>>
>>In article <Bs5tqK.BMr@ux1.cso.uiuc.edu>, Upholder@uiuc.edu (THE Upholder of Truth) writes:
>>> for example, issuing a 'compress vixie-cron.tar' results in an error message
>>> that a .Z could not be appended because the filename was already 14 characters.
>>
>>Max filename length is a compile time constant, so you have to edit
>>the right .h file(s) and recompile.
>>
>
> Maybe I'm missing something, but shouldn't it be a macro that expands to
> a system call? That way it wouldn't be a compile-time constant and a
> program would be more able to adapt to different file systems. Of course,
> allocating an array based on one file system and using it for a larger
> file system would result in some strange behavior. :(
It wouldn't even compile.
char buff[get_max_name_len()];
is not a legal C declaration.
> --
> Jim H.
> *
> * James L. Henrickson ujlh@sunyit.edu
> * "Yet another Jim in the Linux world." :-)
Mika