Perl 3.0 patchlevel 1 printf() bug?

Joseph H. Buehler jhpb at lancia.ATT.COM
Thu Nov 9 18:33:39 AEST 1989


I'm running perl 3.0 with patch #1, and the three password structure
fields #undef'd in config.h

The following perl script fails.

	$char = 0x44;
	$threshold = 65535;
	$key = "a";
	$start{$key} = 512;
	printf("    '%c', $threshold, %d,\n", $char, 0+$start{$key});

Perl 2 patch 18 gives the output (angle brackets inserted by me to
demark the string limits):

<    'D', 65535, 512,>

Perl 3 patch 1 produces:

<D', 65535, 512,>

Anyone know what's going on?
--
Joe Buehler



More information about the Comp.sources.bugs mailing list