Package: asciidoc / 8.6.9-5

normpath-not-realpath.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Author: 
Description: fixes a python bug with normpath
--- a/asciidoc.py
+++ b/asciidoc.py
@@ -252,7 +252,7 @@
     else:
         assert os.path.isdir(directory)
         directory = os.path.realpath(directory)
-    fname = os.path.realpath(fname)
+    fname = os.path.normpath(fname)
     return os.path.commonprefix((directory, fname)) == directory
 
 def safe():