www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/05/14/11:00:00

Date: Fri, 14 May 1993 10:25 EDT
From: "Wonkoo Kim, EE, U. of Pittsburgh" <WKIM AT vms DOT cis DOT pitt DOT edu>
Subject: Re: go32 ??
To: kuku AT acds DOT physik DOT rwth-aachen DOT DE, djgpp AT sun DOT soe DOT clarkson DOT EDU

>From: kuku AT acds DOT physik DOT rwth-aachen DOT DE (Christoph Kukulies)
>Subject: RE: go32 ??
>
>I believe the paging.c patch was for 1.08 and is no longer necessary for 1.09
>
>I'm not using this patch under 1.09 and I'm using system() without trouble
>from within a large program.

In the message I received from fine AT main1 DOT jinr DOT dubna DOT SU, there was the 
following program, named go32chk.c,

#include <stdio.h>
char a[24576]={1};
void main()
{       
    printf ("1: a[12288]= %d\n",a[12288]);
    a[12288]=-1;
    printf ("2: a[12288]= %d\n",a[12288]);
 
    system("echo child process");
 
    printf ("   a[8192]= %d\n",a[8192]);
    printf ("3: a[12288]= %d\n",a[12288]);
}

With the original go32 1.09 on my machine, the result was a[12288]= 0 (of
course it should be -1) after system() call.  The paging.c patch corrected
this.  So, I believe, though paging.c patch isn't good for 1.09, go32 1.09
NEEDS some patch anyway! 

And, I found a new fact on system() error.  Find out my another message.

Thanks.

Wonkoo.

- Raw text -


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