Re: How to get into COB_ALT_HASH code paths?

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

 



Am 14.07.2020 um 04:10 schrieb Jeffrey Walton:
> Hi Everyone,
>
> I have a gnucobol-3.1-rc1 testing question.

thank you for your thorough tests!

> I see there's a code path guarded by COB_ALT_HASH. How can we enable
> the COB_ALT_HASH code paths for testing?

Only manually by either defining the variable during configure or by
code-adjustment.

I've rechecked its orgigin, result:

	2006-08-31  Roger While <simrw@xxxxxxxxxxxx>
	* call.c: Alternate ifdef'd algo for call list

This is "alternate code" that Roger added but it never was "live" (at
least not in any OpenCOBOL or GnuCOBOL release).

Roger post-documented this for 2.x where the following code lines were
added:

#if	0	/* Alternative hash structure */
#define	COB_ALT_HASH
#endif

That is the code-part where you could add it, but I think it is quite
likely to be removed for 4.0.

> Jeff

Thanks again for your testing,
Simon





[Index of Archives]     [Gcc Help]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Info]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux