🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Steven M. Schultz Mon, 08 May 1989 16:47
wasted D space in usr.lib/*.a
#238
Author: Steven M. Schultz
Date: Mon, 08 May 1989 16:47
60 lines
1995 bytes
Subject: sccssstrings in usr.lib/<many>
Index:	usr.lib/libdbm/dbm.c 2.10BSD

Description:
	While the C library (libc.a) carefully had the silly sccs id
	strings ifdef'd out, several of the remaining libraries were
	not so lucky.

Repeat-By:
	By inspection.  Look at usr.lib/libdbm/dbm.c for example and
	notice that the sccs string is only ifdef'd on 'lint'.

Fix:
	The fix below is the patch for libdbm.  The other libraries:
	lib2648, libmp, libplot/*, and libtermlib all need a similar
	patch applied.  Note:  the Makefile is modified as well as the
	ifdef statement in the source module.

*** dbm.c.old	Tue May  2 23:22:20 1989
--- dbm.c	Mon May  8 09:24:48 1989
***************
*** 4,10 ****
   * specifies the terms and conditions for redistribution.
   */
  
! #ifndef lint
  static char sccsid[] = "@(#)dbm.c	5.3 (Berkeley) 85/08/15";
  #endif not lint
  
--- 4,10 ----
   * specifies the terms and conditions for redistribution.
   */
  
! #if !defined(lint) && !defined(NOSCCS)
  static char sccsid[] = "@(#)dbm.c	5.3 (Berkeley) 85/08/15";
  #endif not lint
  
*** Makefile.old	Mon May  8 09:29:11 1989
--- Makefile	Mon May  8 09:26:16 1989
***************
*** 5,11 ****
  #
  #	@(#)Makefile	5.3 (Berkeley) 4/30/86
  #
! CFLAGS=-O
  TAGSFILE=tags
  
  all: libdbm.a libdbm_p.a
--- 5,12 ----
  #
  #	@(#)Makefile	5.3 (Berkeley) 4/30/86
  #
! DEFS= -DNOSCCS
! CFLAGS=-O $(DEFS)
  TAGSFILE=tags
  
  all: libdbm.a libdbm_p.a

========================================================================
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads