Hello
While building fpc on my arm netbook, I found this crash in fpmake:
EAccessViolation : Access violation
$00027448 FIXPATH, line 1737 of src/fpmkunit.pp
$00039E24 TTARGET__SETNAME, line 5577 of src/fpmkunit.pp
$00027F24 TTARGETS__ADDEXAMPLEPROGRAM, line 2174 of src/fpmkunit.pp
$000088F4 main, line 65 of fpmake.pp
Attached one-line patch fixes it for me. Can someone apply it now, or
shall I file a bug-report?
Henry
Index: packages/fpmkunit/src/fpmkunit.pp
===================================================================
--- packages/fpmkunit/src/fpmkunit.pp (revision 18253)
+++ packages/fpmkunit/src/fpmkunit.pp (working copy)
@@ -1728,6 +1728,7 @@
P : PChar;
begin
Result:=APath;
+ UniqueString(Result);
If (result<>'') then
begin
P:=PChar(Result);
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal