www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/07/26/13:02:11

Date: 26 Jul 1993 12:46:22 -0400 (EDT)
From: JMILLER AT CHESS DOT EISC DOT UTOLEDO DOT EDU
Subject: system() problem in go32 V1.09
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Organization: Edison Industrial Systems Center

I have encountered a problem with go32 v1.09 in which the program will
hang sometimes when a system call is made to beep:

system("beep 500 2);

This calls 4dos beep which is an extremely crude way to generate an alarm
signal. When I change the above call to printf("\a") everything is fine.
The problem goes away with the go32 variant shipped with disp146. My concernt
(make that concern: Stupid vax mail editor :-() here is that I use system
in other more important and much less trivial routines. Was there a bug in
1.09 that was fixed in 1.10 or did the problem go away because I am corrupting
something that is in a different location in 1.10? Also, will the changes in
the go32 for disp146 become part of the offical release of go32?

Thanks in advance

John Miller

- Raw text -


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