I've adapted the OpenBSD stuff and created a patch. Maybe you want to look at it if this works.
Thanks for doing this. In general, the OpenBSD code seems to be a couple versions back, as it has K&R function definitions and omits a couple other changes I made (quite) a while ago. I wonder if you could start with the current texindex.c and make a patch with only the mk*temp changes? I could separate it out from your patch given time, but it will happen that much faster if you wouldn't mind going that extra step. The race-condition fix itself looks fine to me, although I admit I am not especially expert at such things. Thanks again, Karl -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]