Changeset 4bf08aa5 in mainline for uspace/app/bdsh/input.c


Ignore:
Timestamp:
2018-11-30T03:22:03Z (5 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
55e35a22
Parents:
60c332e
Message:

correcting setting and updating aliases

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/input.c

    r60c332e r4bf08aa5  
    171171        }
    172172
     173
     174
     175        /* test if the passed cmd is an alias
     176        odlink_t *alias_link = odict_find_eq(&alias_dict, (void *)&v, NULL);
     177        e = odict_get_instance(alias_link, test_entry_t, alias_dict);
     178        if() {
     179                char* oldLine = usr->line;
     180
     181
     182                //reprocess input after string replace
     183                rc = process_input(usr);
     184                usr->line = oldLine;
     185                goto finit;
     186        }
     187       
     188        */
     189
     190
    173191        iostate_t new_iostate = {
    174192                .stdin = stdin,
     
    219237                usr->line = (char *) NULL;
    220238        }
     239
    221240        tok_fini(&tok);
    222241        free(tokens_buf);
Note: See TracChangeset for help on using the changeset viewer.