NetBSD Problem Report #77
From gnats Thu Jan 13 13:00:27 1994
Received: from forte (forte.mathematik.uni-Bremen.de [134.102.232.1]) by sun-lamp.cs.berkeley.edu (8.6.4/8.6.4) with ESMTP id MAA25179 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Thu, 13 Jan 1994 12:55:06 -0800
Message-Id: <199401132053.VAA09535@forte>
Date: Thu, 13 Jan 1994 21:53:51 +0100
From: thomas@mathematik.uni-Bremen.de
Reply-To: thomas@mathematik.uni-Bremen.de
To: gnats-bugs@sun-lamp.cs.berkeley.edu
Subject: strip touches files that are already stripped
X-Send-Pr-Version: 3.01.6
>Number: 77
>Category: bin
>Synopsis: strip touches files that are already stripped
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: gnats-admin
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Thu Jan 13 13:05:13 +0000 1994
>Closed-Date: Thu Feb 24 01:05:03 +0000 1994
>Last-Modified:
>Originator: Thomas Eberhardt
>Release:
>Organization:
CeVis, University of Bremen, Germany
>Environment:
System: NetBSD ed209 0.9a ED209#0 i386
Machine: i386
>Description:
The recent change to strip to not remove trailing zeroes in the
data segment isn't complete IMHO. strip now touches (i.e. updates
the modification date of) files that are already stripped.
>How-To-Repeat:
>Fix:
*** strip.c- Thu Jan 6 12:48:28 1994
--- strip.c Fri Jan 7 13:11:15 1994
***************
*** 144,152 ****
--- 144,154 ----
* the file data segment size is already minimized, quit.
*/
if (!ep->a_syms && !ep->a_trsize && !ep->a_drsize) {
+ #if 0
if (!zmagic)
return 0;
if (sp->st_size < N_TRELOFF(*ep))
+ #endif
return 0;
}
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: cgd
State-Changed-When: Wed Feb 23 17:05:03 PST 1994
State-Changed-Why:
from log of strip.c
revision 1.12
date: 1994/02/10 16:48:56; author: mycroft; state: Exp; lines: +3 -1
Make sure we don't touch a file that is already stripped.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.