bug-gnulib
[Top][All Lists]
Advanced

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

Re: bug #17457: "grep -r foo . > somefile" goes into an infinite loop


From: Bastien ROUCARIES
Subject: Re: bug #17457: "grep -r foo . > somefile" goes into an infinite loop
Date: Mon, 25 Jul 2011 11:11:13 +0200

On Mon, Jul 25, 2011 at 10:32 AM, Paolo Bonzini <address@hidden> wrote:
> On 07/24/2011 09:06 PM, Jim Meyering wrote:
>>>
>>> >  What about a few POSIX-violating fringe operating systems (Windows and
>>> >  DJGPP come to mind)?:)   For Windows we can write our own stat
>>> >  function in cygwin, but for DJGPP I think we're in a bad situation...
>>
>> AFAIK, DJGPP is not relevant these days.
>> What Windows environment are you worried about?
>
> All.  Microsoft documentation says that st_ino is zero for "FAT, HPFS, or
> NTFS file systems".
>
> http://msdn.microsoft.com/en-us/library/14h5k7ff%28v=VS.100%29.aspx
>
> However, we could fix that in gnulib.


Using BY_HANDLE_FILE_INFORMATION Structure and
GetFileInformationByHandle particularly  nFileIndexHigh and
nFileIndexLow (see particularly remark)

Bastien
> Paolo
>
>



reply via email to

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