Re: [naviserver-devel] [AOLSERVER] Naviserver Win-64 Sources

2012-10-17 Thread Maurizio Martignano
[mailto:dv...@diphi.com] Sent: 17 October 2012 07:26 To: Maurizio Martignano Cc: naviserver-devel@lists.sourceforge.net Subject: Re: [AOLSERVER] Naviserver Win-64 Sources Hi Maurizio, I appreciate your efforts on the windows portability and build front; but on the issue of c++ acceptability, I

Re: [naviserver-devel] [AOLSERVER] Naviserver Win-64 Sources

2012-10-17 Thread Maurizio Martignano
Dear Gustav, Thank you for your mail message. My answer here below. Maurizio -Original Message- From: Gustaf Neumann [mailto:neum...@wu.ac.at] Sent: 17 October 2012 11:47 To: naviserver-devel@lists.sourceforge.net Subject: Re: [naviserver-devel] [AOLSERVER] Naviserver Win-64

Re: [naviserver-devel] [AOLSERVER] Naviserver Win-64 Sources

2012-10-17 Thread Maurizio Martignano
@lists.sourceforge.net Subject: Re: [naviserver-devel] [AOLSERVER] Naviserver Win-64 Sources On 17.10.12 12:35, Maurizio Martignano wrote: +#ifdef _WIN64 +Ns_DStringPrintf(dsPtr, %d %d %d %l64d %l64d %l64d %l64d, +#else Ns_DStringPrintf(dsPtr, %d %d %d % PRId64 % PRId64 % PRId64

Re: [naviserver-devel] code cleanup

2012-10-26 Thread Maurizio Martignano
Dear all, I do apologize for my inactivity but some health problem has distracted me from the computer. Hopefully I should be able to come back fully operative pretty soon. First of all I would like to thank Gustav for his work. Secondly, it seems to me there are two major activities

Re: [naviserver-devel] naviserver with connection thread queue

2012-11-29 Thread Maurizio Martignano
This is good engineering work. I rise my hat to that. Congrats, Maurizio From: Gustaf Neumann [mailto:neum...@wu.ac.at] Sent: 29 November 2012 19:51 To: naviserver-devel@lists.sourceforge.net Subject: Re: [naviserver-devel] naviserver with connection thread queue Dear all, one more

Re: [naviserver-devel] Windows 7 recommended compiler and build tools?

2014-08-10 Thread Maurizio Martignano
the actual user requirements. Hope this helps, Maurizio Martignano -Original Message- From: Andrew Piskorski [mailto:a...@piskorski.com] Sent: 10 August 2014 12:46 To: naviserver-devel@lists.sourceforge.net Subject: [naviserver-devel] Windows 7 recommended compiler and build tools? I just

Re: [naviserver-devel] Windows 7 recommended compiler and build tools?

2014-08-25 Thread Maurizio Martignano
Going 32 bit nowadays is a no go. Full stop. Wish you luck. Maurizio -Original Message- From: Andrew Piskorski [mailto:a...@piskorski.com] Sent: 25 August 2014 19:46 To: naviserver-devel@lists.sourceforge.net Cc: Maurizio Martignano Subject: Re: [naviserver-devel] Windows 7

Re: [naviserver-devel] pid_t missing on Windows

2014-09-17 Thread Maurizio Martignano
Dear Andrew, Handles in windows are void pointers. 32 bit void pointers in Windows 32 and 64 bit void pointers in Windows 64 (obviously). However in WIN64 only the less significant 32 bits of a handle are used for compatibility and interoperability reasons. So having typedef int pid_t; or typedef

Re: [naviserver-devel] pid_t missing on Windows

2014-09-18 Thread Maurizio Martignano
Dear Gustav, This is ok. I still do not quite understand/explain why the nsthread module is so different between Aolserver and Naviserver. And again as the two pieces of software are implemented at the moment, the Aolserver version seems to be more portable. Thank you, Maurizio

Re: [naviserver-devel] no mkstemp() on Windows, use TclpCreateTempFile()?

2014-09-26 Thread Maurizio Martignano
http://msdn.microsoft.com/en-us/library/ms235413.aspx Maurizio -Original Message- From: Gustaf Neumann [mailto:neum...@wu.ac.at] Sent: 26 September 2014 14:13 To: naviserver-devel@lists.sourceforge.net Subject: Re: [naviserver-devel] no mkstemp() on Windows, use TclpCreateTempFile()?

Re: [naviserver-devel] no mkstemp() on Windows, use TclpCreateTempFile()?

2014-09-26 Thread Maurizio Martignano
Dear Andrew and Gustaf, I believe this is the function you are looking for: http://msdn.microsoft.com/en-us/library/ms235413.aspx Hope it helps, Maurizio -Original Message- From: Gustaf Neumann [mailto:neum...@wu.ac.at] Sent: 26 September 2014 14:13 To:

Re: [naviserver-devel] no mkstemp() on Windows, use TclpCreateTempFile()?

2014-09-28 Thread Maurizio Martignano
approximation. However, it's not tested, please test it and don't be surprised, if it needs more tweaks (maybe my flag settings are too restrictive). all the best -g Am 27.09.14 16:11, schrieb Andrew Piskorski: On Fri, Sep 26, 2014 at 08:55:37PM +0200, Maurizio Martignano wrote: Dear Andrew

Re: [naviserver-devel] Naviserver hangs on Windows

2014-10-03 Thread Maurizio Martignano
Dear Andrew, Did you happen to use this define _USE_32BIT_TIME_T? Hope it helps, Maurizio -Original Message- From: Andrew Piskorski [mailto:a...@piskorski.com] Sent: 03 October 2014 14:49 To: naviserver-devel@lists.sourceforge.net Subject: [naviserver-devel] Naviserver hangs on

Re: [naviserver-devel] Naviserver hangs on Windows

2014-10-03 Thread Maurizio Martignano
: Re: [naviserver-devel] Naviserver hangs on Windows On Fri, Oct 03, 2014 at 03:21:02PM +0200, Maurizio Martignano wrote: Dear Andrew, Did you happen to use this define _USE_32BIT_TIME_T? No, I did not. Should I? Does Tcl use that? Grepping my source files, I see this: ./include

Re: [naviserver-devel] Naviserver hangs on Windows

2014-10-03 Thread Maurizio Martignano
+0200, Maurizio Martignano wrote: Dear Andrew, Did you happen to use this define _USE_32BIT_TIME_T? No, I did not. Should I? Does Tcl use that? Grepping my source files, I see this: ./include/nsconfig.h:276:#define SIZEOF_TIME_T 8 That nsconfig.h was created on Linux, but my Windows

Re: [naviserver-devel] Naviserver hangs on Windows

2014-10-03 Thread Maurizio Martignano
The Windows-OpenACS distribution which I make available here (http://www.spazioit.com/pages_en/sol_inf_en/windows-openacs_en/) is based on AOLServer 4.5.2, contains the sources, is compiled with Visual Studio 2013 and runs on Windows 64. So if I where you I would give a look at that distribution

Re: [naviserver-devel] Naviserver hangs on Windows

2014-10-05 Thread Maurizio Martignano
I believe you should use it. Thank you, Maurizio -Original Message- From: Andrew Piskorski [mailto:a...@piskorski.com] Sent: 05 October 2014 19:47 To: naviserver-devel@lists.sourceforge.net Cc: Maurizio Martignano Subject: Re: [naviserver-devel] Naviserver hangs on Windows On Sat, Oct

Re: [naviserver-devel] Naviserver hangs on Windows

2014-10-08 Thread Maurizio Martignano
...@piskorski.com] Sent: 07 October 2014 22:36 To: naviserver-devel@lists.sourceforge.net Subject: Re: [naviserver-devel] Naviserver hangs on Windows On Mon, Oct 06, 2014 at 05:18:08PM -0400, Andrew Piskorski wrote: On Sun, Oct 05, 2014 at 09:37:39PM +0200, Maurizio Martignano wrote: Did you use

Re: [naviserver-devel] warning, shift count undefined behavior

2014-10-08 Thread Maurizio Martignano
@lists.sourceforge.net Subject: Re: [naviserver-devel] warning, shift count undefined behavior On Wed, Oct 08, 2014 at 08:14:14AM +0200, Maurizio Martignano wrote: Dear Andrew, Yes, it is a potential issue. http://sonarsrv.spazioit.com:9000/dashboard/index?id=my%3Anaviserver%3 Ansd%2 Neat! Hm

Re: [naviserver-devel] Code Quality

2014-11-13 Thread Maurizio Martignano
the presentation and speech also to this list. For the time being please have a look at the following presentation. http://www.spazioit.com/pages_en/sol_inf_en/code_quality_en/code-inspection_ en/ Thanks and kind regards, Maurizio Martignano Tel +39 0376 1434259 - Fax +39 0376 1434187 Mob +39

Re: [naviserver-devel] more logging problems on Windows

2014-11-14 Thread Maurizio Martignano
Dear Andrew, I would like to draw your attention to the availability of Visual Studio 2013 Community Edition. http://msdn.microsoft.com/en-us/visual-studio-community-vs.aspx Hope it helps, Maurizio -Original Message- From: Andrew Piskorski [mailto:a...@piskorski.com] Sent: 07

Re: [naviserver-devel] IPv6 for NaviServer

2016-02-25 Thread Maurizio Martignano
with HAVE_IPV4. In the meantime and with no rush I will try to investigate the problems of the HAVE_IPV6 version. Thank you, Maurizio From: Maurizio Martignano [mailto:maurizio.martign...@spazioit.com] Sent: 25 February 2016 22:20 To: naviserver-devel@lists.sourceforge.net Subject: Re: [naviserver

Re: [naviserver-devel] IPv6 for NaviServer

2016-02-25 Thread Maurizio Martignano
smoothly. In case you tried the sample nsd-config.tcl script, that could not work with IPv4, since IPv6 addresses were hard-coded. all the best -g Am 24.02.16 um 18:00 schrieb Maurizio Martignano: Dear Gustaf, Thank you as always for all your work. About Windows I cannot really talk about MinGW

Re: [naviserver-devel] IPv6 for NaviServer

2016-02-25 Thread Maurizio Martignano
of February, the one without IPV6 Support. Thank you, Maurizio From: Maurizio Martignano [mailto:maurizio.martign...@spazioit.com] Sent: 25 February 2016 18:05 To: naviserver-devel@lists.sourceforge.net Subject: Re: [naviserver-devel] IPv6 for NaviServer Dear Gustaf, Thank

Re: [naviserver-devel] ns_urlencode on Windows Naviserver

2017-05-12 Thread Maurizio Martignano
Dear Brian, Is this really a "Windows Naviserver" issue or is it a matter of a new implementation of the function, different from what was previously done in Aolserver? The two implementations seem to me quite different. Thanks a lot, Maurizio From: Brian Fenton

Re: [naviserver-devel] ns_urlencode on Windows Naviserver

2017-05-12 Thread Maurizio Martignano
Dear Brian, a short look into the code, at the two different implementations (and how much they differ) would have avoided this wrong assumption. On top of that, as Gustaf suggested, using the "-part path" option you can obtain the full URL properly converted. The main

Re: [naviserver-devel] ns_proxy hang

2017-05-13 Thread Maurizio Martignano
Dear all, CBMC (http://www.cprover.org/cbmc/) symbolic execution of “nsproxy” reports an error in RecvBuff. It could be a false positive. Hope it helps, Maurizio [SendBuf.assertion.1] assertion (slavePtr != ((void *)0)): SUCCESS [SendBuf.assertion.2] assertion (dsPtr != ((void