Changeset 2286 for trunk/src/kash/main.c
- Timestamp:
- Feb 25, 2009, 6:25:38 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kash/main.c
r1233 r2286 84 84 STATIC void read_profile(struct shinstance *, const char *); 85 85 STATIC char *find_dot_file(struct shinstance *, char *); 86 int main(int, char ** );86 int main(int, char **, char **); 87 87 int shell_main(shinstance *, int, char **); 88 88 #ifdef _MSC_VER … … 101 101 102 102 int 103 main(int argc, char **argv )103 main(int argc, char **argv, char **envp) 104 104 { 105 105 shinstance *psh; … … 126 126 * Create the root shell instance. 127 127 */ 128 psh = sh_create_root_shell(NULL, argc, argv );128 psh = sh_create_root_shell(NULL, argc, argv, envp); 129 129 if (!psh) 130 130 return 2;
Note:
See TracChangeset
for help on using the changeset viewer.