2
0
mirror of https://github.com/boostorg/log.git synced 2026-01-26 06:32:24 +00:00
Files
log/doc
Andrey Semashev 7f75487d0b Fixed bad file counter returned from scan_for_files in case of counter overflow.
If the target directory contained a file with counter value of UINT_MAX in its
name, scan_for_files would always return the counter value of 0, even if such
file also existed in the directory. This caused incorrectly named log files to
appear in the target directory on user's application restart.

Also made sure that the returned counter value is zero if the scanning method
is not scan_matching or the file name pattern does not include the counter
placeholder. The returned counter should not have been used by the caller
in these cases anyway, but the returned value used to be bogus.
2017-08-15 16:09:50 +03:00
..
2015-01-25 17:32:33 +03:00
2015-01-25 17:32:33 +03:00
2013-04-13 12:30:25 +00:00
2013-04-13 12:30:25 +00:00
2015-01-25 17:32:33 +03:00
2015-04-04 16:01:16 +03:00
2017-01-12 13:02:44 +03:00
2014-01-19 16:04:31 +04:00
2014-01-19 16:44:26 +04:00
2015-01-25 17:32:33 +03:00
2015-01-25 17:32:33 +03:00
2015-01-25 17:32:33 +03:00
2015-01-25 17:32:33 +03:00
2015-01-25 17:32:33 +03:00