> From: Greg Stein [mailto:gstein@lyra.org]
> Sent: Tuesday, May 23, 2000 2:37 PM
>
> On Tue, 23 May 2000 rbb@covalent.net wrote:
> >...
> > This was my initial reaction, but as I looked at it, I
> didn't see how
> > adding another hook could be done. This is why I have
> asked for a couple
> > of days to really study the patch and figure out what it is
> doing. My gut
> > reaction to this is a -1, but I hope to have a more
> technical reaction
> > tomorrow sometime.
>
> Eh? Call register_hooks, then call the process_args hook.
> What's the big
> deal? :-) Mebbe I'm missing something...
No, you aren't - I'm looking at that solution myself. But I'm
in the process of looking at a custom args hook that would allow
-prelinked- modules to rewrite the args list (and recursively
call main() if it's required.)
I'm also looking at a way to hook in the NT service processing
without the recursive call to main() (but with expanded argv[]).
It will certainly involve a little bit of setjmp or stack
manipulation, but I should be able to accomplish it.
|