This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Avoid false negatives on Win32 with Shell.t tests.
[perl5.git] / pp_sys.c
index 23f79ba..ec12cd4 100644 (file)
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -1919,7 +1919,7 @@ PP(pp_send)
                    DIE(aTHX_ "Offset outside string");
                }
                offset += blen_chars;
-           } else if (offset >= (IV)blen_chars && blen_chars > 0) {
+           } else if (offset >= (IV)blen_chars) {
                Safefree(tmpbuf);
                DIE(aTHX_ "Offset outside string");
            }