goto bail_out;
}
since_time = str_to_uint64(buf); /* this is the since time */
- Dmsg1(100, "since_time=%d\n", (int)since_time);
+ Dmsg1(100, "since_time=%lld\n", since_time);
char ed1[50], ed2[50];
/*
* Sync clocks by polling him for the time. We take
}
dir->signal(BNET_EOD);
- Dmsg2(100, "adj = %d since_time=%d\n", (int)adj, (int)since_time);
+ Dmsg2(100, "adj = %d since_time=%lld\n", (int)adj, since_time);
jcr->incremental = 1; /* set incremental or decremental backup */
- jcr->mtime = (time_t)since_time; /* set since time */
- generate_plugin_event(jcr, bEventSince, (void *)jcr->mtime);
+ jcr->mtime = since_time; /* set since time */
+ generate_plugin_event(jcr, bEventSince, (void *)(time_t)jcr->mtime);
} else {
Jmsg1(jcr, M_FATAL, 0, _("Unknown backup level: %s\n"), level);
free_memory(level);
{
if (sp->bs) {
BSOCK *user = sp->bs;
-
- pm_memcpy(user->msg, msg, len+1);
+ user->msg = check_pool_memory_size(user->msg, len+1);
+ memcpy(user->msg, msg, len+1);
user->msglen = len+1;
user->send();
} else {
int pm_strcat(POOLMEM *&pm, const char *str);
int pm_strcat(POOL_MEM &pm, const char *str);
int pm_strcat(POOLMEM *&pm, POOL_MEM &str);
+
int pm_strcpy(POOLMEM **pm, const char *str);
int pm_strcpy(POOLMEM *&pm, const char *str);
int pm_strcpy(POOL_MEM &pm, const char *str);
int pm_strcpy(POOLMEM *&pm, POOL_MEM &str);
-int pm_memcpy(POOLMEM **pm, const void *data, size_t n);
-int pm_memcpy(POOLMEM *&pm, const void *data, size_t n);
-int pm_memcpy(POOL_MEM &pm, const void *data, size_t n);
+
+int pm_memcpy(POOLMEM **pm, const char *data, size_t n);
+int pm_memcpy(POOLMEM *&pm, const char *data, size_t n);
+int pm_memcpy(POOL_MEM &pm, const char *data, size_t n);
int pm_memcpy(POOLMEM *&pm, POOL_MEM &data, size_t n);
#endif
typedef UINT32 gid_t;
typedef UINT32 mode_t;
typedef INT32 ssize_t;
+typedef UINT32 size_t;
#define HAVE_SSIZE_T 1
#endif /* HAVE_MINGW */
_Z9pm_strcpyR8POOL_MEMPKc
_Z9pm_strcpyRPcPKc
_Z9pm_strcpyRPcR8POOL_MEM
+_Z9pm_memcpyPPcPKvj
+_Z9pm_memcpyR8POOL_MEMPKvj
+_Z9pm_memcpyRPcPKvj
+_Z9pm_memcpyRPcR8POOL_MEMj
_ZN8POOL_MEM10realloc_pmEi
_ZN8POOL_MEM6strcatEPKc
_ZN8POOL_MEM6strcpyEPKc
_Z16init_console_msgPKc
_Z25register_message_callbackPFviPcE
_Z4JmsgP3JCRixPKcz
+_Z4MmsgPPcPKcz
_Z4MmsgR8POOL_MEMPKcz
_Z4MmsgRPcPKcz
_Z4QmsgP3JCRixPKcz
$(OBJDIR)/service.o \
$(OBJDIR)/statusDialog.o \
$(OBJDIR)/trayMonitor.o \
+ $(OBJDIR)/xattr.o \
$(OBJDIR)/main.o \
$(OBJDIR)/bacula.res