which: -a support (needed for bfin uclibc build script)

real support (with CONFIG_DESKTOP=y): 120+ bytes:
   text	   data	    bss	    dec	    hex	filename
 807958	    624	   7036	 815618	  c7202	busybox_old
 808085	    624	   7036	 815745	  c7281	busybox_unstripped

"fake" support (with CONFIG_DESKTOP unset): ~45 bytes:
   text	   data	    bss	    dec	    hex	filename
 797790	    611	   6996	 805397	  c4a15	busybox_old
 797834	    611	   6996	 805441	  c4a41	busybox_unstripped
This commit is contained in:
Denis Vlasenko
2008-06-05 13:33:59 +00:00
parent f0d6068086
commit f592aa36f3
3 changed files with 70 additions and 23 deletions

View File

@@ -700,7 +700,7 @@ void die_if_bad_username(const char* name);
#endif
int execable_file(const char *name);
char *find_execable(const char *filename);
char *find_execable(const char *filename, char **PATHp);
int exists_execable(const char *filename);
/* BB_EXECxx always execs (it's not doing NOFORK/NOEXEC stuff),