Karim BELABAS on Mon, 12 Oct 1998 21:14:05 +0200 (MET DST) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: echoing on startup |
[Igor Schein writes:] > Hi, I have a few lines in my .gprc files, including the line > read "mylibrary". The last line of .gprc is echo = 1. How come it > echoes on the startup everything it's reading from "mylibrary"? [...] > is it how it was designed to be? No. Karim. *** src/gp/gp.c.orig Mon Oct 5 20:39:16 1998 --- src/gp/gp.c Mon Oct 12 21:09:40 1998 *************** *** 2728,2739 **** if (!quiet_mode) gp_head(); if (flist) { ! long c=chrono, b=bufindex; FILE *l=logfile; char **s = flist; ! bufindex = 0; chrono=0; logfile=NULL; for ( ; *s; s++) { read0(*s); free(*s); } ! bufindex = b; chrono=c; logfile=l; free(flist); } gptimer(); timer2(); (void)gp_main_loop(); --- 2728,2739 ---- if (!quiet_mode) gp_head(); if (flist) { ! long c=chrono, b=bufindex, e=pariecho; FILE *l=logfile; char **s = flist; ! bufindex = 0; chrono=0; pariecho=0; logfile=NULL; for ( ; *s; s++) { read0(*s); free(*s); } ! bufindex = b; chrono=c; pariecho=e; logfile=l; free(flist); } gptimer(); timer2(); (void)gp_main_loop(); -- Karim Belabas email: Karim.Belabas@math.u-psud.fr Dep. de Mathematiques, Bat. 425 Universite Paris-Sud Tel: (00 33) 1 69 15 57 48 F-91405 Orsay (France) Fax: (00 33) 1 69 15 60 19 -- PARI/GP Home Page: http://pari.home.ml.org