Re: [fpc-devel] StrUtils unit (is poorly implemented)

2010-03-28 Thread Michael Van Canneyt
On Sun, 28 Mar 2010, Flávio Etrusco wrote: Hello, are StrUtils just for Delphi compatibility or are they meant for "real use"? In the first case, is there an alternative unit? In the second, would simple patches to implement "AnsiStartsStr" and "AnsiEndsStr" with CompareMem (for starters) be a

[fpc-devel] StrUtils unit (is poorly implemented)

2010-03-28 Thread Flávio Etrusco
Hello, are StrUtils just for Delphi compatibility or are they meant for "real use"? In the first case, is there an alternative unit? In the second, would simple patches to implement "AnsiStartsStr" and "AnsiEndsStr" with CompareMem (for starters) be accepted? Best regards, Flávio _

[fpc-devel] RangeCheck error in sysutils.FILEGETATTR

2010-03-28 Thread Martin
I have no idea, if this is an FPC or Lazarus, though it seems to be FPC / RTL. I get the following exception, with trunk, revision 15038. Build with range check -Cr -Co -Ct It happens when calling FILEGETATTR with the name of a not existing directory. The stacktrace is from Lazarus, checkin