Changeset c232af in git for Singular/emacs.cc
- Timestamp:
- Aug 14, 2000, 2:58:28 PM (24 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- d26c2e9dd38f1531c0e77c38e6177109182b5bca
- Parents:
- 4697a8a1ccbf49d0048033ea29c651e3966ba729
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/emacs.cc
r4697a8a rc232af 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: emacs.cc,v 1.1 6 2000-08-02 13:40:28obachman Exp $ */4 /* $Id: emacs.cc,v 1.17 2000-08-14 12:56:03 obachman Exp $ */ 5 5 /* 6 6 * ABSTRACT: Esingular main file … … 16 16 #include "mod2.h" 17 17 #include "version.h" 18 #include <omalloc.h> 18 19 19 20 #if !defined(TSINGULAR) && !defined(ESINGULAR) … … 25 26 #endif 26 27 27 #define Alloc malloc28 #define AllocL malloc29 #define mstrdup strdup30 #define Free free31 #define FreeL free32 #define Alloc malloc33 #define AllocL malloc34 28 #ifndef BOOLEAN 35 29 #define BOOLEAN int … … 93 87 } 94 88 95 extern "C" {96 #include "find_exec.c"97 }98 89 #include "feResource.cc" 99 90 #include "feOpt.cc" … … 214 205 #endif 215 206 216 syscall = (char*) AllocL(strlen(emacs) +207 syscall = (char*) omAlloc(strlen(emacs) + 217 208 strlen(singular) + 218 209 length + 300); … … 268 259 if (! access(cwd, R_OK)) 269 260 { 270 emacs_load = mstrdup(cwd);261 emacs_load = omStrDup(cwd); 271 262 } 272 263 else … … 285 276 } 286 277 287 syscall = (char*) AllocL(strlen(emacs) +278 syscall = (char*) omAlloc(strlen(emacs) + 288 279 strlen(singular) + 289 280 strlen(emacs_dir) +
Note: See TracChangeset
for help on using the changeset viewer.