xditview '.' hangs: Errata to my previous mail :(

Krzysztof Żelechowski giecrilj at stegny.2a.pl
Mon Dec 6 14:47:16 PST 2010


Dnia poniedziałek, 6 grudnia 2010 o 21:30:23 Philipp Hagemeister napisał(a):
> Sorry for the mixup, corrected:
> You've just introduced a race condition: What if I delete the file just
> after you called *stat* and create a *directory* in its place? Use fstat
> instead of stat.

Examine the value returned by read() instead of doing either.

Chris



More information about the xorg mailing list