As mentioned earlier on vmsperl, I had link problems with the latest
bleadperl.  Here's a tiny patch that fixes it...seems that PerlIO_tell
got left out of the "vms-only" #ifdef'd section of perlsdio.h

So here's a tiny patch to add the #define.  Builds and tests okay
on my system.

diff -uBb perlsdio.h-orig perlsdio.h
--- perlsdio.h-orig     Wed Nov 22 11:53:22 2000
+++ perlsdio.h  Wed Nov 22 11:52:56 2000
@@ -45,6 +45,7 @@
                (feof(f) ? EOF : getc(f))
 #  define PerlIO_read(f,buf,count) \
                (feof(f) ? 0 : (SSize_t)fread(buf,1,count,f))
+#  define PerlIO_tell(f)               ftell(f)
 #else
 #  ifdef SOCKS_64BIT_BUG
 #    define PerlIO_getc(f)             Perl_do_s64_getc(f)
--
 Drexel University       \V                    --Chuck Lane
======]---------->--------*------------<-------[===========
     (215) 895-1545     _/ \  Particle Physics
FAX: (215) 895-5934     /\ /~~~~~~~~~~~        [EMAIL PROTECTED]

Reply via email to