Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Mar 2001 19:00:51 -0800
From:      Peter Wemm <peter@netplex.com.au>
To:        Alfred Perlstein <alfred@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/include/rpc clnt_stat.h 
Message-ID:  <200103210300.f2L30ph53184@mobile.wemm.org>
In-Reply-To: <200103200820.f2K8Kor00538@freefall.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
Alfred Perlstein wrote:
> alfred      2001/03/20 00:20:50 PST
> 
>   Modified files:
>     include/rpc          clnt_stat.h 
>   Log:
>   comment out #pragma directive containing Sun SCM tags

Actually, it is a shame that we dont support this.

This happens to work much better than __RCSID() and __COPYRIGHT().
Namely it is possible to run a link time (or even post-link tool)
to manipulate/modify/compress/remove the strings.
I have such a tool.  I use it to compress the duplicate:
        .ident  "[ASM_FILE_END]GCC: (c) 2.95.3 20010125 (prerelease)"
strings that gcc inserts in the tail of each .o file.

We do support #ident "string" though.  But that causes a waring with
the "-ansi -pedantic" flags that the kernel is compiled with.
It is pretty easy to add #pragma ident support.  See config/nextstep.[ch]
for examples.  "#pragma ident" is -ansi -pedantic friendly.

Cheers,
-Peter
--
Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au
"All of this is for nothing if we don't go to the stars" - JMS/B5


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103210300.f2L30ph53184>