wasted D space in usr.lib/*.a
Steven M. Schultz
sms at etn-wlv.eaton.com
Tue May 9 02:47:09 AEST 1989
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
========================================================================
More information about the Comp.bugs.2bsd
mailing list