From owner-freebsd-ports Fri Feb 13 09:40:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA25314 for freebsd-ports-outgoing; Fri, 13 Feb 1998 09:40:08 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: (from gnats@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA25273; Fri, 13 Feb 1998 09:40:04 -0800 (PST) (envelope-from gnats) Received: from yandex.hq.cti.ru (yandex.hq.cti.ru [194.67.85.53]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA24284 for ; Fri, 13 Feb 1998 09:36:14 -0800 (PST) (envelope-from tejblum@arc.hq.cti.ru) Received: (from tejblum@localhost) by yandex.hq.cti.ru (8.8.8/8.8.7) id UAA22404; Fri, 13 Feb 1998 20:35:01 +0300 (MSK) (envelope-from tejblum) Message-Id: <199802131735.UAA22404@yandex.hq.cti.ru> Date: Fri, 13 Feb 1998 20:35:01 +0300 (MSK) From: Dmitrij Tejblum Reply-To: tejblum@arc.hq.cti.ru To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/5737: A problem with devel/mprof Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 5737 >Category: ports >Synopsis: A problem with devel/mprof >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Feb 13 09:40:02 PST 1998 >Last-Modified: >Originator: Dmitrij Tejblum >Organization: CompTek >Release: FreeBSD 2.2.5-STABLE i386 >Environment: FreeBSD 2.2 >Description: One source file in devel/mprof port use ftruncate(2), but doesn't #include . So it use ftruncate incorrectly. >How-To-Repeat: >Fix: Apply following patch to patches/patch-01: --- patch-01 Mon Jan 30 00:35:35 1995 +++ patch-01 Fri Feb 13 20:17:34 1998 @@ -1,6 +1,16 @@ *** ../m/mprof_mon.c Tue Apr 20 13:36:09 1993 --- mprof_mon.c Fri Sep 17 17:09:01 1993 *************** +*** 5,10 **** +--- 5,11 ---- + */ + + #include ++ #include + #include + #include "mprof.h" + +*************** *** 411,417 **** #ifdef sun on_exit(mprof_exit, NULL); @@ -9,7 +19,7 @@ atexit(mprof_exit); #endif ---- 411,417 ---- +--- 412,418 ---- #ifdef sun on_exit(mprof_exit, NULL); #endif >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message