On Fri, 22 Apr 2005, Christopher Faylor wrote:
> On Fri, Apr 22, 2005 at 11:37:59AM -0400, Igor Pechtchanski wrote:
> >On Fri, 22 Apr 2005, lode leroy wrote:
> >>I would like to see support for dirent.d_type added to cygwin.
> >>
> >>fhandler_disk_file::readdir()
> >>{
> >>...
> >> if (buf.dwFileA
On Apr 23 07:36, Eric Blake wrote:
> But there are a number of applications out there that behave more
> efficiently if d_ino/d_type ARE properly implemented. For example, both
> coreutils and findutils are smart enough to avoid extra [l]stat()s on
> systems with working d_type when traversing dir
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Christopher Faylor on 4/22/2005 11:06 AM:
> Actually, thanks but I don't think we want to go down this path.
>
> Properly implementing this field would introduce the same problems as
> properly implementing d_ino. Doing this would mean a
On Fri, Apr 22, 2005 at 11:37:59AM -0400, Igor Pechtchanski wrote:
>On Fri, 22 Apr 2005, lode leroy wrote:
>>I would like to see support for dirent.d_type added to cygwin.
>>
>>fhandler_disk_file::readdir()
>>{
>>...
>> if (buf.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) {
>> dir->__d_dirent->d_
On Fri, 22 Apr 2005, lode leroy wrote:
> Hello,
>
> I would like to see support for dirent.d_type added to cygwin.
>
> fhandler_disk_file::readdir()
> {
> ...
> if (buf.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) {
>dir->__d_dirent->d_type = DT_DIR;
> } else {
>dir->__d_dirent->d_type =
Hello,
I would like to see support for dirent.d_type added to cygwin.
fhandler_disk_file::readdir()
{
...
if (buf.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) {
dir->__d_dirent->d_type = DT_DIR;
} else {
dir->__d_dirent->d_type = DT_REG;
}
...
}
6 matches
Mail list logo