From 84f3b7eac59976cc44c90a49983a3e522e258060 Mon Sep 17 00:00:00 2001 From: Ian Darwin Date: Fri, 19 Feb 1993 14:32:13 +0000 Subject: [PATCH] --- magic/Magdir/old/postscript | 6 ++++-- magic/Magdir/sun | 11 +++++++---- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/magic/Magdir/old/postscript b/magic/Magdir/old/postscript index c31a3593..494b478e 100644 --- a/magic/Magdir/old/postscript +++ b/magic/Magdir/old/postscript @@ -1,5 +1,7 @@ # -# Let us not forget PostScript -0 string %! PostScript text +# magic.postscript: Magic for postscript files +# +0 string %! PostScript document >2 string PS-Adobe- conforming >11 string 1.0 at level %s +>11 string 2.0 at level %s diff --git a/magic/Magdir/sun b/magic/Magdir/sun index 79afa781..fcc99a43 100644 --- a/magic/Magdir/sun +++ b/magic/Magdir/sun @@ -17,11 +17,14 @@ >2 short 0410 pure executable >2 short 0413 demand paged executable >16 long >0 not stripped -0 short 0 old sun-2 ->2 short 0407 executable ->2 short 0410 pure executable ->2 short 0413 demand paged executable +# reworked these to avoid anything beginning with zero becoming "old sun-2" +0 long 0407 old sun-2 executable >16 long >0 not stripped +0 long 0410 old sun-2 pure executable +>16 long >0 not stripped +0 long 0413 old sun-2 demand paged executable +>16 long >0 not stripped +# 0 long 0x080456 core file >128 string >0 from '%s' # -- 2.40.0