Opened 6 years ago

Last modified 6 years ago

#12629 new Bugs

temp_directory_path does not conform to GetTempPath on Windows

Reported by: Michael Chadwick <josephholyheart@…> Owned by: Beman Dawes
Milestone: To Be Determined Component: filesystem
Version: Boost 1.62.0 Severity: Regression
Keywords: Cc: joseph.michael.chadwick@…

Description

The documentation for temp_directory_path specifies that on Windows, it shall return "The path reported by the Windows GetTempPath API function."

However, GetTempPath adds a trailing separator and temp_directory_path does not.

Attachments (1)

bug.cpp (758 bytes ) - added by Michael Chadwick <josephholyheart@…> 6 years ago.
bug.cpp file as requested by filesystem maintainers in filesystem bug report docs

Download all attachments as: .zip

Change History (2)

by Michael Chadwick <josephholyheart@…>, 6 years ago

Attachment: bug.cpp added

bug.cpp file as requested by filesystem maintainers in filesystem bug report docs

comment:1 by Michael Chadwick <joseph.michael.chadwick@…>, 6 years ago

Cc: joseph.michael.chadwick@… added

Note the GetTempPath documentation specifies that "The returned string ends with a backslash"

Note: See TracTickets for help on using tickets.