Ignore:
Timestamp:
Oct 7, 2007, 3:39:01 AM (18 years ago)
Author:
bird
Message:

converted a few more files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kash/miscbltin.c

    r1202 r1203  
    117117        }
    118118
    119         if (*(ap = argptr) == NULL)
     119        if (*(ap = psh->argptr) == NULL)
    120120                error(psh, "arg count");
    121121
     
    230230        INTON;
    231231
    232         if ((ap = *argptr) == NULL) {
     232        if ((ap = *psh->argptr) == NULL) {
    233233                if (symbolic_mode) {
    234234                        char u[4], g[4], o[4];
     
    386386                error(psh, "internal error (%c)", what);
    387387
    388         set = *argptr ? 1 : 0;
     388        set = *psh->argptr ? 1 : 0;
    389389        if (set) {
    390                 char *p = *argptr;
    391 
    392                 if (all || argptr[1])
     390                char *p = *psh->argptr;
     391
     392                if (all || psh->argptr[1])
    393393                        error(psh, "too many arguments");
    394394                if (strcmp(p, "unlimited") == 0)
Note: See TracChangeset for help on using the changeset viewer.