Add a patch file, which should have been committed in the previous commit.
This commit is contained in:
parent
bfb1080a21
commit
bbf252ddcf
1 changed files with 13 additions and 0 deletions
13
textproc/asciidoc/patches/patch-ab
Normal file
13
textproc/asciidoc/patches/patch-ab
Normal file
|
@ -0,0 +1,13 @@
|
|||
$NetBSD: patch-ab,v 1.1 2008/12/04 04:05:39 minskim Exp $
|
||||
|
||||
--- asciidoc.py.orig 2008-12-03 18:56:53.000000000 -0800
|
||||
+++ asciidoc.py
|
||||
@@ -124,7 +124,7 @@ def file_in(fname, directory):
|
||||
directory = os.getcwd()
|
||||
else:
|
||||
assert os.path.isdir(directory)
|
||||
- directory = os.path.abspath(directory)
|
||||
+ directory = os.path.realpath(directory)
|
||||
fname = os.path.realpath(fname)
|
||||
return os.path.commonprefix((directory, fname)) == directory
|
||||
|
Loading…
Reference in a new issue