Changeset 2290 for trunk/src/kash/generated/nodes.c
- Timestamp:
- Feb 27, 2009, 5:08:07 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kash/generated/nodes.c
r1233 r2290 49 49 #include "machdep.h" 50 50 #include "mystring.h" 51 #include "shinstance.h" 51 52 52 53 … … 99 100 100 101 union node * 101 copyfunc(n) 102 copyfunc(psh, n) 103 struct shinstance *psh; 102 104 union node *n; 103 105 { … … 107 109 funcstringsize = 0; 108 110 calcsize(n); 109 funcblock = ckmalloc( funcblocksize + funcstringsize);111 funcblock = ckmalloc(psh, funcblocksize + funcstringsize); 110 112 funcstring = (char *) funcblock + funcblocksize; 111 113 return copynode(n); … … 340 342 341 343 void 342 freefunc(n) 344 freefunc(psh, n) 345 shinstance *psh; 343 346 union node *n; 344 347 { 345 348 if (n) 346 ckfree( n);347 } 349 ckfree(psh, n); 350 }
Note:
See TracChangeset
for help on using the changeset viewer.