X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=perlsfio.h;h=3d279d0c8ac4e2d8d081847f33f4a28f9a6b6bdf;hb=1182767ea8fd2e4c0bf1b4ebab9db9ac12fc142c;hp=0a2cf3c558aaddb6e8dd91cb1e6ac9a1b5abb14b;hpb=e5f84f0ca09b5efa6a7c22bf133a7a0892389a45;p=p5sagit%2Fp5-mst-13.2.git diff --git a/perlsfio.h b/perlsfio.h index 0a2cf3c..3d279d0 100644 --- a/perlsfio.h +++ b/perlsfio.h @@ -1,6 +1,6 @@ /* perlsfio.h * - * Copyright (c) 1987-2002, Larry Wall + * Copyright (C) 1996, 1999, 2000, 2001, 2002, by Larry Wall and others * * You may distribute under the terms of either the GNU General Public * License or the Artistic License, as specified in the README file. @@ -49,20 +49,10 @@ extern int _stdprintf _ARG_((const char*, ...)); #define PerlIO_fileno(f) sffileno(f) #define PerlIO_clearerr(f) sfclrerr(f) #define PerlIO_flush(f) sfsync(f) -#if 0 -/* This breaks tests */ -#define PerlIO_tell(f) sfseek(f,0,1|SF_SHARE) -#else #define PerlIO_tell(f) sftell(f) -#endif #define PerlIO_seek(f,o,w) sfseek(f,o,w) #define PerlIO_rewind(f) (void) sfseek((f),0L,0) #define PerlIO_tmpfile() sftmp(0) - -#if 0 -#define PerlIO_importFILE(f,fl) ((void) Perl_croak(aTHX_ "Import from FILE * unimplemented"), NULL) -#define PerlIO_findFILE(f) NULL -#endif #define PerlIO_exportFILE(f,fl) Perl_croak(aTHX_ "Export to FILE * unimplemented") #define PerlIO_releaseFILE(p,f) Perl_croak(aTHX_ "Release of FILE * unimplemented")