I spotted another difference:
owwrite messages are NOT null terminated, but perl OWNet ones yes.
I remember a short discussion on this list in which I asked if owserver
messages should be null terminated. I think that Paul changed the code to
reflect my observation, see the thread:
https://sourceforge.net/p/owfs/mailman/message/32206205/
<https://sourceforge.net/p/owfs/mailman/message/32206205/>
(BTW my suggestion was to keep the null terminator, just add it to the
definition of the owserver protocol, but my impression is that Paul changed the
code to make the null terminator unnecessary.)
The timeframe is consistent with the regression analysis already done. My guess
is that this null terminator is the source of the problems.
My suggestion: add to the source tree a formal description (RFC style??) of the
owserver protocol, so that it is clear if the error is client-side or
server-side, and only then proceed to patch owserver or OWNet.pm, should this
be the problem
Stefano
> On 18 Mar 2016, at 08:55, Andy Carter <o...@ply.me.uk> wrote:
>
> On Friday 18 Mar 2016 08:27:51 Stefano Miccoli wrote:
>> Just a simple point:
>>
>> with owwrite you are writing ‘/FF.xxx’ but with perl 'uncached/FF.xx’, so
>> your test are not 100% equivalent.
>>
>> Please check if this is the reason for the different behaviour (which could
>> give a clue on the bug).
>
> Just done a check with 3.1p1 and I see the same result with or without
> uncached in the perl version ie. missing first char plus ||
>
> Andy
>
> ------------------------------------------------------------------------------
> Transform Data into Opportunity.
> Accelerate data analysis in your applications with
> Intel Data Analytics Acceleration Library.
> Click to learn more.
> http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers