[BACK]Return to debug.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2000 / parse

Diff for /OpenXM_contrib2/asir2000/parse/debug.c between version 1.6 and 1.7

version 1.6, 2000/12/05 01:24:56 version 1.7, 2000/12/22 10:03:31
Line 45 
Line 45 
  * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,   * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,
  * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.   * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.
  *   *
  * $OpenXM: OpenXM_contrib2/asir2000/parse/debug.c,v 1.5 2000/08/22 05:04:26 noro Exp $   * $OpenXM: OpenXM_contrib2/asir2000/parse/debug.c,v 1.6 2000/12/05 01:24:56 noro Exp $
 */  */
 #include "ca.h"  #include "ca.h"
 #include "parse.h"  #include "parse.h"
Line 227  SNODE f;
Line 227  SNODE f;
 #endif  #endif
         char buf[BUFSIZ];          char buf[BUFSIZ];
         char prompt[BUFSIZ];          char prompt[BUFSIZ];
         char *p,*pe;          char *p,*pe,*line;
         NODE tn;          NODE tn;
         extern int kernelmode,do_fep;          extern int kernelmode,do_fep;
         NODE pvss;          NODE pvss;
Line 252  SNODE f;
Line 252  SNODE f;
                 fputc('\0',stderr);                  fputc('\0',stderr);
         setjmp(debug_env);          setjmp(debug_env);
         while ( 1 ) {          while ( 1 ) {
                 if ( !do_server_in_X11 )  #if FEP
                         fputs(prompt,stderr);                  if ( !do_fep )
   #endif
                           if ( !do_server_in_X11 )
                                   fputs(prompt,stderr);
                 bzero(buf,BUFSIZ);                  bzero(buf,BUFSIZ);
                 while ( 1 ) {                  while ( 1 ) {
   #if FEP
                           if ( do_fep ) {
                                   line = (char *)readline_console(prompt);
                                   strcpy(buf,line); free(line);
                           } else
   #endif
                         {                          {
                                 int len;                                  int len;
   

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>