From owner-freebsd-hackers Thu May 2 17:50:32 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA08555 for hackers-outgoing; Thu, 2 May 1996 17:50:32 -0700 (PDT) Received: from paris.CS.Berkeley.EDU (paris.CS.Berkeley.EDU [128.32.34.47]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id RAA08544 for ; Thu, 2 May 1996 17:50:24 -0700 (PDT) Received: from paris.CS.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by paris.CS.Berkeley.EDU (8.6.11/8.6.9) with ESMTP id RAA18275; Thu, 2 May 1996 17:49:58 -0700 From: Josh MacDonald Message-Id: <199605030049.RAA18275@paris.CS.Berkeley.EDU> To: Michael Smith cc: joerg_wunsch@uriah.heep.sax.de, freebsd-hackers@freebsd.org Subject: Re: stdio problem In-reply-to: Your message of "Fri, 03 May 1996 09:39:45 +0930." <199605030009.JAA01340@genesis.atrad.adelaide.edu.au> Date: Thu, 02 May 1996 17:49:57 -0700 Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk You guys are really stubborn. If you won't beleive me, here's some mail I got from Paul Eggert, in reply to a similar report sent to the diffutils maintainers: > It's a bug in FreeBSD/NetBSD. The C Standard says ``The `freopen' > function first attempts to close any file that is associated with the > specified stream. Failure to close the file successfully is ignored. > The error and end-of-file indicators for the stream are cleared.'' > > Perhaps you can send a bug report to the FreeBSD/NetBSD maintainers; > I don't know the procedure. > Josh MacDonald stands accused of saying: > > > > Unfortunatly, I don't have control over this condition. I am closing > > the standard input and exec-ing GNU diff3. Diff3 calls freopen. > > The comments in stdio/freopen.c say this should work. It works everywhere > > else. > > "Why doesn't your operating system support my broken software?" Why do I use a broken operating system with deveoplers who reply to bug reports with insulting mail? > > Why couldn't you all just answer my questions instead of telling me > > it is wrong. Obviously, I already know that > > it doesn't work on FreeBSD or NetBSD, and that it works on every other > > operating system I've tried it on. > > > > a) Why does freopen fail *even though the comments in freopen.c say > > it should not*? > > Read the source. Watch it in action. Learn for yourself. This is insulting. I can look at the source and see why the comments disagree with the implementation, but I was asking if this is a bug. I wonder why I even use FreeBSD in the first place, if reporting bugs comes down to "No, you're wrong, its not a bug, and you suck for not reading the source." It is a bug, however. I might fix it, after finals. > -- > ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ > ]] Genesis Software genesis@atrad.adelaide.edu.au [[ > ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ > ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ > ]] Collector of old Unix hardware. "Where are your PEZ?" The Tick [[