Changeset 2286 for trunk/src/kash/main.c


Ignore:
Timestamp:
Feb 25, 2009, 6:25:38 AM (16 years ago)
Author:
bird
Message:

kash: more hacking.

File:
1 edited

Legend:

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

    r1233 r2286  
    8484STATIC void read_profile(struct shinstance *, const char *);
    8585STATIC char *find_dot_file(struct shinstance *, char *);
    86 int main(int, char **);
     86int main(int, char **, char **);
    8787int shell_main(shinstance *, int, char **);
    8888#ifdef _MSC_VER
     
    101101
    102102int
    103 main(int argc, char **argv)
     103main(int argc, char **argv, char **envp)
    104104{
    105105        shinstance *psh;
     
    126126         * Create the root shell instance.
    127127         */
    128         psh = sh_create_root_shell(NULL, argc, argv);
     128        psh = sh_create_root_shell(NULL, argc, argv, envp);
    129129        if (!psh)
    130130                return 2;
Note: See TracChangeset for help on using the changeset viewer.