Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin@cygwin.com
From: Alexander Schremmer <usenet2003c@alexanderweb.de>
Subject: Re: 1.5.5-1: fprintf(stdout, ...) writes to serial port when used by apcupsd
Date: Tue, 28 Oct 2003 17:04:59 +0100
Organization: XOR AX,AX
Lines: 17
Message-ID: <1q80414uviuww$.dlg@alexanderweb.de>
References: <20031028031312.GA9238@redhat.com> <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAoJt1vBbz40CDAg5sGRmjl8KAAAAQAAAAvgx1VnOX2UOsmIeuQDl05QEAAAAA@alexanderweb.de> <20031028155621.GA29657@redhat.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@sea.gmane.org
X-Now-Playing: "Laidback Luke -- Windmill Skill" (Winamp 2.4110497)
User-Agent: 40tude_Dialog/2.0.7.1de

Hi,

On Tue, 28 Oct 2003 10:56:21 -0500, Christopher Faylor wrote:

> On Tue, Oct 28, 2003 at 10:27:23AM +0100, Alexander Schremmer wrote:
>>Is it enough to call ftell(stdout) and check for != -1 to check for a valid
>>stdout? Then I'd submit that patch to apcupsd.
> 
> Why don't you verify this for yourself rather than ask for corroboration
> from people who have never used the program?  There is no magic here.

because I have no working gcc tool chain here. The quoted question just
refers to the check of the state of a stream, not to this particular
program.

Kind regards,
Alexander


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

