diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-12-28 01:20:39 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-12-28 01:20:39 +0000 |
commit | 9a7dcd9c47ba9757eae19d3e3965b387f5197198 (patch) | |
tree | 528507e78c33e9fafd66c09dfe446256af25d29f /doio.c | |
parent | a67e862a325388c91a8a3eee7f587636c9a77259 (diff) | |
download | perl-9a7dcd9c47ba9757eae19d3e3965b387f5197198.tar.gz |
partly fix perldiag regressions identified by Tom Christiansen
p4raw-id: //depot/perl@4709
Diffstat (limited to 'doio.c')
-rw-r--r-- | doio.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -236,7 +236,7 @@ Perl_do_open9(pTHX_ GV *gv, register char *name, I32 len, int as_raw, dTHR; name[strlen(name)-1] = '\0' ; if (ckWARN(WARN_PIPE)) - Perl_warner(aTHX_ WARN_PIPE, "Can't do bidirectional pipe"); + Perl_warner(aTHX_ WARN_PIPE, "Can't open bidirectional pipe"); } fp = PerlProc_popen(name,"w"); writing = 1; @@ -660,9 +660,9 @@ Perl_nextargv(pTHX_ register GV *gv) if (!S_ISREG(PL_statbuf.st_mode)) Perl_warner(aTHX_ WARN_INPLACE, "Can't do inplace edit: %s is not a regular file", - PL_oldname ); + PL_oldname); else - Perl_warner(aTHX_ WARN_INPLACE, "Can't open %s: %s\n", + Perl_warner(aTHX_ WARN_INPLACE, "Can't open %s: %s", PL_oldname, Strerror(errno)); } } |