| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| X-Injected-Via-Gmane: | http://gmane.org/ |
| To: | cygwin AT cygwin DOT com |
| From: | Alexander Schremmer <usenet2003c AT alexanderweb DOT 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 DOT GA9238 AT redhat DOT com> <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAoJt1vBbz40CDAg5sGRmjl8KAAAAQAAAAvgx1VnOX2UOsmIeuQDl05QEAAAAA AT alexanderweb DOT de> <20031028155621 DOT GA29657 AT redhat DOT com> |
| Mime-Version: | 1.0 |
| X-Complaints-To: | usenet AT sea DOT gmane DOT 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |