Peter Vreman a écrit :
Compelling FPC 2.1.4 to behave like FPC 2.0.4 is not very difficult.
In a program where you have "A := B - C;" (A,B,C being Longwords), it
is sufficient to write "A := Longword(Longint(B) - Longint(C));" and all
is right. The most difficult is to find which lines of code ha
On Wed, 15 Aug 2007, Graeme Geldenhuys wrote:
> On 15/08/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote:
> > > In the mean time I grep searched all the FPC src and couldn't find
> > > such a function. For now I implemented some $I included file trickery
> > > to avoid IFDEF's in my code.
> >
On 15/08/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote:
> > In the mean time I grep searched all the FPC src and couldn't find
> > such a function. For now I implemented some $I included file trickery
> > to avoid IFDEF's in my code.
>
> You must have missed
>
> fpReadLink
My search string ha
On Wed, 15 Aug 2007, Graeme Geldenhuys wrote:
> On 15/08/07, Vincent Snijders <[EMAIL PROTECTED]> wrote:
> >
> > If you cannot find it in the RTL, consider submitting ReadAllLinks from the
> > LCL's
> > fileutil unit to the FPC team. At least it doesn't depend on libc
> > (directly).
>
> Than
On 15/08/07, Vincent Snijders <[EMAIL PROTECTED]> wrote:
>
> If you cannot find it in the RTL, consider submitting ReadAllLinks from the
> LCL's
> fileutil unit to the FPC team. At least it doesn't depend on libc (directly).
Thanks Vincent. I'll go have a look.
In the mean time I grep searched a
Graeme Geldenhuys schreef:
Hi,
Is there a function in SysUtils or some other place in RTL that I can
use to extract the target path of a symlink file? I'm using
FindFirst/FindNext. The sr.Attrib and faSymLink is True, but I can't
(in a easy way) see how I can actually find out where it points
Hi,
Is there a function in SysUtils or some other place in RTL that I can
use to extract the target path of a symlink file? I'm using
FindFirst/FindNext. The sr.Attrib and faSymLink is True, but I can't
(in a easy way) see how I can actually find out where it points to.
I'm thinking x-platform h
Sorry, I'm being stupid!!! TSearchRec gives me everything I need.
How did I miss that! :)
Graeme.
On 15/08/07, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Is there a x-platform file attributes function in the RTL? I'm
> creating a file grid component in fpGUI and need to extract s
Hi,
Is there a x-platform file attributes function in the RTL? I'm
creating a file grid component in fpGUI and need to extract some
information about each file. Info like: Size, Attributes (win32) or
Mode (linux), Mod Date, Group, Owner, Is symbolic link, etc..
I can abstract those parts to be i
> Compelling FPC 2.1.4 to behave like FPC 2.0.4 is not very difficult.
> In a program where you have "A := B - C;" (A,B,C being Longwords), it
> is sufficient to write "A := Longword(Longint(B) - Longint(C));" and all
> is right. The most difficult is to find which lines of code has to be
> modifie
10 matches
Mail list logo