fix coredump when upgrading PL_sv_yes in a second call to
[p5sagit/p5-mst-13.2.git] / os2 / os2.c
index 8a17ae7..97e8899 100644 (file)
--- a/os2/os2.c
+++ b/os2/os2.c
@@ -777,7 +777,7 @@ U32 addflag;
                                                   long enough. */
                            a--;
                        }
-                       while (nargs-- >= 0)
+                       while (--nargs >= 0)
                            PL_Argv[nargs] = argsp[nargs];
                        /* Enable pathless exec if #! (as pdksh). */
                        pass = (buf[0] == '#' ? 2 : 3);