Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Oct 1998 07:57:22 -0700 (PDT)
From:      djw@shopsite.com
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   i386/8397: Code using popen compiled on BSDI BSD/OS 2.0 does not work on Beta 3.0
Message-ID:  <199810211457.HAA27962@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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 majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810211457.HAA27962>