Use of SCCS keywords in the OsNet source hierarchy # # Copyright 2000 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # Reasonable sccs keywords are being reinstated in the ON source base for post-Solaris2.0 releases. The general rules to follow for sccs keywords are described in this file, per a mail message from jek3 in March 1997, updated in July 2000 to reflect the evolution of ON practice. For new files: Form #1 is always allowable and preferred. Form #2 is *not* acceptable for any form of exported source which is expected to be ANSI-C conformant. This means exported headers mostly. Care should be taken that the optional comment doesn't wrap 80 characters with the string expanded thereby causing cstyle errors. Form #1, preferred: #pragma ident "%Z%%M% %I% %E% SMI" /* optional comment */ Form #2, acceptable except as noted above: #ident "%Z%%M% %I% %E% SMI" /* optional comment */ Showing tabs, preferred (either form): #pragma ident\t"%Z%%M%\t%I%\t%E% SMI"\t/* optional comment */ The following formats are acceptable but not preferred. They are here to accomodate source code absorbed from SunSoft South. In general, use the preferred keywords Form #1 specified above. Form #3, acceptable: #pragma ident "%W% %E% SMI" /* optional comment */ Form #4, acceptable, except as noted for Form #2 above: #ident "%W% %E% SMI" /* optional comment */ Showing tabs, acceptable (either form): #pragma ident\t"%W%\t%E% SMI"\t/* optional comment */