Re: 1.5.5-1: fprintf(stdout, ...) writes to serial port when used by apcupsd

2003-10-28 Thread Alexander Schremmer
Hi, On Mon, 27 Oct 2003 22:13:12 -0500, Christopher Faylor wrote: > You need to fix apcupsd. I submitted a fix based on a idea of Pierre A. Humblet. It will be merged into cvs of apcupsd in the next days by Kern Sibbald. EOD/EOT Kind regards, Alexander -- Unsubscribe info: http://cygwin

Re: 1.5.5-1: fprintf(stdout, ...) writes to serial port when used by apcupsd

2003-10-28 Thread Alexander Schremmer
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. > >

Re: 1.5.5-1: fprintf(stdout, ...) writes to serial port when used by apcupsd

2003-10-28 Thread Alexander Schremmer
On Tue, 28 Oct 2003 12:03:24 +0100, Corinna Vinschen wrote: Hi, > On Tue, Oct 28, 2003 at 10:41:02AM +0100, Alexander Schremmer wrote: >> >> / [JFYI - Sending mail to [EMAIL PROTECTED]:] ---\ >> | <[EMAIL PROTECTED]>:

Re: 1.5.5-1: fprintf(stdout, ...) writes to serial port when used by apcupsd

2003-10-28 Thread Alexander Schremmer
On Mon, 27 Oct 2003 22:13:12 -0500, Christopher Faylor wrote: [something] / [JFYI - Sending mail to [EMAIL PROTECTED]:] ---\ | Hi. This is the qmail-send program at sources.redhat.com. | | I'm afraid I wasn't able to deliver your message to the following | | address

RE: 1.5.5-1: fprintf(stdout, ...) writes to serial port when used by apcupsd

2003-10-28 Thread Alexander Schremmer
Hi, Christopher Faylor wrote: > This is not a cygwin problem. It is a problem with a program > that assumes that it has a valid stdout. It is perfectly > possible that a program can be started with no stdout, stdin, or stderr. The author said that it must a problem of cygwin ... Is it enough

1.5.5-1: fprintf(stdout, ...) writes to serial port when used by apcupsd

2003-10-27 Thread Alexander Schremmer
Hi, I am experiencing a bug or race condition while using the newest release of apcupsd (3.10.6 - 2003-10-10; GPL and available under http://sourceforge.net/projects/apcupsd) on the newest releast of Cygwin (1.5.5-1). This bug does not occur using cygwin1.dll v1.3.20. I searched for a similar bug