Changeset f5d2647 in git
- Timestamp:
- Dec 6, 2013, 2:59:37 PM (9 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'f875bbaccd0831e36aaed09ff6adeb3eb45aeb94')
- Children:
- b38bc933606c0dd703e07f7d0d047120a3a62701
- Parents:
- 42f2ad0e44454045e95a5dea3298675e39832506
- Location:
- Singular
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/iplib.cc
r42f2ad rf5d2647 298 298 return NULL; 299 299 } 300 #ifndef LIBSINGULAR 300 301 301 // see below: 302 302 struct soptionStruct … … 308 308 extern struct soptionStruct optionStruct[]; 309 309 extern struct soptionStruct verboseStruct[]; 310 #endif 310 311 311 312 312 BOOLEAN iiAllStart(procinfov pi, char *p,feBufferTypes t, int l) 313 313 { 314 // see below: 315 BITSET save1=si_opt_1; 316 BITSET save2=si_opt_2; 314 317 newBuffer( omStrDup(p /*pi->data.s.body*/), t /*BT_proc*/, 315 318 pi, l ); 316 #ifndef LIBSINGULAR317 // see below:318 BITSET save1=(test & ~TEST_RINGDEP_OPTS);319 BITSET save2=verbose;320 #endif321 319 BOOLEAN err=yyparse(); 322 320 if (sLastPrinted.rtyp!=0) … … 324 322 sLastPrinted.CleanUp(); 325 323 } 326 #ifndef LIBSINGULAR327 324 // the access to optionStruct and verboseStruct do not work 328 325 // on x86_64-Linux for pic-code 329 BITSET save11= ( test & ~TEST_RINGDEP_OPTS);330 326 if ((TEST_V_ALLWARN) && 331 327 (t==BT_proc) && 332 ((save1!=s ave11)||(save2!=verbose)) &&328 ((save1!=si_opt_1)||(save2!=si_opt_2)) && 333 329 (pi->libname!=NULL) && (pi->libname[0]!='\0')) 334 330 { … … 340 336 for (i=0; optionStruct[i].setval!=0; i++) 341 337 { 342 if ((optionStruct[i].setval & s ave11)338 if ((optionStruct[i].setval & si_opt_1) 343 339 && (!(optionStruct[i].setval & save1))) 344 340 { 345 341 Print(" +%s",optionStruct[i].name); 346 342 } 347 if (!(optionStruct[i].setval & s ave11)343 if (!(optionStruct[i].setval & si_opt_1) 348 344 && ((optionStruct[i].setval & save1))) 349 345 { … … 353 349 for (i=0; verboseStruct[i].setval!=0; i++) 354 350 { 355 if ((verboseStruct[i].setval & verbose)351 if ((verboseStruct[i].setval & si_opt_2) 356 352 && (!(verboseStruct[i].setval & save2))) 357 353 { 358 354 Print(" +%s",verboseStruct[i].name); 359 355 } 360 if (!(verboseStruct[i].setval & verbose)356 if (!(verboseStruct[i].setval & si_opt_2) 361 357 && ((verboseStruct[i].setval & save2))) 362 358 { … … 366 362 PrintLn(); 367 363 } 368 #endif369 364 return err; 370 365 } -
Singular/tesths.cc
r42f2ad rf5d2647 53 53 extern int siInit(char *); 54 54 55 #if ! defined(LIBSINGULAR)56 57 55 int initializeGMP(){ return 1; } 58 56 … … 236 234 return 0; 237 235 } 238 #endif // not LIBSINGULAR 239 236
Note: See TracChangeset
for help on using the changeset viewer.