>> > I believe the behavior of #! on Solaris goes all the way back to BSD
>> > in of the early 80's. FreeBSD 3.0 behaves as Solaris does.
>> >
>> > I hope this considered a bug. If there willingness to take a patch for
>> > it, I might work on making the fix.
>>
>> Im not sure about bug, but its certainly worth behaving the same way as
>> everyone else in this case if its appropriate to do so. Take a look at
>> the fs/binfmt* code and sure - send a patch
>>
I've been running with this for a while, and it works like a charm:
diff -c ./fs/binfmt_script.c,0 ./fs/binfmt_script.c
*** ./fs/binfmt_script.c,0 Thu Aug 20 14:32:48 1998
--- ./fs/binfmt_script.c Wed Feb 16 13:30:04 2000
***************
*** 47,54 ****
--- 47,56 ----
i_name_start = i_name = cp;
i_arg = 0;
for ( ; *cp && (*cp != ' ') && (*cp != '\t'); cp++) {
+ #if 0
if (*cp == '/')
i_name = cp+1;
+ #endif
}
while ((*cp == ' ') || (*cp == '\t'))
*cp++ = '\0';
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:16 EST