of nonsense and thank you for being
patient and reading up to here :-)
On the contrary, that was by far the clearest design explanation I've
yet seen in this discussion.
--
Andrew Piskorski [EMAIL PROTECTED]
http://www.piskorski.com/
the typical first-time AOLserver user needs to set up at
least two AOLserver instances, one for his Development site and one
for Production. This should be the DEFAULT, easiest to do setup, not
something special that every new user has to hack in for themselves.
--
Andrew Piskorski [EMAIL PROTECTED
were all Mac PowerPC boxes running OS-X, is that right? If so, then
the common thread here is OS-X, no? OS-X is known to be significantly
less efficient than Linux in some areas, this is probably one of them?
--
Andrew Piskorski [EMAIL PROTECTED]
http://www.piskorski.com/
sophisticated high-performance multi-threaded
malloc replacements, rather than just ns_malloc. This was discussed a
bit on the AOLserver list a year or three ago, if anyone cares to
search.
--
Andrew Piskorski [EMAIL PROTECTED]
http://www.piskorski.com/
in Gnome?
Bonwick's brief concluding thoughts about how OS core services are
often the most neglected are also interesting.
--
Andrew Piskorski [EMAIL PROTECTED]
http://www.piskorski.com/
? If not, then it seems like a
reasonable and maybe desirable thing to do. And if it is desirable,
why not just do it by default all the time, for all nsdb database
pools?
--
Andrew Piskorski [EMAIL PROTECTED]
http://www.piskorski.com/
on
top of Subversion. I know little about it, but the idea sounds kludgy
to me.
--
Andrew Piskorski [EMAIL PROTECTED]
http://www.piskorski.com/
CVS after they initially added nsproxy, or
changes which you've committed to the Naviserver CVS?
--
Andrew Piskorski [EMAIL PROTECTED]
http://www.piskorski.com/
that a fork
was in fact necessary.
IMNSHO that was not done, and thus the NaviServer fork was
unjustified. Oh well, I guess it's all largely irrelevant now...
--
Andrew Piskorski [EMAIL PROTECTED]
http://www.piskorski.com/
run it on
your desktop or whatever other Linux box you have available to you.
That should give be enough to at least get you started.
--
Andrew Piskorski [EMAIL PROTECTED]
http://www.piskorski.com/
is invalidated?
Yes, but last I heard no one got around to actually forward porting it
from AOLserver 3.3+ad13 to 4.x:
Cache compiled Tcl page bytecode
https://sourceforge.net/tracker/?func=detailaid=689515group_id=3152atid=353152
--
Andrew Piskorski [EMAIL PROTECTED]
http://www.piskorski.com/
On Wed, Jul 12, 2006 at 04:03:37PM -0400, Vlad Seryakov wrote:
Naviserver does it automatically, it was ported a long time ago
Awesome, that's good to know.
Cache compiled Tcl page bytecode
https://sourceforge.net/tracker/?func=detailaid=689515group_id=3152atid=353152
--
Andrew
On Wed, Jul 12, 2006 at 04:49:38PM +0200, Zoran Vasiljevic wrote:
Am 12.07.2006 um 16:22 schrieb Andrew Piskorski:
I would have started actively and frequently committing code to the
AOLserver CVS, as Dossy explicitly asked/challenged you to do, rather
than merely talking about doing so
.
--
Andrew Piskorski [EMAIL PROTECTED]
http://www.piskorski.com/
, registered procs etc.?
Yes, indeed it would...
--
Andrew Piskorski [EMAIL PROTECTED]
http://www.piskorski.com/
On Thu, Jul 13, 2006 at 04:53:51PM -0400, Andrew Piskorski wrote:
On Thu, Jul 13, 2006 at 09:28:00PM +0100, Stephen Deasey wrote:
Except... Rob found a neat way to cheat by passing the script as an
arg to a do-nothing 'for' command. 'for' compiles the script for you.
Very smart
the
internal rep of many objects across tsv_set and tsv_get.
--
Andrew Piskorski [EMAIL PROTECTED]
http://www.piskorski.com/
into a stand-alone Tcl package, and then use that same package
for both OpenACS and non-OpenACS systems. That definitely is
feasible, but unfortunately, I never got around to doing it. :(
--
Andrew Piskorski [EMAIL PROTECTED]
http://www.piskorski.com/
and 4.2 after
change in test.nscfg. Thanks to Michael Lex for writing the tests.
(Unfortunately the ancient cvs2cl.pl version 1.2 I'm using tends to
mis-format the the cvs commit messages.)
--
Andrew Piskorski [EMAIL PROTECTED]
http://www.piskorski.com/
along.
--
Andrew Piskorski [EMAIL PROTECTED]
http://www.piskorski.com/
new things to learn.
That's nice when it happens, but I think it's highly overrated. What
you typically want in a general programming hire is not so much
someone who has less to learn, as someone who habitually learns many
new things quickly.
--
Andrew Piskorski [EMAIL PROTECTED]
http
got work to do now! style API there?
And if so, I'd say leave ns_cond alone, it's just a low-level wrapper
around pthread_cond_*, and that's fine. Futzing with it sounds likely
to be wasted effort at best, and perhaps a source of very tricky
destabalizing bugs at worst.
--
Andrew Piskorski [EMAIL
that suggests that a newer version of the old Tcl
page bytecode cacheing feature listed below (perhaps integrated with
the ADP stuff as Stephen Deasey has discussed in the past), would
still be quite valuable?
http://sourceforge.net/tracker/?func=detailaid=689515group_id=3152atid=353152
--
Andrew
idea. It's also awfully nice to be able to just diff two
files to see what you changed.
--
Andrew Piskorski [EMAIL PROTECTED]
http://www.piskorski.com/
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through
On Fri, Oct 26, 2012 at 08:30:26PM +0100, Stephen Deasey wrote:
I was thinking it could work something like this:
- driver acquires lock, takes first conn thread off queue, releases lock
What if there are no conn threads waiting in the queue?
--
Andrew Piskorski a...@piskorski.com
#d-express-windows-desktop
http://www.visualstudio.com/en-US/products/visual-studio-express-vs
--
Andrew Piskorski a...@piskorski.com
--
___
naviserver-devel mailing list
the output configure file into
the version control system?
--
Andrew Piskorski a...@piskorski.com
--
___
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https
and nscache functionality is now built into the
core Naviserver, but what about the Oracle db driver? Is its latest
version still the code in the AOLserver SourceForge CVS, or is there a
newer/better version around somewhere?
--
Andrew Piskorski a...@piskorski.com
-v log instead, but
that did confuse me for a couple minutes.
--
Andrew Piskorski a...@piskorski.com
--
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org
= /lib/x86_64-linux-gnu/libc.so.6 (0x7fefde7ea000)
/lib64/ld-linux-x86-64.so.2 (0x7fefdebce000)
Btw, why is --disable-rpath the default anyway?
--
Andrew Piskorski a...@piskorski.com
--
Slashdot TV
, which uses a HANDLE type instead of pid_t. And winthread.c
definitely uses HANDLE. So it looks like use of the Unix-only pid_t
crept into a few of the nominally cross-platform files over time. But
what's the correct fix?
--
Andrew Piskorski a...@piskorski.com
On Thu, Sep 18, 2014 at 12:24:12PM +0200, Gustaf Neumann wrote:
Am 17.09.14 23:19, schrieb Andrew Piskorski:
The Naviserver makefiles often definite a LIB variable, e.g.:
LIB = nsthread
What is the exact problem you see: is it the case, when LIB is set
in a Makefile (as cited
On Tue, Sep 23, 2014 at 11:27:33AM -0400, Andrew Piskorski wrote:
Should they be placed like this:
foo/naviserver/nsoracle/
foo/naviserver/nsssl/
I notice that if I put one checkout inside another like the above,
then when I do hg -v log while in the naviserver directory,
Mercurial does
is
there nothing in the commit log about a delete? Is this some sort of
artifact due to converting from CVS into Mercurial?
--
Andrew Piskorski a...@piskorski.com
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog
,
and we should borrow some of the Windows version of TclpCreateTempFile()
for direct use in Naviserver?
--
Andrew Piskorski a...@piskorski.com
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS
-test
--
Andrew Piskorski a...@piskorski.com
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0
.
--
Andrew Piskorski a...@piskorski.com
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance
opens the file and returns a file handle. So yes, you
could use mktemp as part of an implementation of mkstemp, but they do
are not replacements for each other.
--
Andrew Piskorski a...@piskorski.com
--
Meet PCI DSS 3.0
file...
Is that a good fit for Naviserver's needs?
--
Andrew Piskorski a...@piskorski.com
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS
, if we remove it?
I tried removing the _WIN32_WINNT definition entirely just now, which
DID change the build behavior! It switched to a different set of
errors and warnings. So maybe we do need it, but I don't know why.
I'll look more once I get the build working again.
--
Andrew Piskorski
On Wed, Sep 17, 2014 at 06:50:08PM -0400, Andrew Piskorski wrote:
include/ns.h has this:
#define NS_EXTERN extern NS_EXPORT
But I believe that is NOT relevent here because master.c, thread.h,
and nsthread.h (correctly) do NOT include ns.h.
Instead, I think
On Wed, Oct 01, 2014 at 03:12:34PM -0400, Andrew Piskorski wrote:
Creating library nsthread.lib and object nsthread.exp
reentrant.o : error LNK2019: unresolved external symbol Ns_Log referenced
in function ns_asctime
nsthread.dll : fatal error LNK1120: 1 unresolved externals
Well, I
date:Tue Jan 07 19:18:36 2014 +0100
files: Makefile
description:
- build directory modues/tcl during install, since default configs point to it
--
Andrew Piskorski a...@piskorski.com
--
Meet PCI DSS 3.0
! ?? ::FNODOBFM::`string'+0x28ff0
`0027fa00 ` ntdll!LdrInitializeThunk+0xe
--
Andrew Piskorski a...@piskorski.com
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant
was created on Linux, but my Windows build uses it
too. Perhaps that is the problem? But how the heck can I generate a
correct version of nsconfig.h for my Windows 7 system?
--
Andrew Piskorski a...@piskorski.com
--
Andrew Piskorski a...@piskorski.com
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0
description: Tag aolserver-4.0.10
--
Andrew Piskorski a...@piskorski.com
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit
:Wed Aug 17 23:55:57 2005 +0100
summary: Updates to new build tools to support Unix
changeset: 1360:697679717350
user:Jim Davidson jgdavid...@aol.com
date:Wed Aug 17 22:18:46 2005 +0100
summary: New platform-indepedent build support
--
Andrew Piskorski
On Sun, Oct 05, 2014 at 08:01:13PM +0200, Gustaf Neumann wrote:
Am 02.10.14 23:40, schrieb Andrew Piskorski:
Do we actually need the modules/tcl/ directory for anything now?
yes, we need it for installing site specific tcl library files.
Ah, so presumably Naviserver's moving of its own
it.) My previous experience with
AOLserver 4.0.x on Windows was with 32-bit Windows, which would have
natively used 32-bit time_t. So perhaps forcing my 64-bit build to
use 32-bit time_t would be useful.
--
Andrew Piskorski a...@piskorski.com
to understand.
Two, the current platform-independent approach locks up in my
Windows build, while the old Windows-specific code that AOLserver used
for many years does not. I do not know why this is, but I certainly
will use the old Windows-specific code until I figure it out.
--
Andrew Piskorski
] }
0 - Thu Jan 01 00:00:00 GMT 1970
2174774400 - Wed Dec 01 00:00:00 GMT 2038
253399622400 - Wed Dec 01 00:00:00 GMT
% exit
--
Andrew Piskorski a...@piskorski.com
--
Slashdot TV. Videos for Nerds. Stuff
how it goes as
I do more merges across my two branches, assuming I keep the clean
branch around.
--
Andrew Piskorski a...@piskorski.com
--
Slashdot TV. Videos for Nerds. Stuff that Matters.
http
such a path, either for Naviserver or in my
own code.
--
Andrew Piskorski a...@piskorski.com
--
Slashdot TV. Videos for Nerds. Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/4140/ostg.clktrk
.
--
Andrew Piskorski a...@piskorski.com
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0
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 the define _USE_32BIT_TIME_T yes or not?
I haven't tried using _USE_32BIT_TIME_T yet, but I think using it
would be INCORRECT on Windows-64
On Tue, Oct 07, 2014 at 04:09:02PM -0400, Andrew Piskorski wrote:
C:\ C:\web\nsd-atp\bin\nsd -c
[384.e14][-main-] Notice: nsmain: NaviServer/4.99 starting
[384.e14][-main-] Fatal: nsthreads: localtime_s failed in ns_localtime: win32
err: 22
In ns_localtime(), I changed this call:
errNum
don't know if it's a real problem or how to fix it.
Some related docs:
http://msdn.microsoft.com/en-us/library/cx0bb1cy.aspx
http://msdn.microsoft.com/en-us/library/windows/desktop/ms684342%28v=vs.85%29.aspx
--
Andrew Piskorski a...@piskorski.com
.
--
Andrew Piskorski a...@piskorski.com
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance
being used to generate that info?
I couldn't seem to save a direct link to the shift/cast issue in
nsd/sockfile.c, but it is pretty easy to browse to it.
--
Andrew Piskorski a...@piskorski.com
--
Meet PCI DSS 3.0
on Windows will
be in a rather narrow application (not OpenACS; we use Linux for
that), so it would be great to see it tested on a wider range of
workloads.
--
Andrew Piskorski a...@piskorski.com
--
Meet PCI DSS 3.0
links against these Windows
libraries:
kernel32.lib advapi32.lib ws2_32.lib user32.lib
Do I need to do something special to find the 32-bit versions of
those?
--
Andrew Piskorski a...@piskorski.com
--
Meet PCI DSS 3.0
in __libc_start_main (main=0x400660 main, argc=4,
ubp_av=0x7fff38339a18, init=optimized out, fini=optimized out,
rtld_fini=optimized out, stack_end=0x7fff38339a08) at libc-start.c:226
#11 0x00400695 in _start ()
(gdb)
--
Andrew Piskorski a...@piskorski.com
call that function, the
* application will crash whenever WinTcl tries to call functions through
* these null pointers. That is not a bug in Tcl - Tcl_FindExecutable is
* mandatory in recent Tcl releases.
--
Andrew Piskorski a...@piskorski.com
out,
rtld_fini=optimized out, stack_end=0x7fff4d205338) at libc-start.c:226
#11 0x00400695 in _start ()
(gdb)
--
Andrew Piskorski a...@piskorski.com
--
Comprehensive Server Monitoring with Site24x7.
Monitor
place for
bugs? I wasn't able to build or test the code from around then
though, so it's just an arbitrary guess on my part.
--
Andrew Piskorski a...@piskorski.com
--
Comprehensive Server Monitoring with Site24x7
0x2ac57b135c83 in __nptl_deallocate_tsd () at pthread_create.c:156
#20 0x2ac57b135ea8 in start_thread (arg=0x2ac58880e700)
at pthread_create.c:315
#21 0x2ac57a2eb3fd in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#22 0x in ?? ()
(gdb)
--
Andrew Piskorski
On Sat, Oct 18, 2014 at 01:56:10PM +0200, Gustaf Neumann wrote:
Dear Andrew, i have fixed the problem in the head branch. Your test is
working for me, at least under Mac OS X and Linux.
Excellent, thank you, Gustaf! I confirm that ns_cond now works on
both Linux and Windows.
--
Andrew
of a web
server. But it is very nice that they (and the Tcl Threads Extension)
have the tools available when you need to do something different.
--
Andrew Piskorski a...@piskorski.com
--
Comprehensive Server Monitoring
-on packages,
not even tcllib.
--
Andrew Piskorski a...@piskorski.com
--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications
On Mon, Oct 20, 2014 at 04:07:09PM -0400, Andrew Piskorski wrote:
Nothing at all gets written to the log file, so I'm not sure how to
debug this. But presumably that means something is dying very early,
perhaps in NsConnectService()?
Briefly, I managed to the nsd Windows Service to start
On Mon, Oct 20, 2014 at 10:12:47PM -0400, Andrew Piskorski wrote:
Fatal: nsmain: no such server 'w7-1-prod'
But, that is the correct server name from my config file, and it works
fine when I'm not running as a Windows Service! I'm confused, what
could cause it to fail ONLY when running
On Tue, Oct 21, 2014 at 03:22:59PM -0400, Andrew Piskorski wrote:
return Ns_Main(argc, argv, ServerInit);
But where does that ServerInit thing come from? And why is it NULL
when running as a Windows Service, but ok when Naviserver is started
interactively?
Ah, I see: ServiceMain
);
}
Is this a separate problem, not a consequence of skipping some sort of
needed initialization because the initProc from ServiceMain() was NULL?
--
Andrew Piskorski a...@piskorski.com
--
Comprehensive Server Monitoring with Site24x7
indicate a problem somewhere else, or
is it ok and just something special about Windows Services?
The good news is, with that the assertion turned off completely,
Naviserver now appears to run ok as a Windows Service, yay!
--
Andrew Piskorski a...@piskorski.com
whatever Windows
does as SIGHUP?
This is a very minor problem but I do wonder just what is going on there.
(Thanks!)
--
Andrew Piskorski a...@piskorski.com
--
___
naviserver
not? Before calling Tcl_DeleteHashTable()
to remove the nsv array, you do something interesting with BucketIndex()
and an extra round of locking. Is that due to some new feature that
AOLserver did not have, maybe the mutex timings?
--
Andrew Piskorski a...@piskorski.com
, and has some useful compare/contrast discussion
of Windows vs. POSIX thread synchronization APIs. Instead of Unix
signals, Windows uses Console Control Handlers or Exceptions
(depending on what you're trying to do). Naviserver uses a Console
Control Handler.
--
Andrew Piskorski
On Sun, Nov 02, 2014 at 10:27:21PM -0500, Andrew Piskorski wrote:
Two, calling ns_logroll crashed Naviserver with this error:
Debug Assertion Failed!
f:\dd\vctools\crt_bld\self_x86\crt\src\write.c
Line: 68
Expression: (_osfile(fh) FOPEN)
Once the nsd debug symbols were working
not use _write(), instead call WriteFile()
directly and see what happens.
That sounds like a lot of work though, much more than this really
warrants. I'm really glad you found a work-around, Gustaf! I suggest
we just leave it as is, but add some comments about why it's there.
--
Andrew Piskorski
solely
for Windows 7 anyway, but it might to some.
If I was starting from scratch, I'd probably go with the 2013 stuff,
but I don't currently see any reason to upgrade from the older
compiler I'm currently using.
--
Andrew Piskorski a...@piskorski.com
ode was: 1
Return code should have been one of: 0 2
totp-1 FAILED
--
Andrew Piskorski <a...@piskorski.com>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org!
ot;\$(LDLIB)"
CCRPATHS="\$(CCRPATH)"
LDRPATHS="\$(LDRPATH)"
-CCRFLAG=$TCL_CC_SEARCH_FLAGS
-LDRFLAG=$TCL_LD_SEARCH_FLAGS
+CCRFLAG=$CC_SEARCH_FLAGS
+LDRFLAG=$LD_SEARCH_FLAGS
if test "$CCRFLAG" = &qu
I installed nsf 2.1.0 from source, and that fixed the failing hotp-1
and totp-1 tests.
--
Andrew Piskorski <a...@piskorski.com>
--
Check out the vibrant tech community on one of the world's most
engaging tech
hat normal for NaviServer database drivers, or
is there something funny about nsoracle?
--
Andrew Piskorski <a...@piskorski.com>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Sl
matching cookie}
cookie-4.7 FAILED
--
Andrew Piskorski <a...@piskorski.com>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
to try anyway. The better NaviServer integration
just makes the choice more obvious.
--
Andrew Piskorski <a...@piskorski.com>
--
Check out the vibrant tech community on one of the world's most
engaging tech
lhttp.o : error LNK2019: unresolved external symbol _SSL_get_cipher
referenced in function _HttpConnect
libnsd.dll : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\Bin\link.exe"' : return code '0x460'
Stop.
--
sr/bin/tclsh8.6
% info patchlevel
8.6.5
--
Andrew Piskorski
make[1]: Entering directory
'/net/pinky/home/local-16.04/src/web/ns-head-pub/naviserver/nsthread'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory
'/net/pinky/home/local-16.04/src/web/ns-head-pub/navis
af as a reviewer, as
the reviewer look-up box refuses to find him! (Same thing for Zoran.)
Hopefully that's some sort of temporary bitbucket.org bug.
--
Andrew Piskorski
___
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourc
o the
CLEAN variable does not. I'll see if I can come up with some workaround.
--
Andrew Piskorski
___
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel
ld probably).
I added that additional ifdef, and now linking nsd.exe works! I think
actually using nsssl on Windows is still broken, but now NaviServer
builds and appears to run the simple-config.tcl ok. These fixes are
here:
https://bitbucket.org/naviserver/naviserver/pull-requests/19/windows-build-work
file nscp
[28/Jan/2019:10:33:20][28016.7fb29de89700][-main-] Notice: nscp[default]:
listening on [::1]:2080
[28/Jan/2019:10:33:20][28016.7fb29de89700][-main-] Warning: nscp[default]: no
authorized users
[28/Jan/2019:10:33:20][28016.7fb29de89700][-main-] Not
e6658319ae9595e7d874e68086e482f2f74f85
Fix garbled log output on Windows, PRIuPTR now gives I64u or I32u there.
And here's a pull request that includes that, plus a couple other
(very minor) fixes:
https://bitbucket.org/naviserver/naviserver/pul
+in+C+Extensions
(Thanks in advance for your help and advice!)
--
Andrew Piskorski
___
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel
I know that the Tcl nsv_get command is implemented by NsTclNsvGetObjCmd().
But in the NaviServer C code, what is Ns_VarGet() for? I don't see it
used anywhere. Is Ns_VarGet() a C interface to exact same nsv_get
functionality, or is it for something completely different?
--
Andrew Piskorski
On Fri, Feb 01, 2019 at 10:22:46AM +0100, Zoran Vasiljevic wrote:
> Andrew Piskorski wrote:
>
> > I know that the Tcl nsv_get command is implemented by
> > NsTclNsvGetObjCmd(). But in the NaviServer C code, what is
> > Ns_VarGet() for? I don't see it used anywh
lobj.c functions to implement an Ns_Time
Tcl_Obj type, but I definitely don't understand how or why yet!
--
Andrew Piskorski
___
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel
because your C code
> may operate for all known virtual servers or just bunch of them.
Ok. But where do I get the server string from, in C? Or since I'm not
using virtual servers anyway, how do I say "all of them, process-wide"?
--
Andrew Piskorski
_
e ns:addr object approach
is also a way to work around the "Nsvs only store strings" limitation.
Thanks you, Zoran. I'm not sure which way I'll go in my implementation,
but the choices available to me are making more sense now.
--
Andrew Piskorski
__
1 - 100 of 139 matches
Mail list logo