On Sun, May 26, 2002 at 11:02:41PM -0400, Roland McGrath wrote: > > I am not sure if the client side is all proper, though. The magic server > > returned 0 nentries, data and datalen pointing to one dir entry. I have > > forgotten how the code flow exactly was on the client side, but it seemed > > to mess things up quite a bit. I might have another look now that fakeroot > > works. > > We should figure out exactly how it crashed, and fix readdir so it won't.
The problem is that it doesn't crash if run in gdb, but it does crash if not. Also, I have not seen a problem in the code, although it does behave a bit weird, eg in the case of the old magic code, looping over readdir gives ".", "..", NULL, "..", "NULL". OTOH, it seems the translator itself also crashes, maybe that has an effect on the whole thing. Thanks, Marcus -- `Rhubarb is no Egyptian god.' Debian http://www.debian.org [EMAIL PROTECTED] Marcus Brinkmann GNU http://www.gnu.org [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.marcus-brinkmann.de _______________________________________________ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd