[syslinux:master] extlinux: remove already_installed
syslinux-bot for Paulo Alcantara
pcacjr at gmail.com
Mon Apr 18 14:15:03 PDT 2011
Commit-ID: 205b829d0d9b6a6fe72b49b7ab763c75e27ebcdc
Gitweb: http://syslinux.zytor.com/commit/205b829d0d9b6a6fe72b49b7ab763c75e27ebcdc
Author: Paulo Alcantara <pcacjr at gmail.com>
AuthorDate: Fri, 15 Apr 2011 15:21:10 -0300
Committer: Paulo Alcantara <pcacjr at gmail.com>
CommitDate: Fri, 15 Apr 2011 15:21:10 -0300
extlinux: remove already_installed
Signed-off-by: Paulo Alcantara <pcacjr at gmail.com>
---
extlinux/main.c | 13 -------------
1 files changed, 0 insertions(+), 13 deletions(-)
diff --git a/extlinux/main.c b/extlinux/main.c
index fb3cc77..e5212a9 100755
--- a/extlinux/main.c
+++ b/extlinux/main.c
@@ -503,19 +503,6 @@ int install_file(const char *path, int devfd, struct stat *rst)
return 1;
}
-/*
- * SYSLINUX installs the string 'SYSLINUX' at offset 3 in the boot
- * sector; this is consistent with FAT filesystems. Earlier versions
- * would install the string "EXTLINUX" instead, handle both.
- */
-int already_installed(int devfd)
-{
- char buffer[8];
-
- xpread(devfd, buffer, 8, 3);
- return !memcmp(buffer, "SYSLINUX", 8) || !memcmp(buffer, "EXTLINUX", 8);
-}
-
#ifdef __KLIBC__
static char devname_buf[64];
More information about the Syslinux-commits
mailing list