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

perlguts man page error #667

Closed
p5pRT opened this issue Oct 1, 1999 · 1 comment
Closed

perlguts man page error #667

p5pRT opened this issue Oct 1, 1999 · 1 comment

Comments

@p5pRT
Copy link

p5pRT commented Oct 1, 1999

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

Searchable as RT1547$

@p5pRT
Copy link
Author

p5pRT commented Oct 1, 1999

From makler@oryl.man.torun.pl

<perlguts man page now>
Also remember that C doesn't allow you to safely say
foo(SvPV(s, len), len);. It might work with your compiler,
but it won't work for everyone. Break this sort of
statement up into separate assignments​:

  STRLEN len;
  char * ptr;
! ptr = SvPV(len);
  foo(ptr, len);
</perlguts man page now>

<perlguts should be>
Also remember that C doesn't allow you to safely say
foo(SvPV(s, len), len);. It might work with your compiler,
but it won't work for everyone. Break this sort of
statement up into separate assignments​:

+ SV * s;
  STRLEN len;
  char * ptr;
! ptr = SvPV(s, len);
  foo(ptr, len);
</perlguts should be>

Perl Info


Site configuration information for perl 5.00503:

Configured by makler at Wed Apr 14 16:46:59 MET DST 1999.

Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
  Platform:
    osname=solaris, osvers=2.6, archname=sun4-solaris-thread
    uname=''
    hint=previous, useposix=true, d_sigaction=define
    usethreads=define useperlio=undef d_sfio=undef
  Compiler:
    cc='gcc', optimize='-O2', gccversion=egcs-2.91.66 19990314 (egcs-1.1.2 release)
    cppflags='-s -D_REENTRANT -I/usr/local/include'
    ccflags ='-s -D_REENTRANT -I/usr/local/include'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='gcc -B/usr/ccs/bin/', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -lgdbm -ldb -ldl -lm -lposix4 -lpthread -lc -lcrypt
    libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='  -R /usr/local/opt/GNUperl/lib/5.00503/sun4-solaris-thread/CORE'
    cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'

Locally applied patches:
    


@INC for perl 5.00503:
    /home/torman/admin/makler/lib/perl
    /usr/local/opt/GNUperl/lib/5.00503/sun4-solaris-thread
    /usr/local/opt/GNUperl/lib/5.00503
    /usr/local/opt/GNUperl/lib/site_perl/5.005/sun4-solaris-thread
    /usr/local/opt/GNUperl/lib/site_perl/5.005
    .


Environment for perl 5.00503:
    HOME=/home/torman/admin/makler
    LANG=pl
    LANGUAGE (unset)
    LC_ALL=pl
    LC_COLLATE=pl
    LC_CTYPE=iso_8859_1
    LC_MESSAGES=C
    LC_MONETARY=pl
    LC_NUMERIC=pl
    LC_TIME=pl
    LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/usr/local/pgsql/lib:/usr/dt/lib:/usr/local/qt/lib:/usr/local/kde/lib:/usr/openwin/lib:/usr/java/lib:/home/torman/admin/makler/lib:/opt/RICHPse/lib:/opt/SUNWdtpcv/lib:/opt/SUNWspro/lib:/opt/SUNWtnftl/lib:/usr/local/etc/lib:.
    LOGDIR (unset)
    PATH=/home/torman/admin/makler/bin:/home/torman/admin/makler/bin:/usr/java1.2/bin:/usr/bin:/usr/ccs/bin:/usr/local/bin:/usr/ucb:/usr/dt/bin:/usr/local/qt/bin:/usr/openwin/bin:/usr/sbin:/usr/local/kde/bin:/usr/local/samba/bin:/home/torman/admin/makler/bin:.:/opt/HotJava/bin:/opt/RICHPse/bin:/opt/SUNWdtpcv/bin:/opt/SUNWspro/bin:/opt/SUNWste/bin:/opt/SUNWtnftl/bin:/usr/local/etc/bin:.:/usr/sbin:.
    PERLLIB=/home/torman/admin/makler/lib/perl
    PERL_BADLANG (unset)
    SHELL=/bin/tcsh

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

No branches or pull requests

1 participant