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

io/dup.t test 7 fails; 5.005_61 + FreeBSD 3.1-STABLE #482

p5pRT opened this issue Sep 6, 1999 · 1 comment

io/dup.t test 7 fails; 5.005_61 + FreeBSD 3.1-STABLE #482

p5pRT opened this issue Sep 6, 1999 · 1 comment


Copy link

@p5pRT p5pRT commented Sep 6, 1999

Migrated from (status was 'resolved')

Searchable as RT1323$

Copy link

@p5pRT p5pRT commented Sep 6, 1999


# 7 # 19990811 mjd@​
my ($out1, $out2) = ("Line 1\n", "Line 2\n");
open(W, "> Io.dup") || die "Can't open stdout";
print W $out1, $out2;
close W;
open(R1, "< Io.dup") || die "Can't read temp file";
$in1 = <R1>;
open(R2, "<&R1") || die "Can't dup";
$in2 = <R2>;
print "not " unless $in1 eq $out1 && $in2 eq $out2;
print "ok 7\n";

# -><- I added the next 4 lines to show the nature of the error.
warn "out1​: $out1";
warn "out2​: $out2";
warn "in1​: $in1";
warn "in2​: $in2";


unix​:/misc/src/perl5.005_61/t# io/dup.t
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
not ok 7
out1​: Line 1
out2​: Line 2
in1​: Line 1
in2​: at io/dup.t line 56.

Perl Info

Site configuration information for perl 5.00561:

Configured by troc at Mon Sep  6 13:31:45 EDT 1999.

Summary of my perl5 (revision 5.0 version 5 subversion 61) configuration:
    osname=freebsd, osvers=3.1-stable, archname=i386-freebsd-thread
    uname='freebsd unix.homenet 3.1-stable freebsd 3.1-stable #14: fri may 28 13:58:18 edt 1999 troc@unix.homenet:usrsrcsyscompilecustom i386 '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define useperlio=undef d_sfio=undef
    use64bits=undef usemultiplicity=undef
    cc='cc', optimize='-O2 -g', gccversion=
    cppflags='-DDEBUGGING -I/usr/local/include'
    ccflags ='-DDEBUGGING -I/usr/local/include'
    stdchar='char', d_stdstdio=undef, usevfork=true
    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='cc', ldflags ='-pthread -Wl,-E  -L/usr/local/lib'
    libpth=/usr/lib /usr/local/lib
    libs=-lm -lc_r -lcrypt
    libc=, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-DPIC -fpic', lddlflags='-shared  -L/usr/local/lib'

Locally applied patches:

@INC for perl 5.00561:

Environment for perl 5.00561:
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH (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
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant