p4raw-id: //depot/perl@2633
newlen = SP - MARK;
diff = newlen - length;
- if (newlen && !AvREAL(ary)) {
- if (AvREIFY(ary))
- av_reify(ary);
- else
- assert(AvREAL(ary)); /* would leak, so croak */
- }
+ if (newlen && !AvREAL(ary) && AvREIFY(ary))
+ av_reify(ary);
if (diff < 0) { /* shrinking the area */
if (newlen) {
exists $ENV{PATH} ? ":$ENV{PATH}" : "";
$ENV{LC_ALL} = "C"; # so that external utilities speak English
+sub quit {
+ print "1..0\n";
+ exit 0;
+}
+
+quit() if $^O eq 'MSWin32';
+
# We have to find a command that prints all (effective
# and real) group names (not ids). The known commands are:
# groups
last GROUPS;
}
# Okay, not today.
- print "1..0\n";
- exit 0;
+ quit();
}
# Remember that group names can contain whitespace, '-', et cetera.