]> git.ipfire.org Git - thirdparty/grub.git/commit
* grub-core/kern/misc.c (grub_strcmp): Use unsigned comparison as
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Fri, 4 May 2012 10:08:22 +0000 (12:08 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Fri, 4 May 2012 10:08:22 +0000 (12:08 +0200)
commitce41ab7aab2b7fd54d3af1f83c84bd80284c6d4b
treea513c88c44ce9e95142ab3ecb2dcb79bcd34cedb
parent49717bf42992675d1d47da2f1e49d45bb19ce021
* grub-core/kern/misc.c (grub_strcmp): Use unsigned comparison as
per common usage and preffered in several parts of code.
(grub_memcmp): Likewise.
(grub_strncmp): Likewise.
* include/grub/misc.h (grub_strcasecmp): Likewise.
(grub_strncasecmp): Likewise.
* Makefile.util.def (cmp_test): New test.
(grub_script_strcmp): Likewise.
* tests/cmp_unit_test.c: New file.
* tests/grub_script_strcmp.in: Likewise.
* grub-core/fs/hfsplus.c (grub_hfsplus_cmp_catkey): Add a comment.
ChangeLog
Makefile.util.def
grub-core/fs/hfsplus.c
grub-core/kern/misc.c
include/grub/misc.h
tests/cmp_unit_test.c [new file with mode: 0644]
tests/grub_script_strcmp.in [new file with mode: 0644]