HP3000-L Archives

July 1997, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Michael J Anderson <[log in to unmask]>
Reply To:
Michael J Anderson <[log in to unmask]>
Date:
Sat, 26 Jul 1997 08:49:33 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (26 lines)
Overman_James wrote:
>
> You are probably being burned by the fact that File number ZERO is now a legal
> file number.  Initialize your file numbers to -1 (I think) and the FFILEINFO
> should then report the proper status of not opened.  Note file number 0
> was needed for the POSIX people I believe.  It is STDIN I think.
> --
>  James Overman HP Support Technology Lab  Roseville, CA

COOL! Thats why I like this list, anytime I need help with the HP3000 or
related things someone on the list usually comes though, thanks alot
James!

The explaination you have suggested makes sense. Last night I put some
DISPLAY's in the program to see exactly want FFILEINO was retunring. On
the 5.5 machine it always returns +0005, (same prog) on the 5.0 machine
returns -2768

So I am going in today and init my "VPLUS COMAREA-FILEN" to -1 and see
what happens. Man I could see how this could break allot of programs.
However if the reason is to better support POSIX then it is well worth
it!

Thanks again,
Michael Anderson.

ATOM RSS1 RSS2