Changeset e8a9f3 in git
- Timestamp:
- Sep 26, 2011, 3:39:15 AM (12 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a657104b677b4c461d018cbf3204d72d34ad66a9')
- Children:
- 4eda6b65c2db80cbc41423154ff8397975bb2cd5
- Parents:
- 151a068bd3e07893f81b6da40f4e2b2944437dbe
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-09-26 03:39:15+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 16:13:31+01:00
- Location:
- Singular
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/feOpt.cc
r151a06 re8a9f3 9 9 #include <string.h> 10 10 #include <stdlib.h> 11 11 12 #include <kernel/mod2.h> 13 12 14 #ifdef HAVE_FACTORY 13 15 #define SI_DONT_HAVE_GLOBAL_VARS 14 16 #include <factory/factory.h> 15 17 #endif 18 16 19 #include "feOpt.h" 20 17 21 #if !defined(GENERATE_OPTION_INDEX) && !defined(ESINGULAR) && !defined(TSINGULAR) 18 22 #include <misc/options.h> … … 294 298 #include <omalloc/omalloc.h> 295 299 #include <kernel/febase.h> 296 #include <Singular/ipshell.h>297 #include <Singular/tok.h>298 #include <Singular/sdb.h>299 #include <Singular/cntrlc.h>300 300 #include <kernel/timer.h> 301 302 #include "ipshell.h" 303 #include "tok.h" 304 #include "sdb.h" 305 #include "cntrlc.h" 301 306 302 307 #include <errno.h> -
Singular/feOpt.h
r151a06 re8a9f3 21 21 /* provides feOptIndex enum type for fast accesses to feOptSpec */ 22 22 #if ! defined(GENTABLE) && ! defined(GENERATE_DEPEND) 23 #ifdef ESINGULAR 24 #include <Singular/feOptES.inc> 25 #elif defined(TSINGULAR) 26 #include <Singular/feOptTS.inc> 27 #else 28 #include <Singular/feOpt.inc> 29 #endif 23 24 # ifdef ESINGULAR 25 # include <Singular/feOptES.inc> 26 # elif defined(TSINGULAR) 27 # include <Singular/feOptTS.inc> 28 # else 29 # include <Singular/feOpt.inc> 30 # endif 31 30 32 #else 31 33 typedef enum {FE_OPT_UNDEF} feOptIndex; -
Singular/gentable.cc
r151a06 re8a9f3 16 16 17 17 #include <kernel/mod2.h> 18 #include <Singular/tok.h>19 #include <Singular/grammar.h>18 #include "tok.h" 19 #include "grammar.h" 20 20 21 21 // to produce convert_table.texi for doc: -
Singular/gentable2.cc
r151a06 re8a9f3 16 16 17 17 #include <kernel/mod2.h> 18 #include <Singular/tok.h> 19 #include <Singular/grammar.h> 18 19 #include "tok.h" 20 #include "grammar.h" 20 21 21 22 #define ALLOW_PLURAL 1 … … 204 205 } 205 206 207 char *touch_mpsr_Tok_inc = "touch mpsr_Tok.xxxxxxxx\0"; 208 char *mpsr_Tok_inc = touch_mpsr_Tok_inc + 6; // mpsr_Tok.xxxxxxxx! 209 206 210 #ifdef HAVE_MPSR 207 #include <Singular/mpsr.h> 208 #include <Singular/mpsr_Tok.h> 211 212 #include "mpsr.h" 213 #include "mpsr_Tok.h" 209 214 #define MAX_COP 256 // there may be at most 256 cops 210 215 … … 499 504 500 505 // This actually generates the tables of mpsr_tok.inc 501 char *mpsr_Tok_inc;502 506 void mpsr_ttGen() 503 507 { … … 544 548 545 549 // Generate the template file 546 mpsr_Tok_inc=strdup("mpsr_Tok.xxxxxxxx");547 550 int pid=getpid(); 548 551 mpsr_Tok_inc[8]=(pid %10)+'0'; pid/=10; … … 556 559 if (outfile == NULL) 557 560 { 558 fprintf(stderr, "Error: mpsr_ttGen: Cannot open file mpsr_Tok.inc\n");561 fprintf(stderr, "Error: mpsr_ttGen: Cannot open file [%s]\n", mpsr_Tok_inc); 559 562 exit(1); 560 563 } … … 624 627 void mpsr_ttGen() 625 628 { 626 system( "touch mpsr_Tok.xx");629 system(touch_mpsr_Tok_inc); 627 630 } 628 631 #endif … … 631 634 { 632 635 mpsr_ttGen(); 633 #ifdef HAVE_MPSR634 636 rename(mpsr_Tok_inc,"mpsr_Tok.inc"); 635 #endif636 637 return 0; 637 638 } -
Singular/iparith.cc
r151a06 re8a9f3 7409 7409 #include "table.h" 7410 7410 7411 #include <iparith.inc>7411 #include "iparith.inc" 7412 7412 7413 7413 /*=================== operations with 2 args. ============================*/ -
Singular/janet.cc
r151a06 re8a9f3 968 968 969 969 Define(&G); 970 } ;970 } 971 971 972 972 static Poly *h,*f;
Note: See TracChangeset
for help on using the changeset viewer.