Changeset e2ea8d7e in mainline for uspace/app/bdsh/exec.c


Ignore:
Timestamp:
2008-08-27T05:36:12Z (16 years ago)
Author:
Tim Post <echo@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1b4b7b6
Parents:
b510d52
Message:

Housekeeping list, complete lingering things before they get forgotten:

  • cli_*() now sets a global cli_errno, error functions cleaned up
  • Finish internal cli_*() functions in util.c
  • Don't expose cli_init() or cli_finit()
  • Get rid of unused globals
  • Don't set globals in commands themselves
  • Update README files
  • Fix stale comments
File:
1 edited

Legend:

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

    rb510d52 re2ea8d7e  
    6666char *find_command(char *cmd)
    6767{
    68         char *path_orig, *path_tok;
     68        char *path_tok;
    6969        char *path[PATH_MAX];
    7070        int n = 0, i = 0;
     
    7777                return (char *) cmd;
    7878        }
    79         path_orig = PATH;
    80         path_tok = cli_strdup(path_orig);
     79
     80        path_tok = cli_strdup(PATH);
    8181
    8282        /* Extract the PATH env to a path[] array */
Note: See TracChangeset for help on using the changeset viewer.