* Paul Eggert ([email protected]) [20100812 22:04]:

> > The solution is to stat the file first and then add a test for !
> > S_ISSOCK before reopening.  The patch I came up with is attached.
> 
> Now I'm confused even more.  The patch you came up with was not
> against diff 2.8.1; i

Ah,botched again. The patch I sent was for 2.8.7. I was doing patches for
several distributions and that's where I picked it up.

> Have you observed the exact same bug with diffutils 3.0, and did this
> patch fix the bug?

diffutils 3.0 isn't part of any released openSUSE distribution, so I haven't
tested it yet.

> If so, can you please send strace output before and after the patch, for 
> both diff and cmp?

I will build a 3.0 package with our patches applied and then do the strace
before and after.

> and given the questions above I'm afraid that I still don't understand the
> need for a patch on SUSE.

I'll redo the tests and will send you the traces and the possibly new patch.

Philipp

Reply via email to