[Bug 8196] New: diff fifo1 fifo2 always returns 0

bugzilla at busybox.net bugzilla at busybox.net
Sat Jul 4 11:53:36 UTC 2015


https://bugs.busybox.net/show_bug.cgi?id=8196

           Summary: diff fifo1 fifo2 always returns 0
           Product: Busybox
           Version: 1.23.x
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
        AssignedTo: unassigned at busybox.net
        ReportedBy: 415fox at gmail.com
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0


Switching to BusyBox diff:

    sh$ mkfifo fifo
    sh$ echo foo > fifo &
    sh$ echo bar | diff fifo -
    sh$ echo $?
    0

Or:

    sh$ mkfifo fifo fifo2
    sh$ echo foo > fifo &
    sh$ echo bar > fifo2 &
    sh$ diff fifo fifo2
    sh$ echo $?
    0

Thanks to xz-utils developer Lasse Collin for these examples.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list