Project

General

Profile

Bug #12327

usr/src/cmd/acct/lib/copyn.c is unused

Added by Peter Tribble about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

According to findunref, the file usr/src/cmd/acct/lib/copyn.c is unused.

(That's findunref on both intel and SPARC.)

The file isn't mentioned in the local (or any other) Makefile.

The copyn() function in the file isn't used anywhere.

So we should simply remove the file.

#1

Updated by Peter Tribble about 1 year ago

Not sure how to test it, but wsdiff shows no differences on all
the commands in /usr/lib/acct, which is where the binaries built
out of the directory containing the deleted file end up.

#2

Updated by Electric Monk about 1 year ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit 6d2858e77c6082a751ff9e66da7408d885792785

commit  6d2858e77c6082a751ff9e66da7408d885792785
Author: Peter Tribble <peter.tribble@gmail.com>
Date:   2020-02-20T18:13:03.000Z

    12327 usr/src/cmd/acct/lib/copyn.c is unused
    Reviewed by: Toomas Soome <tsoome@me.com>
    Reviewed by: Marcel Telka <marcel@telka.sk>
    Approved by: Robert Mustacchi <rm@fingolfin.org>

Also available in: Atom PDF