> This is of course rather stupid, but should work.
Wasting memory is indeed a rather stupid solution.
> Roland might have a better idea about how to fix it, though ;)
The point of the estimation is to make sure the buffer's always big enough.
The function would be hairier if it had to check a
On Sun, Aug 03, 2003 at 12:51:27PM +0200, Alfred M. Szmidt wrote:
> Hi,
>
> The following problem exists with tmpfs:
>
> $ settrans -ac tmp /hurd/tmpfs 10MB
> $ cd tmp
> $ ls
> tmpfs: /src-cvs/hurd/tmpfs/dir.c:62: diskfs_gets_directs: Assertion `((size_t)
> &((struct tmpfs_dirent *)0)->name) >=
Hi,
The following problem exists with tmpfs:
$ settrans -ac tmp /hurd/tmpfs 10MB
$ cd tmp
$ ls
tmpfs: /src-cvs/hurd/tmpfs/dir.c:62: diskfs_gets_directs: Assertion `((size_t)
&((struct tmpfs_dirent *)0)->name) >= ((size_t) &((struct dirent *)0)->d_name' failed.
ls: reading directory .: Computer b