Search Results

Search: Posts Made By: z7ql
Forum: Programming 10-18-2013
4,450
Posted By z7ql
Thanks. Indeed there are 3 steps in the library...
Thanks. Indeed there are 3 steps in the library install:
-./configure
-make
-make install

I've made initial two steps, but I don't need to install it in the system. It seems that I'll need to...
Forum: Programming 10-14-2013
2,553
Posted By z7ql
Linux Red Hat. I've build it also on openvms...
Linux Red Hat. I've build it also on openvms alpha 8.3. May be I can check it on a small example, where a stack corruption will be practically impossible.

---------- Post updated at 05:25 AM...
Forum: Programming 10-14-2013
4,450
Posted By z7ql
Merge .lo into .so
Good day to everyone.
I've built an libxml2 from sources. I can not install it in a proper way with using repository due to I have not sudo privilegies. I've got a set of .lo files. Is there a...
Forum: Programming 10-03-2013
2,553
Posted By z7ql
I've explored that there are big difference...
I've explored that there are big difference between

{ va_start( args, format ); length = vsnprintf( buffer, BUF_LEN, format, args );

if (length >= BUF_LEN )
{
...
Forum: Programming 09-30-2013
2,553
Posted By z7ql
Thanks. I did not know about the fact what...
Thanks. I did not know about the fact what 'write' is an atomic function. I'll use it. I am using pretty old compiller version on the target system. And with high possibility there are no...
Forum: Programming 09-28-2013
2,553
Posted By z7ql
Some details: logger.c FILE * file;// file...
Some details:
logger.c

FILE * file;// file = fopen(stampedPath,"a");

void writeLog(char * format, ...)
{
va_list args;
va_start (args, format);
vprintf(format, args);
...
Forum: Programming 09-28-2013
2,553
Posted By z7ql
Thanks for detailed answer. Indeed I've got...
Thanks for detailed answer.
Indeed I've got the similar situation in my log after two vfprintf calls. I'll check my situation and try to formulate my question more accurate.
Forum: Programming 09-28-2013
2,553
Posted By z7ql
Logging in shared file
Hi.
The problem is to write logs in a shared file from several processes.
The cooperate call of fprintf() leads to messing the content even in one call

example:
fprintf(f,"a1 \n a2");...
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 02:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy