Changeset 752a5a in git for Singular/iplib.cc
- Timestamp:
- Sep 22, 1999, 4:49:37 PM (25 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 560432aa8601a1f4136751b1d867f6c21d03d06e
- Parents:
- acd64363f3a94a76f781aa7beb80a6853c595eba
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/iplib.cc
racd643 r752a5a 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: iplib.cc,v 1.6 1 1999-09-22 14:42:33 SingularExp $ */4 /* $Id: iplib.cc,v 1.62 1999-09-22 14:49:37 obachman Exp $ */ 5 5 /* 6 6 * ABSTRACT: interpreter: LIB and help … … 197 197 *e=ct; 198 198 argstr=iiProcArgs(e,TRUE); 199 200 assume(pi->data.s.body_end > pi->data.s.body_start); 201 199 202 procbuflen = pi->data.s.body_end - pi->data.s.body_start; 200 203 pi->data.s.body = (char *)AllocL( strlen(argstr)+procbuflen+15+ … … 202 205 //Print("Body=%ld-%ld=%d\n", pi->data.s.body_end, 203 206 // pi->data.s.body_start, procbuflen); 204 if (pi->data.s.body==NULL) 205 { 206 Werror( "unable to allocate proc buffer `%s`", pi->procname ); 207 return NULL; 208 } 207 assume(pi->data.s.body != NULL); 209 208 fseek(fp, pi->data.s.body_start, SEEK_SET); 210 209 strcpy(pi->data.s.body,argstr);
Note: See TracChangeset
for help on using the changeset viewer.