Changeset 96d379 in git
- Timestamp:
- May 25, 1998, 3:04:54 PM (25 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '0604212ebb110535022efecad887940825b97c3f')
- Children:
- de614790315407e7ef79dc75ff6bcb9b5e13f1fe
- Parents:
- 74ec24ce8896da0a92121f4ba3c8abad240903ee
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/febase.cc
r74ec24c r96d379 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: febase.cc,v 1.3 5 1998-04-28 13:12:09Singular Exp $ */4 /* $Id: febase.cc,v 1.36 1998-05-25 13:04:54 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: i/o system … … 114 114 extern "C" char* find_executable(const char* argv0); 115 115 116 #define SINGULAR_RELATIVE_DATA_DIR "LIB" 116 //#define SINGULAR_RELATIVE_DATA_DIR "LIB" 117 // Singular is $ROOT/bin/Singular, 118 // look for libs in $ROOT/share/Singular/xx.lib: 119 #define SINGULAR_RELATIVE_DATA_DIR "../share/Singular" 117 120 118 121 static char* SearchPath = NULL; … … 169 172 #endif 170 173 174 if (env != NULL) 175 plength = strlen(env) + 1; 176 171 177 if (argv0 != NULL) 172 178 sibbling = feRemovePathnameHead(feGetExpandedExecutable(argv0)); 173 179 174 if (env != NULL)175 plength = strlen(env) + 1;176 177 180 if (sibbling != NULL) 178 181 plength += strlen(sibbling) + strlen(SINGULAR_RELATIVE_DATA_DIR) + 2;
Note: See TracChangeset
for help on using the changeset viewer.