> Marco van de Voort wrote:
> >
> >> In any case, I'd consider the reported behaviour (for Linux) buggy - is
> >> somebody going to fix it? Maybe the original reporter might add it to
> >> our
> >> bug repository?
> >
> > Problem is that it is "FileExists". On Windows a directory is not a file,
> >
Marco van de Voort wrote:
>
>> In any case, I'd consider the reported behaviour (for Linux) buggy - is
>> somebody going to fix it? Maybe the original reporter might add it to
>> our
>> bug repository?
>
> Problem is that it is "FileExists". On Windows a directory is not a file,
> under *nix it is.
Op Thu, 4 Jan 2007, schreef Tomas Hajny:
> Marco van de Voort wrote:
> >>
> >> Whoops, I overlooked that part of his answer. You're right, I cannot
> >> either (PC-Dos 2000, no emulation). This is weird, because I have been
> >> able to do this in the past. But it has then been changed a long ti
> In any case, I'd consider the reported behaviour (for Linux) buggy - is
> somebody going to fix it? Maybe the original reporter might add it to our
> bug repository?
Problem is that it is "FileExists". On Windows a directory is not a file,
under *nix it is. One some you even can edit a director
Marco van de Voort wrote:
>>
>> Whoops, I overlooked that part of his answer. You're right, I cannot
>> either (PC-Dos 2000, no emulation). This is weird, because I have been
>> able to do this in the past. But it has then been changed a long time
>> ago
>> already
>
> Afaik some of the FS Dos habi
>
> Whoops, I overlooked that part of his answer. You're right, I cannot
> either (PC-Dos 2000, no emulation). This is weird, because I have been
> able to do this in the past. But it has then been changed a long time ago
> already
Afaik some of the FS Dos habits changed going from FCBS to han
I've written stuff in freepascal that can load and parse a directory and
decipher if it’s a directory or a file - even on POSIX (linux - Fedora 5).
I'm not saying this is a big achievement - but perhaps - at an expense of
speed - but in definitive returned results - I wonder if it would be prudent
Op Wed, 3 Jan 2007, schreef Jonas Maebe:
> > > Maybe there's something I'm missing?
> >
> > No, because in a Dos like filesystem, a direcory abcd will still allow a
> > file abcd to be created. In other words, fileexists returns false so the
> > file can be created.
>
> As he mentioned above,
DirectoryExists?
Yes, I know about that. Looks like you have to use FileExists and
DirectoryExists together.
Henry
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On 3 jan 2007, at 16:46, Daniël Mantione wrote:
Op Wed, 3 Jan 2007, schreef Henry Vermaak:
There is no getting away that Dos filesystem handling is different
from Unix file handling. On Dos like platforms, a filename with
a same name as a subdirectory can exist in the same directory. In
oth
> Maybe there's something I'm missing?
DirectoryExists?
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Op Wed, 3 Jan 2007, schreef Henry Vermaak:
> > There is no getting away that Dos filesystem handling is different
> > from Unix file handling. On Dos like platforms, a filename with
> > a same name as a subdirectory can exist in the same directory. In other
> > words, it should return false.
> >
There is no getting away that Dos filesystem handling is different
from Unix file handling. On Dos like platforms, a filename with
a same name as a subdirectory can exist in the same directory. In other
words, it should return false.
I cannot create a file with the same name as a subdir under W
Op Wed, 3 Jan 2007, schreef Vincent Snijders:
> Henry Vermaak schreef:
> > Hi all
> >
> > FileExists seems to be inconsistent between linux and windows.
> > FileExists in linux returns true for a directory, but not in windows.
> > The windows behaviour is consistent with Delphi, though, and I a
Henry Vermaak schreef:
Hi all
FileExists seems to be inconsistent between linux and windows.
FileExists in linux returns true for a directory, but not in windows.
The windows behaviour is consistent with Delphi, though, and I assume
that's correct.
Can anyone confirm or comment on this?
I ca
Hi all
FileExists seems to be inconsistent between linux and windows.
FileExists in linux returns true for a directory, but not in windows.
The windows behaviour is consistent with Delphi, though, and I assume
that's correct.
Can anyone confirm or comment on this?
Henry
16 matches
Mail list logo