From: Stas Bekman Date: Thu, 13 Jan 2005 16:14:23 +0000 (-0500) Subject: [patch] cleanup perlsfio.h X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4810286bd9ecd424ad73c2c65693d1330ac2773f;p=p5sagit%2Fp5-mst-13.2.git [patch] cleanup perlsfio.h Message-ID: <41E6E4AF.8070303@stason.org> p4raw-id: //depot/perl@23840 --- diff --git a/perlsfio.h b/perlsfio.h index c5595c7..3d279d0 100644 --- a/perlsfio.h +++ b/perlsfio.h @@ -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")