Fix a potential bug in stage2.
disable the dialog_msgbox in TellEm(), until we find out why it hangs on second or third invocation.
This commit is contained in:
parent
f9ee10c7bb
commit
e15766c491
@ -6,7 +6,7 @@
|
||||
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
|
||||
* ----------------------------------------------------------------------------
|
||||
*
|
||||
* $Id: stage2.c,v 1.10 1994/11/02 06:19:46 jkh Exp $
|
||||
* $Id: stage2.c,v 1.11 1994/11/02 11:00:35 jkh Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -41,6 +41,7 @@ stage2()
|
||||
|
||||
for (i = 1; Fname[i]; i++)
|
||||
Fsize[i] = i;
|
||||
Fsize[i] = 0;
|
||||
|
||||
for (j = 1; j;)
|
||||
for (j = 0, i = 1; Fsize[i+1]; i++) {
|
||||
|
@ -6,7 +6,7 @@
|
||||
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
|
||||
* ----------------------------------------------------------------------------
|
||||
*
|
||||
* $Id: utils.c,v 1.19 1994/11/02 22:06:24 phk Exp $
|
||||
* $Id: utils.c,v 1.20 1994/11/03 00:28:05 ache Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -92,7 +92,9 @@ TellEm(char *fmt, ...)
|
||||
write(debug_fd,"Progress <",10);
|
||||
write(debug_fd,p,strlen(p));
|
||||
write(debug_fd,">\n\r",3);
|
||||
/* XXX This is broken just now, on second or third call it will hang
|
||||
dialog_msgbox("Progress", p, strheight(p)+2, strwidth(p)+4, 0);
|
||||
*/
|
||||
free(p);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user