Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PerlIO_reopen is missing from perlsfio.h #155

p5pRT opened this issue Jul 3, 1999 · 1 comment

PerlIO_reopen is missing from perlsfio.h #155

p5pRT opened this issue Jul 3, 1999 · 1 comment


Copy link

p5pRT commented Jul 3, 1999

Migrated from (status was 'resolved')

Searchable as RT960$

Copy link

p5pRT commented Jul 3, 1999


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​:
  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
  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​:

Environment for perl 5.00503​:
  LANG (unset)
  LANGUAGE (unset)
  LOGDIR (unset)
  PERL_BADLANG (unset)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

1 participant