Changeset 51c97f in git
- Timestamp:
- Jan 11, 2012, 4:37:55 PM (12 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 05f61f87ba0abf26d60c77072904adbd11f867c0
- Parents:
- 6c98d526bf15bb5a2845bfd4fb4f54474229668c
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/ipshell.cc
r6c98d52 r51c97f 4932 4932 } 4933 4933 4934 const short MAX_SHORT = SHRT_MAX; // (1 << (sizeof(short)*8)) - 1;4934 const short MAX_SHORT = 32767; // (1 << (sizeof(short)*8)) - 1; 4935 4935 4936 4936 //////////////////// -
libpolys/resources/feResource.cc
r6c98d52 r51c97f 14 14 15 15 #include "config.h" 16 #include <misc/auxiliary.h>17 16 18 17 #include <findexec/omFindExec.h> … … 32 31 33 32 #include <reporter/reporter.h> 34 #if !defined(ESINGULAR) && !defined(TSINGULAR)35 33 #include <omalloc/omalloc.h> 36 #else 37 char* feResource(const char id, int warn = -1); 38 char* feResource(const char* key, int warn = -1); 39 #endif 34 //char* feResource(const char id, int warn = -1); 35 //char* feResource(const char* key, int warn = -1); 40 36 41 37 // define RESOURCE_DEBUG for chattering about resource management 42 38 // #define RESOURCE_DEBUG 43 39 44 #if defined(MAKE_DISTRIBUTION)45 #if defined(ix86_Win) && ! defined(__CYGWIN__)46 #define SINGULAR_DEFAULT_DIR "/Singular/"S_VERSION147 #else // unix48 40 #define SINGULAR_DEFAULT_DIR "/usr/local/Singular/"S_VERSION1 49 #endif50 #else // ! defined(MAKE_DISTRIBUTION)51 #define SINGULAR_DEFAULT_DIR S_ROOT_DIR52 #endif // defined(MAKE_DISTRIBUTION)53 41 54 42 /***************************************************************** … … 110 98 {"Path", 'p', feResPath, NULL, "%b;$PATH", (char *)""}, 111 99 112 #ifdef ESINGULAR113 100 {"emacs", 'E', feResBinary,"ESINGULAR_EMACS", "%b/emacs", (char *)""}, 114 101 {"xemacs", 'A', feResBinary,"ESINGULAR_EMACS", "%b/xemacs", (char *)""}, … … 116 103 {"EmacsLoad", 'l', feResFile, "ESINGULAR_EMACS_LOAD", "%e/.emacs-singular", (char *)""}, 117 104 {"EmacsDir", 'e', feResDir, "ESINGULAR_EMACS_DIR", "%r/emacs", (char *)""}, 118 #elif defined(TSINGULAR)119 105 {"SingularXterm",'M', feResBinary,"TSINGULAR_SINGULAR", "%b/Singular", (char *)""}, 120 106 #ifdef ix86_Win … … 123 109 {"xterm", 'X', feResBinary,"XTERM", "%b/xterm", (char *)""}, 124 110 #endif 125 #else126 111 {"EmacsDir", 'e', feResDir, "SINGULAR_EMACS_DIR", "%r/emacs", (char *)""}, 127 #endif128 112 {NULL, 0, feResUndef, NULL, NULL, NULL}, // must be the last record 129 113 }; -
libpolys/resources/feResource.h
r6c98d52 r51c97f 1 1 #ifndef FERESOURCE_H 2 2 #define FERESOURCE_H 3 4 #ifdef HAVE_SYS_PARAM_H5 #include <sys/param.h>6 #endif7 8 #include <misc/auxiliary.h>9 #include <misc/mylimits.h>10 3 11 4 #define DIR_SEP '/'
Note: See TracChangeset
for help on using the changeset viewer.