[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: XALLOC in program LIBHTTP/HTTPAPIR4



In this case, no, we can make grand assumptions on this simple code.  :)

So... what procedure is calling xalloc, and how is the parameter to xalloc
determined?

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"The best way to convince a fool he is wrong is to let him have his way."
        -- Josh Billings 



> Hi Dennis,
> 
> Here's the code for XALLOC. Do you really need a fresh compile to
> deduce
> which line the error is happening on?
> 
>       P xalloc          B                   export
>       D xalloc          PI              *
>       D   size                        20p 0 value
>       D ptr             s               *
>       C                   alloc     size          ptr
>       C                   return    ptr
>       P                 E
> 
> 
> On 2/7/2011 3:05 PM, Dennis wrote:
> > I would start by getting a clean compile of XALLOC (compile into
> > QTEMP if you like - you only need the listing), and seeing what's
> > going on at statement 21 (from the compiled listing of that program).
> > Then I'd try to figure out why the parameter to the %ALLOC (or
> > similar) operation at that statement number is not within the
> > appropriate range.
> >
> > It sounds like this has nothing to do with how you open or close the
> > IFS file.
> >
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list.  To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------