Cirrus CI: Run the "make releasecheck" command in the Linux task.
Makefile.in: Add the whitespacecheck target.
Cirrus CI: Run the "make whitespacecheck" command in the Linux task.
+ Source code:
+ smbutil.c: Replace obsolete function call (asctime)
Saturday, December 31, 2022 / The Tcpdump Group
Summary for 4.99.2 tcpdump release
Duane Wessels <dwessels at verisign dot com>
Eamon Doyle <eamonjd at arista dot com>
Eddie Kohler <xexd at sourceforge dot net>
+ Ege Cetin <egecetin at hotmail dot com dot tr>
Eliot Lear <lear at upstairs dot ofcourseimright dot com>
Elmar Kirchner <elmar at juniper dot net>
Eric S. Raymond <esr at thyrsus dot com>
time_t t;
struct tm *lt;
const char *tstring;
+ char buffer[sizeof("Www Mmm dd hh:mm:ss yyyy\n")];
uint32_t x;
switch (atoi(fmt + 1)) {
}
if (t != 0) {
lt = localtime(&t);
- if (lt != NULL)
- tstring = asctime(lt);
+ if (lt != NULL) {
+ strftime(buffer, sizeof(buffer), "%a %b %e %T %Y%n", lt);
+ tstring = buffer;
+ }
else
tstring = "(Can't convert time)\n";
} else