1
0
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:
kris
2007-12-14 04:04:22 +00:00
parent 2425765f4e
commit 9ae985ef59
3 changed files with 14 additions and 19 deletions

View File

@@ -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':