Ignore:
Timestamp:
Oct 7, 2007, 1:57:35 AM (18 years ago)
Author:
bird
Message:

input.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kash/generated/init.c

    r1200 r1201  
    173173
    174174void
    175 init() {
     175init(shinstance *psh) {
    176176
    177177      /* from exec.c: */
     
    206206
    207207void
    208 reset() {
     208reset(shinstance *psh) {
    209209
    210210      /* from eval.c: */
     
    219219              if (exception != EXSHELLPROC)
    220220                      parselleft = parsenleft = 0;      /* clear input buffer */
    221               popallfiles();
     221              popallfiles(psh);
    222222      }
    223223
    224224      /* from output.c: */
    225225      {
    226               out1 = &output;
    227               out2 = &errout;
     226              psh->out1 = &psh->output;
     227              psh->out2 = &psh->errout;
    228228              if (memout.buf != NULL) {
    229229                      ckfree(memout.buf);
     
    252252
    253253void
    254 initshellproc() {
     254initshellproc(shinstance *psh) {
    255255
    256256      /* from alias.c: */
     
    271271      /* from input.c: */
    272272      {
    273               popallfiles();
     273              popallfiles(psh);
    274274      }
    275275
Note: See TracChangeset for help on using the changeset viewer.