Mail Archives: cygwin-developers/1998/11/22/02:33:59
>>> On Fri, 20 Nov 1998 14:20:57 -0500
>>> Christopher Faylor <cgf AT cygnus DOT com> said:
> I agree that what cygwin is doing is not POSIX but we apparently
> now have a number of people on the mailing list using this
> "feature" so I don't believe that we can remove it without
> generating a lot of confusion and dissatisfaction.
I don't think so because this feature have been enabled just
only 10 days ago, but I can accept your decision.
> Does the patch below solve the problem?
(snip)
This patch solve the null pointer dereference, but can't solve
another problem pointed out in the latter half of my last mail
cited below.
>>> On 20 Nov 1998 22:06:15 +0900
>>> Kazuhiro Fujieda <fujieda AT jaist DOT ac DOT jp> said:
> Then, when a script of which interpreter is also a script is
> executed, the interpreter of the latter script is executed with
> odd arguments.
>
> For example,
> $ echo '#!/usr/local/bin/bar' > /usr/local/bin/foo
> $ echo '#!/sh' > /usr/local/bin/bar
> $ /usr/local/bin/foo
> /usr/local/bin/C:\usr\local\bin\bar: Can't open /usr/local/bin/C:\usr\local\bin\bar
____
| AIST Kazuhiro Fujieda <fujieda AT jaist DOT ac DOT jp>
| HOKURIKU School of Information Science
o_/ 1990 Japan Advanced Institute of Science and Technology
- Raw text -