2008-09-05 Bean <bean123ch@gmail.com>
* fs/fshelp.c (grub_fshelp_find_file): Handle case insensitive names. * fs/ntfs.c (list_file): Ignore names in DOS namespace, set the case insensitive bit for names in Win32 and Win32 & DOS namespace. * include/grub/fshelp.h (GRUB_FSHELP_CASE_INSENSITIVE): New macro. * include/grub/types.h (LONG_MAX): Likewise.
This commit is contained in:
parent
4ee5592137
commit
5926115732
5 changed files with 34 additions and 6 deletions
|
@ -26,6 +26,8 @@
|
|||
|
||||
typedef struct grub_fshelp_node *grub_fshelp_node_t;
|
||||
|
||||
#define GRUB_FSHELP_CASE_INSENSITIVE 0x100
|
||||
|
||||
enum grub_fshelp_filetype
|
||||
{
|
||||
GRUB_FSHELP_UNKNOWN,
|
||||
|
|
|
@ -94,8 +94,10 @@ typedef grub_int32_t grub_ssize_t;
|
|||
|
||||
#if GRUB_CPU_SIZEOF_VOID_P == 8
|
||||
# define ULONG_MAX 18446744073709551615UL
|
||||
# define LONG_MAX 9223372036854775807UL
|
||||
#else
|
||||
# define ULONG_MAX 4294967295UL
|
||||
# define LONG_MAX 2147483647UL
|
||||
#endif
|
||||
|
||||
/* The type for representing a file offset. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue