[Bug 224474] Copy/paste error in pkg_add.c: "AE_IFFIFO" in the AE_IFBLK case

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Dec 20 03:20:22 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224474

            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 at FreeBSD.org
          Reporter: david at 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/144464d6f80e70b0801735b4471f97e6639dfabb/libpkg/pkg_add.c#L682-L683

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

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


More information about the freebsd-bugs mailing list