# New Ticket Created by Matt Fowles
# Please include the string: [perl #37605]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/rt3/Ticket/Display.html?id=37605 >
All~
This time with the attachment.
Matt
--
"Computer Science is merely the post-Turin
On 11/3/05, Leopold Toetsch <[EMAIL PROTECTED]> wrote:
> On Nov 3, 2005, at 20:49, Joshua Isom wrote:
>
> > I was trying to use bit shifting for division by multiples of two, but
> > if the shift amount is a multiple of the int size, it seems to fail to
> > shift the bits. Here's some example code
On Nov 3, 2005, at 20:49, Joshua Isom wrote:
I was trying to use bit shifting for division by multiples of two, but
if the shift amount is a multiple of the int size, it seems to fail to
shift the bits. Here's some example code demonstrating it.
.sub _main @MAIN
.local int a, b, c
p
I was trying to use bit shifting for division by multiples of two, but
if the shift amount is a multiple of the int size, it seems to fail to
shift the bits. Here's some example code demonstrating it.
.sub _main @MAIN
.local int a, b, c
print "a\tb\tc\n"
a = 24
b = 32
c = a
I'm on FreeBSD 5.4 so aside from the char array, the rest was correct,
which I guess means it's not at all portable. It's working now, now I
just need to expand on it.
On Nov 3, 2005, at 9:01 AM, Leopold Toetsch wrote:
Joshua Isom wrote:
I'm trying to use libc to be able to do a directory l
On Sun, 2005-10-30 at 20:54 +, Jonathan Worthington wrote:
> $P0 = result_info
> $I0 = elements $P0
>
> Will leave $I0 containing the number of return values.
Thanks Jonathan, it seem to work perfectly. I'm very grateful for this.
Regards,
Roger Browne
This is what I get for changing my sample at the last minute. =-)
On Nov 3, 2005, at 10:26 AM, Leopold Toetsch wrote:
Will Coleda (via RT) wrote:
error:imcc:The opcode 'print' (print<0>) was not found. Check the
type and number of the arguments
in macro '.say' line 2
included from
Will Coleda (via RT) wrote:
error:imcc:The opcode 'print' (print<0>) was not found. Check the
type and number of the arguments
in macro '.say' line 2
included from 'foo.pir' line 7
This is a different error then the subject says - you are using a
reserved word (opcode) as macro nam
# New Ticket Created by Will Coleda
# Please include the string: [perl #37600]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/rt3/Ticket/Display.html?id=37600 >
I dug through partcl to see where I could take advantage of the new
anywhere HEREDOCS,
Joshua Isom wrote:
I'm trying to use libc to be able to do a directory listing, ...
Another tricky part is detecting the NULL pointer after the end,
achievable with the get_addr opcode.
Here is a directory lister:
leo
.sub _main @MAIN
.local pmc libc
.local pmc opendir
.loc
Joshua Isom wrote:
I'm trying to use libc to be able to do a directory listing, and and if
I used the DATATYPE_CSTR I get a segfault, and if I use DATATYPE_STRING,
It's neither nor. A DATATYPE_CSTR would be a pointer to a cstring. But
when you look at the definition of struct dirent, you see
This patch has not been applied, but the same bug has been fixed by
Leo's work in revision 9737.
Could somebody please mark this ticket as "Resolved"? Thanks.
Regards,
Roger Browne
--
Roger Browne - [EMAIL PROTECTED] - http://xamber.org/
Joshua Isom wrote:
> I'm trying to use libc to be able to do a directory listing, and and if
> I used the DATATYPE_CSTR I get a segfault, and if I use
> DATATYPE_STRING, I get a "returning unhandled string type in struct"
I tried this a while back, and got it working (as a kind of
"proof-of-conc
Leopold Toetsch (via RT) wrote:
charset/unicode.c needs implementation of is_ccass / find_cclass, /
find_not_cclass.
Done - r9737, r9738.
More tests are very welcome (t/op/string_cclass.t).
10) receive grand Parrot unicode award
All mine.
leo
Heredocs have proven to create much more readable syntax especially
inside compilers. I've hacked them a bit with the following effects:
1) single-quote-delimitted heredocs are valid now
These wprk like single-quoted strings, that is: no backslash substitutions.
2) heredocs are now valid insid
15 matches
Mail list logo