Added a FIXME comment concerning the interpretation of the "cd" command.

This commit is contained in:
Roland Illig 2004-08-17 20:08:07 +00:00
parent 6776c2cdb9
commit 25d3b4b489
1 changed files with 3 additions and 1 deletions

View File

@ -141,6 +141,8 @@ void do_cd_command (char *cmd)
(to see why, try "cd fred "). */
/* NOTE: I think we should not remove the extra space,
that way, we can cd into hidden directories */
/* FIXME: what about interpreting quoted strings like the shell.
so one could type "cd <tab> M-a <enter>" and it would work. */
len = strlen (cmd) - 1;
while (len >= 0 &&
(cmd [len] == ' ' || cmd [len] == '\t' || cmd [len] == '\n')){
@ -293,7 +295,7 @@ command_new (int y, int x, int cols)
* command line, so the percent sign is quoted as well.
*/
void
command_insert (WInput * in, char *text, int insert_extra_space)
command_insert (WInput * in, const char *text, int insert_extra_space)
{
char *quoted_text;