logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@acorntoolworks.com (J.T. Conklin)
Subject cacheddateformat.cpp compile problem on NetBSD/amd64.
Date Sun, 03 Apr 2005 22:42:19 GMT
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

Mime
View raw message