Changeset 6d09c56 in git


Ignore:
Timestamp:
Apr 28, 1997, 9:25:50 PM (27 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
Children:
6f2edcfe951d4496db2b2d3de66ffcd8e9035cb1
Parents:
2c24d8d36711c0ab829b5daaa6b8a685f287e272
Message:
Mon Apr 28 21:00:07 1997  Olaf Bachmann
<obachman@ratchwum.mathematik.uni-kl.de (Olaf Bachmann)>

	* Added README, INSTALL, COPYING file to distribution

	* tesths.cc (main): slightly changed Singular banner; fixed
	  display of version number


git-svn-id: file:///usr/local/Singular/svn/trunk@204 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
Singular
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • Singular/ChangeLog

    r2c24d8d r6d09c56  
     1Mon Apr 28 21:00:07 1997  Olaf Bachmann  <obachman@ratchwum.mathematik.uni-kl.de (Olaf Bachmann)>
     2
     3        * Added README, INSTALL, COPYING file to distribution
     4
     5        * tesths.cc (main): slightly changed Singular banner; fixed
     6          display of version number
     7
    18Fri Apr 25 16:59:31 1997  Olaf Bachmann  <obachman@ratchwum.mathematik.uni-kl.de (Olaf Bachmann)>
    29
  • Singular/Makefile.in

    r2c24d8d r6d09c56  
    147147mod2.h: configure mod2.h.in Makefile.in
    148148        ./configure ${CONFIGURE_INPUT}
    149         touch -r mod2.h configure configure.in
     149        touch -r mod2.h configure configure.in Makefile.in
    150150
    151151configure: configure.in
     
    164164        ${MKINSTALLDIRS} ${singulardatadir}
    165165        ${MKINSTALLDIRS} ${singulardatadir}/gftables
    166         for file in ${srcdir}/LIB/gftables/*; do \
     166        for file in ${srcdir}/LIB/gftables/[0-9]*; do \
    167167                ${INSTALL_DATA} $${file} ${singulardatadir}/gftables; \
    168168        done
     
    195195        -rm configure scanner.cc grammar.h grammar.cc
    196196
     197check:  Makefile.in tests/check tests/output
     198        cd tests; tests/check ${bindir}/Singular; cd ..
    197199
    198200dist:
  • Singular/mod2.h.in

    r2c24d8d r6d09c56  
    140140 * Miscellanous Defines
    141141 ******************************************************************/
     142/* define MM_COUNT to enable "memory(0)" (resp. memory(1))*/
     143#define MM_COUNT 1
     144
    142145/* define YYDEBUG 1 for debugging bison texts, 0 otherwise */
    143146#define YYDEBUG 0
     
    201204/* define TEST for non time critical tests, undefine otherwise */
    202205#define TEST
    203 /* define MM_COUNT 1 for use of "memory(0/1)", undefine otherwise */
    204 #define MM_COUNT 1
    205206/* define MM_STAT for printing block stats */
    206207/* #define MM_STAT 1 */
  • Singular/tesths.cc

    r2c24d8d r6d09c56  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: tesths.cc,v 1.9 1997-04-28 17:47:16 Singular Exp $ */
     4/* $Id: tesths.cc,v 1.10 1997-04-28 19:25:50 obachman Exp $ */
    55
    66/*
     
    6464          if (errno != ERANGE && ptr != argv[2])
    6565#else
    66           double mintime = 0.0;
     66          double mintime = 0;
    6767          sscanf(argv[2],"%f", &mintime);
    6868          if (mintime != 0.0)
     
    7474          }
    7575          else
    76             printf("Can not convert %s to a float\n", argv[2]);
     76            fprintf(stderr, "Can not convert %s to a float\n", argv[2]);
    7777        }
    7878        else
    7979        {
    80           printf("Need a float to set mintime");
     80          fprintf(stderr, "Need a float to set mintime");
    8181        }
    8282      }
     
    8989#ifdef HAVE_STRTOL       
    9090        long res = strtol(argv[2], &ptr, 10);
    91         if (errno != ERANGE && ptr != argv[2])
     91        if (errno != ERANGE && ptr != argv[2] && res > 0)
    9292#else
    9393        long res = 0;
    9494        sscanf(argv[2],"%d", &res);
    95         if (res != 0)
     95        if (res > 0)
    9696#endif         
    9797        {
     
    101101        }
    102102        else
    103           printf("Can not convert %s to an integer\n", argv[2]);
     103          fprintf(stderr,"Can not convert %s to an integer > 0\n", argv[2]);
    104104      }
    105105      else
    106106      {
    107         printf("Need an integer to set timer resolution");
     107        fprintf(stderr,"Need an integer to set timer resolution");
    108108      }
    109109    }
     
    119119            case 'V':
    120120            case 'v':{
    121               printf("Singular %s %s(%d) %s %s\n",
     121              printf("Singular %s  %s  (%d) %s %s\n",
    122122                     S_VERSION1,S_VERSION2,
    123123                     VERSION_ID,__DATE__,__TIME__);
     
    218218  {
    219219    printf(
    220 "              Welcome to SINGULAR                /\n"
    221 "           A Computer Algebra System           o<\n"
    222 " for Algebraic Geometry and Singularity Theory   \\\n\n"
     220"              Welcome to SINGULAR                  /\n"
     221"           A Computer Algebra System             o<\n"
     222" for Commutative Algebra and Algebraic Geometry    \\\n\n"
    223223"by: G.-M. Greuel, G. Pfister, H. Schoenemann\n"
    224224"Fachbereich Mathematik der Universitaet, D-67653 Kaiserslautern\n"
    225225"contributions: O.Bachmann,W.Decker,H.Grassmann,B.Martin,M.Messollen,W.Neumann,\n"
    226226"W.Pohl,T.Siebert,R.Stobbe                 e-mail: singular@mathematik.uni-kl.de\n");
    227     printf("%s %s",S_VERSION1,S_VERSION2);
    228     printf(" (%d)\n\nPlease note:  EVERY COMMAND MUST END WITH A SEMICOLON \";"
    229            "\"\n(e.g. help; help command; help General syntax; help ring; quit;)\n\n",
    230            VERSION_ID);
     227    printf("%s  %s  (%d)",S_VERSION1,S_VERSION2, VERSION_ID);
     228    printf("\n\nPlease note:  EVERY COMMAND MUST END WITH A SEMICOLON \";"
     229           "\"\n(e.g. help; help command; help General syntax; help ring; quit;)\n\n");
    231230  }
    232231  else
Note: See TracChangeset for help on using the changeset viewer.