[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference smurf::buildhelp

Title:USG buildhelp questions/answers
Moderator:SMURF::FILTER
Created:Mon Apr 26 1993
Last Modified:Mon Jan 20 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2763
Total number of notes:5802

278.0. "where is the default copyright msg?; suggestion on RCS id s" by SMURF::FILTER (Automatic Posting Software - mail to flume::puck) Mon Aug 16 1993 17:13

Date Of Receipt: 	16-AUG-1993 15:28:19.99
From: 	ABYSS::jtkohl "John Kohl"
To: 	abyss::buildhelp
CC: 	
Subj: 	where is the default copyright msg?; suggestion on RCS id's

Is the @DEC_COPYRIGHT@ message readable somewhere in ODE-land?

I also have a suggestion to save a tiny bit of space in .o files that
use RCS identifiers:  replace the RCS tag line of :

static char *rcsid = "@(#)$RCSfile$ $Revision$ (DEC) $Date$";

to

static char rcsid[] = "@(#)$RCSfile$ $Revision$ (DEC) $Date$";

The former case allocates a pointer, and initializes the pointer to
point at the ASCII string.  The latter case just makes the symbol be the
base address of the ASCII string.  [C compilers DTRT to properly address
the string if code references rcsid in pointer context.]

John

T.RTitleUserPersonal
Name
DateLines
278.1Re: where is the default copyright msg?; suggestion on RCS id sSMURF::FILTERAutomatic Posting Software - mail to flume::puckMon Aug 16 1993 18:1936
Date Of Receipt: 	16-AUG-1993 16:52:22.80
From: 	FLAMBE::jmf "Joshua M. Friedman ULTRIX SDE  16-Aug-1993 1651"
To: 	John T Kohl <[email protected]>
CC: 	[email protected]
Subj: 	Re: where is the default copyright msg?; suggestion on RCS id's

John, in  /usr/sde/osf1/copyright/1993 
you'll find the various copyright messages which are known; the basic
one is attached below.

Regarding using  rcsid[] vs. *rcsid I'm not sure of the history of
this; perhaps others on buildhelp will have some opinion...

 
@DEC_COPYRIGHT@
*****************************************************************
*                                                               *
*    Copyright (c) Digital Equipment Corporation, 1991, 1993    *
*                                                               *
*   All Rights Reserved.  Unpublished rights  reserved  under   *
*   the copyright laws of the United States.                    *
*                                                               *
*   The software contained on this media  is  proprietary  to   *
*   and  embodies  the  confidential  technology  of  Digital   *
*   Equipment Corporation.  Possession, use,  duplication  or   *
*   dissemination of the software and media is authorized only  *
*   pursuant to a valid written license from Digital Equipment  *
*   Corporation.                                                *
*                                                               *
*   RESTRICTED RIGHTS LEGEND   Use, duplication, or disclosure  *
*   by the U.S. Government is subject to restrictions  as  set  *
*   forth in Subparagraph (c)(1)(ii)  of  DFARS  252.227-7013,  *
*   or  in  FAR 52.227-19, as applicable.                       *
*                                                               *
*****************************************************************