According to Geoff Hutchison: > On Tuesday, February 26, 2002, at 08:02 PM, Neal Richter wrote: > > Geoff sent me a first pass at a new version of searching based on > > qtest.cc... anyone else do anything along those lines? > > No, and right now I'm getting thumb-screws applied at work, so I haven't > had much free time to finish that. <fingers crossed>
Things are awfully busy at my end too. I've just decided to take a bit of time to tackle a few htdig bug reports and quick/easy questions this afternoon during a momentary lull, if only to reduce the size of my inbox. > > 'system(mv...)' calls in a couple files? What's the consensus there? > > I'd > > be happy to submit a patch to the necessary files. It's well tested > > code > > and works on windows as well. > > I think the "replacement" copy code looked OK, but obviously we'll see > how it goes. If there's anything we've discovered along the way, it's > that ht://Dig seems to uncover flaws in supposedly well-tested code. ;-) Yeah, it does seem to do that, doesn't it. Still, copying files is pretty straightforward stuff, as long as you deal properly with binary files on non-UNIX systems. Ideally, though, what htfuzzy should do is attempt to move the file first, using rename or link/unlink, and if that fails because it's cross-device, then copy. That way, we're not wasting time copying when we don't have to. For portability, though, that means dealing properly with systems that don't have rename(), i.e. older UNIX systems, and systems that don't have link(), i.e. non-UNIX systems. Whatever we work out, we should package into an htlib/movefile.c library module loadable from anywhere in htdig, because right now at least two separate htfuzzy modules need this, and there may be others now or in the future. It would be better not to have to duplicate this code everywhere. -- Gilles R. Detillieux E-mail: <[EMAIL PROTECTED]> Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/~grdetil Dept. Physiology, U. of Manitoba Phone: (204)789-3766 Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930 _______________________________________________ htdig-dev mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/htdig-dev