From 8d5f2af1495f8fcac4652d3939c859353c45498c Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 18 Nov 2011 10:17:33 +0100 Subject: Implement magic_getpath This function is not documented in libmagic(3) but it is available in magic.h --- test.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test.lua') diff --git a/test.lua b/test.lua index 7ac6e67..cf41639 100644 --- a/test.lua +++ b/test.lua @@ -25,4 +25,4 @@ print(m:file("Makefile")) m:setflags(magic.NONE) print(m:buffer("#!/bin/bash\n")) - +print(magic.getpath()) -- cgit v1.2.3