[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-grep] [patch] getting '--devices=skip' to work
From: |
Stepan Kasal |
Subject: |
Re: [bug-grep] [patch] getting '--devices=skip' to work |
Date: |
Thu, 18 Nov 2004 08:05:36 +0100 |
User-agent: |
Mutt/1.4.1i |
Hello,
On Wed, Nov 17, 2004 at 11:16:00PM -0400, Tony Abou-Assaleh wrote:
> By just looking at the patch (not tested), is there a reason for changing
> 'fstat' to 'stat' in 'fstat (fd, &stats->stat)'?
sure there is: the problem was caused by open, so the file has to be stated
before the open. Without open, you have no fd to pass to fstat(), so you
have to use stat().
Yours,
Stepan
- [bug-grep] [patch] getting '--devices=skip' to work, Benno Schulenberg, 2004/11/17
- Re: [bug-grep] [patch] getting '--devices=skip' to work, Tony Abou-Assaleh, 2004/11/17
- Re: [bug-grep] [patch] getting '--devices=skip' to work,
Stepan Kasal <=
- Re: [bug-grep] [patch] getting '--devices=skip' to work, Jim Meyering, 2004/11/18
- Re: [bug-grep] [patch] getting '--devices=skip' to work, Paul Jarc, 2004/11/19
- Re: [bug-grep] [patch] getting '--devices=skip' to work, Tim Waugh, 2004/11/19
- Re: [bug-grep] [patch] getting '--devices=skip' to work, Paul Jarc, 2004/11/19
- Re: [bug-grep] [patch] getting '--devices=skip' to work, Jim Meyering, 2004/11/19