Changeset e8b1f3 in git
- Timestamp:
- Oct 2, 2017, 4:44:23 PM (7 years ago)
- Branches:
- (u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
- Children:
- 6b604b12e5560493fc5aac287116a3caf35ec816
- Parents:
- 85d1a44041f41d257fd21fa1115c1bc7cd8fcd5b
- Location:
- Singular
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/iparith.cc
r85d1a44 re8b1f3 5047 5047 pl = enterid( plib,0, PACKAGE_CMD, &(basePack->idroot), TRUE ); 5048 5048 IDPACKAGE(pl)->language = LANG_SINGULAR; 5049 IDPACKAGE(pl)->libname= plib;5049 IDPACKAGE(pl)->libname=omStrDup(s); 5050 5050 } 5051 5051 else if (IDTYP(pl)!=PACKAGE_CMD) … … 5055 5055 return TRUE; 5056 5056 } 5057 else 5058 omFree(plib); 5057 omFree(plib); 5059 5058 package savepack=currPack; 5060 5059 currPack=IDPACKAGE(pl); -
Singular/iplib.cc
r85d1a44 re8b1f3 1336 1336 char *p = strrchr(tmpname, DIR_SEP); 1337 1337 char *r; 1338 if(p==NULL) p = tmpname; 1339 else p++; 1340 r = (char *)strchr(p, '.'); 1341 if( r!= NULL) *r = '\0'; 1338 if(p==NULL) p = tmpname; else p++; 1339 // p is now the start of the file name (without path) 1340 r=p; 1341 while(isalnum(*r)) r++; 1342 // r point the the end of the main part of the filename 1343 *r = '\0'; 1342 1344 r = omStrDup(p); 1343 1345 *r = mytoupper(*r);
Note: See TracChangeset
for help on using the changeset viewer.