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

Closed
p5pRT opened this issue Jul 3, 1999 · 1 comment
Closed

PerlIO_reopen is missing from perlsfio.h #155

p5pRT opened this issue Jul 3, 1999 · 1 comment

Comments

@p5pRT
Copy link
Collaborator

@p5pRT p5pRT commented Jul 3, 1999

Migrated from rt.perl.org#960 (status was 'resolved')

Searchable as RT960$

@p5pRT
Copy link
Collaborator Author

@p5pRT p5pRT commented Jul 3, 1999

From sam@daemoninc.com


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 daemon.daemoninc.com 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=2.7.2.3
  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, libperl=libperl.so
  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

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

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.