mirror of
https://github.com/nmap/nmap.git
synced 2025-12-29 10:59:02 +00:00
okay, a change to r6530: the current %R and %T are being removed as colons are invalid chracters in Windows and Mac OS X filenames (thanks to jah for pointing out the problem on Windows). What was %r and %t are now the new %R and %T. All this means is that %r and %t are gone, and %R/%T are the same as with strftime() but without colons
This commit is contained in:
@@ -857,15 +857,9 @@ char *logfilename(const char *str, struct tm *tm)
|
||||
strftime(tbuf, sizeof tbuf, "%S", tm);
|
||||
break;
|
||||
case 'T':
|
||||
strftime(tbuf, sizeof tbuf, "%T", tm);
|
||||
break;
|
||||
case 't':
|
||||
strftime(tbuf, sizeof tbuf, "%H%M%S", tm);
|
||||
break;
|
||||
case 'R':
|
||||
strftime(tbuf, sizeof tbuf, "%R", tm);
|
||||
break;
|
||||
case 'r':
|
||||
strftime(tbuf, sizeof tbuf, "%H%M", tm);
|
||||
break;
|
||||
case 'm':
|
||||
|
||||
Reference in New Issue
Block a user