Message from discussion
[PATCH] allow NULL interpreter in sprintf like functions
Newsgroups: perl.perl6.internals
Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.perl.org
Return-Path: <brent...@cpan.org>
Mailing-List: contact perl6-internals-h...@perl.org; run by ezmlm
Delivered-To: mailing list perl6-intern...@perl.org
To: "'Leopold Toetsch'" <l...@toetsch.at>
Cc: <perl6-intern...@perl.org>
Subject: RE: [perl #18097] [PATCH] allow NULL interpreter in sprintf like functions
Date: Mon, 28 Oct 2002 08:23:17 -0800
Message-ID: <001f01c27e9e$52951630$6501a8c0@deepblue>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.2616
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
In-Reply-To: <3DBCF170.3070808@toetsch.at>
X-SMTPD: qpsmtpd/0.12-dev, http://develooper.com/code/qpsmtpd/
Approved: n...@nntp.perl.org
From: brent...@cpan.org (Brent Dax)
References: <3DBCF170.3070808@toetsch.at>
Lines: 32
Leopold Toetsch:
# Brent Dax wrote:
# > When I was working on switching most fprintf calls to PIO,=20
# there were=20
# > so many functions that didn't take an interpreter that I eventually=20
# > made PIO_printf and PIO_eprintf (output to stderr) fall=20
# back to stdio=20
# > if given a null interpreter.
#=20
# But actually, the only case, when there is no interpreter, is when=20
# constructing the interpreter itself fails.
Perhaps you don't understand what I mean. What I'm talking about is the
fact that most functions in packfile.c don't even take an interpreter
argument. =20
C:\brent\Visual Studio Projects\Perl 6\parrot\parrot>grep -l
"PIO_eprintf(NULL" *.c
debug.c
malloc.c
packdump.c
packfile.c
packout.c
--Brent Dax <brent...@cpan.org>
@roles=3Dmap {"Parrot $_"} qw(embedding regexen Configure)
Wire telegraph is a kind of a very, very long cat. You pull his tail in
New York and his head is meowing in Los Angeles. And radio operates
exactly the same way. The only difference is that there is no cat.
--Albert Einstein (explaining radio)