pkgsrc/lang/pforth/patches/patch-ab
jtb be19c6c2ef Update to pforth-21.
V20
    - Expand PAD for ConvertNumberToText so "-1 binary .s" doesn't crash.
      Thank you Michael Connor of Vancouver for reporting this bug.

    - Removed FDROP in REPRESENT to fix stack underflow after "0.0 F.".
      Thank you Jim Rosenow of Minnesota for reporting this bug.
	- Changed pfCharToLower to function to prevent macro expansion
	bugs under VXWORKS
      Thank you Jim Rosenow of Minnesota for reporting this bug.

	- "0.0 F~" now checks actual binary encoding of floats. Before
	  this it used to just compare value which was incorrect. Now
	  "0.0 -0.0 0.0 F~" returns FALSE.

	- Fixed definition of INPUT$ in tutorial.
      Thank you Hampton Miller of California for reporting this bug.

	- Added support for producing a target dictionary with a different
	  Endian-ness than the host CPU.  See PF_BIG_ENDIAN_DIC and
	  PF_LITTLE_ENDIAN_DIC.

	- PForth kernel now comes up in a mode that uses BASE for
	  numeric input when started with "-i" option.  It used to
	  always consider numeric input as HEX. Initial BASE is decimal.

V21
	- Fixed some compiler warnings.
2001-06-20 06:53:40 +00:00

17 lines
351 B
Text

$NetBSD: patch-ab,v 1.2 2001/06/20 06:53:41 jtb Exp $
--- csrc/pf_main.c.orig Tue Mar 31 22:34:50 1998
+++ csrc/pf_main.c
@@ -42,7 +42,12 @@
int main( int argc, char **argv )
{
+
+#ifdef PF_DIC
+ const char *DicName = PF_DIC;
+#else
const char *DicName = "pforth.dic";
+#endif
const char *SourceName = NULL;
char IfInit = FALSE;
char *s;