Am Tuesday 13 September 2011 14:05:52 schrieb Mattias Gaertner:
> Hi,
>
> I'm searching some pascal code for file monitoring for Linux. That means
> getting notified if a file in a directory or its sub directories was
> modified.
> I found some hints that people started it, but I can't find the res
I've just found that the current pwd could be invoked with -W parameter to
produce Windows style path. Perhaps overriding PWD with "pwd -W" when
calling make helps?
--
View this message in context:
http://free-pascal-general.1045716.n5.nabble.com/How-does-fpc-Makefiles-generate-paths-tp4797673p47
We have an implementation based on inotify in our project:
http://doublecmd.svn.sourceforge.net/viewvc/doublecmd/branches/0.5/src/platform/unix/inotify.pp
http://doublecmd.svn.sourceforge.net/viewvc/doublecmd/branches/0.5/src/platform/ufilesystemwatcher.pas
It has only been tested to work on dire
Am 13.09.2011 14:15, schrieb Graeme Geldenhuys:
On 13/09/2011 14:14, Martin Schreiber wrote:
MSEgui has an implementation based on signals because inotify is not
available on old kernels.
lib/common/sysutils/msefilechange.pas.
Word of caution... I still haven't tracked down why MSEide doesn
Am 13.09.2011 14:19, schrieb Mattias Gaertner:
Does this work with thousands of sub directories?
Not tested, probably not. It is used by MSEide.
Martin
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/l
On Tue, 13 Sep 2011 13:14:10 +0100
Martin Schreiber wrote:
> Am 13.09.2011 13:05, schrieb Mattias Gaertner:
> > Hi,
> >
> > I'm searching some pascal code for file monitoring for Linux. That means
> > getting notified if a file in a directory or its sub directories was
> > modified.
> > I found s
On 13/09/2011 14:14, Martin Schreiber wrote:
>>
> MSEgui has an implementation based on signals because inotify is not
> available on old kernels.
> lib/common/sysutils/msefilechange.pas.
Word of caution... I still haven't tracked down why MSEide doesn't
notify me or detect external file changes
Am 13.09.2011 13:05, schrieb Mattias Gaertner:
Hi,
I'm searching some pascal code for file monitoring for Linux. That means
getting notified if a file in a directory or its sub directories was
modified.
I found some hints that people started it, but I can't find the result.
Any hints are greatly
Hi,
I'm searching some pascal code for file monitoring for Linux. That means
getting notified if a file in a directory or its sub directories was
modified.
I found some hints that people started it, but I can't find the result.
Any hints are greatly appreciated.
Or has someone already implemented
In our previous episode, leledumbo said:
> I don't want to maintain two separate tools, so I use unix tools from msys to
> build FPC. Since a few latest release, the tools no longer produce path in
> windows style (e.g. c:/folder/), but in unix style (e.g. \c\folder\). This
> causes failure when bu
I don't want to maintain two separate tools, so I use unix tools from msys to
build FPC. Since a few latest release, the tools no longer produce path in
windows style (e.g. c:/folder/), but in unix style (e.g. \c\folder\). This
causes failure when building fpc with 'cannot create archive blablabla.
11 matches
Mail list logo