Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Dec 2017 03:20:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 224474] Copy/paste error in pkg_add.c: "AE_IFFIFO" in the AE_IFBLK case
Message-ID:  <bug-224474-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224474

            Bug ID: 224474
           Summary: Copy/paste error in pkg_add.c: "AE_IFFIFO" in the
                    AE_IFBLK case
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: david@bamsoftware.com

The error message for the AE_IFBLK case in do_extract looks like it was
erroneously copied from the AE_IFFIFO case.
https://github.com/freebsd/pkg/blob/144464d6f80e70b0801735b4471f97e6639dfab=
b/libpkg/pkg_add.c#L682-L683

                case AE_IFIFO:=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20
                        pkg_emit_error("Archive contains an unsupported
filetype (AE_IFFIFO): %s", path);
...
                case AE_IFBLK:=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20
                        pkg_emit_error("Archive contains an unsupported
filetype (AE_IFFIFO): %s", path);

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-224474-8>