Minor noise removal

-Erik
This commit is contained in:
Erik Andersen 2000-04-05 05:19:03 +00:00
parent 5661fe078e
commit d4bc1fcad8
3 changed files with 6 additions and 6 deletions

4
lash.c
View File

@ -394,10 +394,10 @@ static int getCommand(FILE * source, char *command)
#ifdef BB_FEATURE_SH_COMMAND_EDITING
int len;
char *promptStr;
len=fprintf(stdout, "BBSHELL %s %s", cwd, prompt);
len=fprintf(stdout, "%s %s", cwd, prompt);
fflush(stdout);
promptStr=(char*)malloc(sizeof(char)*(len+1));
sprintf(promptStr, "BBSHELL %s %s", cwd, prompt);
sprintf(promptStr, "%s %s", cwd, prompt);
cmdedit_read_input(promptStr, fileno(stdin), fileno(stdout), command);
free( promptStr);
return 0;

4
sh.c
View File

@ -394,10 +394,10 @@ static int getCommand(FILE * source, char *command)
#ifdef BB_FEATURE_SH_COMMAND_EDITING
int len;
char *promptStr;
len=fprintf(stdout, "BBSHELL %s %s", cwd, prompt);
len=fprintf(stdout, "%s %s", cwd, prompt);
fflush(stdout);
promptStr=(char*)malloc(sizeof(char)*(len+1));
sprintf(promptStr, "BBSHELL %s %s", cwd, prompt);
sprintf(promptStr, "%s %s", cwd, prompt);
cmdedit_read_input(promptStr, fileno(stdin), fileno(stdout), command);
free( promptStr);
return 0;

View File

@ -394,10 +394,10 @@ static int getCommand(FILE * source, char *command)
#ifdef BB_FEATURE_SH_COMMAND_EDITING
int len;
char *promptStr;
len=fprintf(stdout, "BBSHELL %s %s", cwd, prompt);
len=fprintf(stdout, "%s %s", cwd, prompt);
fflush(stdout);
promptStr=(char*)malloc(sizeof(char)*(len+1));
sprintf(promptStr, "BBSHELL %s %s", cwd, prompt);
sprintf(promptStr, "%s %s", cwd, prompt);
cmdedit_read_input(promptStr, fileno(stdin), fileno(stdout), command);
free( promptStr);
return 0;