grub-devel
[Top][All Lists]
Advanced

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

Re: [BUGFIX] Don't use DT_DIR: It doesn't work on non-ext* filesystems


From: Pavel Roskin
Subject: Re: [BUGFIX] Don't use DT_DIR: It doesn't work on non-ext* filesystems
Date: Thu, 23 Jul 2009 17:57:04 -0400

On Thu, 2009-07-23 at 11:29 +0200, Vladimir 'phcoder' Serbinenko wrote:

> -#ifdef DT_DIR
> -      info.dir = (de->d_type == DT_DIR);
> -#else
>        info.dir = !! is_dir (path, de->d_name);
> -#endif

Fine with me.  Finally a patch that reduces the number of preprocessor
directives :-)

-- 
Regards,
Pavel Roskin




reply via email to

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