On 21-4-2013 19:54, Mark Morgan Lloyd wrote:
Reinier Olislagers wrote:
See this forum thread:
http://lazarus.freepascal.org/index.php/topic,20664.msg119960.html#msg119960
Forum user ocye got mipsel binaries, but the ELF flags apparently need
to be changed due to a bug in older Linux
On Sun, 21 Apr 2013, Mattias Gaertner wrote:
Hi,
On one of my Linux machines GetCurrentDir returns '', when the working
directory is a samba share.
Is this a feature or a bug?
It can happen. The linux kernel returns an empty cwd in some cases.
The FPC code tries to work its way up from '.'
On Mon, 22 Apr 2013 09:04:30 +0200 (CEST)
Michael Van Canneyt mich...@freepascal.org wrote:
On Sun, 21 Apr 2013, Mattias Gaertner wrote:
Hi,
On one of my Linux machines GetCurrentDir returns '', when the working
directory is a samba share.
Is this a feature or a bug?
It can
In our previous episode, Mattias Gaertner said:
The FPC code tries to work its way up from '.' in such a case.
I just tried, but it gives a correct result in my case.
Maybe as fallback it can use the environment variable PWD?
No. That would only be valid right after startup, and doesn't
Reinier Olislagers wrote:
Forum user ocye got mipsel binaries, but the ELF flags apparently need
to be changed due to a bug in older Linux kernels.
How can this be done?
In addition, is there perhaps a compiler switch to manage this?
Interesting, there was somebody in (I think) fpc-devel a
Hi,
It seems fpc converts under Windows \^ to ^.
See here:
http://bugs.freepascal.org/view.php?id=23294
Is this a feature or a bug?
Mattias
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
In our previous episode, Mattias Gaertner said:
It seems fpc converts under Windows \^ to ^.
See here:
http://bugs.freepascal.org/view.php?id=23294
Is this a feature or a bug?
No idea, but IIRC ^ is the escape char on Windows NT cmdline shell (like \ in
C).
So ^\ would be a non-path \
On Mon, 22 Apr 2013 09:35:19 +0200 (CEST)
mar...@stack.nl (Marco van de Voort) wrote:
In our previous episode, Mattias Gaertner said:
It seems fpc converts under Windows \^ to ^.
See here:
http://bugs.freepascal.org/view.php?id=23294
Is this a feature or a bug?
No idea, but IIRC
On Mon, 22 Apr 2013, Marco van de Voort wrote:
In our previous episode, Mattias Gaertner said:
The FPC code tries to work its way up from '.' in such a case.
I just tried, but it gives a correct result in my case.
Maybe as fallback it can use the environment variable PWD?
No. That would
Toru Takubo wrote / napísal(a):
Hi Dmitry,
Thank you very much for your advice. I am sure your
code should work, but unfortunately I can not modify
the existing stored procedures.
I will explain what I have been trying so far.
Suppose you are using the following stored procedure,
On 22-4-2013 10:06, LacaK wrote:
Toru Takubo wrote / napísal(a):
2. TSQLQuery (or TMSSQLConnection) does not support OUTPUT parameter.
TMSSQLConnection does not support handling of return status and output
parameters of stored procedures
Theoretically it can be added, but it will complicate
Graeme Geldenhuys wrote / napísal(a):
On 2013-04-20 10:11, Ludo Brands wrote:
TFieldDef.Size is expressed in bytes. Zeos, IIRC, assumes a conversion
from any charset to utf8 could be made. Since UTF8 is up to 4 bytes per
char, a VarChar(10) can need up to 40 bytes to be represented in the
On Mon, Apr 22, 2013 at 09:57:06AM +0200, Michael Van Canneyt wrote:
On Mon, 22 Apr 2013, Marco van de Voort wrote:
In our previous episode, Mattias Gaertner said:
The FPC code tries to work its way up from '.' in such a case.
I just tried, but it gives a correct result in my case.
Maybe
On Mon, 22 Apr 2013, Henry Vermaak wrote:
On Mon, Apr 22, 2013 at 09:57:06AM +0200, Michael Van Canneyt wrote:
On Mon, 22 Apr 2013, Marco van de Voort wrote:
In our previous episode, Mattias Gaertner said:
The FPC code tries to work its way up from '.' in such a case.
I just tried, but it
Henry Vermaak wrote:
On Mon, Apr 22, 2013 at 09:57:06AM +0200, Michael Van Canneyt wrote:
On Mon, 22 Apr 2013, Marco van de Voort wrote:
In our previous episode, Mattias Gaertner said:
The FPC code tries to work its way up from '.' in such a case.
I just tried, but it gives a correct result
Just create jar file the usual way. However, you'll need to give FPC-JVM RTL
classes as well (those in org.freepascal namespace)
--
View this message in context:
http://free-pascal-general.1045716.n5.nabble.com/ppcjvm-linking-jar-tp5714263p5714282.html
Sent from the Free Pascal - General
Generics are less advanced in 2.6 compared to trunk, so most generic
changes
are not merged back atm.
Yes, but 2.6.0 and 2.6.2 sources contain fcl-stl source, and it can be
compiled with either.
--
View this message in context:
Am 22.04.2013 11:24 schrieb leledumbo leledumbo_c...@yahoo.co.id:
Generics are less advanced in 2.6 compared to trunk, so most generic
changes
are not merged back atm.
Yes, but 2.6.0 and 2.6.2 sources contain fcl-stl source, and it can be
compiled with either.
Compiled: yes. Linked: not
In our previous episode, leledumbo said:
Yes, but 2.6.0 and 2.6.2 sources contain fcl-stl source, and it can be
compiled with either.
There is a reason why 2.6.x doesn't compile and package fcl-stl. Sleeping
source is considered unsupported.
___
Hi All,
I am writing a redis client in fpc and found that even when the connection
is closed by server (via redis CLIENT KILL), send and receive can still be
done without error. i.e.:
- fpsend returns the number of bytes sent
- fprecv returns 0 (but NOT -1, which indicate a detectable error,
In our previous episode, Xiangrong Fang said:
I am writing a redis client in fpc and found that even when the connection
is closed by server (via redis CLIENT KILL),
I don't know the redis protocol is, but CLIENT KILL sounds like redis
protocol, while you are trying to detect disconnect at
On 04/22/2013 02:23 PM, Xiangrong Fang wrote:
How do I tell if a socket is still connected or not?
The connected State of a TCP/IP socket is a rather complex issue.
A TCP IP connection is either on or off. if it gets disconnected it is
dead and can't be reactivated but by a new open.
As
2013/4/22 Marco van de Voort mar...@stack.nl
In our previous episode, Xiangrong Fang said:
I am writing a redis client in fpc and found that even when the
connection
is closed by server (via redis CLIENT KILL),
I don't know the redis protocol is, but CLIENT KILL sounds like redis
2013/4/22 Michael Schnell mschn...@lumino.de
As long as no event happens to one of the sites, the socket is esteemed
connected by this site. This does not mean that the other site thinks the
same
OK, as connection status is a complex issue, I try to put it in another
way:
1) fpsend() just
Hi Zaher,
On 2013-04-21 21:42, Zaher Dirkey wrote:
1 - I have the source from Git, how to start without download the binary?
The only binary I release is for DocView - simply for convenience. With
the source, switch to the 'develop' branch for the latest changes
(normally pretty stable), or
Compiled: yes. Linked: not so much. The problem is the nested enumerator of
TVector which isn't handled correctly by a pre-trunk compiler. And all other
fcl-stl depend on TVector some way or the other...
Hmm... then maybe I'm lucky enough to have it working, at least on 2.6.2. I
only use
There is a reason why 2.6.x doesn't compile and package fcl-stl. Sleeping
source is considered unsupported.
OK, though that's quite weird reason. It's better not to include it at all
then.
--
View this message in context:
(2013/04/22 17:06), LacaK wrote:
Toru Takubo wrote / napísal(a):
Hi Dmitry,
Thank you very much for your advice. I am sure your
code should work, but unfortunately I can not modify
the existing stored procedures.
I will explain what I have been trying so far.
Suppose you are using the
Fpc ParamStr() handles the \^-^\ part correctly it seems (see bugreport).
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On Mon, 22 Apr 2013 20:19:43 +0200
Bart bartjun...@gmail.com wrote:
Fpc ParamStr() handles the \^-^\ part correctly it seems (see bugreport).
'make' writes the right file name. Next thing is FPC and that uses
the wrong path. So either 'make' is lying or FPC alters the path.
In either case it
On 04/22/13 18:39, Andrew Haines wrote:
On 04/22/13 05:22, leledumbo wrote:
Just create jar file the usual way. However, you'll need to give
FPC-JVM RTL
classes as well (those in org.freepascal namespace)
Alright I've figured it out:
jar cfm trange1.jar manifest.txt trange1.class -C
I was looking at threading support in the System unit and also in the
TThread class.
According to the documentation at
http://www.freepascal.org/docs-html/rtl/system/closethread.html
CloseThread must be called on any thread started with BeginThread. It must
be called after the thread has ended
32 matches
Mail list logo