The "shebang" handler is supposed to parse arguments, too - we now do that.
Also, when the line is too long, E2BIG is returned. Thanks to Korli who pointed me to this: http://homepages.cwi.nl/~aeb/std/shebang/ git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13114 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -12,7 +12,9 @@
|
||||
struct uspace_program_args;
|
||||
struct real_time_data;
|
||||
|
||||
status_t __test_executable(const char *path, char *starter);
|
||||
status_t __parse_invoke_line(char *invoker, char ***_newArgs,
|
||||
char * const **_oldArgs, int32 *_argCount);
|
||||
status_t __test_executable(const char *path, char *invoker);
|
||||
void __init_image(const struct uspace_program_args *args);
|
||||
void __init_dlfcn(const struct uspace_program_args *args);
|
||||
void __init_env(const struct uspace_program_args *args);
|
||||
|
||||
Reference in New Issue
Block a user