From: "Christopher R. Hertel" <crh@NTS.Umn.EDU> Message-Id: <199805042039.PAA26390@unet.unet.umn.edu> Subject: Re: Changes needed to the file_info structure To: tridge@samba.anu.edu.au Date: Mon, 4 May 1998 15:39:24 -0500 (CDT) In-Reply-To: <19980502064014Z12668708-1463+3819@samba.anu.edu.au> from "Andrew Tridgell" at May 2, 98 04:42:20 pm
> > 2. I need to link directory names together so that I can set the mtime
> > correctly. I need a simple doubly linked list here so I can insert things
> > at the tail and go back up the list and go down the list as well.
> > This is needed so we can set the mtime correctly on a directly. You
> > have to set it after you have finished with the directory.
>
> isn't what you really need a stack? When you finish with a directory
> you change the mtime for it. Anyway, I'm sure chris can supply you
> with an appropriate routine :-)
>
See samba/source/ubiqx/ubi_?LinkList.?
Piece of cake.
Chris -)-----
-- Christopher R. Hertel -)----- University of Minnesota crh@nts.umn.edu Networking and Telecommunications Services