A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
properly disable pthreads on windows (+cleanups)
[simgrid.git]
/
tools
/
normalize-pointers.py
diff --git
a/tools/normalize-pointers.py
b/tools/normalize-pointers.py
index e70894e9d12247a59dc5cf1c58b25b43f4f3cedc..ba78a8078cc5d5cf3517c915726d6ce52737aeee 100755
(executable)
--- a/
tools/normalize-pointers.py
+++ b/
tools/normalize-pointers.py
@@
-1,4
+1,4
@@
-#!/usr/bin/python
+#!/usr/bin/
env
python
# Copyright (c) 2013-2014. The SimGrid Team.
# All rights reserved.
@@
-23,7
+23,7
@@
f = open(sys.argv[1])
t = f.read()
f.close()
-r = re.compile(r"0x[0-9a-f]
{7}
")
+r = re.compile(r"0x[0-9a-f]
+
")
s = r.search(t)
offset = 0
pointers = {}