# New Ticket Created by Aldo Calpini # Please include the string: [perl #41502] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=41502 >
this little patch adds a final \n to the test_c.in and test2_c.in files in config/auto/sizes. the fix is needed for the cegcc platform, cfr. "Porting parrot on PDA", because the cegcc compiler doesn't output the last line at all unless it has a terminating newline. (and then, terminating with a newline seems a good practice anyway). this shouldn't break anything for other platforms. at least it doesn't break for cygwin. cheers, Aldo
--- config/auto/sizes/test_c.in 2007-02-14 09:29:45.506693300 +0100 +++ config/auto/sizes/test_c.in.new 2007-02-14 09:36:09.923665800 +0100 @@ -22,7 +22,7 @@ printf("\tfloatsize => %d,\n", sizeof(float)); printf("\tdoublesize => %d,\n", sizeof(double)); - printf(");"); + printf(");\n"); return 0; } --- config/auto/sizes/test2_c.in 2007-02-14 09:29:57.580241900 +0100 +++ config/auto/sizes/test2_c.in.new 2007-02-14 09:36:17.544176200 +0100 @@ -15,7 +15,7 @@ printf("\thugeintval => '%s',\n", "@int8_t@"); printf("\thugeintvalsize => %d,\n", sizeof(@int8_t@)); - printf(");"); + printf(");\n"); return 0; }