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:
Axel Dörfler
2005-06-14 12:39:06 +00:00
parent be22452f3b
commit 43ed6aa0db
4 changed files with 111 additions and 52 deletions
+3 -1
View File
@@ -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);