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

croak eats error string #277

Closed
p5pRT opened this issue Jul 28, 1999 · 2 comments
Closed

croak eats error string #277

p5pRT opened this issue Jul 28, 1999 · 2 comments

Comments

@p5pRT
Copy link

p5pRT commented Jul 28, 1999

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

Searchable as RT1099$

@p5pRT
Copy link
Author

p5pRT commented Jul 28, 1999

From pcg@goof.com

The new changes in _58 with regards to Carp do not work. Carp​::croak
eats the error string, i.e.​:

Carp​::croak ("message") results in (say)​: " at ./xcftopnm line 56".

The cuplrit seems to be "shortmess" that seems to ignore its
argument. Reverting to the _57 Carp.pm solved it.

Perl Info


Site configuration information for perl 5.00558:

Configured by root at Wed Jul 28 00:13:33 CEST 1999.

Summary of my perl5 (revision 5.0 version 5 subversion 58) configuration:
  Platform:
    osname=linux, osvers=2.2, archname=i686-linux
    uname='linux cerebro 2.2.10 #177 smp fri jul 2 01:51:49 cest 1999 i686 '
    config_args=''
    hint=previous, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
    use64bits=undef usemultiplicity=undef
  Compiler:
    cc='gcc', optimize='-O6 -funroll-all-loops', gccversion=pgcc-2.95 19990718 (prerelease)
    cppflags='-D_REENTRANT -Dbool=char -DHAS_BOOL -I/usr/local/include -D_GNU_SOURCE'
    ccflags ='-D_REENTRANT -Dbool=char -DHAS_BOOL -I/usr/local/include -D_GNU_SOURCE'
    stdchar='char', d_stdstdio=undef, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    alignbytes=4, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lndbm -lgdbm -ldl -lm -lc -lposix -lcrypt
    libc=, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'

Locally applied patches:
    


@INC for perl 5.00558:
    /usr/app/lib/perl5/i686-linux/
    /usr/app/lib/perl5
    /usr/app/lib/perl5/site_perl/i686-linux
    /usr/app/lib/site_perl
    .


Environment for perl 5.00558:
    HOME=/root
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/root/ms:/root/cc/dejagnu/bin:/usr/app/qt/bin/:.:/root/s:/bin:/sbin:/usr/bin:/usr/sbin:/usr/app/bin:/usr/app/sbin:/usr/X11/bin:/usr/games:/usr/maple/bin:/usr/kde/bin:/usr/gnome/bin:/opt/bin
    PERLDB_OPTS=ornaments=0
    PERL_BADLANG (unset)
    SHELL=/bin/bash

@p5pRT
Copy link
Author

p5pRT commented Jul 28, 1999

From [Unknown Contact. See original ticket]

Marc Lehmann writes​:

The new changes in _58 with regards to Carp do not work. Carp​::croak
eats the error string, i.e.​:

Carp​::croak ("message") results in (say)​: " at ./xcftopnm line 56".

The cuplrit seems to be "shortmess" that seems to ignore its
argument. Reverting to the _57 Carp.pm solved it.

perl5.005_58>.\perl -Ilib -mCarp -e "Carp​::croak 'msg'"
msg at -e line 1

Please send a failing testcase.

Ilya

@p5pRT p5pRT closed this as completed Nov 28, 2003
jkeenan pushed a commit that referenced this issue Nov 2, 2023
0.000159  2023-10-25 14:09:23-07:00 America/Los_Angeles

    - Document that diag() intentionally returns false, and add a `return 0`

0.000158  2023-10-22 22:05:42-07:00 America/Los_Angeles

    - Mark Workflow-Acceptance.t as AUTHOR_TESTING

0.000157  2023-10-22 21:26:49-07:00 America/Los_Angeles

    - Fix #280: Document --no_srand option in Test2::V0
    - Fix #276: Document bool() import in Test2::V0
    - Fix #279: Merged fix for VMS test issues
    - Fix #277: Merged POD tweaks
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