Message from discussion
3-arg opens
Newsgroups: perl.perl6.internals
Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.perl.org
Return-Path: <boemm...@physik.uni-kl.de>
Mailing-List: contact perl6-internals-h...@perl.org; run by ezmlm
Delivered-To: mailing list perl6-intern...@perl.org
Delivered-To: perl6-intern...@perl.org
Sender: boemm...@physik.uni-kl.de
To: Simon Glover <s...@amnh.org>
Cc: "Bryan C. Warnock" <bwarn...@raba.com>, perl6-intern...@perl.org
Subject: Re: 3-arg opens
References: <Pine.GSO.4.43.0305262032470.29690-100000@egg.amnh.org>
Date: 27 May 2003 15:27:52 +0200
In-Reply-To: <Pine.GSO.4.43.0305262032470.29690-100000@egg.amnh.org>
Message-ID: <m2y90s7c4n.fsf@helium.physik.uni-kl.de>
Lines: 36
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-SMTPD: qpsmtpd/0.26-dev, http://develooper.com/code/qpsmtpd/
X-Spam-Check-By: one.develooper.com
X-Spam-Status: No, hits=-2.5 required=7.0 tests=CARRIAGE_RETURNS,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_GNUS_UA version=2.44
X-SMTPD: qpsmtpd/0.26-dev, http://develooper.com/code/qpsmtpd/
Approved: n...@nntp.perl.org
From: boemm...@physik.uni-kl.de (Juergen Boemmels)
Simon Glover <s...@amnh.org> writes:
[...]
>>>> open I3, "temp.file", "r"
As written before, this is invalid. The correct way opening a file (at
least this week) for reading is
open I3, "temp.file", "<"
some months ago I changed the io from stdio to PIO and this changed
from "r" to "<".
> Looking at the CVS change log, I see that the person responsible for
> the offending line was... erm, well, me. In which case you can definitely
> put this one down to incompetence :-(
Maybe it was an oversight of me when porting from stdio to PIO...
> PS However, more documentation for the IO ops (and the IO subsystem
> generally) would be a Good Thing, and might stop this sort of thing
> from happening in the future.
I'm working on this. But at the moment I try to get ParrotIO away from
sys_mem_allocate/sys_mem_free to the garbage-collector, but there are
still bugs left.
I promise more documentation, but dont hold the breath
bye
boe
--
Juergen Boemmels boemm...@physik.uni-kl.de
Fachbereich Physik Tel: ++49-(0)631-205-2817
Universitaet Kaiserslautern Fax: ++49-(0)631-205-3906
PGP Key fingerprint = 9F 56 54 3D 45 C1 32 6F 23 F6 C7 2F 85 93 DD 47