update ignore list.

add timestamps to error dumper


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@13152 67ed7778-7388-44ab-90cf-0a291f65f57c
This commit is contained in:
Marcus Meissner
2010-07-17 06:14:40 +00:00
parent f820e97692
commit a217a2329c

View File

@@ -14,6 +14,7 @@
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdarg.h>
@@ -24,7 +25,10 @@
static void errordumper(GPLogLevel level, const char *domain, const char *str,
void *data) {
fprintf(stdout, "%s\n", str);
struct timeval tv;
gettimeofday (&tv, NULL);
fprintf(stdout, "%d.%d: %s\n", tv.tv_sec, tv.tv_usec, str);
}
/* This seems to have no effect on where images go