[File] [PATCH] Racket: fix magic

Thomas Weißschuh thomas at t-8ch.de
Fri Feb 10 05:47:36 UTC 2023


The existing magic doesn't work correctly.
On the testfile it would produce:
Racket bytecode (version \002)

---
Cc: "Haelwenn (lanodan) Monnier" <contact at hacktivis.me>
---
 magic/Magdir/bytecode | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/magic/Magdir/bytecode b/magic/Magdir/bytecode
index 92751139c8fb..8b4e743ba031 100644
--- a/magic/Magdir/bytecode
+++ b/magic/Magdir/bytecode
@@ -37,5 +37,5 @@
 >&0	pstring	x
 >>&0	pstring	racket
 >>>0	string	#~	Racket bytecode
->>>&0	pstring	x       (version %s)
+>>>>&0	pstring	x       (version %s)
 
-- 
2.39.1



More information about the File mailing list