Changeset 3232 in MondoRescue for branches/3.2/mindi-busybox/libbb/execable.c
- Timestamp:
- Jan 1, 2014, 12:47:38 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi-busybox/libbb/execable.c
r2725 r3232 69 69 70 70 #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 */ 72 int FAST_FUNC BB_EXECVP(const char *file, char *const argv[]) 74 73 { 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); 77 77 } 78 78 #endif
Note:
See TracChangeset
for help on using the changeset viewer.