Changeset cc94b0a in git for Singular/feread.cc


Ignore:
Timestamp:
Mar 31, 1998, 11:00:50 AM (26 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
bc82d60fa171675a0c23a3e2051318500187aa39
Parents:
c9ea817ef59b4d9f8adaa507840ddb8ff4d4a945
Message:
Tue Mar 31 10:47:06 MET DST 1998 hannes
        * feread.cc: fixed handling of empty history
	* clapsing.cc: fixed gcd(0,..) and gcd(..,0) -> pOne()
	* febase.h/febase.inc: renaming of scanner variables
	  ( yy_blocklineno, yy_noeof)
	* febase.inc: increased speed in feReadLine
	* minor changes in scanner/grammar/iparith.cc (example)


git-svn-id: file:///usr/local/Singular/svn/trunk@1291 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/feread.cc

    rc9ea817 rcc94b0a  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: feread.cc,v 1.8 1998-03-16 19:07:50 Singular Exp $ */
     4/* $Id: feread.cc,v 1.9 1998-03-31 09:00:40 Singular Exp $ */
    55/*
    66* ABSTRACT: input from ttys, simulating fgets
     
    668668
    669669    /* try to read a history */
     670    using_history();
    670671    read_history (".singular_hist");
    671672  } 
     
    675676{
    676677  /* try to read a history */
    677   if(!feBatch && !fe_use_fgets)
     678  if(!feBatch && !fe_use_fgets && (history_total_bytes()!=0))
    678679    write_history (".singular_hist");
    679680}
Note: See TracChangeset for help on using the changeset viewer.