Subject: find(1) broken in -current?
To: None <current-users@netbsd.org>
From: Matthias Drochner <M.Drochner@fz-juelich.de>
List: current-users
Date: 10/21/2005 17:23:43
This is a multipart MIME message.

--==_Exmh_8378311261840
Content-Type: text/plain; charset=us-ascii


Strange that noone noticed it...
For me, almost every test file is called
"MKS Spell hash list (old format)".

The appended patch fixes this, but I'm not quite
sure whether this is the correct solution.
According to the magic(5) manpage, only the "<" and ">"
operators are allowed for the "string" type, but
there is nothing telling whether the other operators
are still special characters and must be escaped.

best regards
Matthias



--==_Exmh_8378311261840
Content-Type: text/plain ; name="magdiff"; charset=us-ascii
Content-Description: magdiff
Content-Disposition: attachment; filename="magdiff"

Index: magic/magdir/msdos
===================================================================
RCS file: /cvsroot/src/dist/file/magic/magdir/msdos,v
retrieving revision 1.2
diff -u -r1.2 msdos
--- magic/magdir/msdos	17 Oct 2005 18:49:54 -0000	1.2
+++ magic/magdir/msdos	21 Oct 2005 15:16:18 -0000
@@ -283,8 +283,8 @@
 0	string		GERBIL		First Choice device file
 9	string		RABBITGRAPH	RabbitGraph file
 0	string		DCU1		Borland Delphi .DCU file
-0	string		!<spell>	MKS Spell hash list (old format)
-0	string		!<spell2>	MKS Spell hash list
+0	string		\!<spell>	MKS Spell hash list (old format)
+0	string		\!<spell2>	MKS Spell hash list
 # Too simple - MPi
 #0	string		AH		Halo(TM) bitmapped font file
 0	lelong		0x08086b70	TurboC BGI file

--==_Exmh_8378311261840--