[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fixed stat() patch

From: Michael Sterrett -Mr. Bones.-
Subject: Fixed stat() patch
Date: Tue, 13 Mar 2001 16:36:10 -0500 (EST)

I noticed that I forgot to remove a couple lines of debugging code from
this patch.  I've attached the fixed version.

A little explaination also:

This patch addes a function to misc.c called atomic_stat().  This function
takes the same arguments as the normal stat() call, but loops and checks
for EINTR.  The function is then used in place of stat() thoughout
the code.  I got tired of wondering if certain stat() calls could fail.
Some of them are before gmake would have forked so they might never
get EINTR, but it's easier just to replace them rather than trace the
program flow.

Michael Sterrett
  -Mr. Bones.-

Attachment: patch.atomic_stat
Description: Text document

reply via email to

[Prev in Thread] Current Thread [Next in Thread]