"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "log.h" between
logrotate-3.18.0.tar.xz and logrotate-3.18.1.tar.xz

About: logrotate rotates, compresses, and mails system logs.

log.h  (logrotate-3.18.0.tar.xz):log.h  (logrotate-3.18.1.tar.xz)
skipping to change at line 13 skipping to change at line 13
#include <stdio.h> #include <stdio.h>
#define MESS_REALDEBUG 1 #define MESS_REALDEBUG 1
#define MESS_DEBUG 2 #define MESS_DEBUG 2
#define MESS_VERBOSE 3 #define MESS_VERBOSE 3
#define MESS_NORMAL 4 #define MESS_NORMAL 4
#define MESS_ERROR 5 #define MESS_ERROR 5
#define MESS_FATAL 6 #define MESS_FATAL 6
#define LOG_TIMES (1 << 0)
void message(int level, const char *format, ...) void message(int level, const char *format, ...)
#ifdef __GNUC__ #ifdef __GNUC__
__attribute__ ((format(printf, 2, 3))); __attribute__ ((format(printf, 2, 3)));
#else #else
; ;
#endif #endif
#define message_OOM() \ #define message_OOM() \
do { \ do { \
message(MESS_ERROR, "cannot allocate memory [%s():%d]\n", __func__, __LI NE__); \ message(MESS_ERROR, "cannot allocate memory [%s():%d]\n", __func__, __LI NE__); \
 End of changes. 1 change blocks. 
2 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)