Ignore:
Timestamp:
Jan 1, 2014, 12:47:38 AM (7 years ago)
Author:
Bruno Cornec
Message:
  • Update mindi-busybox to 1.21.1
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi-busybox/libbb/execable.c

    r2725 r3232  
    6969
    7070#if ENABLE_FEATURE_PREFER_APPLETS
    71 /* just like the real execvp, but try to launch an applet named 'file' first
    72  */
    73 int FAST_FUNC bb_execvp(const char *file, char *const argv[])
     71/* just like the real execvp, but try to launch an applet named 'file' first */
     72int FAST_FUNC BB_EXECVP(const char *file, char *const argv[])
    7473{
    75     return execvp(find_applet_by_name(file) >= 0 ? bb_busybox_exec_path : file,
    76                     argv);
     74    if (find_applet_by_name(file) >= 0)
     75        execvp(bb_busybox_exec_path, argv);
     76    return execvp(file, argv);
    7777}
    7878#endif
Note: See TracChangeset for help on using the changeset viewer.