Mail Archives: djgpp/1993/05/14/11:00:00
>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 -