More work towards supporting builtin scripts

This commit is contained in:
ridiculousfish
2012-01-03 10:54:06 -08:00
parent 6abf3db13e
commit 04c7d87261
5 changed files with 41 additions and 21 deletions

View File

@@ -279,7 +279,6 @@ static int fish_parse_opt( int argc, char **argv, char **cmd_ptr )
int main( int argc, char **argv )
{
struct stat tmp;
stat("----------FISH_HIT_MAIN----------", &tmp);
int res=1;
char *cmd=0;
int my_optind=0;
@@ -290,6 +289,7 @@ int main( int argc, char **argv )
is_interactive_session=1;
program_name=L"fish";
stat("----------FISH_HIT_MAIN----------", &tmp);
my_optind = fish_parse_opt( argc, argv, &cmd );