Thread View: news.software.nntp
5 messages
5 total messages
Started by John Mizzi
Tue, 22 Jul 1997 00:00
inn 1.6
Author: John Mizzi
Date: Tue, 22 Jul 1997 00:00
Date: Tue, 22 Jul 1997 00:00
6 lines
575 bytes
575 bytes
Has anyone gotten inn 1.6.x to build on a solaris box ?? Any what is the diffence between snprintf and sprintf ???
Re: inn 1.6
Author: Curt Welch
Date: Tue, 22 Jul 1997 00:00
Date: Tue, 22 Jul 1997 00:00
12 lines
791 bytes
791 bytes
> Any what is the diffence between snprintf and sprintf ??? snprintf has an extra buffer size argument. (like strncpy vs. strcpy execpt snprintf will always null terminate the string). int snprintf(char *str, size_t size, const char *format, ...) Curt Welch http://CurtWelch.Com/
Re: inn 1.6
Author: brian
Date: Tue, 22 Jul 1997 00:00
Date: Tue, 22 Jul 1997 00:00
18 lines
928 bytes
928 bytes
You might want to read the documentation that came with inn 1.6b1 and install newlog-1.0.4 so that it will fix the problems that you are having with snprintf. John Mizzi (jmizzi@premenos.com) wrote: : Has anyone gotten inn 1.6.x to build on a solaris box ?? : : Any what is the diffence between snprintf and sprintf ??? -- Brian S. Adelson Network Operations Center VoiceNet
Re: inn 1.6
Author: Matt Dillon
Date: Tue, 22 Jul 1997 00:00
Date: Tue, 22 Jul 1997 00:00
13 lines
896 bytes
896 bytes
:In article <33D4FE64.481B@premenos.com>,
:John Mizzi <jmizzi@premenos.com> wrote:
:>Has anyone gotten inn 1.6.x to build on a solaris box ??
:>
:>Any what is the diffence between snprintf and sprintf ???
snprintf() has an extra parameter to specify the size of the
buffer being written to in order to prevent an overflow.
-Matt
Re: inn 1.6
Author: Neil Levine
Date: Wed, 23 Jul 1997 00:00
Date: Wed, 23 Jul 1997 00:00
23 lines
1238 bytes
1238 bytes
On Tue, 22 Jul 1997 11:39:32 -0700, John Mizzi <jmizzi@premenos.com> mumbled: > Has anyone gotten inn 1.6.x to build on a solaris box ?? > > Any what is the diffence between snprintf and sprintf ??? Untar the newlog-1.0.4.tar.gz which is included in the INN tar ball. Make it and then copy lbnewlog.a to /usr/lib. Add -lnewlog as a library option in config/config.data and it should compile OK. Neil -- -------------------------------------------------------------------- Neil Levine Yoyo Internet Services levine@yoyo.org http://www.yoyo.org "Adventure..excitement..a Jedi craves not these things" - Silent Bob --------------------------------------------------------------------
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads