You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-user@logging.apache.org by "J.T. Conklin" <jt...@acorntoolworks.com> on 2005/04/04 00:42:19 UTC

cacheddateformat.cpp compile problem on NetBSD/amd64.

When compiling log4cxx from CVS HEAD on NetBSD/amd64, I ran into a small
discrepancy between the declaration and definition of CachedDataFormat::
findMillisecondStart.  The time argument was log4cxx_time_t in the decl,
apr_time_t in the defn.  I've enclosed a patch which changes the latter 
to log4cxx_time_t.

FWIW, I followed the "Report a log4cxx bug here" link on
http://logging.apache.org/site/bugreport.html.  While It brought up a
bug tracking system, I couldn't find any way to actually submit a bug
report, which is why subscribed and am sending it to the list.

    --jtc

Index: src/cacheddateformat.cpp
===================================================================
RCS file: /home/cvspublic/logging-log4cxx/src/cacheddateformat.cpp,v
retrieving revision 1.16
diff -c -r1.16 cacheddateformat.cpp
*** src/cacheddateformat.cpp	11 Mar 2005 06:34:49 -0000	1.16
--- src/cacheddateformat.cpp	3 Apr 2005 22:00:42 -0000
***************
*** 91,97 ****
   *    field (likely RelativeTimeDateFormat)
   */
  int CachedDateFormat::findMillisecondStart(
!   apr_time_t time, const LogString& formatted,
    const DateFormatPtr& formatter,
    Pool& pool) {
  
--- 91,97 ----
   *    field (likely RelativeTimeDateFormat)
   */
  int CachedDateFormat::findMillisecondStart(
!   log4cxx_time_t time, const LogString& formatted,
    const DateFormatPtr& formatter,
    Pool& pool) {
  

-- 
J.T. Conklin