Changeset 6d09c56 in git
- Timestamp:
- Apr 28, 1997, 9:25:50 PM (27 years ago)
- Branches:
- (u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
- Children:
- 6f2edcfe951d4496db2b2d3de66ffcd8e9035cb1
- Parents:
- 2c24d8d36711c0ab829b5daaa6b8a685f287e272
- Location:
- Singular
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/ChangeLog
r2c24d8d r6d09c56 1 Mon 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 1 8 Fri Apr 25 16:59:31 1997 Olaf Bachmann <obachman@ratchwum.mathematik.uni-kl.de (Olaf Bachmann)> 2 9 -
Singular/Makefile.in
r2c24d8d r6d09c56 147 147 mod2.h: configure mod2.h.in Makefile.in 148 148 ./configure ${CONFIGURE_INPUT} 149 touch -r mod2.h configure configure.in 149 touch -r mod2.h configure configure.in Makefile.in 150 150 151 151 configure: configure.in … … 164 164 ${MKINSTALLDIRS} ${singulardatadir} 165 165 ${MKINSTALLDIRS} ${singulardatadir}/gftables 166 for file in ${srcdir}/LIB/gftables/ *; do \166 for file in ${srcdir}/LIB/gftables/[0-9]*; do \ 167 167 ${INSTALL_DATA} $${file} ${singulardatadir}/gftables; \ 168 168 done … … 195 195 -rm configure scanner.cc grammar.h grammar.cc 196 196 197 check: Makefile.in tests/check tests/output 198 cd tests; tests/check ${bindir}/Singular; cd .. 197 199 198 200 dist: -
Singular/mod2.h.in
r2c24d8d r6d09c56 140 140 * Miscellanous Defines 141 141 ******************************************************************/ 142 /* define MM_COUNT to enable "memory(0)" (resp. memory(1))*/ 143 #define MM_COUNT 1 144 142 145 /* define YYDEBUG 1 for debugging bison texts, 0 otherwise */ 143 146 #define YYDEBUG 0 … … 201 204 /* define TEST for non time critical tests, undefine otherwise */ 202 205 #define TEST 203 /* define MM_COUNT 1 for use of "memory(0/1)", undefine otherwise */204 #define MM_COUNT 1205 206 /* define MM_STAT for printing block stats */ 206 207 /* #define MM_STAT 1 */ -
Singular/tesths.cc
r2c24d8d r6d09c56 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: tesths.cc,v 1. 9 1997-04-28 17:47:16 SingularExp $ */4 /* $Id: tesths.cc,v 1.10 1997-04-28 19:25:50 obachman Exp $ */ 5 5 6 6 /* … … 64 64 if (errno != ERANGE && ptr != argv[2]) 65 65 #else 66 double mintime = 0 .0;66 double mintime = 0; 67 67 sscanf(argv[2],"%f", &mintime); 68 68 if (mintime != 0.0) … … 74 74 } 75 75 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]); 77 77 } 78 78 else 79 79 { 80 printf("Need a float to set mintime");80 fprintf(stderr, "Need a float to set mintime"); 81 81 } 82 82 } … … 89 89 #ifdef HAVE_STRTOL 90 90 long res = strtol(argv[2], &ptr, 10); 91 if (errno != ERANGE && ptr != argv[2] )91 if (errno != ERANGE && ptr != argv[2] && res > 0) 92 92 #else 93 93 long res = 0; 94 94 sscanf(argv[2],"%d", &res); 95 if (res !=0)95 if (res > 0) 96 96 #endif 97 97 { … … 101 101 } 102 102 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]); 104 104 } 105 105 else 106 106 { 107 printf("Need an integer to set timer resolution");107 fprintf(stderr,"Need an integer to set timer resolution"); 108 108 } 109 109 } … … 119 119 case 'V': 120 120 case 'v':{ 121 printf("Singular %s %s(%d)%s %s\n",121 printf("Singular %s %s (%d) %s %s\n", 122 122 S_VERSION1,S_VERSION2, 123 123 VERSION_ID,__DATE__,__TIME__); … … 218 218 { 219 219 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" 223 223 "by: G.-M. Greuel, G. Pfister, H. Schoenemann\n" 224 224 "Fachbereich Mathematik der Universitaet, D-67653 Kaiserslautern\n" 225 225 "contributions: O.Bachmann,W.Decker,H.Grassmann,B.Martin,M.Messollen,W.Neumann,\n" 226 226 "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"); 231 230 } 232 231 else
Note: See TracChangeset
for help on using the changeset viewer.