* stage2/char_io.c (grub_memcmp): Define for stage1.5 too.
* stage2/fsys_iso9660.c (iso9660_mount): Use memcmp() instead of
__builtin_memcmp().
(iso9660_dir): Likewise.
+2004-04-29 Jeroen Dekkers <jeroen@dekkers.cx>
+
+ * stage2/char_io.c (grub_memcmp): Define for stage1.5 too.
+
+ * stage2/fsys_iso9660.c (iso9660_mount): Use memcmp() instead of
+ __builtin_memcmp().
+ (iso9660_dir): Likewise.
+
2004-04-26 Christian Jones <chjones@aleph0.com>
* docs/grub.texi (Making a GRUB bootable CD-ROM): minor edits,
/* char_io.c - basic console input and output */
/*
* GRUB -- GRand Unified Bootloader
- * Copyright (C) 1999,2000,2001,2002 Free Software Foundation, Inc.
+ * Copyright (C) 1999,2000,2001,2002,2004 Free Software Foundation, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
return 0;
}
-#ifndef STAGE1_5
int
grub_memcmp (const char *s1, const char *s2, int n)
{
return 0;
}
+#ifndef STAGE1_5
int
grub_strncat (char *s1, const char *s2, int n)
{
break;
/* check ISO_VD_PRIMARY and ISO_STANDARD_ID */
if (PRIMDESC->type.l == ISO_VD_PRIMARY
- && !__builtin_memcmp(PRIMDESC->id, ISO_STANDARD_ID, sizeof(PRIMDESC->id)))
+ && !memcmp(PRIMDESC->id, ISO_STANDARD_ID, sizeof(PRIMDESC->id)))
{
ISO_SUPER->vol_sector = sector;
INODE->file_start = 0;
filemax = MAXINT;
if (name_len >= pathlen
- && !__builtin_memcmp(name, dirname, pathlen))
+ && !memcmp(name, dirname, pathlen))
{
if (dirname[pathlen] == '/' || !print_possibilities)
{