git.samba.org
/
obnox
/
wireshark
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d24de33
)
Remember to create a temporary directory before dissecting
author
krj
<krj@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 11 Oct 2009 05:14:04 +0000
(
05:14
+0000)
committer
krj
<krj@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 11 Oct 2009 05:14:04 +0000
(
05:14
+0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30486
f5534014
-38df-0310-8fa8-
9805f1628bb7
tools/indexcap.py
patch
|
blob
|
history
diff --git
a/tools/indexcap.py
b/tools/indexcap.py
index 40030a599aa9943094135ff7a9030a5d30b481da..20a2f42f97efc83c2ccdebee2185df49651180e1 100755
(executable)
--- a/
tools/indexcap.py
+++ b/
tools/indexcap.py
@@
-95,6
+95,7
@@
def dissect_file_process(tshark, tmpdir, file):
def dissect_files(tshark, num_procs, max_files, cap_files):
pool = multiprocessing.Pool(num_procs)
+ tmpdir = tempfile.mkdtemp()
print "Temporary working dir: %s" % tmpdir
results = [pool.apply_async(dissect_file_process, [tshark, tmpdir, file]) for file in cap_files]
try: