[fpc-pascal] ExpandFileName failure on long filenames on Linux

Bart bartjunk64 at gmail.com
Sat Aug 31 18:37:27 CEST 2013


On 8/31/13, Tomas Hajny <XHajT03 at hajny.biz> wrote:

> In general, it is a known fact that file system related functions provided
> by unit System are limited to shortstrings. From this point of view,
> GetDir is rather an exception (and admittedly rather unfortunate one
> considering the current state of implementation), because it provides an
> overloaded ansistring version. From this point of view, I would say that a
> bug report is indeed appropriate, but I'd limit it to GetDir for now (for
> the others like MkDir, etc., you could file a feature request at best).

 Jonas Maebe said:
> This is all already fixed in the cpstrrtl branch.

If this applies to _all_ file operation functions, then maybe just wait?
Fixing only GetDir makes little sense to me.

Bart



More information about the fpc-pascal mailing list