[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ldm changes for DEC Alpha
- Subject: Re: ldm changes for DEC Alpha
- Date: Thu, 20 Jul 2000 13:17:10 -0600
Harry,
> The following patch is necessary for ldm 5.1.1 to correctly work on
> DEC Alpha running Tru 64 Unix. They fall into 2 categories:
>
> 1. Changes in type to handle 64 bit values needed by some system
> calls (changing int to size_t).
>
> 2. Taking const out of the declaration of pointers that do change in
> a subroutine. The DEC Compilers assume that const means constant.
> In the routines that are patched a pointer is declared const and set
> to NULL. Even though the pointer is then passed by reference to
> another routine that changes the value, the DEC Compiler will
> replace references to the pointer by NULL.
Thanks! I'm currently debugging a problem with the 64-bit version on
Solaris ("-xarch=v9") and had discovered some of these with lint, but
it's great to have a complete patch for the DEC Alpha. If I'm lucky,
this may even fix a problem I'm seeing running with huge queues (> 2
Gbytes) ...
--Russ