Changeset 522441 in git
- Timestamp:
- Jun 25, 2006, 6:06:19 PM (18 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 3920458ad215165d459d13667e0d16a81109bfa9
- Parents:
- 97ec5954fffa48d7836ac504f7e5bade02708a7d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/modgen/creat_top.cc
r97ec595 r522441 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: creat_top.cc,v 1.2 3 2006-04-11 19:47:32 anneExp $ */4 /* $Id: creat_top.cc,v 1.24 2006-06-25 16:06:19 motsak Exp $ */ 5 5 /* 6 6 * ABSTRACT: lib parsing … … 136 136 fprintf(fp, " tempstr = (char *)omAlloc(strlen(currPack->libname)+5);\n"); 137 137 fprintf(fp, " memset(tempstr,0,strlen(currPack->libname)+5);\n"); 138 fprintf(fp, " tailstr = str chr(currPack->libname,'.');\n");138 fprintf(fp, " tailstr = strrchr(currPack->libname,'.');\n"); 139 139 fprintf(fp, " memcpy(tempstr,currPack->libname,strlen(currPack->libname)-strlen(tailstr));\n"); 140 140 fprintf(fp, " memcpy(tempstr+strlen(tempstr),\".bin\",4);\n");
Note: See TracChangeset
for help on using the changeset viewer.