Page MenuHomeFreeBSD

D30789.id90971.diff
No OneTemporary

D30789.id90971.diff

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

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)

Event Timeline