Guten Tag Prof A Olowofoyeku (The African Chief),
am Samstag, 22. November 2003 um 14:26 schrieben Sie:
PAOTAC> Hi
PAOTAC> There is a problem with Cygwin and gpc-20030830, which is illustrated PAOTAC> in this program:
PAOTAC> program fbug; PAOTAC> uses gpc; PAOTAC> begin PAOTAC> Writeln (FileExists ('fbug.pas')); PAOTAC> Writeln (DirectoryExists ('.')); PAOTAC> end.
PAOTAC> In both cases, it prints "False", when indeed both the file and PAOTAC> directory do exist. Checking filename.pas shows that both functions PAOTAC> call "Stat", and I presume that this is where the problem lies - but I PAOTAC> have no idea what do do about it.
$ ./stat.exe False True
Works for me(tm) with the Cygwin version. Package gcc-gpc-3.3.1.3 from: http://cygwin.com/setup.exe
Cygwin version 1.5.5-1, latest buildtools.