[Namazu-cvs 1056] r274 - MMagic/trunk

cvsd @ vaj.namazu.org cvsd @ vaj.namazu.org
2006年 9月 19日 (火) 16:54:34 JST


Author: knok
Date: 2006-09-19 16:54:34 +0900 (Tue, 19 Sep 2006)
New Revision: 274

Modified:
   MMagic/trunk/MMagic.pm
Log:
oct() -> hex()


Modified: MMagic/trunk/MMagic.pm
===================================================================
--- MMagic/trunk/MMagic.pm	2006-09-19 04:37:42 UTC (rev 273)
+++ MMagic/trunk/MMagic.pm	2006-09-19 07:54:34 UTC (rev 274)
@@ -1279,7 +1279,7 @@
 
 	# do octal/hex conversion
 	# manmin
-	$testval =~ s/\\(x[0-9a-fA-F][0-9a-fA-F])/chr(oct($1))/eg;
+	$testval =~ s/\\(x[0-9a-fA-F][0-9a-fA-F])/chr(hex($1))/eg;
 	$testval =~ s/\\([0-7][0-7]?[0-7]?)/chr(oct($1))/eg;
 	# end manmin
 




Namazu-cvs メーリングリストの案内