From owner-freebsd-current Thu Dec 7 18:30:05 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id SAA16819 for current-outgoing; Thu, 7 Dec 1995 18:30:05 -0800 (PST) Received: from hub.org (hub.org [199.166.238.138]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id SAA16783 for ; Thu, 7 Dec 1995 18:29:54 -0800 (PST) Received: (from scrappy@localhost) by hub.org (8.7.1/8.7.1) id VAA29945; Thu, 7 Dec 1995 21:29:47 -0500 (EST) Date: Thu, 7 Dec 1995 21:29:42 -0500 (EST) From: "Marc G. Fournier" To: current@freebsd.org Subject: /usr/lib/libc/gen/assert.c patch Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org Precedence: bulk First off, a disclaimer...I do not know why I had to take out the include of to get this to compile, but when I do take it out, it compiles cleanly, even with 'cc -Wall'... Considering that I don't believe that removing it is a solution, I would like a better solution to the problem, if such exists... *** lib/libc/gen/assert.c.orig Thu Dec 7 21:08:37 1995 --- lib/libc/gen/assert.c Thu Dec 7 21:26:36 1995 *************** *** 36,42 **** #endif /* LIBC_SCCS and not lint */ #include ! #include #include #include --- 36,42 ---- #endif /* LIBC_SCCS and not lint */ #include ! /* #include */ #include #include *************** *** 48,53 **** (void)fprintf(stderr, "assertion \"%s\" failed: file \"%s\", line %d\n", failedexpr, file, line); ! abort(); /* NOTREACHED */ } --- 48,53 ---- (void)fprintf(stderr, "assertion \"%s\" failed: file \"%s\", line %d\n", failedexpr, file, line); ! (void)abort(); /* NOTREACHED */ } Marc G. Fournier | POP Mail Telnet Acct DNS Hosting scrappy@hub.org | WWW Services Database Services | Knowledge, soon to be: | | Information and scrappy@ki.net | WWW: http://hub.org | Communications, Inc