>Number: 8397
>Category: i386
>Synopsis: Code using popen compiled on BSDI BSD/OS 2.0 does not work on Beta 3.0
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Oct 21 08:00:00 PDT 1998
>Last-Modified:
>Originator: Darren Whittaker
>Organization:
Open Market, Inc.
>Release: 3.x beta
>Environment:
did not have telnet access to 3.x machine
>Description:
The first popen/fgets/pclose works once but not twice. A test program
compiled on BSDI BSD/OS 2.0 will fail on freeBSD 3.x, the same program
compiled on a 2.x freeBSD machine will work on freeBSD 3.x. The test prorgam
is a simple for loop that does a popen of the data command, displays its's
output and then does a pclose. Only the first time through the loop displays
any output. Have also found that the system function does the same thing, works
once but never again.
>How-To-Repeat:
See full dscription
>Fix:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majo...@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message