Page MenuHomeFreeBSD

D17488.diff
No OneTemporary

D17488.diff

Index: head/sys/kern/makesyscalls.sh
===================================================================
--- head/sys/kern/makesyscalls.sh
+++ head/sys/kern/makesyscalls.sh
@@ -68,13 +68,33 @@
fi
sed -e '
-:join
+ # FreeBSD ID, includes, comments, and blank lines
+ /.*\$FreeBSD/b done_joining
+ /^[#;]/b done_joining
+ /^$/b done_joining
+
+ # Join lines ending in backslash
+:joining
/\\$/{a\
N
s/\\\n//
- b join
+ b joining
}
+
+ # OBSOL, etc lines without function signatures
+ /^[0-9][^{]*$/b done_joining
+
+ # Join incomplete signatures. The { must appear on the first line
+ # and the } must appear on the last line (modulo lines joined by
+ # backslashes).
+ /^[^}]*$/{a\
+
+ N
+ s/\n//
+ b joining
+ }
+:done_joining
2,${
/^#/!s/\([{}()*,]\)/ \1 /g
}

File Metadata

Mime Type
text/plain
Expires
Tue, Feb 4, 3:54 AM (20 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16447587
Default Alt Text
D17488.diff (780 B)

Event Timeline