From f5f18d5c07820599e21e1721c81b408e168e571f Mon Sep 17 00:00:00 2001 From: Charles Longeau Date: Sat, 16 Jan 2010 17:45:11 +0000 Subject: [PATCH] * bring back some fixes from OpenBSD: - make gcc2 builds file - fix typos in a magic file comment --- ChangeLog | 6 ++++++ magic/Magdir/filesystems | 6 +++--- src/file.h | 4 ++-- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 44ce2bc9..0c1e6e3e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-01-16 18:42 Charles Longeau + + * bring back some fixes from OpenBSD: + - make gcc2 builds file + - fix typos in a magic file comment + 2009-11-17 18:35 Christos Zoulas 3 string BCDL >>498 string BCDL\ \ \ \ BIN \b, Bootable CD Loader (1.50Z) -# mbr partion table entries +# mbr partition table entries # OEM-ID does not contain MicroSoft,NEWLDR,DOS,SYSLINUX,or MTOOLs >3 string !MS >>3 string !SYSLINUX @@ -257,7 +257,7 @@ #>>>>>>>>>>>>496 ubeshort&1023 x \b, startcylinder? %d >>>>>>>>>>>>502 ulelong x \b, startsector %u >>>>>>>>>>>>506 ulelong x \b, %u sectors -# mbr partion table entries end +# mbr partition table entries end # http://www.acronis.de/ #FAT label=ACRONIS\ SZ #OEM-ID=BOOTWIZ0 diff --git a/src/file.h b/src/file.h index 6254a5f3..f3dda4bd 100644 --- a/src/file.h +++ b/src/file.h @@ -27,7 +27,7 @@ */ /* * file.h - definitions for file(1) program - * @(#)$File: file.h,v 1.122 2009/07/15 15:16:52 christos Exp $ + * @(#)$File: file.h,v 1.123 2009/10/19 13:10:20 christos Exp $ */ #ifndef __file_h__ @@ -441,7 +441,7 @@ size_t strlcat(char *dst, const char *src, size_t siz); #endif #ifndef __cplusplus -#ifdef __GNUC__ +#if defined(__GNUC__) && (__GNUC__ >= 3) #define FILE_RCSID(id) \ static const char rcsid[] __attribute__((__used__)) = id; #else -- 2.50.1