projects
/
archipelago
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ac2e01
)
python Makefile: replace zero-length array with pointer
author
Filippos Giannakos
<philipgian@grnet.gr>
Thu, 18 Jul 2013 09:26:13 +0000
(12:26 +0300)
committer
Filippos Giannakos
<philipgian@grnet.gr>
Thu, 18 Jul 2013 09:26:13 +0000
(12:26 +0300)
Replace zero-length array with pointer for the xseg_reply_map flexible array
member.
xseg/sys/user/python/Makefile
patch
|
blob
|
history
diff --git
a/xseg/sys/user/python/Makefile
b/xseg/sys/user/python/Makefile
index
905d78e
..
6f4697f
100644
(file)
--- a/
xseg/sys/user/python/Makefile
+++ b/
xseg/sys/user/python/Makefile
@@
-75,6
+75,8
@@
xseg/xseg_api.py: xseg.xml
xseg/xprotocol.py: xprotocol.xml
$(XML2PY) -d -k defst -c $< -o $@
+ sed -i -e 's/xseg_reply_map_scatterlist \* 0/POINTER(xseg_reply_map_scatterlist)/g' xseg/xprotocol.py
+
install:
if [ ! -e xseg/version.py ] ; then \