I will consider doing this if the patch also includes the documentation
updates.

Rick


On Sat, Dec 7, 2013 at 8:48 AM, Rony G. Flatscher
<[email protected]>wrote:

> Hi there,
>
> as long as ooRexx may be deployed in either 32 or 64 bit there are use
> cases where a Rexx programmer
> is in need of determining which version of ooRexx is currently running. An
> important use case for
> such a feature are installation routines written in Rexx where the bitness
> determines which external
> Rexx function libraries (DLLs/so/dylibs) should be installed.
>
> Feature request <https://sourceforge.net/p/oorexx/feature-requests/354/>
> tries to address this. The
> patch <https://sourceforge.net/p/oorexx/patches/175/> tries to implement
> a possible solution after
> discussions on the ooRexx developer list (patch also depicted at the end
> of this mail).
>
> If there are no objections about the suggested solution/implementation of
> the RFE, I would request
> the inclusion of this patch in 4.2.0.
>
> ---rony
>
> P.S.: Suggested patch:
>
> Index: main/trunk/interpreter/runtime/Version.cpp
> ===================================================================
> --- main/trunk/interpreter/runtime/Version.cpp  (revision 8582)
> +++ main/trunk/interpreter/runtime/Version.cpp  (working copy)
> @@ -70,7 +70,13 @@
>              day++;                             /* step over it
>            */
>          }
>                                                 /* format the result
>           */
> -        sprintf(buffer, "REXX-ooRexx_%d.%d.%d(MT) 6.04 %s %s %s",
> ORX_VER, ORX_REL, ORX_MOD, day, month, year);
> +        sprintf(buffer, "REXX-ooRexx_%d.%d.%d(MT)_%s-bit 6.04 %s %s %s",
> ORX_VER, ORX_REL, ORX_MOD,
> +#ifdef __REXX64__
> +                       "64",
> +#else
> +                       "32",
> +#endif
> +                       day, month, year);
>          versionNumber = new_string(buffer);  /* return as a rexx string
>         */
>      }
>      return versionNumber;
>
>
>
> ------------------------------------------------------------------------------
> Sponsored by Intel(R) XDK
> Develop, test and display web and hybrid apps with a single code base.
> Download it for free now!
>
> http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
> _______________________________________________
> Oorexx-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to