Hi Abou, On 05-02-16 09:17, Abou Al Montacir wrote: > Fine not open? Are you sure the Reset/ReWrite/... open function did not > return an error? Maybe check IoResult after opening the file. > Anyway this is strange as it would not worked before unless the OS > backend open function use is not the same as in previous version. > Can you please provide code snippet about when the file was open, which > mode and so on?
The "file" it tries to open is stderr ;) >> the strange thing is that the affected line seems rather simple: >> procedure WriteLn(var f: textfile; s: shortstring); >> begin >> system.writeln(f, s) >> end; > I'm almost sure this is not the faulty code, but something before that > made the file not correctly open. The annoying thing is that on other archs it works and with fpc 2.6.4 it works, so I agree with Gianfranco that it seems to be related to fpc 3.0.0. However, from my preliminary scan I couldn't find anything in fpc on that low level that changed. >> and the testsuite works perfectly on every other architecture, so I presume >> this is an fpc specific regression. >> (I can also ask to remove the hedgewars arm* architectures if needed) > I don't think we should remove any package form any arch, just be > patient and fix the bug. I agree with that statement. Unless we find out that it never worked on arm*, we just have to fix whatever needs fixing. Paul
signature.asc
Description: OpenPGP digital signature