Commit eacfa9d3 authored by owsla's avatar owsla

Fix typo which caused failure when checking if another rdiff-backup process is

running on Windows.


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@1021 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent b55ac1dd
New in v1.3.2 (????/??/??) New in v1.3.2 (????/??/??)
--------------------------- ---------------------------
Fix typo which caused failure when checking if another rdiff-backup process is
running on Windows. Thanks to Ryan for the bug report. (Andrew Ferguson)
Disable hardlinks by default on Windows when performing operations such as Disable hardlinks by default on Windows when performing operations such as
--compare, etc. Thanks to Ryan for the bug report. (Andrew Ferguson) --compare, etc. Thanks to Ryan for the bug report. (Andrew Ferguson)
......
...@@ -351,6 +351,7 @@ def check_pids(curmir_incs): ...@@ -351,6 +351,7 @@ def check_pids(curmir_incs):
except AttributeError: except AttributeError:
assert os.name == 'nt' assert os.name == 'nt'
import win32api, win32con, pywintypes import win32api, win32con, pywintypes
process = None
try: try:
process = win32api.OpenProcess(win32con.PROCESS_ALL_ACCESS, process = win32api.OpenProcess(win32con.PROCESS_ALL_ACCESS,
0, pid) 0, pid)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment