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

[META] UTF-8 I/O Handles #11982

Open
p5pRT opened this issue Mar 2, 2012 · 1 comment
Open

[META] UTF-8 I/O Handles #11982

p5pRT opened this issue Mar 2, 2012 · 1 comment

Comments

@p5pRT
Copy link

p5pRT commented Mar 2, 2012

Migrated from rt.perl.org#111482 (status was 'new')

Searchable as RT111482$

@p5pRT
Copy link
Author

p5pRT commented Mar 2, 2012

From @rjbs

Created by @rjbs

There are several avenues by which input bytes are marked as being UTF-8
when, in fact, they are not. This results in invalid program state, and
when the data are output, can also have deleterious effects on
downstream programs.

Perl Info

Flags:
    category=core
    severity=high

Site configuration information for perl 5.15.8:

Configured by rjbs at Mon Feb 20 19:39:06 EST 2012.

Summary of my perl5 (revision 5 version 15 subversion 8) configuration:
   
  Platform:
    osname=darwin, osvers=11.3.0, archname=darwin-2level
    uname='darwin walrus.local 11.3.0 darwin kernel version 11.3.0: thu jan 12 18:47:41 pst 2012; root:xnu-1699.24.23~1release_x86_64 x86_64 '
    config_args='-de -Dprefix=/Users/rjbs/perl5/perlbrew/perls/15.8 -Dusedevel'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=undef, usemultiplicity=undef
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/opt/local/include',
    optimize='-O3',
    cppflags='-fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/opt/local/include'
    ccversion='', gccversion='4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags =' -fstack-protector -L/usr/local/lib -L/opt/local/lib'
    libpth=/usr/local/lib /opt/local/lib /usr/lib
    libs=-lgdbm -ldbm -ldl -lm -lutil -lc
    perllibs=-ldl -lm -lutil -lc
    libc=, so=dylib, useshrplib=false, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup -L/usr/local/lib -L/opt/local/lib -fstack-protector'

Locally applied patches:
    


@INC for perl 5.15.8:
    /Users/rjbs/.perlbrew/libs/15.8@std/lib/perl5/darwin-2level
    /Users/rjbs/.perlbrew/libs/15.8@std/lib/perl5/darwin-2level
    /Users/rjbs/.perlbrew/libs/15.8@std/lib/perl5
    /Users/rjbs/perl5/perlbrew/perls/15.8/lib/site_perl/5.15.8/darwin-2level
    /Users/rjbs/perl5/perlbrew/perls/15.8/lib/site_perl/5.15.8
    /Users/rjbs/perl5/perlbrew/perls/15.8/lib/5.15.8/darwin-2level
    /Users/rjbs/perl5/perlbrew/perls/15.8/lib/5.15.8
    .


Environment for perl 5.15.8:
    DYLD_LIBRARY_PATH (unset)
    HOME=/Users/rjbs
    LANG=en_US.UTF-8
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/Users/rjbs/.perlbrew/libs/15.8@std/bin:/Users/rjbs/perl5/perlbrew/bin:/Users/rjbs/perl5/perlbrew/perls/15.8/bin:/Users/rjbs/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/local/bin
    PERL5LIB=/Users/rjbs/.perlbrew/libs/15.8@std/lib/perl5/darwin-2level:/Users/rjbs/.perlbrew/libs/15.8@std/lib/perl5
    PERLBREW_BASHRC_VERSION=0.41
    PERLBREW_HOME=/Users/rjbs/.perlbrew
    PERLBREW_LIB=std
    PERLBREW_MANPATH=/Users/rjbs/.perlbrew/libs/15.8@std/man:/Users/rjbs/perl5/perlbrew/perls/15.8/man
    PERLBREW_PATH=/Users/rjbs/.perlbrew/libs/15.8@std/bin:/Users/rjbs/perl5/perlbrew/bin:/Users/rjbs/perl5/perlbrew/perls/15.8/bin
    PERLBREW_PERL=15.8
    PERLBREW_ROOT=/Users/rjbs/perl5/perlbrew
    PERLBREW_VERSION=0.41
    PERLDOC=-n/opt/local/bin/groff
    PERL_AUTOINSTALL=--skipdeps
    PERL_BADLANG (unset)
    PERL_LOCAL_LIB_ROOT=/Users/rjbs/.perlbrew/libs/15.8@std
    PERL_MB_OPT=--install_base /Users/rjbs/.perlbrew/libs/15.8@std
    PERL_MM_OPT=INSTALL_BASE=/Users/rjbs/.perlbrew/libs/15.8@std
    SHELL=/opt/local/bin/zsh

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

3 participants