delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1996/08/19/05:10:09

Date: Mon, 19 Aug 1996 12:05:36 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: DJ Delorie <dj AT delorie DOT com>, djgpp-workers AT delorie DOT com
Subject: Re: `system' and wildcard expansion
In-Reply-To: <Pine.SUN.3.91.960818130006.1338B-100000@is>
Message-Id: <Pine.SUN.3.91.960819120229.4450O-100000@is>
Mime-Version: 1.0

Chapter 2, in which my shame is revealed by CWSDPMI null pointer 
protection.  (There should be a law against using other DPMI hosts when 
testing DJGPP software.)

*** src/libc/dos/process/dosexec.c~5	Fri Aug  9 21:47:40 1996
--- src/libc/dos/process/dosexec.c	Mon Aug 19 11:25:22 1996
***************
*** 631,637 ****
    {
      /* If PROGRAM is an un-stubbed COFF, it must be passed in the
         command tail as well, since we call GO32 to run it.  */
!     for (i = (is_stubbed ? 1 : 0); i <= argc; i++)
      {
        const char *p = argv[i];
        if (cmdp - cmdline > CMDLEN_LIMIT)
--- 631,637 ----
    {
      /* If PROGRAM is an un-stubbed COFF, it must be passed in the
         command tail as well, since we call GO32 to run it.  */
!     for (i = (is_stubbed ? 1 : 0); i < argc; i++)
      {
        const char *p = argv[i];
        if (cmdp - cmdline > CMDLEN_LIMIT)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019