Changeset 1198 for trunk/src/kash/shinstance.c
- Timestamp:
- Oct 6, 2007, 11:19:19 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kash/shinstance.c
r883 r1198 30 30 /** 31 31 * Creates a root shell instance. 32 * 32 * 33 33 * @param inherit The shell to inherit from. If NULL inherit from environment and such. 34 34 * @param argc The argument count. 35 35 * @param argv The argument vector. 36 * 36 * 37 37 * @returns pointer to root shell on success, NULL on failure. 38 38 */ … … 45 45 { 46 46 memset(psh, 0, sizeof(*psh)); 47 psh-> 47 48 /* memalloc.c */ 49 psh->stacknleft = MINSIZE; 50 psh->herefd = -1; 51 psh->stackp = &psh->stackbase; 52 psh->stacknxt = psh->stackbase.space; 53 48 54 } 49 55 return psh;
Note:
See TracChangeset
for help on using the changeset viewer.