Hello,

I'd like to build log4cxx into my program. However, I encountered the
problem that I mentioned at this subject. RollingFileAppender.cpp uses a
T2A macro that relies on the memory allocation by alloca() at the
following context on line 73 and 81.

rename(T2A(file.str().c_str()), T2A(target.str().c_str()));

I guess, in the rename(oldpath,newpath) function, oldpath is the same as
newpath. So, rename function does not rename correctly. Does it make
sense and does anyone have a good workaround?


F.Y.I.
My environment is
MS VC++ .net 2003 (English)
Windows XP + sp2 (English)

Tomoya,

__________________________________________________
Do You Yahoo!?
http://bb.yahoo.co.jp/

Reply via email to