At 8:50 PM -0500 6/9/02, Forrest Cahoon wrote:
>But 0 is JPI$K_OTHER, what I should really be getting is 3, which is
>JPI$K_INTERACTIVE. Changing this XS code into plain C, where test1()
>becomes main() and running it gives me the results I expect:
>
>status = %X00000001 mode = 3
>
>This is with Perl 5.6.0 on OpenVMS Alpha V7.3.
>
>What the heck's going on here?
That's odd. I vaguely remember having to jump through a hoop or two
to get VMS::Process going right, but that was ages ago.
One thing that did strike me--you've got a lot of structure
definitions and such that aren't necessary with VMS 7.3. Might want
to yank them in favor of the ones in the header files and see if that
gets you anywhere.
Also, are you maybe running the perl process oddly, such that 0 is
actually the right answer?
--
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk