Changeset 1175

Show
Ignore:
Timestamp:
11/13/2012 01:33:36 PM (6 months ago)
Author:
moo
Message:

align line number in trace

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/util/xc_trace.h

    r1174 r1175  
    3535const char *xc_trace_get_basename(const char *path); 
    3636#       define TRACE(fmt, ...) \ 
    37         xc_trace("%s:%d: " fmt "\r\n", xc_trace_get_basename(__FILE__), __LINE__, __VA_ARGS__) 
     37        xc_trace("%s:%04d: " fmt "\r\n", xc_trace_get_basename(__FILE__), __LINE__, __VA_ARGS__) 
    3838#   endif /* ZEND_WIN32 */ 
    3939#   undef NDEBUG