Changeset d3b70ae in git
- Timestamp:
- Jun 14, 2011, 11:52:41 AM (12 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- f773274cbe208b555ecdb96d8a2075cec9025877
- Parents:
- 9ff6868c3e8b30908a3c8d1c2872ee10b02e9d8e
- Location:
- Singular
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/libsingular.h
r9ff686 rd3b70ae 30 30 #include <singular/options.h> 31 31 32 intsiInit(char *);32 void siInit(char *); 33 33 34 34 /* we need this function in Sage*/ -
Singular/misc_ip.cc
r9ff686 rd3b70ae 385 385 386 386 /*2 387 * initialize components of Singular388 */389 int inits(void)390 {391 int t;392 /*4 signal handler:*/393 init_signals();394 /*4 randomize: */395 t=initTimer();396 /*t=(int)time(NULL);*/397 if (t==0) t=1;398 initRTimer();399 siSeed=t;400 #ifdef HAVE_FACTORY401 factoryseed(t);402 #endif403 /*4 private data of other modules*/404 memset(&sLastPrinted,0,sizeof(sleftv));405 sLastPrinted.rtyp=NONE;406 return t;407 }408 409 /*2410 387 * the renice routine for very large jobs 411 388 * works only on unix machines, … … 1124 1101 } 1125 1102 1126 int siInit(char *name) 1103 /*2 1104 * initialize components of Singular 1105 */ 1106 void siInit(char *name) 1127 1107 { 1128 1108 #ifdef HAVE_FACTORY … … 1145 1125 /* initialize components */ 1146 1126 factoryError=WerrorS; 1147 siRandomStart=inits(); 1127 /*4 randomize: */ 1128 int t=initTimer(); 1129 /*t=(int)time(NULL);*/ 1130 if (t==0) t=1; 1131 initRTimer(); 1132 siSeed=t; 1133 #ifdef HAVE_FACTORY 1134 factoryseed(t); 1135 #endif 1136 siRandomStart=t; 1137 /*4 private data of other modules*/ 1138 memset(&sLastPrinted,0,sizeof(sleftv)); 1139 sLastPrinted.rtyp=NONE; 1148 1140 feOptSpec[FE_OPT_RANDOM].value = (void*) ((long)siRandomStart); 1149 1141 -
Singular/tesths.cc
r9ff686 rd3b70ae 56 56 57 57 siInit(argv[0]); 58 init_signals(); 58 59 59 60 // parse command line options … … 97 98 98 99 /* say hello */ 99 #ifdef HAVE_FANS100 bbcone_setup();101 bbfan_setup();102 #endif /* HAVE_FANS */103 100 //for official version: not active 104 101 //bigintm_setup(); … … 132 129 } 133 130 pyobject_setup(); 131 #ifdef HAVE_FANS 132 bbcone_setup(); 133 bbfan_setup(); 134 #endif /* HAVE_FANS */ 134 135 errorreported = 0; 135 136
Note: See TracChangeset
for help on using the changeset viewer.