Changeset 1202 for trunk/src/kash/exec.c
- Timestamp:
- Oct 7, 2007, 2:24:15 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kash/exec.c
r1201 r1202 229 229 } 230 230 #endif 231 setparam( argv + 1);231 setparam(psh, argv + 1); 232 232 exraise(psh, EXSHELLPROC); 233 233 } … … 437 437 438 438 verbose = 0; 439 while ((c = nextopt( "rv")) != '\0') {439 while ((c = nextopt(psh, "rv")) != '\0') { 440 440 if (c == 'r') { 441 441 clearcmdentry(0); … … 500 500 struct procstat ps; 501 501 INTOFF; 502 commandtext( &ps, cmdp->param.func);502 commandtext(psh, &ps, cmdp->param.func); 503 503 INTON; 504 504 out1str(psh, "() { "); … … 665 665 goto loop; 666 666 stalloc(psh, strlen(fullname) + 1); 667 readcmdfile( fullname);667 readcmdfile(psh, fullname); 668 668 if ((cmdp = cmdlookup(name, 0)) == NULL || 669 669 cmdp->cmdtype != CMDFUNCTION) … … 1085 1085 int p_flag = 0; 1086 1086 1087 while ((c = nextopt( "vVp")) != 0) {1087 while ((c = nextopt(psh, "vVp")) != 0) { 1088 1088 switch (c) { 1089 1089 case 'v': v_flag = 1; break;
Note:
See TracChangeset
for help on using the changeset viewer.