size_t length = strftime(buf, sizeof(buf), "%a, %d %b %Y %H:%M:%S", &tm);
sprintf(&buf[length], " %+2.2ld%2.2u", -tzoffset / 60, abs(tzoffset) % 60);
#else
- strftime(buf, sizeof(buf), "%a, %d %b %Y %H:%M:%S %z", &tm);
+#ifdef HAVE_SUN_OS
+ strftime(buf, sizeof(buf), "%a, %d %b %Y %H:%M:%S (%Z)", &tm);
+#else
+ strftime(buf, sizeof(buf), "%a, %d %b %Y %H:%M:%S %z (%Z)", &tm);
+#endif
#endif
fprintf(sfp, "Date: %s\r\n", buf);
Dmsg1(10, "Date: %s\r\n", buf);
General:
14May07
+kes Attempt to fix bsmtp editing on OSes without %z editing.
kes Do better checking for the MySQL 64 bit libraries looking for both
.a and .so libraries.
kes Add a kludge for Ubuntu's non-standard locations for MySQL -- allow