Debian Bug report logs -
#15092
libc6-dev: popen ()
Reported by: Ricardas Cepas <rch@pub.osf.lt>
Date: Fri, 21 Nov 1997 10:33:01 UTC
Severity: normal
Found in version 2.0.6-0.2
Done: unknown
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Helmut Geyer <Helmut.Geyer@iwr.uni-heidelberg.de>
:
Bug#15092
; Package libc6-dev
.
(full text, mbox, link).
Acknowledgement sent to Ricardas Cepas <rch@pub.osf.lt>
:
New bug report received and forwarded. Copy sent to Helmut Geyer <Helmut.Geyer@iwr.uni-heidelberg.de>
.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: libc6-dev
Version: 2.0.6-0.2
popen() returns non NULL value even if command is not found.
This means all data send to such pipe will be discarded.
Also it seems pipe opened with popen () is not closed on
exit, i.e. shell's prompt comes before program's output, unlike
the case when pclose() is invoked explicitly.
-- System Information
Debian Release: 1.3
Kernel Version: Linux rch 2.0.29 #1 Fri Mar 14 00:29:42 MET 1997 i486 unknown
Versions of the packages libc6-dev depends on:
libc6 Version: 2.0.6-0.2
gcc Version: 2.7.2.3-3
--
Ričardas Čepas
Information forwarded to debian-bugs-dist@lists.debian.org, Helmut Geyer <Helmut.Geyer@iwr.uni-heidelberg.de>
:
Bug#15092
; Package libc6-dev
.
(full text, mbox, link).
Acknowledgement sent to drepper@ipd.info.uni-karlsruhe.de (Ulrich Drepper)
:
Extra info received and forwarded to list. Copy sent to Helmut Geyer <Helmut.Geyer@iwr.uni-heidelberg.de>
.
(full text, mbox, link).
Message #10 received at 15092@bugs.debian.org (full text, mbox, reply):
> popen() returns non NULL value even if command is not found.
> This means all data send to such pipe will be discarded.
>
> Also it seems pipe opened with popen () is not closed on
> exit, i.e. shell's prompt comes before program's output, unlike
> the case when pclose() is invoked explicitly.
This is a long-standaing bug. no Linux libc ever did this right.
glibc 2.1 will contain a fixed implementation but this isn't possible
for 2.0 without major rewrites. I don't want to risk this for 2.0.
Instead I'll document this as a known bug. To do this correct, please
send a format report using the glibcbug script. Using the Debian
error reporting mechanisms is not enough and, David, please note this
in your docs.
Thanks,
-- Uli
---------------. drepper at gnu.org ,-. Rubensstrasse 5
Ulrich Drepper \ ,-------------------' \ 76149 Karlsruhe/Germany
Cygnus Solutions `--' drepper at cygnus.com `------------------------
Information forwarded to debian-bugs-dist@lists.debian.org, Helmut Geyer <Helmut.Geyer@iwr.uni-heidelberg.de>
:
Bug#15092
; Package libc6-dev
.
(full text, mbox, link).
Acknowledgement sent to David Engel <david@sw.ods.com>
:
Extra info received and forwarded to list. Copy sent to Helmut Geyer <Helmut.Geyer@iwr.uni-heidelberg.de>
.
(full text, mbox, link).
Message #15 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
--
David Engel ODS Networks
david@sw.ods.com 1001 E. Arapaho Road
(972) 234-6400 Richardson, TX 75081
[Message part 2 (message/rfc822, inline)]
> popen() returns non NULL value even if command is not found.
> This means all data send to such pipe will be discarded.
>
> Also it seems pipe opened with popen () is not closed on
> exit, i.e. shell's prompt comes before program's output, unlike
> the case when pclose() is invoked explicitly.
This is a long-standaing bug. no Linux libc ever did this right.
glibc 2.1 will contain a fixed implementation but this isn't possible
for 2.0 without major rewrites. I don't want to risk this for 2.0.
Instead I'll document this as a known bug. To do this correct, please
send a format report using the glibcbug script. Using the Debian
error reporting mechanisms is not enough and, David, please note this
in your docs.
Thanks,
-- Uli
---------------. drepper at gnu.org ,-. Rubensstrasse 5
Ulrich Drepper \ ,-------------------' \ 76149 Karlsruhe/Germany
Cygnus Solutions `--' drepper at cygnus.com `------------------------
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Mon May 13 14:23:30 2024;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.