[Bug 281781] sysutils/copytape: errno fixes

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 01 Oct 2024 00:00:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281781

--- Comment #1 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=cc977a4b8b8bd932d57b86c55415328eb09e3647

commit cc977a4b8b8bd932d57b86c55415328eb09e3647
Author:     Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2024-09-30 15:56:09 +0000
Commit:     Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2024-09-30 23:59:21 +0000

    sysutils/copytape: include errno.h for errno

    errno must be accessed by a macro from errno.h.

    Tidy includes and add unistd.h for read/write.

    Consolidate patches for easy of maintenance.

    This code is borderline useless and certainly broken with modern tape
    sizes due to the use of ints for sizes.

    PR:             281781
    Approved by:    sjroz@verizon.net (maintainer)

 sysutils/copytape/Makefile                         |  2 +-
 .../files/{patch-copytape.c_1 => patch-copytape.c} | 23 +++++++++++++++++-----
 sysutils/copytape/files/patch-copytape.c_2 (gone)  | 11 -----------
 3 files changed, 19 insertions(+), 17 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.