Bug 23330 – std.experimental.logger: file logger should use OS-specific directory separators on each platform

Status
NEW
Severity
normal
Priority
P3
Component
phobos
Product
D
Version
D2
Platform
All
OS
Windows
Creation time
2022-09-10T09:57:03Z
Last change time
2024-12-01T16:40:23Z
Assigned to
No Owner
Creator
Andrej Mitrovic
Moved to GitHub: phobos#9844 →

Comments

Comment #0 by andrej.mitrovich — 2022-09-10T09:57:03Z
https://github.com/dlang/phobos/blob/e7cb981fa40bd77647da3dd708c7433724c6ab30/std/logger/filelogger.d#L129 This should use the OS-specific path separator, as on Windows it doesn't strip the path correctly due to using `/`.
Comment #1 by andrej.mitrovich — 2022-09-10T09:58:15Z
I should say dir separator, not path separator. I'll fix up the issue name.
Comment #2 by robert.schadek — 2024-12-01T16:40:23Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/phobos/issues/9844 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB