]> git.ipfire.org Git - thirdparty/grub.git/commit
Fix B-tree search in BFS, especially in presence of non-ASCII
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Thu, 3 May 2012 18:29:10 +0000 (20:29 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Thu, 3 May 2012 18:29:10 +0000 (20:29 +0200)
commitaa01499d052e3e609ca915f67ea6dca32d950686
treecab77fa2569ba06f5fb5f41dd7d90907e75d309b
parent570060354901e8fe402e93688ab9742e73d5b044
Fix B-tree search in BFS, especially in presence of non-ASCII
characters.

* grub-core/fs/bfs.c (bfs_strcmp): New function.
(find_in_b_tree): Use standard bsearch + btree algorithm.
ChangeLog
grub-core/fs/bfs.c