Skip Menu |
Report information
Id: 960
Status: resolved
Priority: 0/
Queue: perl5

Owner: Nobody
Requestors: sam [at]

Operating System: Linux
PatchStatus: (no value)
Severity: medium
Type: library
Perl Version: (no value)
Fixed In: (no value)

To: perlbug [...]
From: sam [...]
Subject: PerlIO_reopen is missing from perlsfio.h
Date: Sat, 03 Jul 1999 02:34:34 -0700
Download (untitled) / with headers
text/plain 2.5k
----------------------------------------------------------------- My module (CGI::SpeedyCGI version 1.8.2) won't compile with sfio because perlsfio.h does not define PerlIO_reopen. Could this be added? *** perlsfio.h.orig Sat Jul 3 01:40:47 1999 --- perlsfio.h Sat Jul 3 01:56:02 1999 *************** *** 18,23 **** --- 18,24 ---- #define PerlIO_write(f,buf,count) sfwrite(f,buf,count) #define PerlIO_open(path,mode) sfopen(NULL,path,mode) #define PerlIO_fdopen(fd,mode) _stdopen(fd,mode) + #define PerlIO_reopen(path,mode,f) sfopen(f,path,mode) #define PerlIO_close(f) sfclose(f) #define PerlIO_puts(f,s) sfputr(f,s,-1) #define PerlIO_putc(f,c) sfputc(f,c) ----------------------------------------------------------------- --- Site configuration information for perl 5.00503: Configured by sam at Sat Jul 3 01:32:57 PDT 1999. Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration: Platform: osname=linux, osvers=2.2.9, archname=i686-linux uname='linux 2.2.9 #3 sat jun 5 02:12:27 pdt 1999 i686 unknown ' hint=recommended, useposix=true, d_sigaction=define usethreads=undef useperlio=define d_sfio=define Compiler: cc='gcc', optimize='-O2', gccversion= cppflags='-Dbool=char -DHAS_BOOL' ccflags ='-Dbool=char -DHAS_BOOL' stdchar='char', d_stdstdio=define, usevfork=false intsize=4, longsize=4, ptrsize=4, doublesize=8 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 alignbytes=4, usemymalloc=n, prototype=define Linker and Libraries: ld='gcc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lsfio -lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lposix -lcrypt libc=, so=so, useshrplib=true, Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic -Wl,-rpath,/pkg/perl5.005_03/lib/5.00503/i686-linux/CORE' cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib' Locally applied patches: --- @INC for perl 5.00503: /pkg/perl5.005_03/lib/5.00503/i686-linux /pkg/perl5.005_03/lib/5.00503 /pkg/perl5.005_03/lib/site_perl/5.005/i686-linux /pkg/perl5.005_03/lib/site_perl/5.005 . --- Environment for perl 5.00503: HOME=/share/sam LANG (unset) LANGUAGE (unset) LD_LIBRARY_PATH (unset) LOGDIR (unset) PATH=/pkg/perl5.005_03/bin:/share/sam/bin:/share/sam/bin/Linux:/usr/local/pkg/jdk1.1.5/bin:/pkg/bin/:/bin:/usr/bin:/usr/games:/usr/local/bin:/usr/local/sbin:/usr/sbin:/sbin:/stand:/usr/X11R6/bin:/usr/openwin/bin:/usr/dt/bin:/usr/ccs/bin PERL_BADLANG (unset) SHELL=/pkg/bin/tcsh

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at