The /usr/include headers in Solaris used to have #pragma ident lines
such as

#pragma ident   "@(#)strings.h  1.3     96/03/12 SMI.

Sun Studio compilers put such lines from standard headers (as well as
other files) to the binary files. So that one can

$mcs -p hello.o
hello.o:

@(#)stdio.h     1.84    04/09/28 SMI
@(#)feature_tests.h     1.25    07/02/02 SMI
@(#)ccompile.h  1.2     04/11/08 SMI
@(#)isa_defs.h  1.29    08/06/06 SMI
@(#)stdio_iso.h 1.8     05/08/16 SMI
@(#)va_list.h   1.15    04/11/19 SMI
@(#)stdio_tag.h 1.4     04/09/28 SMI
@(#)stdio_impl.h        1.15    07/03/05 SMI
@(#)stdio_c99.h 1.2     04/03/29 SMI

Now, in OpenSolaris the sccs keywords are not expanded anymore.  AFAICT
this is because Solaris now uses hg instead of tw.  So the pragmas look
like

#pragma ident   "%Z%%M% %I%     %E% SMI"

and hence the enduser gets

mcs -p hello.o
hello.o:
%Z%%M%  %I%     %E% SMI
%Z%%M%  %I%     %E% SMI
%Z%%M%  %I%     %E% SMI
%Z%%M%  %I%     %E% SMI
%Z%%M%  %I%     %E% SMI
%Z%%M%  %I%     %E% SMI
%Z%%M%  %I%     %E% SMI

not very informative.

So is it something to be addressed later or users just have to live
with it from now on?

Alexander



Reply via email to