[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Possible bug?
- From: "Steve Donovan" <sjdonova@...>
- Date: Tue, 03 Aug 2004 08:33:58 +0200
Seeing that popen() is so very useful for ordinary Lua scripting
use, would this not complicate people's lives unnecessarily? If it's
just a question of keeping track of who allocated the file handle,
that does not seem difficult to do.
Also, reasonable win32 implementations of popen() exist, but
they wouldn't fit into a lposix 'clone', unless that was a big beast
like cygwin.
steve d.
>>> lhf@tecgraf.puc-rio.br 08/02/04 04:29PM >>>
This has been reported before, but not citing the POSIX standard that
it's not legal to call pclose() on a file that wasn't allocated
with popen(). Thanks for the reference.
I think this makes it clear that pipes should be moved out of liolib to
lposix.
--lhf
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.