Peter Prymmer <[EMAIL PROTECTED]> writes:
>On Fri, 15 Dec 2000, Nick Ing-Simmons wrote:
>> #ifdef PerlIO 
>> 
>> is anchient history - Graham was do IO (outside the core) about 
>> the same time I was adding the original PerlIO abstraction.
>
>We do not seem to have properly exported versions of PerlIO_getpos() and
>PerlIO_setpos() since IO.c fails to link (er, ld) as in this example with
>the 8102 kit where the link comes after the compilation of poll.c and
>the library creation:

And that on the other hand is extremely recent history.

In the last few days I "decided" that PerlIO_getpos/PerlIO_setpos 
should just be passed an SV - to avoid the whole fpos_t vs off_t issue.
I am more than willing to believe that perlio.c "forgets" to provide
them if the "right" things are not defined.


>
>CC/DECC/Include=[]/Standard=Relaxed_ANSI/Prefix=All/Obj=.obj/NoList/NOANSI_ALIAS/Define=("VERSION=""1.20""","XS_VERSION=""1.20""")/Include=([--])/Optimize
> POLL.c
>If F$Search("[--.LIB.AUTO.IO]IO.OLB").eqs."" Then Library/Object/Create 
>[--.LIB.AUTO.IO]IO.OLB
>Library/Object/Replace [--.LIB.AUTO.IO]IO.OLB IO.OBJ, POLL.OBJ
>%CREATE-I-EXISTS, [--.LIB.AUTO.IO] already exists
>If F$TrnLNm("PerlShr").eqs."" Then Define/NoLog/User PerlShr Sys$Share:PerlShr.exe
>Link /NoTrace/NoMap /Shareable=[--.LIB.AUTO.IO]PL_IO.EXE
>IO.opt/Option,[--]perlshr_attr.opt/Option
>%LINK-W-NUDFSYMS, 2 undefined symbols:
>%LINK-I-UDFSYM,         PERLIO_GETPOS
>%LINK-I-UDFSYM,         PERLIO_SETPOS
>%LINK-W-USEUNDEF, undefined symbol PERLIO_SETPOS referenced
>
>Hence my attempt to employ the fgetpos() and fsetpos() from the C RTL.
>
>I'll try another approach...
>
>Peter Prymmer
-- 
Nick Ing-Simmons

Reply via email to