Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Nov 1996 11:53:05 PST
From:      Bill Fenner <fenner@parc.xerox.com>
To:        joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
Cc:        freebsd-bugs@freebsd.org (FreeBSD bugs list), jin@george.lbl.gov
Subject:   Re: diff somehow does not work properly in 2.2-ALPHA 
Message-ID:  <96Nov19.115315pst.177558@crevenia.parc.xerox.com>
In-Reply-To: Your message of "Mon, 18 Nov 96 14:41:47 PST." <199611182241.XAA02531@uriah.heep.sax.de> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <199611182241.XAA02531@uriah.heep.sax.de> you write:
>Seems to be intentional.

No.  Stdout got closed before any of the input files were opened.
The events were:

1. stdout got closed.
2. files got opened.
3. files got read and compared.
4. output attempts to be written.
5. writing to closed stdout fails, so print error.

  Bill



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?96Nov19.115315pst.177558>