diff options
author | peter <peter@FreeBSD.org> | 1996-08-30 02:12:07 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-08-30 02:12:07 +0000 |
commit | 3f709de38ccdb0b9e54ac5c652cac186e7aa7f80 (patch) | |
tree | 3319724cb0b02106aa2d4ce62b3e8052990efbfe /gnu/lib/libg++ | |
parent | 63fc84178443fce428256e82bde4c6e8e0d728bb (diff) | |
download | FreeBSD-src-3f709de38ccdb0b9e54ac5c652cac186e7aa7f80.zip FreeBSD-src-3f709de38ccdb0b9e54ac5c652cac186e7aa7f80.tar.gz |
cmp -s || install -c ==> install -C
Diffstat (limited to 'gnu/lib/libg++')
-rw-r--r-- | gnu/lib/libg++/Makefile | 9 | ||||
-rw-r--r-- | gnu/lib/libg++/include/streambuf.h | 4 |
2 files changed, 5 insertions, 8 deletions
diff --git a/gnu/lib/libg++/Makefile b/gnu/lib/libg++/Makefile index 1bb3e5f..5b4ece6 100644 --- a/gnu/lib/libg++/Makefile +++ b/gnu/lib/libg++/Makefile @@ -1,5 +1,5 @@ # -# $Id: Makefile,v 1.10 1995/07/05 15:04:47 dfr Exp $ +# $Id: Makefile,v 1.11 1995/08/06 12:22:53 bde Exp $ # SRCS= bitand.c bitany.c bitblt.c bitclear.c bitcopy.c bitcount.c \ bitinvert.c bitlcomp.c bitset1.c bitxor.c cleanup.c except.c \ @@ -35,11 +35,8 @@ DPADD+= ${LIBCURSES} ${LIBCOMPAT} beforeinstall: cd ${.CURDIR}/include; \ - for i in *.h; do \ - cmp -s $$i ${DESTDIR}/usr/include/g++/$$i || \ - ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 $$i \ - ${DESTDIR}/usr/include/g++/$$i; \ - done + ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \ + ${DESTDIR}/usr/include/g++ .include <bsd.lib.mk> .include <bsd.prog.mk> diff --git a/gnu/lib/libg++/include/streambuf.h b/gnu/lib/libg++/include/streambuf.h index 7a3df54..1b02d9e 100644 --- a/gnu/lib/libg++/include/streambuf.h +++ b/gnu/lib/libg++/include/streambuf.h @@ -247,8 +247,8 @@ class ios : public _ios_fields { protected: ios(streambuf* sb = 0, ostream* tie_to = 0) { init(sb, tie_to); } - virtual ~ios(); - void init(streambuf* sb, ostream* tie = 0); + inline virtual ~ios(); + inline void init(streambuf* sb, ostream* tie = 0); }; #if __GNUG__==1 |