Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109291692
D17488.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
780 B
Referenced Files
None
Subscribers
None
D17488.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D17488: Remove the need for backslashes in syscalls.master.
Attached
Detach File
Event Timeline
Log In to Comment