Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F160437078
D30789.id90971.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
980 B
Referenced Files
None
Subscribers
None
D30789.id90971.diff
View Options
Index: share/man/man9/style.9
===================================================================
--- share/man/man9/style.9
+++ share/man/man9/style.9
@@ -114,7 +114,7 @@
.Pp
After any copyright and license comment, there is a blank line, and the
.Li $\&FreeBSD$
-for non C/C++ language source files.
+for non C/C++ language source files, if applicable.
Version control system ID tags should only exist once in a file
(unlike in this one).
Non-C/C++ source files follow the example above, while C/C++ source files
@@ -134,7 +134,15 @@
in front of foreign VCS IDs if the file is renamed.
.Bd -literal
/* From: @(#)style 1.14 (Berkeley) 4/28/95 */
-
+.Ed
+If your code needs to be merged into stable/12 or earlier, it
+needs to have the
+.Li $\&FreeBSD$
+tag.
+Otherwise, this tag should be omitted in new code.
+Legacy code will have the tag removed in the future once
+stable/12 is no longer supported.
+.Bd -literal
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
.Ed
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jun 25, 10:18 AM (4 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34319976
Default Alt Text
D30789.id90971.diff (980 B)
Attached To
Mode
D30789: style(9): Add advice about $FreeBSD$
Attached
Detach File
Event Timeline
Log In to Comment