---
xlat/gen.sh | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/xlat/gen.sh b/xlat/gen.sh
index 06c1b17..9efa0ab 100755
--- a/xlat/gen.sh
+++ b/xlat/gen.sh
@@ -135,6 +135,9 @@ gen_header()
# 1st pass: output directives.
while read line; do
LC_COLLATE=C
+ line=$(printf "%s" "$line" | \
+ sed "s|[[:space:]]*/\*.*\*/[[:space:]]*||")
+
case $line in
'#stop')
exit 0
@@ -196,6 +199,9 @@ gen_header()
# 2nd pass: output everything.
while read line; do
LC_COLLATE=C
+ line=$(printf "%s" "$line" | \
+ sed "s|[[:space:]]*/\*.*\*/[[:space:]]*||")
+
case ${line} in
'#conditional')
unconditional=
--
2.1.4
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Strace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/strace-devel