From bf6f4eb299c10919640828ba51dcee41502a34e7 Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Tue, 20 Aug 1996 01:51:40 +0000 Subject: [PATCH] *** empty log message *** --- magic/Magdir/sun | 10 ++++++++++ magic/Magdir/varied.out | 3 +++ src/fsmagic.c | 7 ++++++- 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/magic/Magdir/sun b/magic/Magdir/sun index f6695f1f..450ea6a5 100644 --- a/magic/Magdir/sun +++ b/magic/Magdir/sun @@ -84,3 +84,13 @@ >>128 string >\0 from '%s' >4 belong 456 (SPARC 4.x BCP) >>152 string >\0 from '%s' +# Sun SunPC +0 long 0xfa33c08e SunPC 4.0 Hard Disk +0 string #SUNPC_CONFIG SunPC 4.0 Properties Values +# Sun snoop +0 string snoop Snoop capture file +>8 long >0 - version %ld +# Sun KCMS +36 string acsp Kodak Color Management System, ICC Profile + + diff --git a/magic/Magdir/varied.out b/magic/Magdir/varied.out index 2d1c9565..9245cfcb 100644 --- a/magic/Magdir/varied.out +++ b/magic/Magdir/varied.out @@ -13,3 +13,6 @@ 0 beshort 0160007 amd 29k coff archive # Cray 6 beshort 0407 unicos (cray) executable +# Ultrix 4.3 +596 string \130\337\377\377 Ultrix core file +>600 string >\0 '%s' diff --git a/src/fsmagic.c b/src/fsmagic.c index 5e00c4f1..b34a89a2 100644 --- a/src/fsmagic.c +++ b/src/fsmagic.c @@ -31,6 +31,11 @@ #include #include #include +#ifndef major +# if defined(__SVR4) || defined(_SVR4_SOURCE) +# include +# endif +#endif #ifndef major /* if `major' not defined in types.h, */ #include /* try this one. */ #endif @@ -46,7 +51,7 @@ #ifndef lint static char *moduleid = - "@(#)$Id: fsmagic.c,v 1.23 1995/01/21 21:03:35 christos Exp $"; + "@(#)$Id: fsmagic.c,v 1.24 1996/08/20 01:51:40 christos Exp $"; #endif /* lint */ int -- 2.40.0